Add ruby 2.4

This commit is contained in:
Benjamin Neff 2017-01-19 00:49:36 +01:00
parent ed6bac6165
commit 0f9e39b7be
4 changed files with 14 additions and 5 deletions

View file

@ -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"

View file

@ -1 +1 @@
2.3
2.4

View file

@ -1,6 +1,7 @@
language: ruby
rvm:
- 2.4.0
- 2.3.3
- 2.2.5
- 2.1

View file

@ -321,4 +321,4 @@ DEPENDENCIES
yard
BUNDLED WITH
1.13.6
1.13.7