From 144736696a856ed627586ab5a0235a5e397922f0 Mon Sep 17 00:00:00 2001 From: Cody Cutrer Date: Mon, 18 Dec 2023 09:59:02 -0700 Subject: [PATCH] allow bundler 2.5 --- Gemfile.lock | 6 +++--- bundler-multilock.gemspec | 2 +- lib/bundler/multilock/lockfile_generator.rb | 4 ++++ lib/bundler/multilock/version.rb | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index cb7d5bc..587f2c8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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/ @@ -98,4 +98,4 @@ DEPENDENCIES rubocop-rspec (~> 2.24) BUNDLED WITH - 2.4.20 + 2.5.1 diff --git a/bundler-multilock.gemspec b/bundler-multilock.gemspec index 7dc096a..cdf70db 100644 --- a/bundler-multilock.gemspec +++ b/bundler-multilock.gemspec @@ -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" diff --git a/lib/bundler/multilock/lockfile_generator.rb b/lib/bundler/multilock/lockfile_generator.rb index 3e7ba4e..7f8011f 100644 --- a/lib/bundler/multilock/lockfile_generator.rb +++ b/lib/bundler/multilock/lockfile_generator.rb @@ -32,6 +32,10 @@ def dependencies def locked_ruby_version ruby_version end + + def locked_checksums + checksums + end end private_constant :LockfileAdapter diff --git a/lib/bundler/multilock/version.rb b/lib/bundler/multilock/version.rb index 4fd5042..378039a 100644 --- a/lib/bundler/multilock/version.rb +++ b/lib/bundler/multilock/version.rb @@ -2,6 +2,6 @@ module Bundler module Multilock - VERSION = "1.2.0" + VERSION = "1.2.1" end end