broadcast-ruby 0.1.3 → 0.1.4

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: 10505042f5920a98bc7a910b72e79febc60bd8701e557fda50c141b3662fe635
4
- data.tar.gz: 1e3d35420502d145c051a24b33266b693ff84e6ee21813b1558e8c33e1a05e96
3
+ metadata.gz: f3bd138dfa8311b17c14ef537073cdf62406503d605b83f3d49b96659e28cda9
4
+ data.tar.gz: 6d7f2dccd5e01060b566bcd35a65a74349a078b9ed68348a4d510a98a8faf219
5
5
  SHA512:
6
- metadata.gz: 2279cac2d8337e5294d76ae35dad0e1f103dc149dcf7aada43bf29f4854d959fe8865425cdca4dc0ce5fc92d145a83fafd9b0027155380bd9bcde1c17456ea81
7
- data.tar.gz: 8ce78778855736661aefa17135d8b49c201915523037dd45e36162dc6d6a663a3d8dfbd941e294d4d956e339bf40ea0f7d75f971deb17c6cbed6cdc2b1ee770b
6
+ metadata.gz: '0164853b6f09a1f00227adf8201e0cd53a6ff84ece799471f839994e8b2dae6cc65486e08bc3877b9640056eabf9bba8b9659fc2c8a2a4172117b5b1fbc482cf'
7
+ data.tar.gz: b31dfa8c5e5f6ebcf6cb3861e92e82fe3b13f66e60d163da7dfbdc5d80abbd669f3a066259aa6316aaa3a1a5017ade083f12a67d82acb84299e1cb271f87b680
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- broadcast-ruby (0.1.3)
4
+ broadcast-ruby (0.1.4)
5
5
  base64
6
6
 
7
7
  GEM
@@ -176,7 +176,7 @@ CHECKSUMS
176
176
  ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
177
177
  base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
178
178
  bigdecimal (4.0.1) sha256=8b07d3d065a9f921c80ceaea7c9d4ae596697295b584c296fe599dd0ad01c4a7
179
- broadcast-ruby (0.1.3)
179
+ broadcast-ruby (0.1.4)
180
180
  builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
181
181
  concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
182
182
  connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
@@ -1,11 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'action_mailer'
3
4
  require_relative 'delivery_method'
4
5
 
5
6
  module Broadcast
6
7
  class Railtie < Rails::Railtie
7
- initializer 'broadcast.add_delivery_method', before: :load_config_initializers do
8
- ActionMailer::Base.add_delivery_method :broadcast, Broadcast::DeliveryMethod
9
- end
8
+ # Register the delivery method at class load time so that
9
+ # broadcast_settings= exists before environment configs run.
10
+ ActionMailer::Base.add_delivery_method :broadcast, Broadcast::DeliveryMethod
10
11
  end
11
12
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Broadcast
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: broadcast-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Chiu