codeclimate 0.19.0 → 0.19.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/config/rubocop/.rubocop.yml +11 -21
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 378dcb18fa8e6e6dde441684f435d8cf3921465b
4
- data.tar.gz: 53fcf5de4112a5dcfc1b22c4b4c434d6eb8d2b0c
3
+ metadata.gz: 69e1a60b9539963b0d23670e6551235c8975eeb6
4
+ data.tar.gz: c9356a49046082ca353de505c22cfaa652feee19
5
5
  SHA512:
6
- metadata.gz: 51aad526234e129ec316a27e6cba5ff61f8706988b17d88cc7e6a4deccf699edd3687e4db461e356d0a572a736dbb2929651ddab504419b38d92a48acddcba0c
7
- data.tar.gz: ae541093ec720c225fa2ddb904e14d3627c700a85b3114816b9159da5479795201a886939e24b303998cbe21b7837c5aaf9d24addaf93d39d6af6d3e18320ee4
6
+ metadata.gz: 4a5f5991a7943ecaf4cdfd6f320f9e4cadc1b6f074cdf948004d8bd037612a8d1ed9a4189df3c659bf0349ff5cf675e22c26e3327492e92e57c0bf373f3557da
7
+ data.tar.gz: 7ec8c03054c5b9c0c312683e62f31f8c1fe10b4a15b9e2fdce92f3882a5fac0fcee753f5ae03a3818bf2616043e3c50d65abbf8279d9a424c67ba3859733687f
@@ -148,12 +148,6 @@ Lint/ShadowingOuterLocalVariable:
148
148
  for block arguments or block local variables.
149
149
  Enabled: true
150
150
 
151
- Lint/SpaceBeforeFirstArg:
152
- Description: >-
153
- Put a space between a method name and the first argument
154
- in a method call without parentheses.
155
- Enabled: true
156
-
157
151
  Lint/StringConversionInInterpolation:
158
152
  Description: 'Checks for Object#to_s usage in string interpolation.'
159
153
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-to-s'
@@ -331,10 +325,6 @@ Rails/Date:
331
325
  such as Date.today, Date.current etc.
332
326
  Enabled: false
333
327
 
334
- Rails/DefaultScope:
335
- Description: 'Checks if the argument passed to default_scope is a block.'
336
- Enabled: false
337
-
338
328
  Rails/Delegate:
339
329
  Description: 'Prefer delegate method for delegations.'
340
330
  Enabled: false
@@ -847,7 +837,6 @@ Style/ParallelAssignment:
847
837
  matches on both sides of the assignment.
848
838
  This also provides performance benefits
849
839
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parallel-assignment'
850
- Reference: 'https://github.com/JuanitoFatas/fast-ruby#parallel-assignment-vs-sequential-assignment-code'
851
840
  Enabled: false
852
841
 
853
842
  Style/ParenthesesAroundCondition:
@@ -947,11 +936,11 @@ Style/SingleLineMethods:
947
936
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-single-line-methods'
948
937
  Enabled: false
949
938
 
950
- Style/SingleSpaceBeforeFirstArg:
939
+ Style/SpaceBeforeFirstArg:
951
940
  Description: >-
952
941
  Checks that exactly one space is used between a method name
953
942
  and the first argument for method calls without parentheses.
954
- Enabled: false
943
+ Enabled: true
955
944
 
956
945
  Style/SpaceAfterColon:
957
946
  Description: 'Use spaces after colons.'
@@ -963,8 +952,8 @@ Style/SpaceAfterComma:
963
952
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
964
953
  Enabled: false
965
954
 
966
- Style/SpaceAfterControlKeyword:
967
- Description: 'Use spaces after if/elsif/unless/while/until/case/when.'
955
+ Style/SpaceAroundKeyword:
956
+ Description: 'Use spaces around keywords.'
968
957
  Enabled: false
969
958
 
970
959
  Style/SpaceAfterMethodName:
@@ -1028,10 +1017,6 @@ Style/SpaceAroundOperators:
1028
1017
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
1029
1018
  Enabled: false
1030
1019
 
1031
- Style/SpaceBeforeModifierKeyword:
1032
- Description: 'Put a space before the modifier keyword.'
1033
- Enabled: false
1034
-
1035
1020
  Style/SpaceInsideBrackets:
1036
1021
  Description: 'No spaces after [ or before ].'
1037
1022
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-spaces-braces'
@@ -1096,8 +1081,13 @@ Style/TrailingBlankLines:
1096
1081
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#newline-eof'
1097
1082
  Enabled: false
1098
1083
 
1099
- Style/TrailingComma:
1100
- Description: 'Checks for trailing comma in parameter lists and literals.'
1084
+ Style/TrailingCommaInArguments:
1085
+ Description: 'Checks for trailing comma in parameter lists.'
1086
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-params-comma'
1087
+ Enabled: false
1088
+
1089
+ Style/TrailingCommaInLiteral:
1090
+ Description: 'Checks for trailing comma in literals.'
1101
1091
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
1102
1092
  Enabled: false
1103
1093
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codeclimate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code Climate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-10 00:00:00.000000000 Z
11
+ date: 2016-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport