Skip to content

Commit

Permalink
Update rubocop to 1.1.0 (#7)
Browse files Browse the repository at this point in the history
And bump version to 2.4.0
  • Loading branch information
CvX committed Oct 30, 2020
1 parent 22c4376 commit 12be33a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .gitignore
@@ -1,3 +1 @@
.rubocop-http*
Gemfile.lock
.byebug_history
6 changes: 3 additions & 3 deletions rubocop-discourse.gemspec
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = "rubocop-discourse"
s.version = "2.3.2"
s.version = "2.4.0"
s.summary = "Custom rubocop cops used by Discourse"
s.authors = ["David Taylor"]
s.license = "MIT"
Expand All @@ -11,8 +11,8 @@ Gem::Specification.new do |s|
s.files = `git ls-files`.split($/)
s.require_paths = ["lib"]

s.add_runtime_dependency "rubocop", ">= 0.69.0"
s.add_runtime_dependency "rubocop-rspec", ">= 1.39.0"
s.add_runtime_dependency "rubocop", ">= 1.1.0"
s.add_runtime_dependency "rubocop-rspec", ">= 2.0.0.pre"

s.add_development_dependency "rake", "~> 13.0"
s.add_development_dependency "rspec"
Expand Down
12 changes: 6 additions & 6 deletions rubocop-rspec.yml
Expand Up @@ -192,20 +192,20 @@ RSpec/VoidExpect:
RSpec/Yield:
Enabled: true

Capybara/CurrentPathExpectation:
RSpec/Capybara/CurrentPathExpectation:
Enabled: true

Capybara/FeatureMethods:
RSpec/Capybara/FeatureMethods:
Enabled: true

FactoryBot/AttributeDefinedStatically:
RSpec/FactoryBot/AttributeDefinedStatically:
Enabled: true

FactoryBot/CreateList:
RSpec/FactoryBot/CreateList:
Enabled: true

FactoryBot/FactoryClassName:
RSpec/FactoryBot/FactoryClassName:
Enabled: true

Rails/HttpStatus:
RSpec/Rails/HttpStatus:
Enabled: true

0 comments on commit 12be33a

Please sign in to comment.