mailtrap 2.4.2 → 2.5.0

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: fbab8dc3de2d25ab941149a0324bde111b57ce174a3b4d6c7f9233a2081edaf6
4
- data.tar.gz: 2504ee84dc9fea519b8fef55c9adf9e160f28f2e400a28d9b228db0fb82a3bcf
3
+ metadata.gz: 7cfe51fc46a03cac98509b38611a60c5c7280c96055346d557590e3a59a17de9
4
+ data.tar.gz: 5a8acfa518abf2903105f4a2a2df8d850532419e961372078ea0bd691ea898e2
5
5
  SHA512:
6
- metadata.gz: 60f24be1ea02688b21315cd2b33c17b7ef09d5e11c2695f7f237c6fadac1bd0c9aa2458b74713f3ffb13421bc1d58237fd12b5b6a5a101be00e5530f9ebf86a5
7
- data.tar.gz: 53e05d3a12c3f68cd5ade6cb844e3316902594be51aa85a624941ad7c501765bbf8302d985f6c9a27028034397a794281d4266d06580ffdb5b289d876c3ac28d
6
+ metadata.gz: f0381884cc8e03c59523f87b2e4ec35872ddf514b135e9e5f72ce6d6752d37ae531dc8a91b40c8ed3b2a66f4b4e1cc1dbac95638dd94382a625145b24271d0d9
7
+ data.tar.gz: 54da492c1a517820087101305e0efbfa07b5e4a6a297aba561bfe778504984cca563e45da710dc0df520d0890e80e8c58446408eac4e2c1eae6d035ed9b05083
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [2.5.0] - 2025-11-10
2
+ - Add Contact Imports API
3
+ - Add Suppressions API
4
+ - Write the message IDs to the message when sending with Action Mailer
5
+ - Fix versioning :)
6
+
1
7
  ## [2.4.1] - 2025-08-21
2
8
  - Set `template_uuid` and `template_variables` when building mail from `Mail::Message`
3
9
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mailtrap (2.4.2)
4
+ mailtrap (2.5.0)
5
5
  base64
6
6
 
7
7
  GEM
@@ -14,7 +14,9 @@ module Mailtrap
14
14
  def deliver!(message)
15
15
  mail = Mailtrap::Mail.from_message(message)
16
16
 
17
- client.send(mail)
17
+ client.send(mail).tap do |resp|
18
+ message['X-MT-Message-IDs'] = resp[:message_ids]
19
+ end
18
20
  end
19
21
 
20
22
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mailtrap
4
- VERSION = '2.4.2'
4
+ VERSION = '2.5.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailtrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Railsware Products Studio LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-10-21 00:00:00.000000000 Z
10
+ date: 2025-11-10 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: base64
@@ -75,7 +74,6 @@ metadata:
75
74
  source_code_uri: https://github.com/mailtrap/mailtrap-ruby
76
75
  changelog_uri: https://github.com/mailtrap/mailtrap-ruby/blob/main/CHANGELOG.md
77
76
  rubygems_mfa_required: 'true'
78
- post_install_message:
79
77
  rdoc_options: []
80
78
  require_paths:
81
79
  - lib
@@ -90,8 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
88
  - !ruby/object:Gem::Version
91
89
  version: '0'
92
90
  requirements: []
93
- rubygems_version: 3.5.11
94
- signing_key:
91
+ rubygems_version: 3.6.2
95
92
  specification_version: 4
96
93
  summary: Official mailtrap.io API client
97
94
  test_files: []