Skip to content

Commit

Permalink
allow compatibility with Ruby 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ccutrer committed Dec 21, 2023
1 parent 6948ba0 commit 44a8f43
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require:
- rubocop-rake

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 2.6

Naming/FileName:
Exclude:
Expand Down
2 changes: 1 addition & 1 deletion bundler-multilock.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob("lib/**/*") + %w[plugins.rb]
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.7"
spec.required_ruby_version = ">= 2.6"

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

Expand Down
2 changes: 1 addition & 1 deletion lib/bundler/multilock/ext/plugin/dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module PluginExt
module DSL
::Bundler::Plugin::DSL.include(self)

def lockfile(...)
def lockfile(*, **)
# pass
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/bundler/multilock/ext/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Ext
module Source
::Bundler::Source.prepend(self)

def print_using_message(...)
def print_using_message(*)
return if Bundler.settings[:suppress_install_using_messages]

super
Expand Down

0 comments on commit 44a8f43

Please sign in to comment.