cline-rb 1.1.0 → 1.1.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/CHANGELOG.md +18 -0
- data/lib/cline/config.rb +8 -6
- data/lib/cline/secret_string.rb +1 -0
- data/lib/cline/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b53418df62615e2bef17ca89987ee327820cacaac21fb06c76c70ce465edd9d1
|
|
4
|
+
data.tar.gz: 31082e00dacb07c2491df3dd73558ea846d4ccde0843f27afb3df36cd11cdc3b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58183c443e1bd679c6ca5622f39e12359d64b4c6eb342d4e1cdec50c65a6b5c7bfdf5664b7b41cef415a55bf5e8c16ee83b2fd95c6f5f7ac5eb9d5c040cf9d56
|
|
7
|
+
data.tar.gz: 33317d33bbb1f2d0ca61071dbdb4ed59ab16403885d5c7db9796696a8042fa61695850a4e9d87a63d20c87b56137b79bdb930d2cbb60db52afee43c144297fe7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
# [v1.1.3](https://github.com/Muriel-Salvan/cline-rb/compare/v1.1.2...v1.1.3) (2026-10-14 15:38:46)
|
|
2
|
+
|
|
3
|
+
### Patches
|
|
4
|
+
|
|
5
|
+
* [ci: Configure RubyGems credentials via trusted publishing](https://github.com/Muriel-Salvan/cline-rb/commit/7194a95dec2200166dcba19f2e210377f6d7ad1d)
|
|
6
|
+
|
|
7
|
+
# [v1.1.2](https://github.com/Muriel-Salvan/cline-rb/compare/v1.1.1...v1.1.2) (2026-10-14 15:29:12)
|
|
8
|
+
|
|
9
|
+
### Patches
|
|
10
|
+
|
|
11
|
+
* [fix: make config data getters nil-safe](https://github.com/Muriel-Salvan/cline-rb/commit/25f72bac6c624f73ed89025c15b143b8e121da60)
|
|
12
|
+
|
|
13
|
+
# [v1.1.1](https://github.com/Muriel-Salvan/cline-rb/compare/v1.1.0...v1.1.1) (2026-07-01 15:14:42)
|
|
14
|
+
|
|
15
|
+
### Patches
|
|
16
|
+
|
|
17
|
+
* [ci: add code coverage reporting with Cobertura and Codecov integration](https://github.com/Muriel-Salvan/cline-rb/commit/82c7622af5621f90515737421e1633b933ebf55c)
|
|
18
|
+
|
|
1
19
|
# [v1.1.0](https://github.com/Muriel-Salvan/cline-rb/compare/v1.0.0...v1.1.0) (2026-07-01 13:34:01)
|
|
2
20
|
|
|
3
21
|
### Features
|
data/lib/cline/config.rb
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
require 'forwardable'
|
|
2
|
-
|
|
3
1
|
module Cline
|
|
4
2
|
# Accesses all configuration of a Cline directory.
|
|
5
3
|
# Wraps for example the content of ~/.cline.
|
|
@@ -7,8 +5,6 @@ module Cline
|
|
|
7
5
|
# - include_project_config [Boolean] Do we include the project-specific objects as well in this
|
|
8
6
|
# configuration? Defaults to `true`.
|
|
9
7
|
class Config
|
|
10
|
-
extend Forwardable
|
|
11
|
-
|
|
12
8
|
# @!group Public API
|
|
13
9
|
|
|
14
10
|
# Get the main Cline config.
|
|
@@ -35,8 +31,14 @@ module Cline
|
|
|
35
31
|
|
|
36
32
|
include Serializable::Dir
|
|
37
33
|
|
|
38
|
-
# Give access to the data getters
|
|
39
|
-
|
|
34
|
+
# Give access to the data getters.
|
|
35
|
+
# Getters are nil-safe: they return nil when the data directory does not exist yet (instead of raising),
|
|
36
|
+
# so that callers can wait for the data directory to appear (see the session monitor thread in Cline::Cli#task).
|
|
37
|
+
%i[global_settings global_state logs mcp_settings providers sessions tasks workspaces].each do |data_getter|
|
|
38
|
+
define_method(data_getter) do |*args, **kwargs, &block|
|
|
39
|
+
data&.public_send(data_getter, *args, **kwargs, &block)
|
|
40
|
+
end
|
|
41
|
+
end
|
|
40
42
|
|
|
41
43
|
# Get skills from this config
|
|
42
44
|
#
|
data/lib/cline/secret_string.rb
CHANGED
data/lib/cline/version.rb
CHANGED