summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricebaker <icebaker@proton.me>2023-12-29 17:12:22 -0300
committericebaker <icebaker@proton.me>2023-12-29 17:12:22 -0300
commitbfe0e76e3683a71bb8ce5bfdaae99b0252e7be05 (patch)
tree112aefd4e753f3c93012ddc5e4253282a5778714
parent147dacf7defd6f81bedd713d19be187c937a0a13 (diff)
bump to 2.4.1
-rw-r--r--Gemfile.lock2
-rw-r--r--README.md18
-rw-r--r--docker-compose.example.yml2
-rw-r--r--static/gem.rb2
4 files changed, 12 insertions, 12 deletions
diff --git a/Gemfile.lock b/Gemfile.lock
index d7f4356..be5f77f 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- nano-bots (2.4.0)
+ nano-bots (2.4.1)
babosa (~> 2.0)
cohere-ai (~> 1.0, >= 1.0.1)
concurrent-ruby (~> 1.2, >= 1.2.2)
diff --git a/README.md b/README.md
index 5eabf2b..80e10e3 100644
--- a/README.md
+++ b/README.md
@@ -41,13 +41,13 @@ https://user-images.githubusercontent.com/113217272/238141567-c58a240c-7b67-4b3b
For a system usage:
```sh
-gem install nano-bots -v 2.4.0
+gem install nano-bots -v 2.4.1
```
To use it in a project, add it to your `Gemfile`:
```ruby
-gem 'nano-bots', '~> 2.4.0'
+gem 'nano-bots', '~> 2.4.1'
```
```sh
@@ -614,7 +614,7 @@ Set your provider credentials and choose your desired directory for the cartridg
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.4.0 && 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 2.4.1 && bash"
environment:
COHERE_API_ADDRESS: https://api.cohere.ai
COHERE_API_KEY: your-api-key
@@ -632,7 +632,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.4.0 && 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 2.4.1 && bash"
environment:
MISTRAL_API_ADDRESS: https://api.mistral.ai
MISTRAL_API_KEY: your-api-key
@@ -650,7 +650,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.4.0 && 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 2.4.1 && bash"
environment:
OPENAI_API_ADDRESS: https://api.openai.com
OPENAI_API_KEY: your-access-token
@@ -670,7 +670,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.4.0 && 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 2.4.1 && bash"
environment:
GOOGLE_API_KEY: your-api-key
NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE
@@ -687,7 +687,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.4.0 && 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 2.4.1 && bash"
environment:
GOOGLE_CREDENTIALS_FILE_PATH: /root/.config/google-credentials.json
GOOGLE_REGION: us-east4
@@ -706,7 +706,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.4.0 && 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 2.4.1 && bash"
environment:
GOOGLE_REGION: us-east4
NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE
@@ -881,5 +881,5 @@ gem build nano-bots.gemspec
gem signin
-gem push nano-bots-2.4.0.gem
+gem push nano-bots-2.4.1.gem
```
diff --git a/docker-compose.example.yml b/docker-compose.example.yml
index 8e96d3b..faf0973 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.4.0 && 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 2.4.1 && bash"
environment:
OPENAI_API_ADDRESS: https://api.openai.com
OPENAI_API_KEY: your-access-token
diff --git a/static/gem.rb b/static/gem.rb
index c53fc31..c9be098 100644
--- a/static/gem.rb
+++ b/static/gem.rb
@@ -3,7 +3,7 @@
module NanoBot
GEM = {
name: 'nano-bots',
- version: '2.4.0',
+ version: '2.4.1',
specification: '2.2.0',
author: 'icebaker',
summary: 'Ruby Implementation of Nano Bots: small, AI-powered bots for OpenAI ChatGPT, Mistral AI, and Google Gemini.',