Skip to content

Commit

Permalink
Update Rubocop configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vitobotta committed Apr 14, 2024
1 parent 3fc58d4 commit 347fc31
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
require:
- rubocop-rake
- rubocop-rspec

AllCops:
NewCops: enable

Expand Down
8 changes: 5 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ source "https://rubygems.org"
gemspec

group :development do
gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"
gem "rubocop", "~> 1.21"
gem "rake"
gem "rspec"
gem "rubocop"
gem "rubocop-rake"
gem "rubocop-rspec"
end
21 changes: 18 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,19 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.29.1)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.28.3)
rubocop (~> 1.40)
ruby-progressbar (1.13.0)
unicode-display_width (2.5.0)

Expand All @@ -56,9 +69,11 @@ PLATFORMS

DEPENDENCIES
hetzner-k3s!
rake (~> 13.0)
rspec (~> 3.0)
rubocop (~> 1.21)
rake
rspec
rubocop
rubocop-rake
rubocop-rspec

BUNDLED WITH
2.5.9
6 changes: 1 addition & 5 deletions spec/hetzner/k3s_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

RSpec.describe Hetzner::K3s do
it "has a version number" do
expect(Hetzner::K3s::VERSION).not_to be nil
end

it "does something useful" do
expect(false).to eq(true)
expect(Hetzner::K3s::VERSION).not_to be_nil
end
end

0 comments on commit 347fc31

Please sign in to comment.