uri-smtp 0.7.2 → 0.7.3

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: 230881f93aef9da0c961fd1fa761ae59053655ea50cfbb29302ca0d319356b6e
4
- data.tar.gz: f2719dbc854825724a6a28c8f5444d1aff3c10c491c89d68d166489d8770fe45
3
+ metadata.gz: 32bf646636db9537ce1c5a5a044f9d467a9e231c0a43f59fe5e109e9866716f8
4
+ data.tar.gz: 76781018aa0ac3b6b8567b3547cae5350ac2611272154d7fb7dce22dd3859cde
5
5
  SHA512:
6
- metadata.gz: a37717d7e8569f6cf87de4af3fae820d369b41a963dd44d88b3985e31a2b4c375aabd885e792ac844bec3eed0fa000ad9a07860ef718556f17de08cc546db0d8
7
- data.tar.gz: e3604562d32aad7fd13d908dd934d33567c6f9d2d6b4220d02b41eeac2d0bde415b3417a8964bfcff99353310012fb5d4d0bd32d16d8e98dca53c4bd1c4999b7
6
+ metadata.gz: d94721883773f26c4edeb39fbc884d4a78dd601877d7e6ba0f2ead74c2876e8ebac21f5637a1012dc9cde9bba5ca679bf01c1e7e3f954f6d05b56dde0d92a2ef
7
+ data.tar.gz: 7d68939c2782f247335486f4fa918ad7f96a79c3cb8d3853355bac5dd8221b906a0a664be0eaefa6117c79e9d317ca78c5461255a9f33a60457ac38a568bd76f
data/.irbrc ADDED
@@ -0,0 +1,4 @@
1
+ puts "Loading #{__FILE__}"
2
+ # put overrides in '_irbrc'
3
+ IRB.conf[:HISTORY_FILE] = "tmp/.irb_history"
4
+ IRB.conf[:HISTORY] = -1 # all of it
data/CHANGELOG.md CHANGED
@@ -1,12 +1,28 @@
1
+ Changes can be:
2
+
3
+ * ✨ Features
4
+ * ⚠️ Breaking
5
+ * 🐛 Bug Fixes
6
+ * 🛠️ Developer
7
+
1
8
  ## [Unreleased]
2
9
 
10
+ ## v0.7.3
11
+
12
+ - 🛡️ MFA required to publish this gem
13
+
14
+ ## [0.7.x] - 2025-07-28
15
+
16
+ - 🛡️ Push and sign gem via GH Actions (i.e. trusted publisher)
17
+ See "Provenance" at https://rubygems.org/gems/uri-smtp
18
+
3
19
  ## [0.6.0] - 2025-07-27
4
20
 
5
- - Add: API-docs at https://eval.github.io/uri-smtp/
6
- - Fix: "smtp+insecure+foo://..." not considered `#insecure?`
7
- - Fix: "smtp://foo.org?auth=none" being ignored
8
- - Fix: "smtp+insecure://..." having auth "insecure"
9
- - Remove: `#starttls?`
21
+ - API-docs at https://eval.github.io/uri-smtp/
22
+ - 🐛 "smtp+insecure+foo://..." not considered `#insecure?`
23
+ - 🐛 "smtp://foo.org?auth=none" being ignored
24
+ - 🐛 "smtp+insecure://..." having auth "insecure"
25
+ - ⚠️ remove `#starttls?`
10
26
 
11
27
  ## [0.5.0] - 2025-07-25
12
28
 
data/README.md CHANGED
@@ -159,6 +159,8 @@ Any value for auth that passes the URI-parser is acceptable. Though the followin
159
159
 
160
160
  ## Development
161
161
 
162
+ [mise](https://mise.jdx.dev/) recommended. This sets the right version of Ruby and adds `bin` to `PATH`.
163
+
162
164
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
163
165
  Use `bin/yard server --reload` when working on documentation.
164
166
 
data/Rakefile CHANGED
@@ -8,3 +8,15 @@ RSpec::Core::RakeTask.new(:spec)
8
8
  require "standard/rake"
9
9
 
10
10
  task default: %i[spec standard]
11
+
12
+ if ENV["CI"]
13
+ # bundler-cache runs `bundle install` on the runner, which can touch
14
+ # Gemfile.lock and dirty the tree — preventing guard_clean from passing.
15
+ # Redefine guard_clean to make it a noop.
16
+ Rake::Task["release:guard_clean"].clear
17
+ task "release:guard_clean"
18
+
19
+ # As a release is triggered by a tag, nothing should be pushed.
20
+ Rake::Task["release:source_control_push"].clear
21
+ task "release:source_control_push"
22
+ end
@@ -4,6 +4,6 @@ require "uri"
4
4
 
5
5
  module URI
6
6
  class SMTP < URI::Generic
7
- VERSION = "0.7.2"
7
+ VERSION = "0.7.3"
8
8
  end
9
9
  end
data/mise.toml ADDED
@@ -0,0 +1,9 @@
1
+ [tools]
2
+ ruby = "3.4"
3
+
4
+ [env]
5
+ _.path = ["bin"]
6
+ PROJECT_ROOT = "{{config_root}}"
7
+
8
+ # To prevent publishing in RubyGems use `gem_push=no rake release`
9
+ gem_push="no"
data/rakelib/gem.rake ADDED
@@ -0,0 +1,19 @@
1
+ namespace :gem do
2
+ desc "Write new version to version.rb"
3
+ task "write_version", [:version] do |_task, args|
4
+ if args[:version]
5
+ version = args[:version].split("=").last
6
+ version_file = File.expand_path("../../lib/uri/smtp/version.rb", __FILE__)
7
+
8
+ system(<<~CMD, exception: true)
9
+ ruby -pi -e 'gsub(/VERSION = ".*"/, %{VERSION = "#{version}"})' #{version_file}
10
+ CMD
11
+ Bundler.ui.confirm "Version #{version} written to #{version_file}."
12
+
13
+ system("bundle install", exception: true)
14
+ Bundler.ui.confirm "Gemfile.lock updated."
15
+ else
16
+ Bundler.ui.warn "No version provided, keeping version.rb as is."
17
+ end
18
+ end
19
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uri-smtp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gert Goet
@@ -15,6 +15,7 @@ executables: []
15
15
  extensions: []
16
16
  extra_rdoc_files: []
17
17
  files:
18
+ - ".irbrc"
18
19
  - ".rspec"
19
20
  - ".standard.yml"
20
21
  - ".yardopts"
@@ -24,6 +25,8 @@ files:
24
25
  - Rakefile
25
26
  - lib/uri/smtp.rb
26
27
  - lib/uri/smtp/version.rb
28
+ - mise.toml
29
+ - rakelib/gem.rake
27
30
  - rakelib/yard.rake
28
31
  - sig/uri/smtp.rbs
29
32
  - tmp/.gitkeep
@@ -35,6 +38,7 @@ metadata:
35
38
  source_code_uri: https://github.com/eval/uri-smtp
36
39
  changelog_uri: https://github.com/eval/uri-smtp/blob/main/CHANGELOG.md
37
40
  documentation_uri: https://eval.github.io/uri-smtp/
41
+ rubygems_mfa_required: 'true'
38
42
  rdoc_options: []
39
43
  require_paths:
40
44
  - lib