platform-style 0.1.3 → 0.1.4

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: 7116a0a14568cc5d8ff3c0ea9c296962225f9b473ee2a8509ad2130c006f3bff
4
- data.tar.gz: 91bac7b7fa245ef81c4f4968fbc71ed972aedb2181a5b77773d6b85ee982f4fa
3
+ metadata.gz: 6bb1713515bfb44b6c01c7dbfa9fa2e7b956405bfe45427f44f7b3ad56f7114c
4
+ data.tar.gz: 8f43fe6d956fbda53e117b939052011bbf09af8b9c5019a930c2019bee3f53d1
5
5
  SHA512:
6
- metadata.gz: 672883a2aa5bfae7dfca32a58b98203744e3a631c20cd206b1e6d827246958a8a7f973cf47c68bbc555e34f0adb7f38c421a6e7d9e48c051acc1836806651e24
7
- data.tar.gz: ea3f3fd6a9c2a942f8ed27001947c60753742bdf556422ed677ccaa6f89861b1788086be76ce3e56cf697a19121028e400124a19a9927f4742fd99af9f591997
6
+ metadata.gz: 3b2140e78ac8c12f488c90d273450396077d90a5d414bd734e79e3d0e2637006aefe8f8d8470bacb7473426d7d8ac5c1d8e05bd767d68d114a2541efa23981cb
7
+ data.tar.gz: dc54d65cf785fa79d28a2f7ae02a835d4b8695d8339736c3a05948c80f6532a5f4a10d2c95dd754aa8fbe032e08bab7281941c9884eab7bdd4311b844c21de19
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- platform-style (0.1.3)
4
+ platform-style (0.1.4)
5
5
  rubocop (~> 1.31)
6
6
  rubocop-graphql (~> 0.14)
7
7
  rubocop-performance (~> 1.14)
@@ -21,7 +21,7 @@ GEM
21
21
  i18n (1.12.0)
22
22
  concurrent-ruby (~> 1.0)
23
23
  json (2.6.2)
24
- minitest (5.16.2)
24
+ minitest (5.16.3)
25
25
  parallel (1.22.1)
26
26
  parser (3.1.2.0)
27
27
  ast (~> 2.4.1)
@@ -42,7 +42,7 @@ GEM
42
42
  unicode-display_width (>= 1.4.0, < 3.0)
43
43
  rubocop-ast (1.19.1)
44
44
  parser (>= 3.1.1.0)
45
- rubocop-graphql (0.14.5)
45
+ rubocop-graphql (0.14.6)
46
46
  rubocop (>= 0.87, < 2)
47
47
  rubocop-performance (1.14.3)
48
48
  rubocop (>= 1.7.0, < 2.0)
data/default.yml CHANGED
@@ -8,10 +8,19 @@ AllCops:
8
8
  Exclude:
9
9
  - bin/*
10
10
  - db/schema.rb
11
+ - db/data_schema.rb
11
12
  - vendor/bundle/**/*
12
13
  NewCops: enable
13
14
  TargetRubyVersion: 3.1.2
14
15
 
16
+ # GraphQL
17
+
18
+ GraphQL/ExtractInputType:
19
+ Enabled: false
20
+
21
+ GraphQL/ExtractType:
22
+ Enabled: false
23
+
15
24
  # Layout
16
25
 
17
26
  Layout/ClassStructure:
@@ -104,6 +113,8 @@ Layout/MultilineMethodCallIndentation:
104
113
 
105
114
  Metrics/AbcSize:
106
115
  Max: 30
116
+ Exclude:
117
+ - db/data/*.rb
107
118
 
108
119
  Metrics/BlockLength:
109
120
  AllowedMethods:
@@ -113,6 +124,7 @@ Metrics/BlockLength:
113
124
  - factory
114
125
  - it
115
126
  - promises
127
+ - routes.draw
116
128
  - shared_examples
117
129
  - use_cassette
118
130
  CountAsOne:
@@ -142,6 +154,8 @@ Metrics/MethodLength:
142
154
  CountComments: false
143
155
  Enabled: true
144
156
  Max: 20
157
+ Exclude:
158
+ - db/data/*.rb
145
159
 
146
160
  Metrics/ModuleLength:
147
161
  CountAsOne:
@@ -152,6 +166,14 @@ Metrics/ModuleLength:
152
166
  Enabled: true
153
167
  Max: 200
154
168
 
169
+ # Naming
170
+
171
+ Naming/VariableNumber:
172
+ EnforcedStyle: snake_case
173
+ Exclude:
174
+ - app/graphql/types/**/*.rb
175
+ - spec/factories/**/*.rb
176
+
155
177
  # RSpec
156
178
 
157
179
  RSpec/ExampleLength:
@@ -167,7 +189,7 @@ RSpec/LetSetup:
167
189
  RSpec/MultipleMemoizedHelpers:
168
190
  AllowSubject: true
169
191
  Enabled: true
170
- Max: 10
192
+ Max: 20
171
193
 
172
194
  RSpec/NamedSubject:
173
195
  Enabled: false
@@ -3,7 +3,7 @@
3
3
  module Platform
4
4
  module Style
5
5
 
6
- VERSION = '0.1.3'
6
+ VERSION = '0.1.4'
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.3
4
+ version: 0.1.4
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-08-22 00:00:00.000000000 Z
11
+ date: 2022-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop