Skip to content

Commit 93d9269

Browse files
authored
Don't use open-ended dependency on rubocop (#15)
Avoids this warning when building the gem: $ gem build rubocop-eightyfourcodes WARNING: open-ended dependency on rubocop (>= 0) is not recommended use a bounded requirement, such as "~> x.y" WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: rubocop-eightyfourcodes Version: 0.0.3 File: rubocop-eightyfourcodes-0.0.3.gem
1 parent fd92bef commit 93d9269

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: .
33
specs:
44
rubocop-eightyfourcodes (0.0.3)
5-
rubocop
5+
rubocop (< 2)
66

77
GEM
88
remote: https://rubygems.org/

rubocop-eightyfourcodes.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ Gem::Specification.new do |spec|
2929
end
3030

3131
spec.require_paths = ['lib']
32-
spec.add_dependency 'rubocop'
32+
spec.add_dependency 'rubocop', '< 2'
3333
spec.extra_rdoc_files = ['LICENSE.md', 'README.md']
3434
end

0 commit comments

Comments
 (0)