summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricebaker <icebaker@proton.me>2023-12-15 20:59:02 -0300
committericebaker <icebaker@proton.me>2023-12-15 20:59:02 -0300
commit5ea806de5d021a7f86d18c3d74bf521a3ba05ccd (patch)
tree499dc1ce47916f13beacecd5e38eb85847a09eeb
parent2a55ac5fb3be0a64e9966fa3c3965acb6cfcddbf (diff)
bump to 2.0.0
-rw-r--r--Gemfile.lock2
-rw-r--r--README.md12
-rw-r--r--docker-compose.example.yml2
-rw-r--r--static/gem.rb2
4 files changed, 9 insertions, 9 deletions
diff --git a/Gemfile.lock b/Gemfile.lock
index aa661a5..92d16fa 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- nano-bots (1.2.0)
+ nano-bots (2.0.0)
babosa (~> 2.0)
concurrent-ruby (~> 1.2, >= 1.2.2)
dotenv (~> 2.8, >= 2.8.1)
diff --git a/README.md b/README.md
index 523e409..867e8f7 100644
--- a/README.md
+++ b/README.md
@@ -36,13 +36,13 @@ https://user-images.githubusercontent.com/113217272/238141567-c58a240c-7b67-4b3b
For a system usage:
```sh
-gem install nano-bots -v 1.2.0
+gem install nano-bots -v 2.0.0
```
To use it in a project, add it to your `Gemfile`:
```ruby
-gem 'nano-bots', '~> 1.2.0'
+gem 'nano-bots', '~> 2.0.0'
```
```sh
@@ -152,7 +152,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 1.2.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.0.0 && bash"
environment:
OPENAI_API_ADDRESS: https://api.openai.com
OPENAI_API_KEY: your-access-token
@@ -172,7 +172,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 1.2.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.0.0 && bash"
environment:
GOOGLE_API_KEY: your-api-key
NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE
@@ -189,7 +189,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 1.2.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.0.0 && bash"
environment:
GOOGLE_CREDENTIALS_FILE_PATH: /root/.config/google-credentials.json
GOOGLE_PROJECT_ID: your-project-id
@@ -649,5 +649,5 @@ gem build nano-bots.gemspec
gem signin
-gem push nano-bots-1.2.0.gem
+gem push nano-bots-2.0.0.gem
```
diff --git a/docker-compose.example.yml b/docker-compose.example.yml
index 2d397e7..912c59a 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 1.2.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.0.0 && 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 755d95d..5541189 100644
--- a/static/gem.rb
+++ b/static/gem.rb
@@ -3,7 +3,7 @@
module NanoBot
GEM = {
name: 'nano-bots',
- version: '1.2.0',
+ version: '2.0.0',
author: 'icebaker',
summary: 'Ruby Implementation of Nano Bots: small, AI-powered bots for OpenAI ChatGPT 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 and Google Gemini, with support for calling Tools (Functions).',