platform-style 0.1.2 → 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: 07eaab636768e97fc9e82dd55b397083cf2b5fdc73981528eaad8cd4be507b7a
4
- data.tar.gz: 774b507a1ce1ad92eb2a327fbe64ed499af6a9cddd69144f9bb226f096d055d4
3
+ metadata.gz: 6bb1713515bfb44b6c01c7dbfa9fa2e7b956405bfe45427f44f7b3ad56f7114c
4
+ data.tar.gz: 8f43fe6d956fbda53e117b939052011bbf09af8b9c5019a930c2019bee3f53d1
5
5
  SHA512:
6
- metadata.gz: 73b92a67a820c1b4c3567654124eadae00e3c9cf0bfe4985cdabb8419e0242d93b3717b137e32ba71c60c953d88a07941ec04503d83d0dfb51e95c5701a66d79
7
- data.tar.gz: 407d0f6f4700abc651dbb1ced1623f3aecb25873379a589c674e21fe15bf0e01b1b6994fd47fd31a70048cddd63f777262ea4cfa8b1511c77769fc75ef3783c9
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.2)
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:
@@ -90,8 +99,10 @@ Layout/LineEndStringConcatenationIndentation:
90
99
 
91
100
  Layout/LineLength:
92
101
  AllowedPatterns:
93
- - \VCR.use_cassette\
102
+ - VCR.use_cassette
94
103
  Enabled: true
104
+ Exclude:
105
+ - app/graphql/**/*
95
106
  Max: 120
96
107
 
97
108
  Layout/MultilineMethodCallIndentation:
@@ -102,6 +113,8 @@ Layout/MultilineMethodCallIndentation:
102
113
 
103
114
  Metrics/AbcSize:
104
115
  Max: 30
116
+ Exclude:
117
+ - db/data/*.rb
105
118
 
106
119
  Metrics/BlockLength:
107
120
  AllowedMethods:
@@ -111,6 +124,7 @@ Metrics/BlockLength:
111
124
  - factory
112
125
  - it
113
126
  - promises
127
+ - routes.draw
114
128
  - shared_examples
115
129
  - use_cassette
116
130
  CountAsOne:
@@ -140,6 +154,8 @@ Metrics/MethodLength:
140
154
  CountComments: false
141
155
  Enabled: true
142
156
  Max: 20
157
+ Exclude:
158
+ - db/data/*.rb
143
159
 
144
160
  Metrics/ModuleLength:
145
161
  CountAsOne:
@@ -150,6 +166,14 @@ Metrics/ModuleLength:
150
166
  Enabled: true
151
167
  Max: 200
152
168
 
169
+ # Naming
170
+
171
+ Naming/VariableNumber:
172
+ EnforcedStyle: snake_case
173
+ Exclude:
174
+ - app/graphql/types/**/*.rb
175
+ - spec/factories/**/*.rb
176
+
153
177
  # RSpec
154
178
 
155
179
  RSpec/ExampleLength:
@@ -165,7 +189,7 @@ RSpec/LetSetup:
165
189
  RSpec/MultipleMemoizedHelpers:
166
190
  AllowSubject: true
167
191
  Enabled: true
168
- Max: 10
192
+ Max: 20
169
193
 
170
194
  RSpec/NamedSubject:
171
195
  Enabled: false
@@ -3,7 +3,7 @@
3
3
  module Platform
4
4
  module Style
5
5
 
6
- VERSION = '0.1.2'
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.2
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-17 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