messaging 3.5.2 → 3.5.3

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: 061aaa840e0dbe849dec6ce3f8fb8d7747c4f2f507684bfc2999c0d1079ee1d3
4
- data.tar.gz: 5ac1afb9efc65d3a7d73c4cbebb0f65379a01ea4bf69b9b0520bb4bd393a7d7b
3
+ metadata.gz: c7d0c1ccbecdd289e7c34d72fdc3f6b3c70e4fcb387caeeb1db68ca51604aafc
4
+ data.tar.gz: 6bb11f51038f4603462afb2a872e5078467bd01392b565859c2e1118413e3b8d
5
5
  SHA512:
6
- metadata.gz: 4c0f7ecae61ab6561785ef3d193a6e0f1337c1caab25d063205e4d8d5b84086737f6cf27a21f25a3dd20c12bb584abaad02558cfbd90f67cf63d9d2c5ea1f132
7
- data.tar.gz: 4a18c65d9d8388685c5b39932e9829cb30427b0c3156a31992bbc6dd559b16a12e47e2e5998538e1b36cd194a20c31a52e0dd1cffd6130607ced188c64586082
6
+ metadata.gz: f720c5172e05d420c271ba5b610adf1f278b24ae9704c13638febddd2f9f78c9ea3833e31a45c2fda8b5b56ea168e1dced5df06ef6c63480a0d1b86f040b6cb9
7
+ data.tar.gz: e01a66fa224503bfcdb1087b541c102453330e956609061cc4dcd385c6de5b5e037a4518c181bd59169608f08b62d41444024fb90c736daabad0848d79da83e7
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- messaging (3.5.2)
4
+ messaging (3.5.3)
5
5
  activerecord
6
6
  activesupport
7
7
  after_transaction
@@ -11,7 +11,7 @@ module Messaging
11
11
 
12
12
  def initialize(pattern, handler)
13
13
  @matcher = MessageMatcher.new(pattern: pattern)
14
- @handler = handler
14
+ @handler = handler.respond_to?(:to_proc) ? handler : handler.method(:call)
15
15
  verify_handler!
16
16
  end
17
17
 
@@ -1,3 +1,3 @@
1
1
  module Messaging
2
- VERSION = '3.5.2'.freeze
2
+ VERSION = '3.5.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.2
4
+ version: 3.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bukowskis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-14 00:00:00.000000000 Z
11
+ date: 2020-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord