uri-smtp 0.7.1 → 0.7.3.rc1

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: 19f134f7a4dd627d1493c292572328eba64155e9b1ec07e870aa647d54fa4ef2
4
- data.tar.gz: ba12895246eb404221548ae749d5661ef8218d3ac3b0bf2b811b0b20253123ff
3
+ metadata.gz: 5fe08c69465253090d447a373dde659719c52443bb0d03858a4a53fe94cb539d
4
+ data.tar.gz: c70f014a6f22f71f3d5526c7eae389655fc590a5a05b22a24e6371336006ea96
5
5
  SHA512:
6
- metadata.gz: 3ac0a82ee28bb827f44a7a74aa44215a428e6dda59f9821e59d3a7422b02aaed6e1fd9195537878e3cf9beeff919c6ef0bbdfbde905c6e5a51f89645c8f9b9b6
7
- data.tar.gz: e824027c3c9aa864e6e34e5299ea75d0fee6af4641293ee10999c7c4aa43f330b7014e1624272ccb9fbbe499b510e565d0d1b4f6234e183386c2bfb3451a6874
6
+ metadata.gz: 6c3d11f58c8ae66d09f342082e57c5924035d43ad1291bc61860eceff94552e683cef93da921423d12118a1645349412951c5637fb5b09e9abf8d8f65395935b
7
+ data.tar.gz: 9951f037ec31fd205ffac13683d3a280035ab6b17bb85bb69f46124a26255bb895da4aa446e05767f77f889ad703ae7cb3f82e80452e3e5c8374bfc671032853
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,26 @@
1
+ Changes can be:
2
+
3
+ * ✨ Features
4
+ * ⚠️ Breaking
5
+ * 🐛 Bug Fixes
6
+ * 🛠️ Developer
7
+
1
8
  ## [Unreleased]
2
9
 
10
+ - 🛡️ MFA required to publish this gem
11
+
12
+ ## [0.7.x] - 2025-07-28
13
+
14
+ - 🛡️ Push and sign gem via GH Actions (i.e. trusted publisher)
15
+ See "Provenance" at https://rubygems.org/gems/uri-smtp
16
+
3
17
  ## [0.6.0] - 2025-07-27
4
18
 
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?`
19
+ - API-docs at https://eval.github.io/uri-smtp/
20
+ - 🐛 "smtp+insecure+foo://..." not considered `#insecure?`
21
+ - 🐛 "smtp://foo.org?auth=none" being ignored
22
+ - 🐛 "smtp+insecure://..." having auth "insecure"
23
+ - ⚠️ remove `#starttls?`
10
24
 
11
25
  ## [0.5.0] - 2025-07-25
12
26
 
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.1"
7
+ VERSION = "0.7.3.rc1"
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.1
4
+ version: 0.7.3.rc1
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