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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a23662fb04c5a20dc6e463557eb69b6de11fcc1366517e8e29f58197b1bcc06
4
- data.tar.gz: c49a8688177f6cf8b1c5bac670eeb7ea99b2c3722d483cf6c7e497ece05d38bc
3
+ metadata.gz: 17ef1daac1faf07617f83c38060e4ee5c83fd8483a19392aab2083e8f5c78fe9
4
+ data.tar.gz: 4fe403662211afc3b6ef34528662b671bc9d02a68f46322c7e315978be9340cc
5
5
  SHA512:
6
- metadata.gz: 36055d7ac9511cb35a299350ae80f094c97f3fe8121699bda8f94142383af27442bf89b232c745e9b86074770dd9f235d361479974b6f62bae9b4ea2fe421af2
7
- data.tar.gz: 5b18ad9294bdd8d037ee40effe51ccb49599aadcdf9659b113bb4fb01ee922a6483af155ecf6a6c25ebb9c63783aabfbc95fb0011673f65554a04f35343ea3a9
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
@@ -25,7 +25,7 @@ Ruby client for the [Unleash](https://github.com/Unleash/unleash) feature manage
25
25
  Add this line to your application's Gemfile:
26
26
 
27
27
  ```ruby
28
- gem 'unleash', '~> 6.0.10'
28
+ gem 'unleash', '~> 6.1.0'
29
29
  ```
30
30
 
31
31
  And then execute:
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Unleash
2
- CLIENT_SPECIFICATION_VERSION = "5.1.7".freeze
2
+ CLIENT_SPECIFICATION_VERSION = "5.1.9".freeze
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module Unleash
2
- VERSION = "6.0.10".freeze
2
+ VERSION = "6.1.1".freeze
3
3
  end
@@ -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", "~> 0.0.9"
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.0.10
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: 2024-12-19 00:00:00.000000000 Z
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: 0.0.9
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: 0.0.9
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.4.20
206
+ rubygems_version: 3.5.22
207
207
  signing_key:
208
208
  specification_version: 4
209
209
  summary: Unleash feature toggle client.