diff options
author | icebaker <icebaker@proton.me> | 2023-11-29 08:01:22 -0300 |
---|---|---|
committer | icebaker <icebaker@proton.me> | 2023-11-29 08:01:22 -0300 |
commit | 01979e7d55e0100127cf27712302f30c91d8fc1f (patch) | |
tree | cc3e28859583e5f100cc889158df0ca06b1fcf99 | |
parent | 9f79a161905f5af8e331930cc77c7be10703596f (diff) |
bump to 1.0.0
-rw-r--r-- | Gemfile.lock | 14 | ||||
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | docker-compose.example.yml | 2 | ||||
-rw-r--r-- | nano-bots.gemspec | 4 | ||||
-rw-r--r-- | static/gem.rb | 2 |
5 files changed, 15 insertions, 15 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index b355a5f..5e026ba 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,15 +1,15 @@ PATH remote: . specs: - nano-bots (0.1.1) + nano-bots (1.0.0) babosa (~> 2.0) concurrent-ruby (~> 1.2, >= 1.2.2) dotenv (~> 2.8, >= 2.8.1) - faraday (~> 2.7, >= 2.7.11) + faraday (~> 2.7, >= 2.7.12) pry (~> 0.14.2) rainbow (~> 3.1, >= 3.1.1) rbnacl (~> 7.1, >= 7.1.1) - ruby-openai (~> 6.2) + ruby-openai (~> 6.3) sweet-moon (~> 0.0.7) GEM @@ -23,8 +23,8 @@ GEM concurrent-ruby (1.2.2) diff-lcs (1.5.0) dotenv (2.8.1) - event_stream_parser (0.3.0) - faraday (2.7.11) + event_stream_parser (1.0.0) + faraday (2.7.12) base64 faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) @@ -86,8 +86,8 @@ GEM rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) - ruby-openai (6.2.0) - event_stream_parser (>= 0.3.0, < 1.0.0) + ruby-openai (6.3.0) + event_stream_parser (>= 0.3.0, < 2.0.0) faraday (>= 1) faraday-multipart (>= 1) ruby-progressbar (1.13.0) @@ -28,13 +28,13 @@ https://user-images.githubusercontent.com/113217272/238141567-c58a240c-7b67-4b3b For a system usage: ```sh -gem install nano-bots -v 0.1.1 +gem install nano-bots -v 1.0.0 ``` To use it in a project, add it to your `Gemfile`: ```ruby -gem 'nano-bots', '~> 0.1.1' +gem 'nano-bots', '~> 1.0.0' ``` ```sh @@ -85,7 +85,7 @@ version: '3.7' services: nano-bots: image: ruby:3.2.2-slim-bullseye - command: sh -c "gem install nano-bots -v 0.1.1 && bash" + command: sh -c "gem install nano-bots -v 1.0.0 && bash" environment: OPENAI_API_ADDRESS: https://api.openai.com OPENAI_API_KEY: your-access-token @@ -408,5 +408,5 @@ gem build nano-bots.gemspec gem signin -gem push nano-bots-0.1.1.gem +gem push nano-bots-1.0.0.gem ``` diff --git a/docker-compose.example.yml b/docker-compose.example.yml index ef2ab48..ec79b21 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -3,7 +3,7 @@ version: '3.7' services: nano-bots: image: ruby:3.2.2-slim-bullseye - command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev && gem install nano-bots -v 0.1.1 && bash" + command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev libsodium-dev lua5.4-dev && gem install nano-bots -v 1.0.0 && bash" environment: OPENAI_API_ADDRESS: https://api.openai.com OPENAI_API_KEY: your-access-token diff --git a/nano-bots.gemspec b/nano-bots.gemspec index 4bb84d3..281b1b2 100644 --- a/nano-bots.gemspec +++ b/nano-bots.gemspec @@ -34,11 +34,11 @@ Gem::Specification.new do |spec| spec.add_dependency 'babosa', '~> 2.0' spec.add_dependency 'concurrent-ruby', '~> 1.2', '>= 1.2.2' spec.add_dependency 'dotenv', '~> 2.8', '>= 2.8.1' - spec.add_dependency 'faraday', '~> 2.7', '>= 2.7.11' + spec.add_dependency 'faraday', '~> 2.7', '>= 2.7.12' spec.add_dependency 'pry', '~> 0.14.2' spec.add_dependency 'rainbow', '~> 3.1', '>= 3.1.1' spec.add_dependency 'rbnacl', '~> 7.1', '>= 7.1.1' - spec.add_dependency 'ruby-openai', '~> 6.2' + spec.add_dependency 'ruby-openai', '~> 6.3' spec.add_dependency 'sweet-moon', '~> 0.0.7' spec.metadata['rubygems_mfa_required'] = 'true' diff --git a/static/gem.rb b/static/gem.rb index d415495..235c68e 100644 --- a/static/gem.rb +++ b/static/gem.rb @@ -3,7 +3,7 @@ module NanoBot GEM = { name: 'nano-bots', - version: '0.1.1', + version: '1.0.0', author: 'icebaker', summary: 'Ruby Implementation of Nano Bots: small, AI-powered bots', description: 'Ruby Implementation of Nano Bots: small, AI-powered bots easily shared as a single file, designed to support multiple providers such as Vicuna, OpenAI ChatGPT, Google PaLM, Alpaca, and LLaMA.', |