Skip to content

Commit

Permalink
bump to 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaptista committed May 19, 2024
1 parent d98f274 commit 176346c
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 29 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ source 'https://rubygems.org'
gemspec

group :test, :development do
gem 'dotenv', '~> 2.8', '>= 2.8.1'
gem 'dotenv', '~> 3.1', '>= 3.1.2'
gem 'pry-byebug', '~> 3.10', '>= 3.10.1'
gem 'rubocop', '~> 1.60', '>= 1.60.1'
gem 'rubocop', '~> 1.63', '>= 1.63.5'
end
40 changes: 22 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
gemini-ai (3.2.0)
gemini-ai (4.0.0)
event_stream_parser (~> 1.0)
faraday (~> 2.9)
faraday-typhoeus (~> 1.1)
Expand All @@ -14,9 +14,10 @@ GEM
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
base64 (0.2.0)
byebug (11.1.3)
coderay (1.1.3)
dotenv (2.8.1)
dotenv (3.1.2)
ethon (0.16.0)
ffi (>= 1.15.0)
event_stream_parser (1.0.0)
Expand All @@ -28,25 +29,26 @@ GEM
faraday (~> 2.0)
typhoeus (~> 1.4)
ffi (1.16.3)
google-cloud-env (2.1.0)
google-cloud-env (2.1.1)
faraday (>= 1.0, < 3.a)
googleauth (1.9.1)
googleauth (1.11.0)
faraday (>= 1.0, < 3.a)
google-cloud-env (~> 2.1)
jwt (>= 1.4, < 3.0)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
json (2.7.1)
jwt (2.7.1)
json (2.7.2)
jwt (2.8.1)
base64
language_server-protocol (3.17.0.3)
method_source (1.0.0)
method_source (1.1.0)
multi_json (1.15.0)
net-http (0.4.1)
uri
os (1.1.4)
parallel (1.24.0)
parser (3.3.0.5)
parser (3.3.1.0)
ast (~> 2.4.1)
racc
pry (0.14.2)
Expand All @@ -55,30 +57,32 @@ GEM
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
public_suffix (5.0.4)
public_suffix (5.0.5)
racc (1.7.3)
rainbow (3.1.1)
regexp_parser (2.9.0)
rexml (3.2.6)
rubocop (1.60.1)
regexp_parser (2.9.2)
rexml (3.2.8)
strscan (>= 3.0.9)
rubocop (1.63.5)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
signet (0.18.0)
signet (0.19.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
strscan (3.1.0)
typhoeus (1.4.1)
ethon (>= 0.9.0)
unicode-display_width (2.5.0)
Expand All @@ -88,10 +92,10 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
dotenv (~> 2.8, >= 2.8.1)
dotenv (~> 3.1, >= 3.1.2)
gemini-ai!
pry-byebug (~> 3.10, >= 3.10.1)
rubocop (~> 1.60, >= 1.60.1)
rubocop (~> 1.63, >= 1.63.5)

BUNDLED WITH
2.4.22
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A Ruby Gem for interacting with [Gemini](https://deepmind.google/technologies/ge
## TL;DR and Quick Start

```ruby
gem 'gemini-ai', '~> 3.2.0'
gem 'gemini-ai', '~> 4.0.0'
```

```ruby
Expand Down Expand Up @@ -121,11 +121,11 @@ Result:
### Installing

```sh
gem install gemini-ai -v 3.2.0
gem install gemini-ai -v 4.0.0
```

```sh
gem 'gemini-ai', '~> 3.2.0'
gem 'gemini-ai', '~> 4.0.0'
```

### Credentials
Expand Down Expand Up @@ -1148,7 +1148,7 @@ gem build gemini-ai.gemspec

gem signin

gem push gemini-ai-3.2.0.gem
gem push gemini-ai-4.0.0.gem
```

### Updating the README
Expand Down
4 changes: 4 additions & 0 deletions gemini-ai.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ Gem::Specification.new do |spec|
spec.add_dependency 'event_stream_parser', '~> 1.0'
spec.add_dependency 'faraday', '~> 2.9'
spec.add_dependency 'faraday-typhoeus', '~> 1.1'

# Before upgrading, check this:
# https://github.com/gbaptista/gemini-ai/pull/10
spec.add_dependency 'googleauth', '~> 1.8'

spec.add_dependency 'typhoeus', '~> 1.4', '>= 1.4.1'

spec.metadata['rubygems_mfa_required'] = 'true'
Expand Down
2 changes: 1 addition & 1 deletion static/gem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Gemini
GEM = {
name: 'gemini-ai',
version: '3.2.0',
version: '4.0.0',
author: 'gbaptista',
summary: "Interact with Google's Gemini AI.",
description: "A Ruby Gem for interacting with Gemini through Vertex AI, Generative Language API, or AI Studio, Google's generative AI services.",
Expand Down
8 changes: 4 additions & 4 deletions template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A Ruby Gem for interacting with [Gemini](https://deepmind.google/technologies/ge
## TL;DR and Quick Start

```ruby
gem 'gemini-ai', '~> 3.2.0'
gem 'gemini-ai', '~> 4.0.0'
```

```ruby
Expand Down Expand Up @@ -77,11 +77,11 @@ Result:
### Installing

```sh
gem install gemini-ai -v 3.2.0
gem install gemini-ai -v 4.0.0
```

```sh
gem 'gemini-ai', '~> 3.2.0'
gem 'gemini-ai', '~> 4.0.0'
```

### Credentials
Expand Down Expand Up @@ -1104,7 +1104,7 @@ gem build gemini-ai.gemspec

gem signin

gem push gemini-ai-3.2.0.gem
gem push gemini-ai-4.0.0.gem
```

### Updating the README
Expand Down

0 comments on commit 176346c

Please sign in to comment.