unleash 6.7.0 → 6.7.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: c021a413ba9fc492e01ab5cc7c963ce8d8e0f39429b1c58171525f4dc4fff561
4
- data.tar.gz: 9328eb79187d094004ce424544506c139c5981fd0d836cd82dfa6c61616e3b76
3
+ metadata.gz: 99a5366de44fbcbcad34871946924c2ea70fde1215c0d15812fb623e8002a40e
4
+ data.tar.gz: 5349b17731f6c251bbd1ce6d82f707e108e9f2b49e0061f1a067783b6a4612a5
5
5
  SHA512:
6
- metadata.gz: 7ca5b0bf436a4b7ba0f31abb0e4ef6bb70faf96a8f433e4cbf342e41d36abb32f77af4a817a1fcd6a3fd579a477fa5c45a3e90f78c3113d631f3640a9e5de312
7
- data.tar.gz: 18dcf96c4ed9811b90153bb0ae81594b7443a7ab7a42e3f73c39797be6c94198c683a0c591dada92cd20fcdb16610d3d5e099d44335a5fda7009ed76707b073f
6
+ metadata.gz: c66a6b09291db0a753c2fa6613ce3ad9d5233789e38647ade9405ad4079637ace7e189cd2b621db0c374f94e94587572f751a703a4435b7eefc68db0ed2df161
7
+ data.tar.gz: ac31407f7f3a21657e22e17f94664214cb07542f74248f459c62434cf721c182d685ba2deff547b2152c96cdfbb99b016f8d88253d8b277cac5190f46412c92b
@@ -46,6 +46,12 @@ jobs:
46
46
  - lint
47
47
  steps:
48
48
  - uses: actions/checkout@v4
49
+ - name: Set up Java for JRuby
50
+ if: startsWith(matrix.ruby-version, 'jruby')
51
+ uses: actions/setup-java@v4
52
+ with:
53
+ distribution: temurin
54
+ java-version: '21'
49
55
  - name: Set up Ruby ${{ matrix.ruby-version }}
50
56
  uses: ruby/setup-ruby@v1
51
57
  with:
@@ -57,7 +63,7 @@ jobs:
57
63
  id: get_semver
58
64
  shell: bash
59
65
  run: |
60
- semver=$(ruby echo_client_spec_version.rb)
66
+ semver=$(bundle exec ruby echo_client_spec_version.rb)
61
67
  echo "::set-output name=semver::$semver"
62
68
  - name: Download test cases
63
69
  run: git clone --depth 5 --branch v${{ steps.get_semver.outputs.semver }} https://github.com/Unleash/client-specification.git client-specification
@@ -0,0 +1,26 @@
1
+ name: Release
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ release:
8
+ name: Publish gem to RubyGems.org
9
+ if: github.ref == 'refs/heads/main'
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
+ id-token: write
14
+
15
+ steps:
16
+ - uses: actions/checkout@v7
17
+ with:
18
+ persist-credentials: false
19
+
20
+ - name: Set up Ruby
21
+ uses: ruby/setup-ruby@v1
22
+ with:
23
+ ruby-version: ruby
24
+ bundler-cache: true
25
+
26
+ - uses: rubygems/release-gem@v1
data/README.md CHANGED
@@ -593,7 +593,7 @@ You can also run `bin/console` for an interactive prompt that will allow you to
593
593
  This SDK is also built against the Unleash Client Specification tests.
594
594
  To run the Ruby SDK against this test suite, you'll need to have a copy on your machine, you can clone the repository directly using:
595
595
 
596
- `git clone --branch v$(ruby echo_client_spec_version.rb) https://github.com/Unleash/client-specification.git`
596
+ `git clone --branch v$(bundle exec ruby echo_client_spec_version.rb) https://github.com/Unleash/client-specification.git`
597
597
 
598
598
  After doing this, `bundle exec rake spec` will also run the client specification tests.
599
599
 
@@ -609,9 +609,9 @@ To release a new version, follow these steps:
609
609
  - If the update includes a major or minor version change, update the [Installation section](#installation) in [README.md](README.md).
610
610
  - Update [CHANGELOG.md](CHANGELOG.md) following the format on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
611
611
  3. Commit changes:
612
- - Commit the changes with a message like: `chore: bump version to x.y.z.`
612
+ - Commit the changes with a message like: `chore: bump version to x.y.z.` and merge them to `main`.
613
613
  4. Release the gem:
614
- - On the `main` branch, run `bundle exec rake release` to create a git tag for the new version, push commits and tags to origin, and publish `.gem` file to [rubygems.org](https://rubygems.org).
614
+ - Run the [Release](.github/workflows/release.yml) workflow on the `main` branch (Actions → Release → Run workflow). It runs `bundle exec rake release`, which creates and pushes the `vx.y.z` tag and publishes the `.gem` file to [rubygems.org](https://rubygems.org) using [trusted publishing](https://guides.rubygems.org/trusted-publishing/).
615
615
 
616
616
  ## Contributing
617
617
 
@@ -133,7 +133,7 @@ module Unleash
133
133
  'interval': Unleash.configuration.metrics_interval_in_millis,
134
134
  'platformName': RUBY_ENGINE,
135
135
  'platformVersion': RUBY_VERSION,
136
- 'yggdrasilVersion': "0.13.3",
136
+ 'yggdrasilVersion': "0.21.7",
137
137
  'specVersion': Unleash::CLIENT_SPECIFICATION_VERSION
138
138
  }.merge(Unleash.configuration.sdk_flavor_fields)
139
139
  end
@@ -36,7 +36,7 @@ module Unleash
36
36
  {
37
37
  'platformName': RUBY_ENGINE,
38
38
  'platformVersion': RUBY_VERSION,
39
- 'yggdrasilVersion': "0.13.3",
39
+ 'yggdrasilVersion': "0.21.7",
40
40
  'specVersion': Unleash::CLIENT_SPECIFICATION_VERSION,
41
41
  'appName': Unleash.configuration.app_name,
42
42
  'instanceId': Unleash.configuration.instance_id,
@@ -1,3 +1,5 @@
1
+ require 'yggdrasil_engine'
2
+
1
3
  module Unleash
2
- CLIENT_SPECIFICATION_VERSION = "6.0.1".freeze
4
+ CLIENT_SPECIFICATION_VERSION = YggdrasilEngine.get_spec_version.freeze
3
5
  end
@@ -1,3 +1,3 @@
1
1
  module Unleash
2
- VERSION = "6.7.0".freeze
2
+ VERSION = "6.7.2".freeze
3
3
  end
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.required_ruby_version = ">= 2.7"
25
25
 
26
26
  spec.add_dependency "ld-eventsource", "2.2.4" unless RUBY_ENGINE == 'jruby'
27
- spec.add_dependency "yggdrasil-engine", "~> 1.2.2"
27
+ spec.add_dependency "yggdrasil-engine", "~> 1.3.3"
28
28
 
29
29
  spec.add_dependency "base64", "~> 0.3.0"
30
30
  spec.add_dependency "logger", "~> 1.6"
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unleash
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.7.0
4
+ version: 6.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renato Arruda
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-07-21 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: ld-eventsource
@@ -30,14 +29,14 @@ dependencies:
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
- version: 1.2.2
32
+ version: 1.3.3
34
33
  type: :runtime
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
- version: 1.2.2
39
+ version: 1.3.3
41
40
  - !ruby/object:Gem::Dependency
42
41
  name: base64
43
42
  requirement: !ruby/object:Gem::Requirement
@@ -191,6 +190,7 @@ files:
191
190
  - ".github/stale.yml"
192
191
  - ".github/workflows/add-to-project.yml"
193
192
  - ".github/workflows/pull_request.yml"
193
+ - ".github/workflows/release.yml"
194
194
  - ".gitignore"
195
195
  - ".rspec"
196
196
  - ".rubocop.yml"
@@ -238,7 +238,6 @@ homepage: https://github.com/unleash/unleash-ruby-sdk
238
238
  licenses:
239
239
  - Apache-2.0
240
240
  metadata: {}
241
- post_install_message:
242
241
  rdoc_options: []
243
242
  require_paths:
244
243
  - lib
@@ -253,8 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
252
  - !ruby/object:Gem::Version
254
253
  version: '0'
255
254
  requirements: []
256
- rubygems_version: 3.5.6
257
- signing_key:
255
+ rubygems_version: 4.0.20
258
256
  specification_version: 4
259
257
  summary: Unleash feature toggle client.
260
258
  test_files: []