Add ruby 2.4
This commit is contained in:
parent
ed6bac6165
commit
0f9e39b7be
4 changed files with 14 additions and 5 deletions
14
.rubocop.yml
14
.rubocop.yml
|
|
@ -171,6 +171,10 @@ Rails/TimeZone:
|
|||
Exclude:
|
||||
- "spec/lib/**/*"
|
||||
|
||||
Rails/Delegate:
|
||||
Exclude:
|
||||
- "lib/**/*"
|
||||
|
||||
Style/SingleLineMethods:
|
||||
Exclude:
|
||||
- "test/dummy/app/models/*"
|
||||
|
|
@ -181,13 +185,17 @@ Style/EmptyLineBetweenDefs:
|
|||
Style/NumericPredicate:
|
||||
EnforcedStyle: comparison
|
||||
|
||||
### backward compatibility
|
||||
|
||||
# only with ruby >= 2.3
|
||||
Style/FrozenStringLiteralComment:
|
||||
Enabled: false
|
||||
|
||||
Rails/Delegate:
|
||||
Exclude:
|
||||
- "lib/**/*"
|
||||
# only with ruby >= 2.4
|
||||
Performance/RegexpMatch:
|
||||
Enabled: false
|
||||
|
||||
# for rails 4 and ruby < 2.2.2
|
||||
Rails/HttpPositionalArguments:
|
||||
Exclude:
|
||||
- "spec/controllers/diaspora_federation/fixtures_rails4_spec.rb"
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
2.3
|
||||
2.4
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
language: ruby
|
||||
|
||||
rvm:
|
||||
- 2.4.0
|
||||
- 2.3.3
|
||||
- 2.2.5
|
||||
- 2.1
|
||||
|
|
|
|||
|
|
@ -321,4 +321,4 @@ DEPENDENCIES
|
|||
yard
|
||||
|
||||
BUNDLED WITH
|
||||
1.13.6
|
||||
1.13.7
|
||||
|
|
|
|||
Loading…
Reference in a new issue