active_security 1.0.0 → 1.0.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.
metadata CHANGED
@@ -1,42 +1,42 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_security
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
- - Peter Boling
8
- autorequire:
7
+ - Peter H. Boling
8
+ - Annibelle Boling
9
9
  bindir: exe
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
14
14
  ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
15
- A2NvbTAeFw0yMzA5MjAxNzMwMjhaFw0yNDA5MTkxNzMwMjhaMEMxFTATBgNVBAMM
15
+ A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
16
16
  DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
17
- LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA+a9UvHo3
18
- 84k96WgU5Kk5HB+cLZs/modjorsTfqY67MJF5nNvAoqcKTUBW4uG+Zpfnm3jaDO5
19
- GxhJEIZWfndYzycHT2KMVQ1uTP82ba8ZaKrPlPIafkbui3mdds47qsmqHiblKERg
20
- U532lkwfqHDlJwE7OBZQ59EwWWLynlT/yAUHpOBbqIuHKUxdpmBI+sIjrZcD1e05
21
- WmjkO6fwIdC5oM757aoPxIgXD587VOViH11Vkm2doskj4T8yONtwVHlcrrhJ9Bzd
22
- /zdp6vEn7GZQrABvpOlqwWxQ72ZnFhJe/RJZf6CXOPOh69Ai0QKYl2a1sYu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YDtocpaHwgxe/j3bBqHE+CUPH2vA
35
+ 0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
36
+ DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
37
+ L9nRqA==
38
38
  -----END CERTIFICATE-----
39
- date: 2024-07-05 00:00:00.000000000 Z
39
+ date: 1980-01-02 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: activerecord
@@ -75,7 +75,7 @@ dependencies:
75
75
  version: '1.1'
76
76
  - - ">="
77
77
  - !ruby/object:Gem::Version
78
- version: 1.1.4
78
+ version: 1.1.17
79
79
  type: :runtime
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
@@ -85,23 +85,57 @@ dependencies:
85
85
  version: '1.1'
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
- version: 1.1.4
88
+ version: 1.1.17
89
89
  - !ruby/object:Gem::Dependency
90
- name: rake
90
+ name: kettle-dev
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '3.1'
93
96
  - - ">="
94
97
  - !ruby/object:Gem::Version
95
- version: '13'
98
+ version: 3.1.29
96
99
  type: :development
97
100
  prerelease: false
98
101
  version_requirements: !ruby/object:Gem::Requirement
99
102
  requirements:
103
+ - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: '3.1'
100
106
  - - ">="
101
107
  - !ruby/object:Gem::Version
102
- version: '13'
108
+ version: 3.1.29
103
109
  - !ruby/object:Gem::Dependency
104
- name: anonymous_active_record
110
+ name: bundler-audit
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - "~>"
114
+ - !ruby/object:Gem::Version
115
+ version: 0.9.3
116
+ type: :development
117
+ prerelease: false
118
+ version_requirements: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - "~>"
121
+ - !ruby/object:Gem::Version
122
+ version: 0.9.3
123
+ - !ruby/object:Gem::Dependency
124
+ name: rake
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '13.0'
130
+ type: :development
131
+ prerelease: false
132
+ version_requirements: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - "~>"
135
+ - !ruby/object:Gem::Version
136
+ version: '13.0'
137
+ - !ruby/object:Gem::Dependency
138
+ name: require_bench
105
139
  requirement: !ruby/object:Gem::Requirement
106
140
  requirements:
107
141
  - - "~>"
@@ -109,7 +143,7 @@ dependencies:
109
143
  version: '1.0'
110
144
  - - ">="
111
145
  - !ruby/object:Gem::Version
112
- version: 1.0.8
146
+ version: 1.0.4
113
147
  type: :development
114
148
  prerelease: false
115
149
  version_requirements: !ruby/object:Gem::Requirement
@@ -119,37 +153,103 @@ dependencies:
119
153
  version: '1.0'
120
154
  - - ">="
121
155
  - !ruby/object:Gem::Version
122
- version: 1.0.8
156
+ version: 1.0.4
157
+ - !ruby/object:Gem::Dependency
158
+ name: anonymous_loader
159
+ requirement: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - "~>"
162
+ - !ruby/object:Gem::Version
163
+ version: '0.1'
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: 0.1.5
167
+ type: :development
168
+ prerelease: false
169
+ version_requirements: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '0.1'
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ version: 0.1.5
123
177
  - !ruby/object:Gem::Dependency
124
- name: appraisal
178
+ name: appraisal2
125
179
  requirement: !ruby/object:Gem::Requirement
126
180
  requirements:
127
181
  - - "~>"
128
182
  - !ruby/object:Gem::Version
129
- version: '2.5'
183
+ version: '3.2'
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: 3.2.6
130
187
  type: :development
131
188
  prerelease: false
132
189
  version_requirements: !ruby/object:Gem::Requirement
133
190
  requirements:
134
191
  - - "~>"
135
192
  - !ruby/object:Gem::Version
136
- version: '2.5'
193
+ version: '3.2'
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ version: 3.2.6
137
197
  - !ruby/object:Gem::Dependency
138
- name: rspec
198
+ name: kettle-test
139
199
  requirement: !ruby/object:Gem::Requirement
140
200
  requirements:
201
+ - - "~>"
202
+ - !ruby/object:Gem::Version
203
+ version: '2.0'
141
204
  - - ">="
142
205
  - !ruby/object:Gem::Version
143
- version: '3'
206
+ version: 2.0.30
144
207
  type: :development
145
208
  prerelease: false
146
209
  version_requirements: !ruby/object:Gem::Requirement
147
210
  requirements:
211
+ - - "~>"
212
+ - !ruby/object:Gem::Version
213
+ version: '2.0'
148
214
  - - ">="
149
215
  - !ruby/object:Gem::Version
150
- version: '3'
216
+ version: 2.0.30
151
217
  - !ruby/object:Gem::Dependency
152
- name: rspec-block_is_expected
218
+ name: turbo_tests2
219
+ requirement: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - "~>"
222
+ - !ruby/object:Gem::Version
223
+ version: '4.0'
224
+ - - ">="
225
+ - !ruby/object:Gem::Version
226
+ version: 4.0.2
227
+ type: :development
228
+ prerelease: false
229
+ version_requirements: !ruby/object:Gem::Requirement
230
+ requirements:
231
+ - - "~>"
232
+ - !ruby/object:Gem::Version
233
+ version: '4.0'
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: 4.0.2
237
+ - !ruby/object:Gem::Dependency
238
+ name: ruby-progressbar
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: '1.13'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: '1.13'
251
+ - !ruby/object:Gem::Dependency
252
+ name: stone_checksums
153
253
  requirement: !ruby/object:Gem::Requirement
154
254
  requirements:
155
255
  - - "~>"
@@ -157,7 +257,7 @@ dependencies:
157
257
  version: '1.0'
158
258
  - - ">="
159
259
  - !ruby/object:Gem::Version
160
- version: 1.0.5
260
+ version: 1.0.11
161
261
  type: :development
162
262
  prerelease: false
163
263
  version_requirements: !ruby/object:Gem::Requirement
@@ -167,29 +267,29 @@ dependencies:
167
267
  version: '1.0'
168
268
  - - ">="
169
269
  - !ruby/object:Gem::Version
170
- version: 1.0.5
270
+ version: 1.0.11
171
271
  - !ruby/object:Gem::Dependency
172
- name: rspec-pending_for
272
+ name: gitmoji-regex
173
273
  requirement: !ruby/object:Gem::Requirement
174
274
  requirements:
175
275
  - - "~>"
176
276
  - !ruby/object:Gem::Version
177
- version: '0.1'
277
+ version: '2.0'
178
278
  - - ">="
179
279
  - !ruby/object:Gem::Version
180
- version: 0.1.16
280
+ version: 2.0.16
181
281
  type: :development
182
282
  prerelease: false
183
283
  version_requirements: !ruby/object:Gem::Requirement
184
284
  requirements:
185
285
  - - "~>"
186
286
  - !ruby/object:Gem::Version
187
- version: '0.1'
287
+ version: '2.0'
188
288
  - - ">="
189
289
  - !ruby/object:Gem::Version
190
- version: 0.1.16
290
+ version: 2.0.16
191
291
  - !ruby/object:Gem::Dependency
192
- name: silent_stream
292
+ name: anonymous_active_record
193
293
  requirement: !ruby/object:Gem::Requirement
194
294
  requirements:
195
295
  - - "~>"
@@ -209,27 +309,21 @@ dependencies:
209
309
  - !ruby/object:Gem::Version
210
310
  version: 1.0.8
211
311
  - !ruby/object:Gem::Dependency
212
- name: sqlite3
312
+ name: rspec
213
313
  requirement: !ruby/object:Gem::Requirement
214
314
  requirements:
215
315
  - - ">="
216
316
  - !ruby/object:Gem::Version
217
- version: 1.6.9
218
- - - "<"
219
- - !ruby/object:Gem::Version
220
- version: '2'
317
+ version: '3'
221
318
  type: :development
222
319
  prerelease: false
223
320
  version_requirements: !ruby/object:Gem::Requirement
224
321
  requirements:
225
322
  - - ">="
226
323
  - !ruby/object:Gem::Version
227
- version: 1.6.9
228
- - - "<"
229
- - !ruby/object:Gem::Version
230
- version: '2'
324
+ version: '3'
231
325
  - !ruby/object:Gem::Dependency
232
- name: kettle-soup-cover
326
+ name: rspec-block_is_expected
233
327
  requirement: !ruby/object:Gem::Requirement
234
328
  requirements:
235
329
  - - "~>"
@@ -237,7 +331,7 @@ dependencies:
237
331
  version: '1.0'
238
332
  - - ">="
239
333
  - !ruby/object:Gem::Version
240
- version: 1.0.2
334
+ version: 1.0.5
241
335
  type: :development
242
336
  prerelease: false
243
337
  version_requirements: !ruby/object:Gem::Requirement
@@ -247,7 +341,27 @@ dependencies:
247
341
  version: '1.0'
248
342
  - - ">="
249
343
  - !ruby/object:Gem::Version
250
- version: 1.0.2
344
+ version: 1.0.5
345
+ - !ruby/object:Gem::Dependency
346
+ name: rspec-pending_for
347
+ requirement: !ruby/object:Gem::Requirement
348
+ requirements:
349
+ - - "~>"
350
+ - !ruby/object:Gem::Version
351
+ version: '0.1'
352
+ - - ">="
353
+ - !ruby/object:Gem::Version
354
+ version: 0.1.28
355
+ type: :development
356
+ prerelease: false
357
+ version_requirements: !ruby/object:Gem::Requirement
358
+ requirements:
359
+ - - "~>"
360
+ - !ruby/object:Gem::Version
361
+ version: '0.1'
362
+ - - ">="
363
+ - !ruby/object:Gem::Version
364
+ version: 0.1.28
251
365
  - !ruby/object:Gem::Dependency
252
366
  name: rubocop-lts
253
367
  requirement: !ruby/object:Gem::Requirement
@@ -289,19 +403,25 @@ dependencies:
289
403
  - !ruby/object:Gem::Version
290
404
  version: 0.5.2
291
405
  - !ruby/object:Gem::Dependency
292
- name: rubocop-rspec
406
+ name: silent_stream
293
407
  requirement: !ruby/object:Gem::Requirement
294
408
  requirements:
295
409
  - - "~>"
296
410
  - !ruby/object:Gem::Version
297
- version: '2.10'
411
+ version: '1.0'
412
+ - - ">="
413
+ - !ruby/object:Gem::Version
414
+ version: 1.0.8
298
415
  type: :development
299
416
  prerelease: false
300
417
  version_requirements: !ruby/object:Gem::Requirement
301
418
  requirements:
302
419
  - - "~>"
303
420
  - !ruby/object:Gem::Version
304
- version: '2.10'
421
+ version: '1.0'
422
+ - - ">="
423
+ - !ruby/object:Gem::Version
424
+ version: 1.0.8
305
425
  - !ruby/object:Gem::Dependency
306
426
  name: yard
307
427
  requirement: !ruby/object:Gem::Requirement
@@ -322,33 +442,16 @@ dependencies:
322
442
  - - ">="
323
443
  - !ruby/object:Gem::Version
324
444
  version: 0.9.34
325
- - !ruby/object:Gem::Dependency
326
- name: yard-junk
327
- requirement: !ruby/object:Gem::Requirement
328
- requirements:
329
- - - "~>"
330
- - !ruby/object:Gem::Version
331
- version: '0.0'
332
- type: :development
333
- prerelease: false
334
- version_requirements: !ruby/object:Gem::Requirement
335
- requirements:
336
- - - "~>"
337
- - !ruby/object:Gem::Version
338
- version: '0.0'
339
- description: Disallow insecure, unscoped, finds
445
+ description: "\U0001F512 Disallow insecure, unscoped, finds"
340
446
  email:
341
- - peter.boling@gmail.com
447
+ - floss@galtzo.com
342
448
  executables: []
343
449
  extensions: []
344
450
  extra_rdoc_files: []
345
451
  files:
346
452
  - CHANGELOG.md
347
- - CODE_OF_CONDUCT.md
348
- - CONTRIBUTING.md
349
- - LICENSE.txt
453
+ - LICENSE.md
350
454
  - README.md
351
- - SECURITY.md
352
455
  - lib/active_security.rb
353
456
  - lib/active_security/base.rb
354
457
  - lib/active_security/configuration.rb
@@ -360,20 +463,32 @@ files:
360
463
  - lib/active_security/restricted_hooks.rb
361
464
  - lib/active_security/scoped.rb
362
465
  - lib/active_security/version.rb
363
- homepage: https://github.com/pboling/active_security
466
+ - sig/active_security.rbs
467
+ homepage: https://github.com/galtzo-floss/active_security
364
468
  licenses:
365
469
  - MIT
366
470
  metadata:
367
471
  homepage_uri: https://github.com/pboling/active_security
368
- source_code_uri: https://github.com/pboling/active_security/tree/v1.0.0
369
- changelog_uri: https://github.com/pboling/active_security/blob/v1.0.0/CHANGELOG.md
370
- bug_tracker_uri: https://github.com/pboling/active_security/issues
371
- documentation_uri: https://www.rubydoc.info/gems/active_security/1.0.0
372
- wiki_uri: https://github.com/pboling/active_security/wiki
373
- funding_uri: https://liberapay.com/pboling
472
+ source_code_uri: https://github.com/galtzo-floss/active_security/tree/v1.0.2
473
+ changelog_uri: https://github.com/galtzo-floss/active_security/blob/v1.0.2/CHANGELOG.md
474
+ bug_tracker_uri: https://github.com/galtzo-floss/active_security/issues
475
+ documentation_uri: https://www.rubydoc.info/gems/active_security/1.0.2
476
+ funding_uri: https://github.com/sponsors/pboling
477
+ wiki_uri: https://github.com/galtzo-floss/active_security/wiki
478
+ news_uri: https://www.railsbling.com/tags/active_security
479
+ discord_uri: https://discord.gg/3qme4XHNKN
480
+ mailing_list_uri: https://www.rubyforum.org/tag/galtzo-floss
374
481
  rubygems_mfa_required: 'true'
375
- post_install_message:
376
- rdoc_options: []
482
+ rdoc_options:
483
+ - "--title"
484
+ - "active_security - \U0001F512 Prevent insecure, unscoped, finds"
485
+ - "--main"
486
+ - README.md
487
+ - "--exclude"
488
+ - "^sig/"
489
+ - "--line-numbers"
490
+ - "--inline-source"
491
+ - "--quiet"
377
492
  require_paths:
378
493
  - lib
379
494
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -387,8 +502,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
387
502
  - !ruby/object:Gem::Version
388
503
  version: '0'
389
504
  requirements: []
390
- rubygems_version: 3.5.14
391
- signing_key:
505
+ rubygems_version: 4.0.24
392
506
  specification_version: 4
393
- summary: Prevent insecure, unscoped, finds
507
+ summary: "\U0001F512 Prevent insecure, unscoped, finds"
394
508
  test_files: []
metadata.gz.sig CHANGED
Binary file
data/CODE_OF_CONDUCT.md DELETED
@@ -1,84 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
-
7
- We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
-
9
- ## Our Standards
10
-
11
- Examples of behavior that contributes to a positive environment for our community include:
12
-
13
- * Demonstrating empathy and kindness toward other people
14
- * Being respectful of differing opinions, viewpoints, and experiences
15
- * Giving and gracefully accepting constructive feedback
16
- * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
- * Focusing on what is best not just for us as individuals, but for the overall community
18
-
19
- Examples of unacceptable behavior include:
20
-
21
- * The use of sexualized language or imagery, and sexual attention or
22
- advances of any kind
23
- * Trolling, insulting or derogatory comments, and personal or political attacks
24
- * Public or private harassment
25
- * Publishing others' private information, such as a physical or email
26
- address, without their explicit permission
27
- * Other conduct which could reasonably be considered inappropriate in a
28
- professional setting
29
-
30
- ## Enforcement Responsibilities
31
-
32
- Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
-
34
- Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
-
36
- ## Scope
37
-
38
- This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
-
40
- ## Enforcement
41
-
42
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at peter.boling@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
-
44
- All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
-
46
- ## Enforcement Guidelines
47
-
48
- Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
-
50
- ### 1. Correction
51
-
52
- **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
-
54
- **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
-
56
- ### 2. Warning
57
-
58
- **Community Impact**: A violation through a single incident or series of actions.
59
-
60
- **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
-
62
- ### 3. Temporary Ban
63
-
64
- **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
-
66
- **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
-
68
- ### 4. Permanent Ban
69
-
70
- **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
-
72
- **Consequence**: A permanent ban from any sort of public interaction within the community.
73
-
74
- ## Attribution
75
-
76
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
- available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
-
79
- Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
-
81
- [homepage]: https://www.contributor-covenant.org
82
-
83
- For answers to common questions about this code of conduct, see the FAQ at
84
- https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/CONTRIBUTING.md DELETED
@@ -1,66 +0,0 @@
1
- ## Contributing
2
-
3
- Bug reports and pull requests are welcome on GitHub at [https://github.com/pboling/active_security][🚎src-main]
4
- . This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
5
- the [code of conduct][🤝conduct].
6
-
7
- To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request.
8
-
9
- ## Appraisal & Combustion
10
-
11
- ### Generate a new set of Appraisal gemfiles:
12
-
13
- ```sh
14
- BUNDLE_GEMFILE=gemfiles/vanilla.gemfile appraisal generate
15
- ```
16
-
17
- NOTE: Due to a bug in Appraisal, in each generated gemfile, you'll need to replace this line:
18
- ```ruby
19
- gemspec path: "../../"
20
- ```
21
- with
22
- ```ruby
23
- gemspec path: "../"
24
- ```
25
-
26
- ## Release
27
-
28
- To release a new version:
29
-
30
- 1. Run `bin/setup && bin/rake` as a tests, coverage, & linting sanity check
31
- 2. Update the version number in `version.rb`
32
- 3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
33
- 4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
34
- 5. Run `git push` to trigger the final CI pipeline before release, & merge PRs
35
- a. NOTE: Remember to [check the build][🧪build]!
36
- 6. Run `git checkout main`
37
- 7. Run `git pull origin main` to ensure you will release the latest trunk code.
38
- 8. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
39
- a. Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
40
- b. If the echo above has no output, then it didn't work.
41
- c. Note that you'll need the `zsh/datetime` module, if running `zsh`.
42
- 9. Run `bundle exec rake build`
43
- 10. Run [`bin/checksums`][🔒️rubygems-checksums-pr] to create SHA-256 and SHA-512 checksums
44
- a. Checksums will be committed automatically by the script, but not pushed
45
- 11. Run `bundle exec rake release` which will create a git tag for the version,
46
- push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
47
-
48
- NOTE: You will need to have a public key in `certs/`, and list your cert in the
49
- `gemspec`, in order to sign the new release.
50
- See: [RubyGems Security Guide][🔒️rubygems-security-guide]
51
-
52
- ## Contributors
53
-
54
- [![Contributors][🖐contributors-img]][🖐contributors]
55
-
56
- Made with [contributors-img][🖐contrib-rocks].
57
-
58
- [🧪build]: https://github.com/pboling/active_security/actions
59
- [🤝conduct]: https://github.com/pboling/active_security/blob/main/CODE_OF_CONDUCT.md
60
- [🖐contrib-rocks]: https://contrib.rocks
61
- [🖐contributors]: https://github.com/pboling/active_security/graphs/contributors
62
- [🖐contributors-img]: https://contrib.rocks/image?repo=pboling/active_security
63
- [💎rubygems]: https://rubygems.org
64
- [🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
65
- [🔒️rubygems-checksums-pr]: https://github.com/rubygems/guides/pull/325
66
- [🚎src-main]: https://github.com/pboling/active_security
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2024 Peter Boling
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/SECURITY.md DELETED
@@ -1,13 +0,0 @@
1
- # Security Policy
2
-
3
- ## Supported Versions
4
-
5
- | Version | Supported |
6
- |---------|-----------|
7
- | 0.x | ✅ |
8
-
9
- ## Reporting a Vulnerability
10
-
11
- Peter Boling is the primary maintainer of this gem. Please find a way
12
- to [contact him directly](https://railsbling.com/contact) to report the issue. Include as much relevant information as
13
- possible.