mail-notify 1.0.5 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51dc46116d659f7d269b55bed4d05a6389cffb71c0da50e87610e7c491a35927
4
- data.tar.gz: 853e9293faa4f7e9a913ad53922db154260b616a5fe1485c9e5ee0f65ca8f9f3
3
+ metadata.gz: c1e5893affa4bb0f98698a2ff745ebec9ff8c637da1d8616a407b1c57820e953
4
+ data.tar.gz: 06e00d14c455fb04ac66802a921d8c2bb3bcb897b3ace8122a78336846d38692
5
5
  SHA512:
6
- metadata.gz: ddd4d70cd5779b20791014b66987179081070a5b8e5d709da816f4d883e111cf45f5da0235eab06a1ebdd5e8f5092c3269d64fee720e9847d675d49def12dbfa
7
- data.tar.gz: 851594ef11849f363c241106508f1cb939911ac9cc8fd57fcd88588f0ca72ace91c859fa02b6ddb5297143002956880070164226b305325b1710281ab9561b47
6
+ metadata.gz: 7d04bd5e92d40e4c8e6f02ce966941c1692462906ffe24c7e56cdc0a126dfe7b6ad0cbfeb8e240bfeab51dffe5bcddd46de794b979d41004a9cbfd61a96d99f4
7
+ data.tar.gz: efeb7d10d1b43019a1cbb075afebf5197a5a29c22767ac54abdcc8226c46294d020435d334824d93c85c0beb64bdde864afc5df42c9a5d40210f58db082c25b8
data/CHANGELOG.md CHANGED
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog]
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.1.0] - 2022-09-09
10
+
11
+ - Revert previous Zeitwerk fix
12
+ - Specifically require `rails/mailers_controller` in the Railtie
13
+
9
14
  ## [1.0.5] - 2022-08-31
10
15
 
11
16
  - Allow explicitly blank personalisations (https://github.com/dxw/mail-notify/pull/30)
@@ -33,7 +33,7 @@ module Mail
33
33
  end
34
34
 
35
35
  def notify?
36
- @email.delivery_method.class == Mail::Notify::DeliveryMethod
36
+ @email.delivery_method.instance_of?(Mail::Notify::DeliveryMethod)
37
37
  end
38
38
  end
39
39
  end
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "rails/mailers_controller"
4
+
3
5
  module Mail
4
6
  module Notify
5
7
  class Railtie < Rails::Railtie
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Mail
4
4
  module Notify
5
- VERSION = "1.0.5"
5
+ VERSION = "1.1.0"
6
6
  end
7
7
  end
File without changes
data/mail-notify.gemspec CHANGED
@@ -29,9 +29,9 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency "rails", "~> 6.0"
30
30
  spec.add_development_dependency "rake", "~> 13.0.6"
31
31
  spec.add_development_dependency "rspec-rails", "~> 5.1"
32
- spec.add_development_dependency "standard", "0.4.7"
32
+ spec.add_development_dependency "standard", "1.16.1"
33
33
  spec.add_development_dependency "sqlite3", "~> 1.4.1"
34
- spec.add_development_dependency "webmock", "~> 3.16.0"
34
+ spec.add_development_dependency "webmock", "~> 3.18.1"
35
35
 
36
36
  spec.add_dependency "actionmailer", ">= 5.2.4.6"
37
37
  spec.add_dependency "activesupport", ">= 5.2.4.6"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail-notify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Harrison
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-31 00:00:00.000000000 Z
11
+ date: 2022-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.4.7
103
+ version: 1.16.1
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 0.4.7
110
+ version: 1.16.1
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: sqlite3
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 3.16.0
131
+ version: 3.18.1
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 3.16.0
138
+ version: 3.18.1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: actionmailer
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -246,6 +246,7 @@ files:
246
246
  - bin/console
247
247
  - bin/setup
248
248
  - docs/screenshot.png
249
+ - lib/mail/notify.rb
249
250
  - lib/mail/notify/delivery_method.rb
250
251
  - lib/mail/notify/layouts/govuk_notify_layout.html.erb
251
252
  - lib/mail/notify/mailer.rb
@@ -254,7 +255,6 @@ files:
254
255
  - lib/mail/notify/personalisation.rb
255
256
  - lib/mail/notify/railtie.rb
256
257
  - lib/mail/notify/version.rb
257
- - lib/notify.rb
258
258
  - mail-notify.gemspec
259
259
  - renovate.json
260
260
  homepage: https://github.com/dxw/mail-notify