cookstyle 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9fbc3dc48df2dca52d7772c1c9aeb07f4f28ae84
4
- data.tar.gz: e235c633e6752e50ca0cb4a9f6ba7a551ffa9117
3
+ metadata.gz: 7b90280a8763034b586ce0c42e19d1deef17fcff
4
+ data.tar.gz: b8fc44711dcc0eca0ad985d724fddbf344bbe0a6
5
5
  SHA512:
6
- metadata.gz: 8df26084a0b3a68daee8108683ba1f2136549ecd3bc1d9b289aa4d6b2a3caa063f1b69baf5c080e82c2240fb78087033821bd07e7f11662357b331f0fcd59e8a
7
- data.tar.gz: 596e6b755f81afdd30aefe2bd38045ecc91ec02ea354b1ddc7a89eea4307fbd6af8dca84015c70c014b4594919ff0dca8ceb9b32a494ebcf2db54dc469250ac8
6
+ metadata.gz: e04f13f83a43d817634510fc7f3ea714d0d7b8413b9878d01893f6abb03277afd560869a517e24239ef55a52e8f60480c8478f69cd2cc00a88bbcaf542408873
7
+ data.tar.gz: 1afeb9b90a9915b9a29cdb6055abceffab2a8803988b6cc851af05b265a3b6b27341d40e42be4b86192e3265153251b88b64caa6864567190dcc6df7e28e7498
data/CHANGELOG.md ADDED
@@ -0,0 +1,43 @@
1
+ # Cookstyle Changelog
2
+
3
+ ## 1.1.0 (2016-12-13)
4
+
5
+ ### Newly Disabled Cops:
6
+
7
+ - All Rails cops since they don't apply to us
8
+ - Metrics/ClassLength
9
+
10
+ ## 1.0.1 (2016-12-12)
11
+
12
+ ### Newly Disabled Cops:
13
+
14
+ - Style/TernaryParentheses
15
+
16
+ ### Newly Enabled Cops:
17
+
18
+ - Lint/ShadowedException
19
+
20
+ ## 1.0.0 (2016-12-12)
21
+
22
+ ### Newly Disabled Cops:
23
+
24
+ - Metrics/CyclomaticComplexity
25
+ - Style/NumericLiterals
26
+ - Style/RegexpLiteral in /tests/ directory
27
+ - Style/AsciiComments
28
+
29
+ ### Newly Enabled Cops:
30
+
31
+ - Bundler/DuplicatedGem
32
+ - Style/SpaceInsideArrayPercentLiteral
33
+ - Style/NumericPredicate
34
+ - Style/EmptyCaseCondition
35
+ - Style/EachForSimpleLoop
36
+ - Style/PreferredHashMethods
37
+ - Lint/UnifiedInteger
38
+ - Lint/PercentSymbolArray
39
+ - Lint/PercentStringArray
40
+ - Lint/EmptyWhen
41
+ - Lint/EmptyExpression
42
+ - Lint/DuplicateCaseCondition
43
+ - Style/TrailingCommaInLiteral
data/config/cookstyle.yml CHANGED
@@ -23,6 +23,8 @@ Metrics/AbcSize:
23
23
  Enabled: false
24
24
  Metrics/ModuleLength:
25
25
  Enabled: false
26
+ Metrics/ClassLength:
27
+ Enabled: false
26
28
  Metrics/CyclomaticComplexity:
27
29
  Enabled: false
28
30
  PerceivedComplexity:
@@ -332,24 +332,14 @@ Style/WordArray:
332
332
  Enabled: true
333
333
  Style/ZeroLengthPredicate:
334
334
  Enabled: true
335
- Metrics/AbcSize:
336
- Enabled: true
337
335
  Metrics/BlockNesting:
338
336
  Enabled: true
339
- Metrics/ClassLength:
340
- Enabled: true
341
- Metrics/ModuleLength:
342
- Enabled: true
343
- Metrics/CyclomaticComplexity:
344
- Enabled: true
345
337
  Metrics/LineLength:
346
338
  Enabled: true
347
339
  Metrics/MethodLength:
348
340
  Enabled: true
349
341
  Metrics/ParameterLists:
350
342
  Enabled: true
351
- Metrics/PerceivedComplexity:
352
- Enabled: true
353
343
  Lint/AmbiguousOperator:
354
344
  Enabled: true
355
345
  Lint/AmbiguousRegexpLiteral:
@@ -489,27 +479,3 @@ Performance/StringReplacement:
489
479
  Enabled: true
490
480
  Performance/TimesMap:
491
481
  Enabled: true
492
- Rails/ActionFilter:
493
- Enabled: true
494
- Rails/Date:
495
- Enabled: true
496
- Rails/Delegate:
497
- Enabled: true
498
- Rails/FindBy:
499
- Enabled: true
500
- Rails/FindEach:
501
- Enabled: true
502
- Rails/HasAndBelongsToMany:
503
- Enabled: true
504
- Rails/Output:
505
- Enabled: true
506
- Rails/PluralizationGrammar:
507
- Enabled: true
508
- Rails/ReadWriteAttribute:
509
- Enabled: true
510
- Rails/ScopeArgs:
511
- Enabled: true
512
- Rails/TimeZone:
513
- Enabled: true
514
- Rails/Validation:
515
- Enabled: true
@@ -1,4 +1,4 @@
1
1
  module Cookstyle
2
- VERSION = "1.0.1".freeze
2
+ VERSION = "1.1.0".freeze
3
3
  RUBOCOP_VERSION = "0.46.0".freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cookstyle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom May
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-12 00:00:00.000000000 Z
11
+ date: 2016-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -77,6 +77,7 @@ files:
77
77
  - ".gitignore"
78
78
  - ".rspec"
79
79
  - ".travis.yml"
80
+ - CHANGELOG.md
80
81
  - Gemfile
81
82
  - LICENSE.txt
82
83
  - README.md