platform-style 0.1.4 → 0.2.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
  SHA256:
3
- metadata.gz: 6bb1713515bfb44b6c01c7dbfa9fa2e7b956405bfe45427f44f7b3ad56f7114c
4
- data.tar.gz: 8f43fe6d956fbda53e117b939052011bbf09af8b9c5019a930c2019bee3f53d1
3
+ metadata.gz: 3151b838ce926a401c63f0775f32bf59f535b1bd6260b3e748e426d930239590
4
+ data.tar.gz: 940ee4bbc5c9dc48b4d04d1347c6b097b1ee5bed10335b13d64cad6841c4bcbf
5
5
  SHA512:
6
- metadata.gz: 3b2140e78ac8c12f488c90d273450396077d90a5d414bd734e79e3d0e2637006aefe8f8d8470bacb7473426d7d8ac5c1d8e05bd767d68d114a2541efa23981cb
7
- data.tar.gz: dc54d65cf785fa79d28a2f7ae02a835d4b8695d8339736c3a05948c80f6532a5f4a10d2c95dd754aa8fbe032e08bab7281941c9884eab7bdd4311b844c21de19
6
+ metadata.gz: 5a122ad9e1539b451dbe93623f3024119f0a1033de74921c6a9ff8bd607d6b6c7ea3839fa03dfdfcc6ec8e75c89b78fbbc10be3bbc90883f012e2093d4e563d6
7
+ data.tar.gz: 6113f0cb90f673b377fbb64ad39419fec129b2ba2284c2586ae52b6e553e88c1d64c9ed4011659e4e5547f449cf88bf9f0f23452f6a07d1af9d92a46e319f643
data/Gemfile.lock CHANGED
@@ -1,17 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- platform-style (0.1.4)
5
- rubocop (~> 1.31)
6
- rubocop-graphql (~> 0.14)
7
- rubocop-performance (~> 1.14)
8
- rubocop-rails (~> 2.15)
9
- rubocop-rspec (~> 2.12)
4
+ platform-style (0.2.0)
5
+ rubocop (~> 1.42)
6
+ rubocop-graphql (~> 0.18)
7
+ rubocop-performance (~> 1.15)
8
+ rubocop-rails (~> 2.17)
9
+ rubocop-rspec (~> 2.16)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (7.0.3.1)
14
+ activesupport (7.0.4)
15
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
16
  i18n (>= 1.6, < 2)
17
17
  minitest (>= 5.1)
@@ -20,43 +20,43 @@ GEM
20
20
  concurrent-ruby (1.1.10)
21
21
  i18n (1.12.0)
22
22
  concurrent-ruby (~> 1.0)
23
- json (2.6.2)
24
- minitest (5.16.3)
23
+ json (2.6.3)
24
+ minitest (5.17.0)
25
25
  parallel (1.22.1)
26
- parser (3.1.2.0)
26
+ parser (3.2.0.0)
27
27
  ast (~> 2.4.1)
28
- rack (2.2.4)
28
+ rack (3.0.3)
29
29
  rainbow (3.1.1)
30
30
  rake (13.0.6)
31
- regexp_parser (2.5.0)
31
+ regexp_parser (2.6.1)
32
32
  rexml (3.2.5)
33
- rubocop (1.32.0)
33
+ rubocop (1.42.0)
34
34
  json (~> 2.3)
35
35
  parallel (~> 1.10)
36
- parser (>= 3.1.0.0)
36
+ parser (>= 3.1.2.1)
37
37
  rainbow (>= 2.2.2, < 4.0)
38
38
  regexp_parser (>= 1.8, < 3.0)
39
39
  rexml (>= 3.2.5, < 4.0)
40
- rubocop-ast (>= 1.19.1, < 2.0)
40
+ rubocop-ast (>= 1.24.1, < 2.0)
41
41
  ruby-progressbar (~> 1.7)
42
42
  unicode-display_width (>= 1.4.0, < 3.0)
43
- rubocop-ast (1.19.1)
43
+ rubocop-ast (1.24.1)
44
44
  parser (>= 3.1.1.0)
45
- rubocop-graphql (0.14.6)
45
+ rubocop-graphql (0.18.0)
46
46
  rubocop (>= 0.87, < 2)
47
- rubocop-performance (1.14.3)
47
+ rubocop-performance (1.15.2)
48
48
  rubocop (>= 1.7.0, < 2.0)
49
49
  rubocop-ast (>= 0.4.0)
50
- rubocop-rails (2.15.2)
50
+ rubocop-rails (2.17.4)
51
51
  activesupport (>= 4.2.0)
52
52
  rack (>= 1.1)
53
- rubocop (>= 1.7.0, < 2.0)
54
- rubocop-rspec (2.12.1)
55
- rubocop (~> 1.31)
53
+ rubocop (>= 1.33.0, < 2.0)
54
+ rubocop-rspec (2.16.0)
55
+ rubocop (~> 1.33)
56
56
  ruby-progressbar (1.11.0)
57
57
  tzinfo (2.0.5)
58
58
  concurrent-ruby (~> 1.0)
59
- unicode-display_width (2.2.0)
59
+ unicode-display_width (2.4.2)
60
60
 
61
61
  PLATFORMS
62
62
  arm64-darwin-21
data/default.yml CHANGED
@@ -21,6 +21,9 @@ GraphQL/ExtractInputType:
21
21
  GraphQL/ExtractType:
22
22
  Enabled: false
23
23
 
24
+ GraphQL/FieldMethod:
25
+ Enabled: false
26
+
24
27
  # Layout
25
28
 
26
29
  Layout/ClassStructure:
@@ -48,7 +51,10 @@ Layout/ClassStructure:
48
51
  - after_commit
49
52
  macros:
50
53
  - accepts_nested_attributes_for
54
+ - acts_as_sequenced
55
+ - counter_culture
51
56
  - has_secure_token
57
+ - monetize
52
58
  - serialize
53
59
  module_inclusion:
54
60
  - include
@@ -73,9 +79,9 @@ Layout/ClassStructure:
73
79
  - delegate
74
80
  - callbacks
75
81
  - macros
82
+ - public_class_methods
76
83
  - initializer
77
84
  - public_methods
78
- - public_class_methods
79
85
  - protected_methods
80
86
  - private_constants
81
87
  - private_attributes
@@ -146,6 +152,9 @@ Metrics/ClassLength:
146
152
  Enabled: true
147
153
  Max: 200
148
154
 
155
+ Metrics/CyclomaticComplexity:
156
+ Max: 10
157
+
149
158
  Metrics/MethodLength:
150
159
  CountAsOne:
151
160
  - array
@@ -156,6 +165,7 @@ Metrics/MethodLength:
156
165
  Max: 20
157
166
  Exclude:
158
167
  - db/data/*.rb
168
+ - db/migrate/*.rb
159
169
 
160
170
  Metrics/ModuleLength:
161
171
  CountAsOne:
@@ -173,6 +183,7 @@ Naming/VariableNumber:
173
183
  Exclude:
174
184
  - app/graphql/types/**/*.rb
175
185
  - spec/factories/**/*.rb
186
+ - spec/requests/**/*.rb
176
187
 
177
188
  # RSpec
178
189
 
@@ -195,7 +206,7 @@ RSpec/NamedSubject:
195
206
  Enabled: false
196
207
 
197
208
  RSpec/NestedGroups:
198
- Max: 4
209
+ Max: 5
199
210
 
200
211
  RSpec/MultipleExpectations:
201
212
  Max: 10
@@ -3,7 +3,7 @@
3
3
  module Platform
4
4
  module Style
5
5
 
6
- VERSION = '0.1.4'
6
+ VERSION = '0.2.0'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: platform-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Bird
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-21 00:00:00.000000000 Z
11
+ date: 2023-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.31'
19
+ version: '1.42'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.31'
26
+ version: '1.42'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-graphql
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.14'
33
+ version: '0.18'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.14'
40
+ version: '0.18'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-performance
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.14'
47
+ version: '1.15'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.14'
54
+ version: '1.15'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.15'
61
+ version: '2.17'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.15'
68
+ version: '2.17'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.12'
75
+ version: '2.16'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '2.12'
82
+ version: '2.16'
83
83
  description:
84
84
  email:
85
85
  - david@discolabs.com