platform-style 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: da2d371f10ab9107ebb03f30f791c7dff52ade00452427f86e803fa2272faee0
4
- data.tar.gz: 5827299b3935986b273f3e0c8f41f2eb2e315e12f8392a2f42f4d485985b70eb
3
+ metadata.gz: 07eaab636768e97fc9e82dd55b397083cf2b5fdc73981528eaad8cd4be507b7a
4
+ data.tar.gz: 774b507a1ce1ad92eb2a327fbe64ed499af6a9cddd69144f9bb226f096d055d4
5
5
  SHA512:
6
- metadata.gz: 71c7351783e03efc971f01c5d9dec48e71fe5d9883fbe2a2e2122a3001e02b5df41f85fa7805d725bf9d2d373c9026ba9014ff7b2c68611bab4fa7ca8c712503
7
- data.tar.gz: 657b9cb5b525380b227e920342f5362804279cedca20c84b49d5bb6e1bffc12aa502c2c812c1ae6b0d7b5341e49505bf99fa6a54fdf06a329e0199eff1b2774b
6
+ metadata.gz: 73b92a67a820c1b4c3567654124eadae00e3c9cf0bfe4985cdabb8419e0242d93b3717b137e32ba71c60c953d88a07941ec04503d83d0dfb51e95c5701a66d79
7
+ data.tar.gz: 407d0f6f4700abc651dbb1ced1623f3aecb25873379a589c674e21fe15bf0e01b1b6994fd47fd31a70048cddd63f777262ea4cfa8b1511c77769fc75ef3783c9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- platform-style (0.1.1)
4
+ platform-style (0.1.2)
5
5
  rubocop (~> 1.31)
6
6
  rubocop-graphql (~> 0.14)
7
7
  rubocop-performance (~> 1.14)
data/default.yml CHANGED
@@ -58,6 +58,7 @@ Layout/ClassStructure:
58
58
  - public_constants
59
59
  - public_attributes
60
60
  - enum
61
+ - encrypts
61
62
  - associations
62
63
  - validations
63
64
  - delegate
@@ -82,14 +83,16 @@ Layout/EmptyLinesAroundModuleBody:
82
83
 
83
84
  Layout/IndentationConsistency:
84
85
  Enabled: true
85
- EnforcedStyle: indented_internal_methods
86
+ EnforcedStyle: normal
86
87
 
87
88
  Layout/LineEndStringConcatenationIndentation:
88
89
  Enabled: false
89
90
 
90
91
  Layout/LineLength:
92
+ AllowedPatterns:
93
+ - \VCR.use_cassette\
91
94
  Enabled: true
92
- Max: 100
95
+ Max: 120
93
96
 
94
97
  Layout/MultilineMethodCallIndentation:
95
98
  Enabled: true
@@ -101,12 +104,51 @@ Metrics/AbcSize:
101
104
  Max: 30
102
105
 
103
106
  Metrics/BlockLength:
107
+ AllowedMethods:
108
+ - context
109
+ - describe
110
+ - expects
111
+ - factory
112
+ - it
113
+ - promises
114
+ - shared_examples
115
+ - use_cassette
116
+ CountAsOne:
117
+ - array
118
+ - hash
119
+ - heredoc
120
+ CountComments: false
104
121
  Enabled: true
105
122
  Exclude:
106
123
  - config/**/*
124
+ - Gemfile
125
+
126
+ Metrics/ClassLength:
127
+ CountAsOne:
128
+ - array
129
+ - hash
130
+ - heredoc
131
+ CountComments: false
132
+ Enabled: true
133
+ Max: 200
107
134
 
108
135
  Metrics/MethodLength:
109
- Enabled: false
136
+ CountAsOne:
137
+ - array
138
+ - hash
139
+ - heredoc
140
+ CountComments: false
141
+ Enabled: true
142
+ Max: 20
143
+
144
+ Metrics/ModuleLength:
145
+ CountAsOne:
146
+ - array
147
+ - hash
148
+ - heredoc
149
+ CountComments: false
150
+ Enabled: true
151
+ Max: 200
110
152
 
111
153
  # RSpec
112
154
 
@@ -117,9 +159,20 @@ RSpec/ExampleLength:
117
159
  - heredoc
118
160
  Max: 20
119
161
 
162
+ RSpec/LetSetup:
163
+ Enabled: false
164
+
165
+ RSpec/MultipleMemoizedHelpers:
166
+ AllowSubject: true
167
+ Enabled: true
168
+ Max: 10
169
+
120
170
  RSpec/NamedSubject:
121
171
  Enabled: false
122
172
 
173
+ RSpec/NestedGroups:
174
+ Max: 4
175
+
123
176
  RSpec/MultipleExpectations:
124
177
  Max: 10
125
178
 
@@ -127,3 +180,6 @@ RSpec/MultipleExpectations:
127
180
 
128
181
  Style/Documentation:
129
182
  Enabled: false
183
+
184
+ Style/MultilineIfModifier:
185
+ Enabled: false
@@ -3,7 +3,7 @@
3
3
  module Platform
4
4
  module Style
5
5
 
6
- VERSION = '0.1.1'
6
+ VERSION = '0.1.2'
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.1
4
+ version: 0.1.2
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-16 00:00:00.000000000 Z
11
+ date: 2022-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -96,7 +96,6 @@ files:
96
96
  - default.yml
97
97
  - lib/platform/style.rb
98
98
  - lib/platform/style/version.rb
99
- - platform-style-0.1.0.gem
100
99
  - sig/platform/style.rbs
101
100
  homepage: https://github.com/discolabs/platform-style
102
101
  licenses:
Binary file