Skip to content

Commit

Permalink
allow bundler 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ccutrer committed Dec 18, 2023
1 parent da1060a commit 70bf5ad
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ jobs:
fail-fast: false
matrix:
ruby-version: [2.7, "3.0", 3.1, 3.2]

bundler-version: [2.4.20, 2.5.1]
exclude:
- ruby-version: 2.7
bundler-version: 2.5.1
env:
BUNDLER_VERSION: ${{ matrix.bundler-version }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
Expand All @@ -33,7 +38,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: "3.0"
bundler-cache: true
- name: Run RuboCop
run: bin/rubocop
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: .
specs:
bundler-multilock (1.2.0)
bundler (~> 2.4.19)
bundler-multilock (1.2.1)
bundler (>= 2.4.19, < 2.6)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -98,4 +98,4 @@ DEPENDENCIES
rubocop-rspec (~> 2.24)

BUNDLED WITH
2.4.20
2.5.1
2 changes: 1 addition & 1 deletion bundler-multilock.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = ">= 2.7"

spec.add_dependency "bundler", "~> 2.4.19"
spec.add_dependency "bundler", ">= 2.4.19", "< 2.6"

spec.add_development_dependency "debug", "~> 1.8"
spec.add_development_dependency "rake", "~> 13.0"
Expand Down
4 changes: 4 additions & 0 deletions lib/bundler/multilock/lockfile_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ def dependencies
def locked_ruby_version
ruby_version
end

def locked_checksums
checksums
end
end

private_constant :LockfileAdapter
Expand Down
2 changes: 1 addition & 1 deletion lib/bundler/multilock/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Bundler
module Multilock
VERSION = "1.2.0"
VERSION = "1.2.1"
end
end

0 comments on commit 70bf5ad

Please sign in to comment.