From d0d2602219b19d4e0084be3de3c5e4f35986a4bd Mon Sep 17 00:00:00 2001 From: gbaptista Date: Sun, 21 Jul 2024 07:43:11 -0300 Subject: [PATCH] bump to 4.2.0 --- Gemfile | 4 ++-- Gemfile.lock | 22 ++++++++++++---------- README.md | 8 ++++---- gemini-ai.gemspec | 2 +- static/gem.rb | 2 +- template.md | 8 ++++---- 6 files changed, 24 insertions(+), 22 deletions(-) diff --git a/Gemfile b/Gemfile index df66f53..bdd469c 100644 --- a/Gemfile +++ b/Gemfile @@ -8,6 +8,6 @@ group :test, :development do gem 'dotenv', '~> 3.1', '>= 3.1.2' gem 'pry-byebug', '~> 3.10', '>= 3.10.1' gem 'rspec', '~> 3.13' - gem 'rubocop', '~> 1.64', '>= 1.64.1' - gem 'rubocop-rspec', '~> 3.0', '>= 3.0.1' + gem 'rubocop', '~> 1.65' + gem 'rubocop-rspec', '~> 3.0', '>= 3.0.3' end diff --git a/Gemfile.lock b/Gemfile.lock index de79449..1fe3aa2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,9 +1,9 @@ PATH remote: . specs: - gemini-ai (4.1.0) + gemini-ai (4.2.0) event_stream_parser (~> 1.0) - faraday (~> 2.9, >= 2.9.2) + faraday (~> 2.10) faraday-typhoeus (~> 1.1) googleauth (~> 1.8) typhoeus (~> 1.4, >= 1.4.1) @@ -22,8 +22,9 @@ GEM ethon (0.16.0) ffi (>= 1.15.0) event_stream_parser (1.0.0) - faraday (2.9.2) + faraday (2.10.0) faraday-net_http (>= 2.0, < 3.2) + logger faraday-net_http (3.1.0) net-http faraday-typhoeus (1.1.0) @@ -43,13 +44,14 @@ GEM jwt (2.8.2) base64 language_server-protocol (3.17.0.3) + logger (1.6.0) method_source (1.1.0) multi_json (1.15.0) net-http (0.4.1) uri os (1.1.4) parallel (1.25.1) - parser (3.3.3.0) + parser (3.3.4.0) ast (~> 2.4.1) racc pry (0.14.2) @@ -62,7 +64,7 @@ GEM racc (1.8.0) rainbow (3.1.1) regexp_parser (2.9.2) - rexml (3.3.0) + rexml (3.3.2) strscan rspec (3.13.0) rspec-core (~> 3.13.0) @@ -77,20 +79,20 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.64.1) + rubocop (1.65.0) 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) + regexp_parser (>= 2.4, < 3.0) rexml (>= 3.2.5, < 4.0) rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.31.3) parser (>= 3.3.1.0) - rubocop-rspec (3.0.1) + rubocop-rspec (3.0.3) rubocop (~> 1.61) ruby-progressbar (1.13.0) signet (0.19.0) @@ -112,8 +114,8 @@ DEPENDENCIES gemini-ai! pry-byebug (~> 3.10, >= 3.10.1) rspec (~> 3.13) - rubocop (~> 1.64, >= 1.64.1) - rubocop-rspec (~> 3.0, >= 3.0.1) + rubocop (~> 1.65) + rubocop-rspec (~> 3.0, >= 3.0.3) BUNDLED WITH 2.4.22 diff --git a/README.md b/README.md index 8b9ca54..cc5da2d 100644 --- a/README.md +++ b/README.md @@ -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', '~> 4.1.0' +gem 'gemini-ai', '~> 4.2.0' ``` ```ruby @@ -138,11 +138,11 @@ Result: ### Installing ```sh -gem install gemini-ai -v 4.1.0 +gem install gemini-ai -v 4.2.0 ``` ```sh -gem 'gemini-ai', '~> 4.1.0' +gem 'gemini-ai', '~> 4.2.0' ``` ### Credentials @@ -1440,7 +1440,7 @@ gem build gemini-ai.gemspec gem signin -gem push gemini-ai-4.1.0.gem +gem push gemini-ai-4.2.0.gem ``` ### Updating the README diff --git a/gemini-ai.gemspec b/gemini-ai.gemspec index d5cd720..c0b551c 100644 --- a/gemini-ai.gemspec +++ b/gemini-ai.gemspec @@ -30,7 +30,7 @@ Gem::Specification.new do |spec| spec.require_paths = ['ports/dsl'] spec.add_dependency 'event_stream_parser', '~> 1.0' - spec.add_dependency 'faraday', '~> 2.9', '>= 2.9.2' + spec.add_dependency 'faraday', '~> 2.10' spec.add_dependency 'faraday-typhoeus', '~> 1.1' # Before upgrading, check this: diff --git a/static/gem.rb b/static/gem.rb index 18e4afb..800fe89 100644 --- a/static/gem.rb +++ b/static/gem.rb @@ -3,7 +3,7 @@ module Gemini GEM = { name: 'gemini-ai', - version: '4.1.0', + version: '4.2.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.", diff --git a/template.md b/template.md index 6b1dd47..93f1b74 100644 --- a/template.md +++ b/template.md @@ -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', '~> 4.1.0' +gem 'gemini-ai', '~> 4.2.0' ``` ```ruby @@ -88,11 +88,11 @@ Result: ### Installing ```sh -gem install gemini-ai -v 4.1.0 +gem install gemini-ai -v 4.2.0 ``` ```sh -gem 'gemini-ai', '~> 4.1.0' +gem 'gemini-ai', '~> 4.2.0' ``` ### Credentials @@ -1390,7 +1390,7 @@ gem build gemini-ai.gemspec gem signin -gem push gemini-ai-4.1.0.gem +gem push gemini-ai-4.2.0.gem ``` ### Updating the README