Skip to content

Commit

Permalink
bump to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaptista committed Jul 21, 2024
1 parent d23aeea commit f60cc91
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ gemspec

group :test, :development do
gem 'pry-byebug', '~> 3.10', '>= 3.10.1'
gem 'rubocop', '~> 1.63', '>= 1.63.1'
gem 'rubocop', '~> 1.65'
end
35 changes: 20 additions & 15 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
PATH
remote: .
specs:
ollama-ai (1.2.1)
faraday (~> 2.9)
ollama-ai (1.3.0)
faraday (~> 2.10)
faraday-typhoeus (~> 1.1)
typhoeus (~> 1.4, >= 1.4.1)

GEM
remote: https://rubygems.org/
Expand All @@ -13,21 +14,23 @@ GEM
coderay (1.1.3)
ethon (0.16.0)
ffi (>= 1.15.0)
faraday (2.9.0)
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)
faraday (~> 2.0)
typhoeus (~> 1.4)
ffi (1.16.3)
ffi (1.17.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
method_source (1.0.0)
logger (1.6.0)
method_source (1.1.0)
net-http (0.4.1)
uri
parallel (1.24.0)
parser (3.3.0.5)
parallel (1.25.1)
parser (3.3.4.0)
ast (~> 2.4.1)
racc
pry (0.14.2)
Expand All @@ -36,24 +39,26 @@ GEM
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
racc (1.7.3)
racc (1.8.0)
rainbow (3.1.1)
regexp_parser (2.9.0)
rexml (3.2.6)
rubocop (1.63.1)
regexp_parser (2.9.2)
rexml (3.3.2)
strscan
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.2)
parser (>= 3.3.0.4)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
strscan (3.1.0)
typhoeus (1.4.1)
ethon (>= 0.9.0)
unicode-display_width (2.5.0)
Expand All @@ -66,7 +71,7 @@ PLATFORMS
DEPENDENCIES
ollama-ai!
pry-byebug (~> 3.10, >= 3.10.1)
rubocop (~> 1.63, >= 1.63.1)
rubocop (~> 1.65)

BUNDLED WITH
2.4.22
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A Ruby gem for interacting with [Ollama](https://ollama.ai)'s API that allows yo
## TL;DR and Quick Start

```ruby
gem 'ollama-ai', '~> 1.2.1'
gem 'ollama-ai', '~> 1.3.0'
```

```ruby
Expand Down Expand Up @@ -106,11 +106,11 @@ Result:
### Installing

```sh
gem install ollama-ai -v 1.2.1
gem install ollama-ai -v 1.3.0
```

```sh
gem 'ollama-ai', '~> 1.2.1'
gem 'ollama-ai', '~> 1.3.0'
```

## Usage
Expand Down Expand Up @@ -914,7 +914,7 @@ gem build ollama-ai.gemspec

gem signin

gem push ollama-ai-1.2.1.gem
gem push ollama-ai-1.3.0.gem
```

### Updating the README
Expand Down
2 changes: 1 addition & 1 deletion components/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Ollama
module Errors
class OllamaError < StandardError
def initialize(message = nil)
super(message)
super
end
end

Expand Down
3 changes: 2 additions & 1 deletion ollama-ai.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ Gem::Specification.new do |spec|

spec.require_paths = ['ports/dsl']

spec.add_dependency 'faraday', '~> 2.9'
spec.add_dependency 'faraday', '~> 2.10'
spec.add_dependency 'faraday-typhoeus', '~> 1.1'
spec.add_dependency 'typhoeus', '~> 1.4', '>= 1.4.1'

spec.metadata['rubygems_mfa_required'] = 'true'
end
2 changes: 1 addition & 1 deletion static/gem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Ollama
GEM = {
name: 'ollama-ai',
version: '1.2.1',
version: '1.3.0',
author: 'gbaptista',
summary: 'Interact with Ollama API to run open source AI models locally.',
description: "A Ruby gem for interacting with Ollama's API that allows you to run open source AI LLMs (Large Language Models) locally.",
Expand Down
8 changes: 4 additions & 4 deletions template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A Ruby gem for interacting with [Ollama](https://ollama.ai)'s API that allows yo
## TL;DR and Quick Start

```ruby
gem 'ollama-ai', '~> 1.2.1'
gem 'ollama-ai', '~> 1.3.0'
```

```ruby
Expand Down Expand Up @@ -66,11 +66,11 @@ Result:
### Installing

```sh
gem install ollama-ai -v 1.2.1
gem install ollama-ai -v 1.3.0
```

```sh
gem 'ollama-ai', '~> 1.2.1'
gem 'ollama-ai', '~> 1.3.0'
```

## Usage
Expand Down Expand Up @@ -874,7 +874,7 @@ gem build ollama-ai.gemspec

gem signin

gem push ollama-ai-1.2.1.gem
gem push ollama-ai-1.3.0.gem
```

### Updating the README
Expand Down

0 comments on commit f60cc91

Please sign in to comment.