diff options
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | Gemfile.lock | 26 | ||||
-rw-r--r-- | README.md | 26 | ||||
-rw-r--r-- | docker-compose.example.yml | 2 | ||||
-rw-r--r-- | static/gem.rb | 4 |
5 files changed, 30 insertions, 30 deletions
@@ -8,5 +8,5 @@ group :test, :development do gem 'pry-byebug', '~> 3.10', '>= 3.10.1' gem 'rspec', '~> 3.12' gem 'rubocop', '~> 1.59' - gem 'rubocop-rspec', '~> 2.25' + gem 'rubocop-rspec', '~> 2.26', '>= 2.26.1' end diff --git a/Gemfile.lock b/Gemfile.lock index fc0da2e..2f446b5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - nano-bots (2.5.1) + nano-bots (3.0.0) babosa (~> 2.0) cohere-ai (~> 1.0, >= 1.0.1) concurrent-ruby (~> 1.2, >= 1.2.2) @@ -24,7 +24,6 @@ GEM public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) babosa (2.0.0) - base64 (0.2.0) byebug (11.1.3) coderay (1.1.3) cohere-ai (1.0.1) @@ -33,13 +32,12 @@ GEM diff-lcs (1.5.0) dotenv (2.8.1) event_stream_parser (1.0.0) - faraday (2.8.1) - base64 - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) + faraday (2.9.0) + faraday-net_http (>= 2.0, < 3.2) faraday-multipart (1.0.4) multipart-post (~> 2) - faraday-net_http (3.0.2) + faraday-net_http (3.1.0) + net-http ffi (1.16.3) gemini-ai (3.1.2) event_stream_parser (~> 1.0) @@ -65,11 +63,13 @@ GEM faraday (~> 2.8, >= 2.8.1) multi_json (1.15.0) multipart-post (2.3.0) + net-http (0.4.1) + uri ollama-ai (1.0.0) faraday (~> 2.8) os (1.1.4) parallel (1.24.0) - parser (3.3.0.1) + parser (3.3.0.2) ast (~> 2.4.1) racc pry (0.14.2) @@ -84,7 +84,7 @@ GEM rbnacl (7.1.1) ffi redcarpet (3.6.0) - regexp_parser (2.8.3) + regexp_parser (2.9.0) rexml (3.2.6) rspec (3.12.0) rspec-core (~> 3.12.0) @@ -114,8 +114,8 @@ GEM parser (>= 3.2.1.0) rubocop-capybara (2.20.0) rubocop (~> 1.41) - rubocop-factory_bot (2.25.0) - rubocop (~> 1.33) + rubocop-factory_bot (2.25.1) + rubocop (~> 1.41) rubocop-rspec (2.26.1) rubocop (~> 1.40) rubocop-capybara (~> 2.17) @@ -125,7 +125,6 @@ GEM faraday (>= 1) faraday-multipart (>= 1) ruby-progressbar (1.13.0) - ruby2_keywords (0.0.5) signet (0.18.0) addressable (~> 2.8) faraday (>= 0.17.5, < 3.a) @@ -134,6 +133,7 @@ GEM sweet-moon (0.0.7) ffi (~> 1.15, >= 1.15.5) unicode-display_width (2.5.0) + uri (0.13.0) PLATFORMS x86_64-linux @@ -143,7 +143,7 @@ DEPENDENCIES pry-byebug (~> 3.10, >= 3.10.1) rspec (~> 3.12) rubocop (~> 1.59) - rubocop-rspec (~> 2.25) + rubocop-rspec (~> 2.26, >= 2.26.1) BUNDLED WITH 2.4.22 @@ -9,7 +9,7 @@ https://user-images.githubusercontent.com/113217272/238141567-c58a240c-7b67-4b3b ## TL;DR and Quick Start ```sh -gem install nano-bots -v 2.5.1 +gem install nano-bots -v 3.0.0 ``` ```bash @@ -59,7 +59,7 @@ nb gpt.yml - eval "hi" ``` ```ruby -gem 'nano-bots', '~> 2.5.1' +gem 'nano-bots', '~> 3.0.0' ``` ```ruby @@ -250,13 +250,13 @@ end To install the CLI on your system: ```sh -gem install nano-bots -v 2.5.1 +gem install nano-bots -v 3.0.0 ``` To use it in a Ruby project as a library, add to your `Gemfile`: ```ruby -gem 'nano-bots', '~> 2.5.1' +gem 'nano-bots', '~> 3.0.0' ``` ```sh @@ -972,7 +972,7 @@ Set your provider credentials and choose your desired path for the cartridges fi services: nano-bots: image: ruby:3.2.2-slim-bookworm - command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 2.5.1 && bash" + command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 3.0.0 && bash" environment: COHERE_API_KEY: your-api-key NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE @@ -989,7 +989,7 @@ services: services: nano-bots: image: ruby:3.2.2-slim-bookworm - command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 2.5.1 && bash" + command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 3.0.0 && bash" environment: MARITACA_API_KEY: your-api-key NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE @@ -1006,7 +1006,7 @@ services: services: nano-bots: image: ruby:3.2.2-slim-bookworm - command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 2.5.1 && bash" + command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 3.0.0 && bash" environment: MISTRAL_API_KEY: your-api-key NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE @@ -1025,7 +1025,7 @@ Remember that your `localhost` is by default inaccessible from inside Docker. Yo services: nano-bots: image: ruby:3.2.2-slim-bookworm - command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 2.5.1 && bash" + command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 3.0.0 && bash" environment: OLLAMA_API_ADDRESS: http://localhost:11434 NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE @@ -1044,7 +1044,7 @@ services: services: nano-bots: image: ruby:3.2.2-slim-bookworm - command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 2.5.1 && bash" + command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 3.0.0 && bash" environment: OPENAI_API_KEY: your-access-token NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE @@ -1063,7 +1063,7 @@ services: services: nano-bots: image: ruby:3.2.2-slim-bookworm - command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 2.5.1 && bash" + command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 3.0.0 && bash" environment: GOOGLE_API_KEY: your-api-key NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE @@ -1080,7 +1080,7 @@ services: services: nano-bots: image: ruby:3.2.2-slim-bookworm - command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 2.5.1 && bash" + command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 3.0.0 && bash" environment: GOOGLE_CREDENTIALS_FILE_PATH: /root/.config/google-credentials.json GOOGLE_REGION: us-east4 @@ -1099,7 +1099,7 @@ services: services: nano-bots: image: ruby:3.2.2-slim-bookworm - command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 2.5.1 && bash" + command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 3.0.0 && bash" environment: GOOGLE_REGION: us-east4 NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE @@ -1161,5 +1161,5 @@ gem build nano-bots.gemspec gem signin -gem push nano-bots-2.5.1.gem +gem push nano-bots-3.0.0.gem ``` diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 1323801..fe27e44 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -2,7 +2,7 @@ services: nano-bots: image: ruby:3.2.2-slim-bookworm - command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 2.5.1 && bash" + command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev curl && curl -s https://raw.githubusercontent.com/babashka/babashka/master/install | bash && gem install nano-bots -v 3.0.0 && bash" environment: COHERE_API_KEY: your-api-key diff --git a/static/gem.rb b/static/gem.rb index 513378d..aba8341 100644 --- a/static/gem.rb +++ b/static/gem.rb @@ -3,8 +3,8 @@ module NanoBot GEM = { name: 'nano-bots', - version: '2.5.1', - specification: '2.3.0', + version: '3.0.0', + specification: '3.0.0', author: 'icebaker', summary: 'Ruby Implementation of Nano Bots: small, AI-powered bots for OpenAI ChatGPT, Ollama, Mistral AI, Cohere Command, Maritaca AI MariTalk, and Google Gemini.', description: 'Ruby Implementation of Nano Bots: small, AI-powered bots that can be easily shared as a single file, designed to support multiple providers such as OpenAI ChatGPT, Ollama, Mistral AI, Cohere Command, Maritaca AI MariTalk, and Google Gemini, with support for calling Tools (Functions).', |