sanitize_email 2.0.6 → 2.0.7

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: ab280a496e5f7c676c9f34a0d9c947e79015cc1001fb64dd9c9d7240d140eeea
4
- data.tar.gz: 455e2718f6bc3cf995b444768c2fcb855ff15685077d234c4887c829cb3b36ca
3
+ metadata.gz: 6e53b04bbe8a3bdd716dfd0e3db53d9b1bc7640f2848a18df5a0477b5b783f2b
4
+ data.tar.gz: b41275483b41173133e265cf70392d41c3557fba6f837e2c93d8bb010a24d46f
5
5
  SHA512:
6
- metadata.gz: 847a73eb85a827ff002f26e0108f3bd5ad4f9750d3de08e8461363e6effe31058fe92dee7ea7b1d3fa0260ad4f00b0f52d6df285ab0dc9fc029faac34ccca380
7
- data.tar.gz: 1e53fb956e7bb1223192164e151509c45c6f2c7e653c5b9d194925164e1141ae969a8364209e3fd5a7db4c5d833146016a9fbdfe2c7b8f38a17be1b4c6d04004
6
+ metadata.gz: aed02606f64655dc711d741fbc1c88e745227f56c4ecc6af999e1874e1739930acdcea4ba49a40fb20e9caeff035f1158186b3fdb05bbf0dacc265363156b055
7
+ data.tar.gz: 7a4d2de4b50c2d2cf66570fd70a245ae38646e948cadc6203e5a5a152b896bd9f50e9468ff9144456bbd6cae4cf1508a22da3be8e9727d773379d3ab2ba80308
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -10,6 +10,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  ### Fixed
11
11
  ### Removed
12
12
 
13
+ ## [2.0.7] - 2024-04-25 ([tag][2.0.7t])
14
+ ### Added
15
+ * More documentation
16
+ ### Changed
17
+ * Documentation is now via yard instead of rdoc
18
+ ### Fixed
19
+ # [#110](https://github.com/pboling/sanitize_email/issues/110) - interceptor not working via Rails 6+ engine
20
+
13
21
  ## [2.0.6] - 2024-04-25 ([tag][2.0.6t])
14
22
  ### Added
15
23
  * Appraisals & Combustion for comprehensive testing across versions of Rails (@pboling)
@@ -291,7 +299,9 @@ Old version?
291
299
  * Fixed require paths
292
300
  * added about.yml and this CHANGELOG
293
301
 
294
- [Unreleased]: https://github.com/pboling/sanitize_email/compare/v2.0.6...HEAD
302
+ [Unreleased]: https://github.com/pboling/sanitize_email/compare/v2.0.7...HEAD
303
+ [2.0.7]: https://github.com/pboling/sanitize_email/compare/v2.0.5...v2.0.7
304
+ [2.0.7t]: https://github.com/pboling/sanitize_email/tags/v2.0.7
295
305
  [2.0.6]: https://github.com/pboling/sanitize_email/compare/v2.0.5...v2.0.6
296
306
  [2.0.6t]: https://github.com/pboling/sanitize_email/tags/v2.0.6
297
307
  [2.0.5]: https://github.com/pboling/sanitize_email/compare/v2.0.4...v2.0.5
data/CONTRIBUTING.md CHANGED
@@ -25,12 +25,14 @@ To release a new version:
25
25
  4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
26
26
  5. Run `git push` to trigger the final CI pipeline before release, & merge PRs
27
27
  a. NOTE: Remember to [check the build][🧪build]!
28
- 6. Run `git checkout main` (Or whichever branch is considered `trunk`, e.g. `master`)
28
+ 6. Run `git checkout main`
29
29
  7. Run `git pull origin main` to ensure you will release the latest trunk code.
30
30
  8. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
31
- a. Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS` (you'll need the zsh/datetime module, if running zsh)
31
+ a. Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
32
+ b. If the echo above has no output, then it didn't work.
33
+ c. Note that you'll need the `zsh/datetime` module, if running `zsh`.
32
34
  9. Run `bundle exec rake build`
33
- 10. Run [`bin/checksums`](https://github.com/rubygems/guides/pull/325) to create SHA-256 and SHA-512 checksums
35
+ 10. Run [`bin/checksums`][🔒️rubygems-checksums-pr] to create SHA-256 and SHA-512 checksums
34
36
  a. Checksums will be committed automatically by the script, but not pushed
35
37
  11. Run `bundle exec rake release` which will create a git tag for the version,
36
38
  push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
@@ -41,7 +43,7 @@ See: [RubyGems Security Guide][🔒️rubygems-security-guide]
41
43
 
42
44
  ## Contributors
43
45
 
44
- [![Contributors](https://contrib.rocks/image?repo=pboling/sanitize_email)][🖐contributors]
46
+ [![Contributors][🖐contributors-img]][🖐contributors]
45
47
 
46
48
  Made with [contributors-img][🖐contrib-rocks].
47
49
 
@@ -50,6 +52,8 @@ Made with [contributors-img][🖐contrib-rocks].
50
52
  [🤝conduct]: https://github.com/pboling/sanitize_email/blob/main/CODE_OF_CONDUCT.md
51
53
  [🖐contrib-rocks]: https://contrib.rocks
52
54
  [🖐contributors]: https://github.com/pboling/sanitize_email/graphs/contributors
55
+ [🖐contributors-img]: https://contrib.rocks/image?repo=pboling/sanitize_email
53
56
  [💎rubygems]: https://rubygems.org
54
57
  [🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
58
+ [🔒️rubygems-checksums-pr]: https://github.com/rubygems/guides/pull/325
55
59
  [🚎src-main]: https://github.com/pboling/sanitize_email
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2008 - 2018, 2024 Peter H. Boling, http://railsbling.com
3
+ Copyright (c) 2008 - 2018, 2020, 2022, 2024 Peter H. Boling, http://railsbling.com
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -670,9 +670,19 @@ Learn more about, or become one of, our 🎖 contributors on:
670
670
 
671
671
  [🧊berg-contrib]: https://codeberg.org/pboling/sanitize_email/activity
672
672
  [🐙hub-contrib]: https://github.com/pboling/sanitize_email/graphs/contributors
673
- [🛖hut-contrib]: https://git.sr.ht/~galtzo/pboling-sanitize_email/log/
673
+ [🛖hut-contrib]: https://git.sr.ht/~galtzo/sanitize_email/log/
674
674
  [🧪lab-contrib]: https://gitlab.com/pboling/sanitize_email/-/graphs/main?ref_type=heads
675
675
 
676
+ ## Star History
677
+
678
+ <a href="https://star-history.com/#pboling/sanitize_email&Date">
679
+ <picture>
680
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=pboling/sanitize_email&type=Date&theme=dark" />
681
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=pboling/sanitize_email&type=Date" />
682
+ <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=pboling/sanitize_email&type=Date" />
683
+ </picture>
684
+ </a>
685
+
676
686
  ## Running Specs
677
687
 
678
688
  The basic compatibility matrix:
@@ -9,8 +9,8 @@ module SanitizeEmail
9
9
  class EngineV6 < ::Rails::Engine
10
10
  config.to_prepare do
11
11
  # For the reasoning behind the difference between v5 and v6 engines,
12
- # - see: https://github.com/rails/rails/issues/36546#issuecomment-850888284
13
- Rails.application.config.action_mailer.register_interceptor(SanitizeEmail::Bleach)
12
+ # - see: https://github.com/rails/rails/issues/42170#issuecomment-835177539
13
+ Rails.application.config.action_mailer.interceptors = ["SanitizeEmail::Bleach"]
14
14
  end
15
15
  end
16
16
  end
@@ -5,6 +5,6 @@
5
5
 
6
6
  module SanitizeEmail
7
7
  module Version
8
- VERSION = "2.0.6"
8
+ VERSION = "2.0.7"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sanitize_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -38,7 +38,7 @@ cert_chain:
38
38
  KuxrfYrN+9HvMdm+nZ6TypmKftHY3Gj+/uu+g8Icm/zrvTWAEE0mcJOkfrIoNPJb
39
39
  pF8dMA==
40
40
  -----END CERTIFICATE-----
41
- date: 2024-04-25 00:00:00.000000000 Z
41
+ date: 2024-06-18 00:00:00.000000000 Z
42
42
  dependencies:
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: mail
@@ -217,10 +217,10 @@ licenses:
217
217
  - MIT
218
218
  metadata:
219
219
  homepage_uri: https://github.com/pboling/sanitize_email
220
- source_code_uri: https://github.com/pboling/sanitize_email/tree/v2.0.6
221
- changelog_uri: https://github.com/pboling/sanitize_email/blob/v2.0.6/CHANGELOG.md
220
+ source_code_uri: https://github.com/pboling/sanitize_email/tree/v2.0.7
221
+ changelog_uri: https://github.com/pboling/sanitize_email/blob/v2.0.7/CHANGELOG.md
222
222
  bug_tracker_uri: https://github.com/pboling/sanitize_email/issues
223
- documentation_uri: https://www.rubydoc.info/gems/sanitize_email/2.0.6
223
+ documentation_uri: https://www.rubydoc.info/gems/sanitize_email/2.0.7
224
224
  wiki_uri: https://github.com/pboling/sanitize_email/wiki
225
225
  funding_uri: https://liberapay.com/pboling
226
226
  rubygems_mfa_required: 'true'
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  - !ruby/object:Gem::Version
240
240
  version: '0'
241
241
  requirements: []
242
- rubygems_version: 3.5.9
242
+ rubygems_version: 3.4.19
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: Email Condom for your Ruby Server
metadata.gz.sig CHANGED
Binary file