shugo 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/shugo/version.rb +1 -1
- data/rails/db_migrate.yml +1 -1
- data/ruby/rubocop.yml +40 -14
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ae8230f7d44814cb4a435dea0440c4a2e9023e3
|
4
|
+
data.tar.gz: 227d67c6f34f201f2350b270f9c30ac23158a6dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7217da68920f2b849fa4ea5114aa4758574fce4d50dc4ce1656b3006c37c012ed31d5ba18043f91901a2efdd9533e0e1e4c967ebc50c8a28e3b489fbb32edd26
|
7
|
+
data.tar.gz: bdd4a6ca2e5d39162e82bf84b32dfea5b16de790c5947d7b0a63be64f6622c0bdd784524532acc43625be8299b90e61b6fd2f91bef75e764175f2f056fd48046
|
data/lib/shugo/version.rb
CHANGED
data/rails/db_migrate.yml
CHANGED
data/ruby/rubocop.yml
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
#
|
4
4
|
# Rubocop configuration and instructions:
|
5
5
|
# https://github.com/bbatsov/rubocop/blob/master/config/
|
6
|
+
#
|
7
|
+
# run rubocop --show-cops to get a detailed printout of your rules
|
6
8
|
|
7
9
|
AllCops:
|
8
10
|
DisplayCopNames: true
|
@@ -16,35 +18,59 @@ AllCops:
|
|
16
18
|
- 'test/fixtures/**/*'
|
17
19
|
- 'tmp/**/*'
|
18
20
|
|
21
|
+
#################### Layout ###########################
|
22
|
+
|
19
23
|
# Outdent private/protected/public so it's easy to read & indentify
|
20
|
-
|
24
|
+
Layout/AccessModifierIndentation:
|
21
25
|
EnforcedStyle: outdent
|
22
26
|
|
27
|
+
#################### Style ###########################
|
28
|
+
|
29
|
+
# Prefer to use nested classes/modules when it makes sense but use your judgement.
|
30
|
+
Style/ClassAndModuleChildren:
|
31
|
+
Enabled: false
|
32
|
+
|
33
|
+
# Exclude documentation for classes where it's unnecessary
|
34
|
+
Style/Documentation:
|
35
|
+
Description: 'Document classes and non-namespace modules.'
|
36
|
+
Enabled: true
|
37
|
+
Exclude:
|
38
|
+
- 'test/**/*'
|
39
|
+
- '**/*_test.rb'
|
40
|
+
- '**/models/**/*'
|
41
|
+
- '**/controllers/**/*'
|
42
|
+
- '**/serializers/**/*'
|
43
|
+
|
23
44
|
# Projects that have a migration path to Ruby 3+ should have this enabled
|
24
45
|
Style/FrozenStringLiteralComment:
|
25
46
|
Enabled: false
|
26
47
|
|
48
|
+
# Prefer [:this, :array] over %i(this array)
|
49
|
+
Style/SymbolArray:
|
50
|
+
Enabled: false
|
51
|
+
|
52
|
+
#################### Metrics ###########################
|
53
|
+
|
27
54
|
Metrics/BlockLength:
|
28
55
|
Exclude:
|
29
56
|
- 'Rakefile'
|
30
57
|
- '**/*.rake'
|
31
58
|
- 'test/**/*.rb'
|
32
59
|
|
33
|
-
# Prefers [:this, :array] instead of %i(this array)
|
34
|
-
Style/SymbolArray:
|
35
|
-
EnforcedStyle: brackets
|
36
|
-
|
37
60
|
# Not too little, but not too much.
|
38
61
|
Metrics/LineLength:
|
39
62
|
Max: 120
|
40
63
|
|
41
|
-
|
42
|
-
Style/Documentation:
|
43
|
-
Description: 'Document classes and non-namespace modules.'
|
64
|
+
Metrics/MethodLength:
|
44
65
|
Enabled: true
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
66
|
+
Max: 12
|
67
|
+
|
68
|
+
#################### Bundler ###############################
|
69
|
+
Bundler/OrderedGems:
|
70
|
+
Description: >-
|
71
|
+
Gems within groups in the Gemfile should be alphabetically sorted.
|
72
|
+
Enabled: true
|
73
|
+
Include:
|
74
|
+
- '**/Gemfile'
|
75
|
+
- '**/gems.rb'
|
76
|
+
- '**/Gemfile.next'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shugo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Markle
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
119
|
rubyforge_project:
|
120
|
-
rubygems_version: 2.
|
120
|
+
rubygems_version: 2.5.2
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: Industrial Ruby Style Guide.
|