shuttlerock_shared_config 0.2.30 → 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: 93b5ef96ed341a57dd4419c33257a10572c8089fec43246b6c9b680fedeb8520
4
- data.tar.gz: 17ab9bb80793fe05453f29f4fb9d9cf3b2f37efb599162fe64536260ba7a68d6
3
+ metadata.gz: 3e9b2fe2b2782f6128f8cdbf526b4317df5b7fea3f8226e2588f28948295eb7e
4
+ data.tar.gz: 2cda90e5fe7309efd226cd3671b248e05d4f5768004c68daef3a5bb5634b8d3a
5
5
  SHA512:
6
- metadata.gz: f4b1eea129102e414f12f316edd07a71d667c548f152d8d1e7b112d9c8ecef047c7c218fd023342ba4d89d3537a0fa974b19c68961e925111c85c6a12283b928
7
- data.tar.gz: c58eac05bfafcfab6beb7c1de0f168320f23fcf0154cbb41031729f401a3d3c2e42cdc9e53bc08eb29293f6ca46a2b369a0dd9c8ff49a0f13ec0901238e3c99f
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.30'
4
+ VERSION = '0.3.0'
5
5
  end
data/lib/tasks/tasks.rb CHANGED
@@ -4,7 +4,7 @@ require 'rake'
4
4
  require 'fileutils'
5
5
 
6
6
  namespace :shuttlerock_shared_config do
7
- task update: %i[update_codeclimate update_eslint update_rubocop update_stylelintrc update_dangerfile update_pull_request_template update_codecov] do
7
+ task update: %i[update_codeclimate update_eslint update_rubocop update_stylelintrc update_dangerfile update_pull_request_template update_codecov update_gitleaks] do
8
8
  end
9
9
 
10
10
  desc 'Update .codeclimate.yml'
@@ -69,4 +69,17 @@ namespace :shuttlerock_shared_config do
69
69
  FileUtils.copy(input_path, Dir.pwd)
70
70
  warn('Updated codecov.yml')
71
71
  end
72
+
73
+ desc 'Update gitleaks'
74
+ task :update_gitleaks do
75
+ input_path = File.expand_path('../../lib/templates/gitleaks.yml', __dir__)
76
+ result_dir = Dir.pwd + '/.github/workflows'
77
+ FileUtils.mkdir_p(result_dir) unless File.directory?(result_dir)
78
+ FileUtils.copy(input_path, result_dir)
79
+ warn('Updated /.github/workflows/gitleaks.yml')
80
+
81
+ input_path = File.expand_path('../../lib/templates/.gitleaks.toml', __dir__)
82
+ FileUtils.copy(input_path, Dir.pwd)
83
+ warn('Updated .gitleaks.toml')
84
+ end
72
85
  end
@@ -0,0 +1,194 @@
1
+ title = "gitleaks config"
2
+
3
+ [[rules]]
4
+ description = "AWS Manager ID"
5
+ regex = '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}'''
6
+ tags = ["key", "AWS"]
7
+
8
+ [[rules]]
9
+ description = "AWS cred file info"
10
+ regex = '''(?i)(aws_access_key_id|aws_secret_access_key)(.{0,20})?=.[0-9a-zA-Z\/+]{20,40}'''
11
+ tags = ["AWS"]
12
+
13
+ [[rules]]
14
+ description = "AWS Secret Key"
15
+ regex = '''(?i)aws(.{0,20})?(?-i)['\"][0-9a-zA-Z\/+]{40}['\"]'''
16
+ tags = ["key", "AWS"]
17
+
18
+ [[rules]]
19
+ description = "AWS MWS key"
20
+ regex = '''amzn\.mws\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'''
21
+ tags = ["key", "AWS", "MWS"]
22
+
23
+ [[rules]]
24
+ description = "Facebook Secret Key"
25
+ regex = '''(?i)(facebook|fb)(.{0,20})?(?-i)['\"][0-9a-f]{32}['\"]'''
26
+ tags = ["key", "Facebook"]
27
+
28
+ [[rules]]
29
+ description = "Facebook Client ID"
30
+ regex = '''(?i)(facebook|fb)(.{0,20})?['\"][0-9]{13,17}['\"]'''
31
+ tags = ["key", "Facebook"]
32
+
33
+ [[rules]]
34
+ description = "Twitter Secret Key"
35
+ regex = '''(?i)twitter(.{0,20})?['\"][0-9a-z]{35,44}['\"]'''
36
+ tags = ["key", "Twitter"]
37
+
38
+ [[rules]]
39
+ description = "Twitter Client ID"
40
+ regex = '''(?i)twitter(.{0,20})?['\"][0-9a-z]{18,25}['\"]'''
41
+ tags = ["client", "Twitter"]
42
+
43
+ [[rules]]
44
+ description = "Github"
45
+ regex = '''(?i)github(.{0,20})?(?-i)['\"][0-9a-zA-Z]{35,40}['\"]'''
46
+ tags = ["key", "Github"]
47
+
48
+ [[rules]]
49
+ description = "LinkedIn Client ID"
50
+ regex = '''(?i)linkedin(.{0,20})?(?-i)['\"][0-9a-z]{12}['\"]'''
51
+ tags = ["client", "LinkedIn"]
52
+
53
+ [[rules]]
54
+ description = "LinkedIn Secret Key"
55
+ regex = '''(?i)linkedin(.{0,20})?['\"][0-9a-z]{16}['\"]'''
56
+ tags = ["secret", "LinkedIn"]
57
+
58
+ [[rules]]
59
+ description = "Slack"
60
+ regex = '''xox[baprs]-([0-9a-zA-Z]{10,48})?'''
61
+ tags = ["key", "Slack"]
62
+
63
+ [[rules]]
64
+ description = "EC"
65
+ regex = '''-----BEGIN EC PRIVATE KEY-----'''
66
+ tags = ["key", "EC"]
67
+
68
+
69
+ [[rules]]
70
+ description = "Google API key"
71
+ regex = '''AIza[0-9A-Za-z\\-_]{35}'''
72
+ tags = ["key", "Google"]
73
+
74
+
75
+ [[rules]]
76
+ description = "Heroku API key"
77
+ regex = '''(?i)heroku(.{0,20})?['"][0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}['"]'''
78
+ tags = ["key", "Heroku"]
79
+
80
+ [[rules]]
81
+ description = "MailChimp API key"
82
+ regex = '''(?i)(mailchimp|mc)(.{0,20})?['"][0-9a-f]{32}-us[0-9]{1,2}['"]'''
83
+ tags = ["key", "Mailchimp"]
84
+
85
+ [[rules]]
86
+ description = "Mailgun API key"
87
+ regex = '''(?i)(mailgun|mg)(.{0,20})?['"][0-9a-z]{32}['"]'''
88
+ tags = ["key", "Mailgun"]
89
+
90
+ [[rules]]
91
+ description = "PayPal Braintree access token"
92
+ regex = '''access_token\$production\$[0-9a-z]{16}\$[0-9a-f]{32}'''
93
+ tags = ["key", "Paypal"]
94
+
95
+ [[rules]]
96
+ description = "Picatic API key"
97
+ regex = '''sk_live_[0-9a-z]{32}'''
98
+ tags = ["key", "Picatic"]
99
+
100
+ [[rules]]
101
+ description = "Slack Webhook"
102
+ regex = '''https://hooks.slack.com/services/T[a-zA-Z0-9_]{8}/B[a-zA-Z0-9_]{8}/[a-zA-Z0-9_]{24}'''
103
+ tags = ["key", "slack"]
104
+
105
+ [[rules]]
106
+ description = "Stripe API key"
107
+ regex = '''(?i)stripe(.{0,20})?['\"][sk|rk]_live_[0-9a-zA-Z]{24}'''
108
+ tags = ["key", "Stripe"]
109
+
110
+ [[rules]]
111
+ description = "Square access token"
112
+ regex = '''sq0atp-[0-9A-Za-z\-_]{22}'''
113
+ tags = ["key", "square"]
114
+
115
+ [[rules]]
116
+ description = "Square OAuth secret"
117
+ regex = '''sq0csp-[0-9A-Za-z\\-_]{43}'''
118
+ tags = ["key", "square"]
119
+
120
+ [[rules]]
121
+ description = "Twilio API key"
122
+ regex = '''(?i)twilio(.{0,20})?['\"][0-9a-f]{32}['\"]'''
123
+ tags = ["key", "twilio"]
124
+
125
+ [[rules]]
126
+ description = "Env Var"
127
+ regex = '''(?i)(apikey|secret|key|api|password|pass|pw|host)=[0-9a-zA-Z-_.{}]{4,120}'''
128
+
129
+ [[rules]]
130
+ description = "Port"
131
+ regex = '''(?i)port(.{0,4})?[0-9]{1,10}'''
132
+ [rules.allowlist]
133
+ regexes = ['''(?i)port ''']
134
+ description = "ignore export "
135
+
136
+
137
+
138
+ [[rules]]
139
+ description = "Email"
140
+ regex = '''[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}'''
141
+ tags = ["email"]
142
+ [rules.allowlist]
143
+ files = ['''(?i)bashrc''']
144
+ description = "ignore bashrc emails"
145
+
146
+
147
+ [[rules]]
148
+ description = "Generic Credential"
149
+ regex = '''(?i)(dbpasswd|dbuser|dbname|dbhost|api_key|apikey|secret|key|api|password|user|guid|hostname|pw|auth)(.{0,20})?['|"]([0-9a-zA-Z-_\/+!{}/=]{4,120})['|"]'''
150
+ tags = ["key", "API", "generic"]
151
+ # ignore leaks with specific identifiers like slack and aws
152
+ [rules.allowlist]
153
+ description = "ignore slack, mailchimp, aws"
154
+ regexes = [
155
+ '''xox[baprs]-([0-9a-zA-Z]{10,48})''',
156
+ '''(?i)(.{0,20})?['"][0-9a-f]{32}-us[0-9]{1,2}['"]''',
157
+ '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}'''
158
+ ]
159
+
160
+ [[rules]]
161
+ description = "High Entropy"
162
+ regex = '''[0-9a-zA-Z-_!{}/=]{4,120}'''
163
+ file = '''(?i)(dump.sql|high-entropy-misc.txt)$'''
164
+ tags = ["entropy"]
165
+ [[rules.Entropies]]
166
+ Min = "4.3"
167
+ Max = "7.0"
168
+ [rules.allowlist]
169
+ description = "ignore ssh key and pems"
170
+ files = ['''(pem|ppk|env)$''']
171
+ paths = ['''(.*)?ssh''']
172
+
173
+ [[rules]]
174
+ description = "Potential bash var"
175
+ regex='''(?i)(=)([0-9a-zA-Z-_!{}=]{4,120})'''
176
+ tags = ["key", "bash", "API", "generic"]
177
+ [[rules.Entropies]]
178
+ Min = "3.5"
179
+ Max = "4.5"
180
+ Group = "1"
181
+
182
+ [[rules]]
183
+ description = "WP-Config"
184
+ regex='''define(.{0,20})?(DB_CHARSET|NONCE_SALT|LOGGED_IN_SALT|AUTH_SALT|NONCE_KEY|DB_HOST|DB_PASSWORD|AUTH_KEY|SECURE_AUTH_KEY|LOGGED_IN_KEY|DB_NAME|DB_USER)(.{0,20})?['|"].{10,120}['|"]'''
185
+ tags = ["key", "API", "generic"]
186
+
187
+ [[rules]]
188
+ description = "Files with keys and credentials"
189
+ file = '''(?i)(id_rsa|passwd|id_rsa.pub|pgpass|pem|key|shadow)'''
190
+
191
+ # Global allowlist
192
+ [allowlist]
193
+ description = "image allowlists"
194
+ files = ['''(.*?)(jpg|gif|doc|pdf|bin)$''']
@@ -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,9 +45,6 @@ Layout/HashAlignment:
42
45
  # bb: 1
43
46
  EnforcedColonStyle: table
44
47
 
45
- Rails/ApplicationController:
46
- Enabled: true
47
-
48
48
  Style/Documentation:
49
49
  Enabled: false
50
50
 
@@ -54,6 +54,36 @@ Layout/EmptyLines:
54
54
  Layout/LineLength:
55
55
  Max: 150
56
56
 
57
+ Lint/BinaryOperatorWithIdenticalOperands:
58
+ Enabled: true
59
+
60
+ Lint/DuplicateElsifCondition:
61
+ Enabled: true
62
+
63
+ Lint/DuplicateRescueException:
64
+ Enabled: true
65
+
66
+ Lint/EmptyConditionalBody:
67
+ Enabled: true
68
+
69
+ Lint/FloatComparison:
70
+ Enabled: true
71
+
72
+ Lint/MissingSuper:
73
+ Enabled: true
74
+
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
86
+
57
87
  Metrics/AbcSize:
58
88
  Enabled: true
59
89
  Max: 25
@@ -77,18 +107,45 @@ Naming/MethodParameterName:
77
107
  Naming/BlockParameterName:
78
108
  MinNameLength: 2
79
109
 
110
+ Naming/VariableNumber:
111
+ EnforcedStyle: normalcase
112
+
113
+ Lint/ConstantDefinitionInBlock:
114
+ Enabled: true
115
+
80
116
  Lint/DeprecatedOpenSSLConstant:
81
117
  Enabled: true
82
118
 
119
+ Lint/DuplicateRequire:
120
+ Enabled: true
121
+
83
122
  Layout/EmptyLinesAroundBlockBody:
84
123
  Enabled: false
85
124
 
86
125
  Layout/EmptyLinesAroundAttributeAccessor:
87
126
  Enabled: true
88
127
 
128
+ Lint/EmptyFile:
129
+ Enabled: true
130
+
131
+ Lint/IdentityComparison:
132
+ Enabled: true
133
+
89
134
  Lint/MixedRegexpCaptureTypes:
90
135
  Enabled: false
91
136
 
137
+ Lint/TrailingCommaInAttributeDeclaration:
138
+ Enabled: true
139
+
140
+ Lint/UselessMethodDefinition:
141
+ Enabled: true
142
+
143
+ Lint/UselessTimes:
144
+ Enabled: true
145
+
146
+ Layout/BeginEndAlignment:
147
+ Enabled: true
148
+
92
149
  #Checks method call operators to not have spaces around them.
93
150
  Layout/SpaceAroundMethodCallOperator:
94
151
  Enabled: true
@@ -105,31 +162,154 @@ Lint/RaiseException:
105
162
  Lint/StructNewOverride:
106
163
  Enabled: true
107
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
+
108
240
  Style/AccessModifierDeclarations:
109
241
  Enabled: false
110
242
 
243
+ Style/AccessorGrouping:
244
+ Enabled: true
245
+
246
+ Style/ArrayCoercion:
247
+ Enabled: true
248
+
249
+ Style/BisectedAttrAccessor:
250
+ Enabled: true
251
+
111
252
  Style/BlockDelimiters:
112
253
  Enabled: false
113
254
 
255
+ Style/CaseLikeIf:
256
+ Enabled: true
257
+
114
258
  Style/ClassAndModuleChildren:
115
259
  Enabled: true
116
260
  EnforcedStyle: compact
117
261
 
262
+ Style/CombinableLoops:
263
+ Enabled: true
264
+
265
+ Style/ExplicitBlockArgument:
266
+ Enabled: true
267
+
118
268
  Style/ExponentialNotation:
119
269
  Enabled: false
120
270
 
271
+ Style/FetchEnvVar:
272
+ Enabled: true
273
+
121
274
  Style/FrozenStringLiteralComment:
122
- Enabled: false
275
+ Enabled: true
276
+
277
+ Style/GlobalStdStream:
278
+ Enabled: true
279
+
280
+ Style/HashAsLastArrayItem:
281
+ Enabled: true
123
282
 
124
283
  Style/HashEachMethods:
125
284
  Enabled: true
126
285
 
286
+ Style/HashLikeCase:
287
+ Enabled: true
288
+
127
289
  Style/HashTransformKeys:
128
290
  Enabled: true
129
291
 
130
292
  Style/HashTransformValues:
131
293
  Enabled: true
132
294
 
295
+ Style/KeywordParametersOrder:
296
+ Enabled: true
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
+
133
313
  Style/RedundantReturn:
134
314
  Enabled: false
135
315
 
@@ -139,9 +319,18 @@ Style/RedundantRegexpCharacterClass:
139
319
  Style/RedundantRegexpEscape:
140
320
  Enabled: false
141
321
 
322
+ Style/SingleArgumentDig:
323
+ Enabled: true
324
+
142
325
  Style/SlicingWithRange:
143
326
  Enabled: true
144
327
 
328
+ Style/SoleNestedConditional:
329
+ Enabled: true
330
+
331
+ Style/StringConcatenation:
332
+ Enabled: true
333
+
145
334
  Style/TrailingCommaInArguments:
146
335
  Enabled: true
147
336
  EnforcedStyleForMultiline: comma
@@ -161,3 +350,33 @@ Style/AndOr:
161
350
  # We use %w[ ], not %w( ) because the former looks like an array
162
351
  Style/PercentLiteralDelimiters:
163
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
 
@@ -0,0 +1,11 @@
1
+ name: gitleaks
2
+
3
+ on: [push,pull_request]
4
+
5
+ jobs:
6
+ gitleaks:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v1
10
+ - name: gitleaks-action
11
+ uses: zricethezav/gitleaks-action@master
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.30
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-06-18 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,56 +16,56 @@ 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.78'
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.78'
40
+ version: '1.29'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: danger
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 6.0.9
47
+ version: '8.0'
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: 6.0.9
54
+ version: '8.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.8'
61
+ version: '3.9'
62
62
  type: :development
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: '3.8'
68
+ version: '3.9'
69
69
  description: Update shared config for Shuttlerock's projects.
70
70
  email:
71
71
  - tbvokh@gmail.com
@@ -80,12 +80,14 @@ files:
80
80
  - lib/templates/.codeclimate.yml
81
81
  - lib/templates/.env.example
82
82
  - lib/templates/.eslintrc
83
+ - lib/templates/.gitleaks.toml
83
84
  - lib/templates/.rubocop.yml
84
85
  - lib/templates/.stylelintrc
85
86
  - lib/templates/Dangerfile
86
87
  - lib/templates/PULL_REQUEST_TEMPLATE.md
87
88
  - lib/templates/codecov.yml
88
89
  - lib/templates/env_list.yml
90
+ - lib/templates/gitleaks.yml
89
91
  homepage: https://github.com/Shuttlerock/shuttlerock_shared_config
90
92
  licenses:
91
93
  - MIT
@@ -96,16 +98,16 @@ require_paths:
96
98
  - lib
97
99
  required_ruby_version: !ruby/object:Gem::Requirement
98
100
  requirements:
99
- - - ">="
101
+ - - "~>"
100
102
  - !ruby/object:Gem::Version
101
- version: 2.6.6
103
+ version: 3.0.0
102
104
  required_rubygems_version: !ruby/object:Gem::Requirement
103
105
  requirements:
104
106
  - - ">="
105
107
  - !ruby/object:Gem::Version
106
108
  version: '0'
107
109
  requirements: []
108
- rubygems_version: 3.0.3
110
+ rubygems_version: 3.2.30
109
111
  signing_key:
110
112
  specification_version: 4
111
113
  summary: Update shared config.