Skip to content

Commit

Permalink
Merge pull request #32 from bastelfreak/vpr
Browse files Browse the repository at this point in the history
voxpupuli-rubocop: Require 2.7.0
  • Loading branch information
bastelfreak authored May 28, 2024
2 parents d82eb89 + 9322cbd commit c8e24d6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
11 changes: 10 additions & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-05-05 10:34:45 UTC using RuboCop version 1.50.2.
# on 2024-05-28 09:37:31 UTC using RuboCop version 1.63.5.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand All @@ -12,6 +12,7 @@
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
Naming/FileName:
Exclude:
- 'Rakefile.rb'
- 'lib/beaker-hiera.rb'

# Offense count: 1
Expand All @@ -38,6 +39,14 @@ RSpec/NamedSubject:
Exclude:
- 'spec/beaker-hiera/helpers_spec.rb'

# Offense count: 1
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
# Include: **/*_spec.rb
RSpec/SpecFilePathFormat:
Exclude:
- '**/spec/routing/**/*'
- 'spec/beaker-hiera/helpers_spec.rb'

# Offense count: 2
RSpec/StubbedMock:
Exclude:
Expand Down
11 changes: 2 additions & 9 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,7 @@ else
end

begin
require 'rubocop/rake_task'
require 'voxpupuli/rubocop/rake'
rescue LoadError
# RuboCop is an optional group
else
RuboCop::RakeTask.new(:rubocop) do |task|
# These make the rubocop experience maybe slightly less terrible
task.options = ['--display-cop-names', '--display-style-guide', '--extra-details']
# Use Rubocop's Github Actions formatter if possible
task.formatters << 'github' if ENV['GITHUB_ACTIONS']
end
# the voxpupuli-rubocop gem is optional
end
2 changes: 1 addition & 1 deletion beaker-hiera.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'simplecov', '~> 0.22.0'
s.add_development_dependency 'voxpupuli-rubocop', '~> 1.2'
s.add_development_dependency 'voxpupuli-rubocop', '~> 2.7.0'

# Run time dependencies
s.add_runtime_dependency 'beaker', '>= 4', '< 6'
Expand Down

0 comments on commit c8e24d6

Please sign in to comment.