ollama-ruby 1.26.1 → 1.26.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 218bc6eec27c3bd01a99956332acaba025da06ff3b51c2b36f3259545da3ae5a
4
- data.tar.gz: 71261759081361b3ede40868d6a2026a6e9b9ac2e15d4c5148671ea9ab83e485
3
+ metadata.gz: 16a7241e60413c891888a95cbe528849c300074f8b8a0a381aa197ac6075054c
4
+ data.tar.gz: 76755733aa2db2d655e72d09eb0298dd972e865c425d31608334baa9f7446321
5
5
  SHA512:
6
- metadata.gz: a9db643d9297ac08e9b7a978b5da972d4a58510f9b280081e29190c1892b36311d0ed14aceb5ab75a5990bfeaadd7a59d153b5c33e5e6d353b668a86117a9448
7
- data.tar.gz: b20a01b72b460da126f1a28d07c59d9195ac7bc6a8e6ca3f2df8b2300c385fa59092fcc5f69ccf34849d19f0cc3674de7115544cd1ce0ee42242cc57e04f95f3
6
+ metadata.gz: 0420fa76c8f25c9631847942300b6add9ab5c9b70540de4a5c25ac6d69c717760e1c6bd73dc3f8e4acf843ec7416c23cdba508612b4d95026c8c9a295f32e571
7
+ data.tar.gz: 1ad3e44863babbc14aa56ba5027e20caeeb2abaf6e91f570ea31693182c6ca6953a48f0b2dfe0bdca8f550edc9d234909033efd3dde9fb8519558800ea3f1084
data/CHANGES.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-11-15 v1.26.2
4
+
5
+ ### Fixes
6
+
7
+ - Call `infobar.finish` and `infobar.newline` in `Progress#call` when
8
+ `response.status == 'success'` to commit the progress bar to scrollback and
9
+ move the cursor below it, preventing subsequent output from overwriting the
10
+ bar.
11
+
12
+ ### Improvements
13
+
14
+ - Replaced `getconf _NPROCESSORS_ONLN` with `nproc` for `bundle install` job
15
+ count detection.
16
+
17
+ ### Build & CI
18
+
19
+ - Added `git config --global --add safe.directory /work` to resolve permission
20
+ errors in CI environments.
21
+
22
+ ### Documentation
23
+
24
+ - Replaced the YARD cheatsheet in `.contexts/yard.md` with a comprehensive
25
+ `Document` class example.
26
+ - Updated instructions to generate only YARD comment blocks, excluding
27
+ executable code.
28
+ - Defined rules to omit `@return [void]` clauses.
29
+ - Demonstrated usage of `@!attribute`, `@overload`, `@yield`, and `@deprecated`
30
+ tags.
31
+
3
32
  ## 2026-11-13 v1.26.1
4
33
 
5
34
  ### Fixes
@@ -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
@@ -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.1'
8
+ VERSION = '1.26.2'
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.1 ruby lib
2
+ # stub: ollama-ruby 1.26.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "ollama-ruby".freeze
6
- s.version = "1.26.1".freeze
6
+ s.version = "1.26.2".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]
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.1
4
+ version: 1.26.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank