shuttlerock_shared_config 0.2.32 → 0.3.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: f860efc08c45b143efe1269e873978274e9f2cc0b7bfa1d153503dedc8324767
4
- data.tar.gz: 51a8f8d7c980b3e27604bee962eb67546e109e180270cfbfe0c12ac37dad200f
3
+ metadata.gz: 3e9b2fe2b2782f6128f8cdbf526b4317df5b7fea3f8226e2588f28948295eb7e
4
+ data.tar.gz: 2cda90e5fe7309efd226cd3671b248e05d4f5768004c68daef3a5bb5634b8d3a
5
5
  SHA512:
6
- metadata.gz: 3b142dfb076a5f67db27dbc62faa1d5155f42915e8767c89dd6a75a019bd3bcc405459dbfdd81d94319545f8cc344cf68feac5a600a64914075d8d0b0eacc9f3
7
- data.tar.gz: 1500ae49faf0bdcbca9344cb52a532d2a8e13f7660f68bd9831276d72f463a83d5c42576470bdfd08b985a05f45b4fd794d0e4c0b68159fc2a88b535139ecc6f
6
+ metadata.gz: 8623af666469112c72474a5d7d5340a50ff2a054c0b7d86cc941dfffbb1e7645274988bd765c92b1fa9341f895c961d3501bba2fb8f9ebefd45fb56423b0fcd8
7
+ data.tar.gz: e1de180170c2059b26886ad26a9b9f5f2d9cc934d1fe5d4f19b072f7b5c9c059995e55dde7583599c6523fffb226d40bd34c8e925ba6a3feac04b16c576bb293
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShuttlerockSharedConfig
4
- VERSION = '0.2.32'
4
+ VERSION = '0.3.0'
5
5
  end
@@ -2,9 +2,11 @@
2
2
  require:
3
3
  - rubocop-performance
4
4
  - rubocop-rails
5
+ - rubocop-rspec
5
6
 
6
7
  AllCops:
7
- TargetRubyVersion: 2.6
8
+ NewCops: enable
9
+ TargetRubyVersion: 3.0
8
10
  Exclude:
9
11
  - 'app/admin/**/*.rb'
10
12
  - 'bin/**/*'
@@ -12,6 +14,7 @@ AllCops:
12
14
  - 'db/schema.rb'
13
15
  - 'db/migrate/**/*'
14
16
  - 'lib/tasks/**/*'
17
+ - 'node_modules/**/*'
15
18
  - 'tmp/**/*'
16
19
  - 'vendor/**/*'
17
20
 
@@ -42,26 +45,44 @@ Layout/HashAlignment:
42
45
  # bb: 1
43
46
  EnforcedColonStyle: table
44
47
 
45
- Rails/ApplicationController:
48
+ Style/Documentation:
49
+ Enabled: false
50
+
51
+ Layout/EmptyLines:
52
+ Enabled: false
53
+
54
+ Layout/LineLength:
55
+ Max: 150
56
+
57
+ Lint/BinaryOperatorWithIdenticalOperands:
46
58
  Enabled: true
47
59
 
48
- Rails/AfterCommitOverride:
60
+ Lint/DuplicateElsifCondition:
49
61
  Enabled: true
50
62
 
51
- Rails/SquishedSQLHeredocs:
63
+ Lint/DuplicateRescueException:
52
64
  Enabled: true
53
65
 
54
- Rails/WhereNot:
66
+ Lint/EmptyConditionalBody:
55
67
  Enabled: true
56
68
 
57
- Style/Documentation:
58
- Enabled: false
69
+ Lint/FloatComparison:
70
+ Enabled: true
59
71
 
60
- Layout/EmptyLines:
61
- Enabled: false
72
+ Lint/MissingSuper:
73
+ Enabled: true
62
74
 
63
- Layout/LineLength:
64
- Max: 150
75
+ Lint/OutOfRangeRegexpRef:
76
+ Enabled: true
77
+
78
+ Lint/SelfAssignment:
79
+ Enabled: true
80
+
81
+ Lint/TopLevelReturnWithArgument:
82
+ Enabled: true
83
+
84
+ Lint/UnreachableLoop:
85
+ Enabled: true
65
86
 
66
87
  Metrics/AbcSize:
67
88
  Enabled: true
@@ -86,6 +107,9 @@ Naming/MethodParameterName:
86
107
  Naming/BlockParameterName:
87
108
  MinNameLength: 2
88
109
 
110
+ Naming/VariableNumber:
111
+ EnforcedStyle: normalcase
112
+
89
113
  Lint/ConstantDefinitionInBlock:
90
114
  Enabled: true
91
115
 
@@ -95,12 +119,21 @@ Lint/DeprecatedOpenSSLConstant:
95
119
  Lint/DuplicateRequire:
96
120
  Enabled: true
97
121
 
122
+ Layout/EmptyLinesAroundBlockBody:
123
+ Enabled: false
124
+
125
+ Layout/EmptyLinesAroundAttributeAccessor:
126
+ Enabled: true
127
+
98
128
  Lint/EmptyFile:
99
129
  Enabled: true
100
130
 
101
131
  Lint/IdentityComparison:
102
132
  Enabled: true
103
133
 
134
+ Lint/MixedRegexpCaptureTypes:
135
+ Enabled: false
136
+
104
137
  Lint/TrailingCommaInAttributeDeclaration:
105
138
  Enabled: true
106
139
 
@@ -113,15 +146,6 @@ Lint/UselessTimes:
113
146
  Layout/BeginEndAlignment:
114
147
  Enabled: true
115
148
 
116
- Layout/EmptyLinesAroundBlockBody:
117
- Enabled: false
118
-
119
- Layout/EmptyLinesAroundAttributeAccessor:
120
- Enabled: true
121
-
122
- Lint/MixedRegexpCaptureTypes:
123
- Enabled: false
124
-
125
149
  #Checks method call operators to not have spaces around them.
126
150
  Layout/SpaceAroundMethodCallOperator:
127
151
  Enabled: true
@@ -138,12 +162,99 @@ Lint/RaiseException:
138
162
  Lint/StructNewOverride:
139
163
  Enabled: true
140
164
 
165
+ Performance/AncestorsInclude:
166
+ Enabled: true
167
+
168
+ Performance/BigDecimalWithNumericArgument:
169
+ Enabled: true
170
+
171
+ Performance/RedundantSortBlock:
172
+ Enabled: true
173
+
174
+ Performance/RedundantStringChars:
175
+ Enabled: true
176
+
177
+ Performance/ReverseFirst:
178
+ Enabled: true
179
+
180
+ Performance/SortReverse:
181
+ Enabled: true
182
+
183
+ Performance/Squeeze:
184
+ Enabled: true
185
+
186
+ Performance/StringInclude:
187
+ Enabled: true
188
+
189
+ Rails/ActiveRecordCallbacksOrder:
190
+ Enabled: true
191
+
192
+ Rails/ApplicationController:
193
+ Enabled: true
194
+
195
+ Rails/AfterCommitOverride:
196
+ Enabled: true
197
+
198
+ Rails/WhereNot:
199
+ Enabled: true
200
+
201
+ Rails/FindById:
202
+ Enabled: true
203
+
204
+ Rails/HasAndBelongsToMany:
205
+ Enabled: false
206
+
207
+ Rails/Inquiry:
208
+ Enabled: true
209
+
210
+ Rails/MailerName:
211
+ Enabled: true
212
+
213
+ Rails/MatchRoute:
214
+ Enabled: true
215
+
216
+ Rails/NegateInclude:
217
+ Enabled: true
218
+
219
+ Rails/Pluck:
220
+ Enabled: true
221
+
222
+ Rails/PluckInWhere:
223
+ Enabled: true
224
+
225
+ Rails/RenderInline:
226
+ Enabled: true
227
+
228
+ Rails/RenderPlainText:
229
+ Enabled: true
230
+
231
+ Rails/SquishedSQLHeredocs:
232
+ Enabled: true
233
+
234
+ Rails/ShortI18n:
235
+ Enabled: true
236
+
237
+ Rails/WhereExists:
238
+ Enabled: true
239
+
141
240
  Style/AccessModifierDeclarations:
142
241
  Enabled: false
143
242
 
243
+ Style/AccessorGrouping:
244
+ Enabled: true
245
+
246
+ Style/ArrayCoercion:
247
+ Enabled: true
248
+
249
+ Style/BisectedAttrAccessor:
250
+ Enabled: true
251
+
144
252
  Style/BlockDelimiters:
145
253
  Enabled: false
146
254
 
255
+ Style/CaseLikeIf:
256
+ Enabled: true
257
+
147
258
  Style/ClassAndModuleChildren:
148
259
  Enabled: true
149
260
  EnforcedStyle: compact
@@ -151,15 +262,30 @@ Style/ClassAndModuleChildren:
151
262
  Style/CombinableLoops:
152
263
  Enabled: true
153
264
 
265
+ Style/ExplicitBlockArgument:
266
+ Enabled: true
267
+
154
268
  Style/ExponentialNotation:
155
269
  Enabled: false
156
270
 
271
+ Style/FetchEnvVar:
272
+ Enabled: true
273
+
157
274
  Style/FrozenStringLiteralComment:
158
- Enabled: false
275
+ Enabled: true
276
+
277
+ Style/GlobalStdStream:
278
+ Enabled: true
279
+
280
+ Style/HashAsLastArrayItem:
281
+ Enabled: true
159
282
 
160
283
  Style/HashEachMethods:
161
284
  Enabled: true
162
285
 
286
+ Style/HashLikeCase:
287
+ Enabled: true
288
+
163
289
  Style/HashTransformKeys:
164
290
  Enabled: true
165
291
 
@@ -169,6 +295,21 @@ Style/HashTransformValues:
169
295
  Style/KeywordParametersOrder:
170
296
  Enabled: true
171
297
 
298
+ Style/OptionalBooleanParameter:
299
+ Enabled: true
300
+
301
+ Style/RedundantAssignment:
302
+ Enabled: true
303
+
304
+ Style/RedundantSelfAssignment:
305
+ Enabled: true
306
+
307
+ Style/RedundantFetchBlock:
308
+ Enabled: true
309
+
310
+ Style/RedundantFileExtensionInRequire:
311
+ Enabled: true
312
+
172
313
  Style/RedundantReturn:
173
314
  Enabled: false
174
315
 
@@ -178,7 +319,7 @@ Style/RedundantRegexpCharacterClass:
178
319
  Style/RedundantRegexpEscape:
179
320
  Enabled: false
180
321
 
181
- Style/RedundantSelfAssignment:
322
+ Style/SingleArgumentDig:
182
323
  Enabled: true
183
324
 
184
325
  Style/SlicingWithRange:
@@ -187,6 +328,9 @@ Style/SlicingWithRange:
187
328
  Style/SoleNestedConditional:
188
329
  Enabled: true
189
330
 
331
+ Style/StringConcatenation:
332
+ Enabled: true
333
+
190
334
  Style/TrailingCommaInArguments:
191
335
  Enabled: true
192
336
  EnforcedStyleForMultiline: comma
@@ -206,3 +350,33 @@ Style/AndOr:
206
350
  # We use %w[ ], not %w( ) because the former looks like an array
207
351
  Style/PercentLiteralDelimiters:
208
352
  Enabled: false
353
+
354
+ RSpec/AnyInstance:
355
+ Enabled: false
356
+
357
+ RSpec/ExampleLength:
358
+ Max: 70
359
+
360
+ RSpec/MessageSpies:
361
+ EnforcedStyle: receive
362
+
363
+ RSpec/MessageChain:
364
+ Enabled: false
365
+
366
+ RSpec/MultipleExpectations:
367
+ Enabled: false
368
+
369
+ RSpec/MultipleMemoizedHelpers:
370
+ Max: 25
371
+
372
+ RSpec/NamedSubject:
373
+ Enabled: false
374
+
375
+ RSpec/NestedGroups:
376
+ Max: 10
377
+
378
+ RSpec/StubbedMock:
379
+ Enabled: false
380
+
381
+ RSpec/ContextWording:
382
+ Enabled: false
@@ -1,17 +1,60 @@
1
- ## Clubhouse Card Name Here
1
+ [JIRA Story Link]( www.add-link-here )
2
2
 
3
- [Clubhouse Story](link-here)
3
+ Copy and paste JIRA description here
4
+
5
+ ## Type of change
6
+ Select all that apply:
7
+ - [ ] Bug fix
8
+ - [ ] New feature
9
+ - [ ] Breaking change
10
+ - [ ] Security issue
11
+ - [ ] Infrastructure / network
12
+ - [ ] Refactoring
13
+ - [ ] Functional improvement
14
+
15
+ ## What changed?
16
+
17
+ #### Before
18
+
19
+ (エラーの)条件があれば、ここに書いてください。
20
+ You clicked a button and it gave error
21
+
22
+ #### After
23
+
24
+ 開発後の結果
25
+ When you click the button, it does the thing.
4
26
 
5
- Description from the Clubhouse story
6
27
 
7
28
  ## How to test the PR
8
29
 
9
- - How to test feature 1
10
- - Do this
11
- - Do that
12
- - Success
13
- - How to test feature 2
14
- - How to test feature 3
30
+ #### Preparation:
31
+ テスト用の条件、準備を書いてください。
32
+ Prepare something before tests
33
+
34
+ #### Tests
35
+ Some page > Subpage (どこでテストをします)
36
+
37
+ - Select something (やること)
38
+ - Click button (やること)
39
+ - Success when something happens (結果)
40
+
41
+ Add screenshot if applicable (スクショ)
42
+
43
+ - Select something else (やること)
44
+ - Click button (やること)
45
+ - Success when something else happens (結果)
46
+
47
+ Add screenshot if applicable (スクショ)
48
+
49
+ ---
50
+
51
+ **Regression:** If there were any substantial changes to view layer code (CSS, JS) or Javascript dependencies were updated do a general smoke test of the feature using the following Windows 7 browsers on Browser Stack. If Chrome only is chosen, only Chrome is tested normally without any other browsers.
52
+
53
+ Chromeだけが選択だったら、他のブラウザーのテストは不要です。
54
+
55
+ - [x] Chrome (Latest)
56
+ - [ ] Firefox (Latest)
57
+ - [ ] Internet Explorer 11
15
58
 
16
59
  ## Deployment Notes
17
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shuttlerock_shared_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.32
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ElseThen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-01 00:00:00.000000000 Z
11
+ date: 2022-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '12.3'
19
+ version: '13.0'
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: '12.3'
26
+ version: '13.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.88'
33
+ version: '1.29'
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.88'
40
+ version: '1.29'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: danger
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -98,16 +98,16 @@ require_paths:
98
98
  - lib
99
99
  required_ruby_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 2.6.6
103
+ version: 3.0.0
104
104
  required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []
110
- rubygems_version: 3.0.3
110
+ rubygems_version: 3.2.30
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Update shared config.