Skip to content

Commit

Permalink
Move dependencies definition to gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
vitobotta committed Apr 14, 2024
1 parent 347fc31 commit a0d988a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ AllCops:
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
Enabled: true
Gemspec/DevelopmentDependencies: # new in 1.44
Enabled: true
Enabled: false
Gemspec/RequireMFA: # new in 1.23
Enabled: true
Layout/LineContinuationLeadingSpace: # new in 1.31
Expand Down
8 changes: 0 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,3 @@ source "https://rubygems.org"

# Specify your gem's dependencies in hetzner-k3s.gemspec
gemspec

group :development do
gem "rake"
gem "rspec"
gem "rubocop"
gem "rubocop-rake"
gem "rubocop-rspec"
end
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ PLATFORMS

DEPENDENCIES
hetzner-k3s!
rake
rspec
rubocop
rubocop-rake
rubocop-rspec
rake (~> 13.2, >= 13.2.1)
rspec (~> 3.13)
rubocop (~> 1.63, >= 1.63.1)
rubocop-rake (~> 0.6.0)
rubocop-rspec (~> 2.29, >= 2.29.1)

BUNDLED WITH
2.5.9
6 changes: 6 additions & 0 deletions hetzner-k3s.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,10 @@ Gem::Specification.new do |spec|

# For more information and examples about making a new gem, check out our
# guide at: https://bundler.io/guides/creating_gem.html

spec.add_development_dependency "rake", '~> 13.2', '>= 13.2.1'
spec.add_development_dependency "rspec", '~> 3.13'
spec.add_development_dependency "rubocop", '~> 1.63', '>= 1.63.1'
spec.add_development_dependency "rubocop-rake", '~> 0.6.0'
spec.add_development_dependency "rubocop-rspec", '~> 2.29', '>= 2.29.1'
end

0 comments on commit a0d988a

Please sign in to comment.