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 +4 -4
- data/CHANGELOG.md +43 -0
- data/config/cookstyle.yml +2 -0
- data/config/cookstyle_base.yml +0 -34
- data/lib/cookstyle/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b90280a8763034b586ce0c42e19d1deef17fcff
|
4
|
+
data.tar.gz: b8fc44711dcc0eca0ad985d724fddbf344bbe0a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/config/cookstyle_base.yml
CHANGED
@@ -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
|
data/lib/cookstyle/version.rb
CHANGED
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
|
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-
|
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
|