1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00
Commit graph

10 commits

Author SHA1 Message Date
Duncan Stuart
19b2613e7a Rubocop: re-enable SpecialGlobalVars cop
This seems like a reasonable thing to fix: in my opinion the fewer
exceptions to the default config, the better
2019-08-12 15:02:15 +02:00
Duncan Stuart
f13c28d854 Add frozen string literal magic comment
This is enabled by default in later versions of Rubocop. Making this
change now removes this conflict for people running later versions.

Automatically fixed with `rubocop -a`
2019-08-12 15:02:15 +02:00
Duncan Stuart
e39e1c5a81 Rubocop: re-enable IndentHash rule
One advantage of sticking with the default rule is that it insulates us
from naming changes: this cop is renamed in later versions of Rubocop.
2019-08-12 15:02:15 +02:00
Duncan Stuart
ca44b39f30 Rubocop: re-enable trivial accessors rule
This has no violations and there doesn't seem to be a good reason to
disable it.

Also it had two declarations - these were both added in the initial
commit which added Rubocop - presumably due to the config being copied
from a previous project (?).
2019-08-12 15:02:06 +02:00
Linus Marton
45c3408004
Update rubocop target version 2018-07-21 21:21:32 +02:00
Linus Marton
d28170b722
Remove unneeded rubocop file 2018-05-17 20:20:34 +02:00
Linus Marton
70935c5e93
Fix rubocop issues
This makes rubocop work with newer versions.
2018-04-27 12:40:42 +02:00
284km
4c488be943 CI against Ruby 2.2.8/2.3.5/2.4.2 (#489)
* CI against Ruby 2.2.8/2.3.5/2.4.2

* Remove unnecessary magic comments with ruby 2.0 or later

* Change `TargetRubyVersion` to 2.0

ruby 1.9.3 has already been dropped by 0569b065d7

* Change `TargetRubyVersion` to 2.1

* Drop jruby1.7 on Travis
2017-12-05 10:46:03 +01:00
Olle Jonsson
f60d059df9 Travis build change: Fix build, use latest JRuby
- Lint only 1 time, on modern Ruby
2017-05-11 14:53:16 +02:00
Jonas Nicklas
d079c86ebb Add Rubocop. 2016-01-14 15:30:03 +01:00