Skip to content

Commit 176346c

Browse files
committed
bump to 4.0.0
1 parent d98f274 commit 176346c

File tree

6 files changed

+37
-29
lines changed

6 files changed

+37
-29
lines changed

Gemfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source 'https://rubygems.org'
55
gemspec
66

77
group :test, :development do
8-
gem 'dotenv', '~> 2.8', '>= 2.8.1'
8+
gem 'dotenv', '~> 3.1', '>= 3.1.2'
99
gem 'pry-byebug', '~> 3.10', '>= 3.10.1'
10-
gem 'rubocop', '~> 1.60', '>= 1.60.1'
10+
gem 'rubocop', '~> 1.63', '>= 1.63.5'
1111
end

Gemfile.lock

+22-18
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
gemini-ai (3.2.0)
4+
gemini-ai (4.0.0)
55
event_stream_parser (~> 1.0)
66
faraday (~> 2.9)
77
faraday-typhoeus (~> 1.1)
@@ -14,9 +14,10 @@ GEM
1414
addressable (2.8.6)
1515
public_suffix (>= 2.0.2, < 6.0)
1616
ast (2.4.2)
17+
base64 (0.2.0)
1718
byebug (11.1.3)
1819
coderay (1.1.3)
19-
dotenv (2.8.1)
20+
dotenv (3.1.2)
2021
ethon (0.16.0)
2122
ffi (>= 1.15.0)
2223
event_stream_parser (1.0.0)
@@ -28,25 +29,26 @@ GEM
2829
faraday (~> 2.0)
2930
typhoeus (~> 1.4)
3031
ffi (1.16.3)
31-
google-cloud-env (2.1.0)
32+
google-cloud-env (2.1.1)
3233
faraday (>= 1.0, < 3.a)
33-
googleauth (1.9.1)
34+
googleauth (1.11.0)
3435
faraday (>= 1.0, < 3.a)
3536
google-cloud-env (~> 2.1)
3637
jwt (>= 1.4, < 3.0)
3738
multi_json (~> 1.11)
3839
os (>= 0.9, < 2.0)
3940
signet (>= 0.16, < 2.a)
40-
json (2.7.1)
41-
jwt (2.7.1)
41+
json (2.7.2)
42+
jwt (2.8.1)
43+
base64
4244
language_server-protocol (3.17.0.3)
43-
method_source (1.0.0)
45+
method_source (1.1.0)
4446
multi_json (1.15.0)
4547
net-http (0.4.1)
4648
uri
4749
os (1.1.4)
4850
parallel (1.24.0)
49-
parser (3.3.0.5)
51+
parser (3.3.1.0)
5052
ast (~> 2.4.1)
5153
racc
5254
pry (0.14.2)
@@ -55,30 +57,32 @@ GEM
5557
pry-byebug (3.10.1)
5658
byebug (~> 11.0)
5759
pry (>= 0.13, < 0.15)
58-
public_suffix (5.0.4)
60+
public_suffix (5.0.5)
5961
racc (1.7.3)
6062
rainbow (3.1.1)
61-
regexp_parser (2.9.0)
62-
rexml (3.2.6)
63-
rubocop (1.60.1)
63+
regexp_parser (2.9.2)
64+
rexml (3.2.8)
65+
strscan (>= 3.0.9)
66+
rubocop (1.63.5)
6467
json (~> 2.3)
6568
language_server-protocol (>= 3.17.0)
6669
parallel (~> 1.10)
6770
parser (>= 3.3.0.2)
6871
rainbow (>= 2.2.2, < 4.0)
6972
regexp_parser (>= 1.8, < 3.0)
7073
rexml (>= 3.2.5, < 4.0)
71-
rubocop-ast (>= 1.30.0, < 2.0)
74+
rubocop-ast (>= 1.31.1, < 2.0)
7275
ruby-progressbar (~> 1.7)
7376
unicode-display_width (>= 2.4.0, < 3.0)
74-
rubocop-ast (1.30.0)
75-
parser (>= 3.2.1.0)
77+
rubocop-ast (1.31.3)
78+
parser (>= 3.3.1.0)
7679
ruby-progressbar (1.13.0)
77-
signet (0.18.0)
80+
signet (0.19.0)
7881
addressable (~> 2.8)
7982
faraday (>= 0.17.5, < 3.a)
8083
jwt (>= 1.5, < 3.0)
8184
multi_json (~> 1.10)
85+
strscan (3.1.0)
8286
typhoeus (1.4.1)
8387
ethon (>= 0.9.0)
8488
unicode-display_width (2.5.0)
@@ -88,10 +92,10 @@ PLATFORMS
8892
x86_64-linux
8993

9094
DEPENDENCIES
91-
dotenv (~> 2.8, >= 2.8.1)
95+
dotenv (~> 3.1, >= 3.1.2)
9296
gemini-ai!
9397
pry-byebug (~> 3.10, >= 3.10.1)
94-
rubocop (~> 1.60, >= 1.60.1)
98+
rubocop (~> 1.63, >= 1.63.5)
9599

96100
BUNDLED WITH
97101
2.4.22

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A Ruby Gem for interacting with [Gemini](https://deepmind.google/technologies/ge
99
## TL;DR and Quick Start
1010

1111
```ruby
12-
gem 'gemini-ai', '~> 3.2.0'
12+
gem 'gemini-ai', '~> 4.0.0'
1313
```
1414

1515
```ruby
@@ -121,11 +121,11 @@ Result:
121121
### Installing
122122

123123
```sh
124-
gem install gemini-ai -v 3.2.0
124+
gem install gemini-ai -v 4.0.0
125125
```
126126

127127
```sh
128-
gem 'gemini-ai', '~> 3.2.0'
128+
gem 'gemini-ai', '~> 4.0.0'
129129
```
130130

131131
### Credentials
@@ -1148,7 +1148,7 @@ gem build gemini-ai.gemspec
11481148

11491149
gem signin
11501150

1151-
gem push gemini-ai-3.2.0.gem
1151+
gem push gemini-ai-4.0.0.gem
11521152
```
11531153

11541154
### Updating the README

gemini-ai.gemspec

+4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ Gem::Specification.new do |spec|
3232
spec.add_dependency 'event_stream_parser', '~> 1.0'
3333
spec.add_dependency 'faraday', '~> 2.9'
3434
spec.add_dependency 'faraday-typhoeus', '~> 1.1'
35+
36+
# Before upgrading, check this:
37+
# https://github.com/gbaptista/gemini-ai/pull/10
3538
spec.add_dependency 'googleauth', '~> 1.8'
39+
3640
spec.add_dependency 'typhoeus', '~> 1.4', '>= 1.4.1'
3741

3842
spec.metadata['rubygems_mfa_required'] = 'true'

static/gem.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module Gemini
44
GEM = {
55
name: 'gemini-ai',
6-
version: '3.2.0',
6+
version: '4.0.0',
77
author: 'gbaptista',
88
summary: "Interact with Google's Gemini AI.",
99
description: "A Ruby Gem for interacting with Gemini through Vertex AI, Generative Language API, or AI Studio, Google's generative AI services.",

template.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A Ruby Gem for interacting with [Gemini](https://deepmind.google/technologies/ge
99
## TL;DR and Quick Start
1010

1111
```ruby
12-
gem 'gemini-ai', '~> 3.2.0'
12+
gem 'gemini-ai', '~> 4.0.0'
1313
```
1414

1515
```ruby
@@ -77,11 +77,11 @@ Result:
7777
### Installing
7878

7979
```sh
80-
gem install gemini-ai -v 3.2.0
80+
gem install gemini-ai -v 4.0.0
8181
```
8282

8383
```sh
84-
gem 'gemini-ai', '~> 3.2.0'
84+
gem 'gemini-ai', '~> 4.0.0'
8585
```
8686

8787
### Credentials
@@ -1104,7 +1104,7 @@ gem build gemini-ai.gemspec
11041104

11051105
gem signin
11061106

1107-
gem push gemini-ai-3.2.0.gem
1107+
gem push gemini-ai-4.0.0.gem
11081108
```
11091109

11101110
### Updating the README

0 commit comments

Comments
 (0)