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:
|
Exclude:
|
||||||
- "spec/lib/**/*"
|
- "spec/lib/**/*"
|
||||||
|
|
||||||
|
Rails/Delegate:
|
||||||
|
Exclude:
|
||||||
|
- "lib/**/*"
|
||||||
|
|
||||||
Style/SingleLineMethods:
|
Style/SingleLineMethods:
|
||||||
Exclude:
|
Exclude:
|
||||||
- "test/dummy/app/models/*"
|
- "test/dummy/app/models/*"
|
||||||
|
|
@ -181,13 +185,17 @@ Style/EmptyLineBetweenDefs:
|
||||||
Style/NumericPredicate:
|
Style/NumericPredicate:
|
||||||
EnforcedStyle: comparison
|
EnforcedStyle: comparison
|
||||||
|
|
||||||
|
### backward compatibility
|
||||||
|
|
||||||
|
# only with ruby >= 2.3
|
||||||
Style/FrozenStringLiteralComment:
|
Style/FrozenStringLiteralComment:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Rails/Delegate:
|
# only with ruby >= 2.4
|
||||||
Exclude:
|
Performance/RegexpMatch:
|
||||||
- "lib/**/*"
|
Enabled: false
|
||||||
|
|
||||||
|
# for rails 4 and ruby < 2.2.2
|
||||||
Rails/HttpPositionalArguments:
|
Rails/HttpPositionalArguments:
|
||||||
Exclude:
|
Exclude:
|
||||||
- "spec/controllers/diaspora_federation/fixtures_rails4_spec.rb"
|
- "spec/controllers/diaspora_federation/fixtures_rails4_spec.rb"
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
2.3
|
2.4
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
language: ruby
|
language: ruby
|
||||||
|
|
||||||
rvm:
|
rvm:
|
||||||
|
- 2.4.0
|
||||||
- 2.3.3
|
- 2.3.3
|
||||||
- 2.2.5
|
- 2.2.5
|
||||||
- 2.1
|
- 2.1
|
||||||
|
|
|
||||||
|
|
@ -321,4 +321,4 @@ DEPENDENCIES
|
||||||
yard
|
yard
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.13.6
|
1.13.7
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue