ollama-ruby 1.26.1 → 1.26.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +38 -0
- data/Rakefile +1 -1
- data/lib/ollama/handlers/progress.rb +4 -0
- data/lib/ollama/version.rb +1 -1
- data/ollama-ruby.gemspec +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ac093881e1445860ddbfae3d3e9e2c35e14ef28b778654d1d42c8d5367a68e4
|
|
4
|
+
data.tar.gz: 2ef2a97919ef00a4801efe3b7837344c85a6deac5034b524ac1ddf91096953a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9589a751632eb8041ac7d2a210f73057740ae658b449b62f397d2818f8c08f01e243d02cb89d26f57b8efb8a10c88b55e85a914d112b7429b080404756de97d4
|
|
7
|
+
data.tar.gz: abdee63c3fffd08774289a8773d15d6a519c820034d7a7cc54d7ff56947fa80e86e0b4c80903360ba82a65677a0ab7acb7198af0edda685298818c380d62cf4a
|
data/CHANGES.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 2026-11-16 v1.26.3
|
|
4
|
+
|
|
5
|
+
### Breaking
|
|
6
|
+
|
|
7
|
+
- Bumped the `infobar` dependency requirement from `~> 0.8` to `~> 0.15` in the
|
|
8
|
+
`Rakefile` and `ollama-ruby.gemspec`. This change is required to ensure the
|
|
9
|
+
inclusion of the `Display#newline` position fix, which was not present in
|
|
10
|
+
versions `0.8` through `0.14`.
|
|
11
|
+
|
|
12
|
+
## 2026-11-15 v1.26.2
|
|
13
|
+
|
|
14
|
+
### Fixes
|
|
15
|
+
|
|
16
|
+
- Call `infobar.finish` and `infobar.newline` in `Progress#call` when
|
|
17
|
+
`response.status == 'success'` to commit the progress bar to scrollback and
|
|
18
|
+
move the cursor below it, preventing subsequent output from overwriting the
|
|
19
|
+
bar.
|
|
20
|
+
|
|
21
|
+
### Improvements
|
|
22
|
+
|
|
23
|
+
- Replaced `getconf _NPROCESSORS_ONLN` with `nproc` for `bundle install` job
|
|
24
|
+
count detection.
|
|
25
|
+
|
|
26
|
+
### Build & CI
|
|
27
|
+
|
|
28
|
+
- Added `git config --global --add safe.directory /work` to resolve permission
|
|
29
|
+
errors in CI environments.
|
|
30
|
+
|
|
31
|
+
### Documentation
|
|
32
|
+
|
|
33
|
+
- Replaced the YARD cheatsheet in `.contexts/yard.md` with a comprehensive
|
|
34
|
+
`Document` class example.
|
|
35
|
+
- Updated instructions to generate only YARD comment blocks, excluding
|
|
36
|
+
executable code.
|
|
37
|
+
- Defined rules to omit `@return [void]` clauses.
|
|
38
|
+
- Demonstrated usage of `@!attribute`, `@overload`, `@yield`, and `@deprecated`
|
|
39
|
+
tags.
|
|
40
|
+
|
|
3
41
|
## 2026-11-13 v1.26.1
|
|
4
42
|
|
|
5
43
|
### Fixes
|
data/Rakefile
CHANGED
|
@@ -59,6 +59,10 @@ class Ollama::Handlers::Progress
|
|
|
59
59
|
force: true
|
|
60
60
|
)
|
|
61
61
|
end
|
|
62
|
+
if response.status == 'success'
|
|
63
|
+
infobar.finish(message: message(@current, @total))
|
|
64
|
+
infobar.newline
|
|
65
|
+
end
|
|
62
66
|
if error = response.error
|
|
63
67
|
infobar.puts bold { "Error: " } + red { error }
|
|
64
68
|
end
|
data/lib/ollama/version.rb
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# by hand; it is rewritten on every `rake version` invocation.
|
|
6
6
|
module Ollama
|
|
7
7
|
# The current version of the Ollama gem as a String.
|
|
8
|
-
VERSION = '1.26.
|
|
8
|
+
VERSION = '1.26.3'
|
|
9
9
|
VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
|
|
10
10
|
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
|
|
11
11
|
VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
|
data/ollama-ruby.gemspec
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: ollama-ruby 1.26.
|
|
2
|
+
# stub: ollama-ruby 1.26.3 ruby lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "ollama-ruby".freeze
|
|
6
|
-
s.version = "1.26.
|
|
6
|
+
s.version = "1.26.3".freeze
|
|
7
7
|
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
9
9
|
s.require_paths = ["lib".freeze]
|
|
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
|
|
|
33
33
|
s.add_development_dependency(%q<simplecov>.freeze, [">= 0".freeze])
|
|
34
34
|
s.add_development_dependency(%q<context_spook>.freeze, [">= 0".freeze])
|
|
35
35
|
s.add_runtime_dependency(%q<excon>.freeze, ["~> 1.0".freeze])
|
|
36
|
-
s.add_runtime_dependency(%q<infobar>.freeze, ["~> 0.
|
|
36
|
+
s.add_runtime_dependency(%q<infobar>.freeze, ["~> 0.15".freeze])
|
|
37
37
|
s.add_runtime_dependency(%q<json>.freeze, ["~> 2.0".freeze])
|
|
38
38
|
s.add_runtime_dependency(%q<tins>.freeze, ["~> 1.55".freeze])
|
|
39
39
|
s.add_runtime_dependency(%q<term-ansicolor>.freeze, ["~> 1.11".freeze])
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ollama-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.26.
|
|
4
|
+
version: 1.26.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florian Frank
|
|
@@ -141,14 +141,14 @@ dependencies:
|
|
|
141
141
|
requirements:
|
|
142
142
|
- - "~>"
|
|
143
143
|
- !ruby/object:Gem::Version
|
|
144
|
-
version: '0.
|
|
144
|
+
version: '0.15'
|
|
145
145
|
type: :runtime
|
|
146
146
|
prerelease: false
|
|
147
147
|
version_requirements: !ruby/object:Gem::Requirement
|
|
148
148
|
requirements:
|
|
149
149
|
- - "~>"
|
|
150
150
|
- !ruby/object:Gem::Version
|
|
151
|
-
version: '0.
|
|
151
|
+
version: '0.15'
|
|
152
152
|
- !ruby/object:Gem::Dependency
|
|
153
153
|
name: json
|
|
154
154
|
requirement: !ruby/object:Gem::Requirement
|