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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c4d8ea613083d95b5f81b53366fab6d39806020
4
- data.tar.gz: 9c6c7abea49cb0565c22ff25ad4cc29c8551f630
3
+ metadata.gz: 4ae8230f7d44814cb4a435dea0440c4a2e9023e3
4
+ data.tar.gz: 227d67c6f34f201f2350b270f9c30ac23158a6dc
5
5
  SHA512:
6
- metadata.gz: 8521f5e21a8127c6c079a394b8471ee59d7b0630dfa54c9bd31fe7644c4b450ae7350ec925d1fccd6ee189858a495cbe8c4078486d08af34545e9f6a053ccc4b
7
- data.tar.gz: e1b6101562540bdab717c813bb0eb63db9e4a281142a3673ba0a7c84f02709aa4a69dde4420e88d9868bb1f1a3c3e346554fb3e086d6d2e3774c096576cb0133
6
+ metadata.gz: 7217da68920f2b849fa4ea5114aa4758574fce4d50dc4ce1656b3006c37c012ed31d5ba18043f91901a2efdd9533e0e1e4c967ebc50c8a28e3b489fbb32edd26
7
+ data.tar.gz: bdd4a6ca2e5d39162e82bf84b32dfea5b16de790c5947d7b0a63be64f6622c0bdd784524532acc43625be8299b90e61b6fd2f91bef75e764175f2f056fd48046
data/lib/shugo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Shugo
2
- VERSION = '0.1.6'.freeze
2
+ VERSION = '0.1.7'.freeze
3
3
  end
data/rails/db_migrate.yml CHANGED
@@ -13,7 +13,7 @@ Style/BlockDelimiters:
13
13
  Style/Documentation:
14
14
  Enabled: false
15
15
 
16
- Style/EmptyLineBetweenDefs:
16
+ Layout/EmptyLineBetweenDefs:
17
17
  Enabled: false
18
18
 
19
19
  Style/StringLiterals:
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
- Style/AccessModifierIndentation:
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
- # Exclude documentation for classes where it's unnecessary
42
- Style/Documentation:
43
- Description: 'Document classes and non-namespace modules.'
64
+ Metrics/MethodLength:
44
65
  Enabled: true
45
- Exclude:
46
- - 'test/**/*'
47
- - '**/*_test.rb'
48
- - 'app/models/**/*'
49
- - 'app/controllers/**/*'
50
- - 'app/serializers/**/*'
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.6
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-08 00:00:00.000000000 Z
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.6.8
120
+ rubygems_version: 2.5.2
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Industrial Ruby Style Guide.