unleash 6.0.10 → 6.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/pull_request.yml +3 -0
- data/CHANGELOG.md +9 -0
- data/README.md +1 -1
- data/lib/unleash/configuration.rb +4 -0
- data/lib/unleash/spec_version.rb +1 -1
- data/lib/unleash/version.rb +1 -1
- data/unleash-client.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17ef1daac1faf07617f83c38060e4ee5c83fd8483a19392aab2083e8f5c78fe9
|
4
|
+
data.tar.gz: 4fe403662211afc3b6ef34528662b671bc9d02a68f46322c7e315978be9340cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5e45fa9c551524db18cabd54a6af7c6119a95f185fd6b73189d029f77fcd44ed569040538e8383c94f155212c2b8d03d882e594dd11c4a6a44916152c71998d
|
7
|
+
data.tar.gz: 21b0b66281b37031d3998b3001cdbe9ab812f626cc7cc588a5b0707271175c2a26f18ee364d214981cb6f11901f9b6abd9bc751ea2516f82201b284a255adbba
|
@@ -27,6 +27,7 @@ jobs:
|
|
27
27
|
os:
|
28
28
|
- ubuntu
|
29
29
|
- macos
|
30
|
+
- windows
|
30
31
|
ruby-version:
|
31
32
|
- jruby-9.4
|
32
33
|
- 3.3
|
@@ -48,11 +49,13 @@ jobs:
|
|
48
49
|
run: bundle install
|
49
50
|
- name: Get test project semver
|
50
51
|
id: get_semver
|
52
|
+
shell: bash
|
51
53
|
run: |
|
52
54
|
semver=$(ruby echo_client_spec_version.rb)
|
53
55
|
echo "::set-output name=semver::$semver"
|
54
56
|
- name: Download test cases
|
55
57
|
run: git clone --depth 5 --branch v${{ steps.get_semver.outputs.semver }} https://github.com/Unleash/client-specification.git client-specification
|
58
|
+
shell: bash
|
56
59
|
- name: Run tests
|
57
60
|
run: bundle exec rake
|
58
61
|
env:
|
data/CHANGELOG.md
CHANGED
@@ -13,6 +13,15 @@ Note: These changes are not considered notable:
|
|
13
13
|
|
14
14
|
## [Unreleased]
|
15
15
|
|
16
|
+
## [6.1.1] - 2024-01-21
|
17
|
+
### Fixed
|
18
|
+
- use existing sdk name convention (#226)
|
19
|
+
|
20
|
+
## [6.1.0] - 2025-01-21
|
21
|
+
### Added
|
22
|
+
- standardised client identification headers (#224)
|
23
|
+
|
24
|
+
|
16
25
|
## [6.0.10] - 2024-12-19
|
17
26
|
### Fixed
|
18
27
|
- Fixed an edge case issue where the client was failing to send metrics after 10 minutes of not having metrics (#219)
|
data/README.md
CHANGED
@@ -54,6 +54,9 @@ module Unleash
|
|
54
54
|
'User-Agent' => "UnleashClientRuby/#{Unleash::VERSION} #{RUBY_ENGINE}/#{RUBY_VERSION} [#{RUBY_PLATFORM}]",
|
55
55
|
'UNLEASH-INSTANCEID' => self.instance_id,
|
56
56
|
'UNLEASH-APPNAME' => self.app_name,
|
57
|
+
'X-UNLEASH-APPNAME' => self.app_name,
|
58
|
+
'X-UNLEASH-CONNECTION-ID' => @connection_id,
|
59
|
+
'X-UNLEASH-SDK' => "unleash-client-ruby:#{Unleash::VERSION}",
|
57
60
|
'Unleash-Client-Spec' => CLIENT_SPECIFICATION_VERSION
|
58
61
|
}.merge!(generate_custom_http_headers)
|
59
62
|
end
|
@@ -100,6 +103,7 @@ module Unleash
|
|
100
103
|
self.strategies = Unleash::Strategies.new
|
101
104
|
|
102
105
|
self.custom_http_headers = {}
|
106
|
+
@connection_id = SecureRandom.uuid
|
103
107
|
end
|
104
108
|
|
105
109
|
def initialize_default_logger
|
data/lib/unleash/spec_version.rb
CHANGED
data/lib/unleash/version.rb
CHANGED
data/unleash-client.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
spec.required_ruby_version = ">= 2.7"
|
25
25
|
|
26
|
-
spec.add_dependency "yggdrasil-engine", "~>
|
26
|
+
spec.add_dependency "yggdrasil-engine", "~> 1.0.1"
|
27
27
|
|
28
28
|
spec.add_development_dependency "bundler", "~> 2.1"
|
29
29
|
spec.add_development_dependency "rake", "~> 12.3"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unleash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Renato Arruda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yggdrasil-engine
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.0.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 1.0.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
203
|
- !ruby/object:Gem::Version
|
204
204
|
version: '0'
|
205
205
|
requirements: []
|
206
|
-
rubygems_version: 3.
|
206
|
+
rubygems_version: 3.5.22
|
207
207
|
signing_key:
|
208
208
|
specification_version: 4
|
209
209
|
summary: Unleash feature toggle client.
|