Skip to content

Commit

Permalink
Fix projects without Rubocop-Rails
Browse files Browse the repository at this point in the history
  • Loading branch information
Raou1d committed Feb 5, 2021
1 parent 1754b77 commit 2cbd04b
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
12 changes: 12 additions & 0 deletions .rubocop-rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,3 +264,15 @@ RSpec/RepeatedExampleGroupBody:

RSpec/EmptyHook:
Enabled: true

# TODO Cops
Rails/AfterCommitOverride: # (new in 2.8)
Enabled: false
Rails/AttributeDefaultBlockValue: # (new in 2.9)
Enabled: false
Rails/SquishedSQLHeredocs: # (new in 2.8)
Enabled: false
Rails/WhereEquals: # (new in 2.9)
Enabled: false
Rails/WhereNot: # (new in 2.8)
Enabled: false
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [1.0.0] - 05 Febuary 2021
## [1.0.1] - 05 February 2021

### Fixed

- Fixed projects without Rubocop-Rails

## [1.0.0] - 05 February 2021

### Changed

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is the common configuration for ruby-style checks by [Rubocop](https://gith
Add this line to your application's Gemfile under the `development` and `test` groups to include a specific version of this gem:

```ruby
gem 'rubocopital', '~> 1.0.0', require: false
gem 'rubocopital', '~> 1.0.1', require: false
```

And then execute:
Expand Down
2 changes: 1 addition & 1 deletion lib/rubocopital/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Rubocopital
VERSION = "1.0.0"
VERSION = "1.0.1"
end
10 changes: 0 additions & 10 deletions new_cops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,3 @@ Style/NilLambda: # (new in 1.3)
Style/RedundantArgument: # (new in 1.4)
Enabled: false

Rails/AfterCommitOverride: # (new in 2.8)
Enabled: false
Rails/AttributeDefaultBlockValue: # (new in 2.9)
Enabled: false
Rails/SquishedSQLHeredocs: # (new in 2.8)
Enabled: false
Rails/WhereEquals: # (new in 2.9)
Enabled: false
Rails/WhereNot: # (new in 2.8)
Enabled: false

0 comments on commit 2cbd04b

Please sign in to comment.