Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actions/ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ runs:
- uses: ruby/setup-ruby@3ff19f5e2baf30647122352b96108b1fbe250c64 # v1.299.0
with:
ruby-version: ${{ inputs.ruby-version }}
bundler: 4.0.19
Comment thread
cursor[bot] marked this conversation as resolved.

- name: Install dependencies
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- uses: ruby/setup-ruby@3ff19f5e2baf30647122352b96108b1fbe250c64 # v1.299.0
with:
ruby-version: 3.4
bundler: 4.0.19

- name: Install dependencies
run: bundle install
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ We encourage pull requests and other contributions from the community. Before su

This SDK is built with [Bundler](https://bundler.io/). To install Bundler, run `gem install bundler`. You might need `sudo` to execute the command successfully.

The `Gemfile` declares a [cooldown](https://blog.rubygems.org/2026/06/03/cooldown-let-new-gems-be-vetted.html), so dependencies only resolve to versions that have been published for at least seven days. `launchdarkly-server-sdk` is exempt, because we publish it ourselves and generally want to build against a release immediately. Cooldown requires Bundler 4.0.13 or later; older versions ignore the setting and resolve to the newest matching version. Pass `--cooldown 0` to reach a version inside the window, for instance when a security fix has just been released.

To install the runtime dependencies:

```
Expand Down
8 changes: 7 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

source "https://rubygems.org"
source "https://rubygems.org", cooldown: 7

# Specify your gem's dependencies in launchdarkly-openfeature-server-sdk.gemspec
gemspec
Expand All @@ -13,3 +13,9 @@ gem "rubocop", "~> 1.76"
gem "rubocop-performance", "~> 1.25"
gem "rubocop-rake", "~> 0.6"
gem "rubocop-rspec", "~> 3.9"

# Cooldown is configured per source, so exempting our own SDK from it requires a
# second remote for the same registry.
source "https://index.rubygems.org", cooldown: 0 do
gem "launchdarkly-server-sdk"
end
Loading