callbacks_attachable 2.1.0 → 2.1.1

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
  SHA1:
3
- metadata.gz: 9b8373eec469ec47043effaea07261ecdd3412ed
4
- data.tar.gz: 0c5df404017b52496a0649dfc7f615a19ad7ee73
3
+ metadata.gz: eb62a03596762f464f2dc0ce2ad827522fa4a7d6
4
+ data.tar.gz: 7bf05120a3252847d9e8ae44addb6690483adcd7
5
5
  SHA512:
6
- metadata.gz: b033254d2951e81ea83199e368035002986d9f79cd6cbd45846d6474d368230dd5ca9bc638a1c13f4adf93da498dbab2e9ac5833295a39089d69bc0e392f7cc7
7
- data.tar.gz: f4bc19cc785307178bb9e5a6c8374a51ee6047e998e73607a1d37093fc565e22b121cd5c2645ad142d532ae3e209053b749ccb66a646c4988d24ce76b7844e0d
6
+ metadata.gz: a1936ee2b37346c199ff37ac4a4112a11272f5ccd5494a2ae3e8e8ddce1814f632dfe2594e9d27c6158406cb025bde4b88ed64c2f0479406933661f3e25d882e
7
+ data.tar.gz: e9ac42e9325f607202ee493530434672e2862a69a496533f67457c8983b2b3762ae8eac5176d20e2abec282474e9921b14e53dd637c98671b6dd0c9549b42dbc
@@ -1,7 +1,11 @@
1
1
  module CallbacksAttachable
2
2
  module RegistryOwnable
3
3
  def extended(object)
4
- object.singleton_class.extend RegistryOwnable
4
+ CallbacksAttachable.extended object
5
+ end
6
+
7
+ def included(klass)
8
+ CallbacksAttachable.included klass
5
9
  end
6
10
 
7
11
  def on(event, opts = {}, &callback)
data/mrblib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module CallbacksAttachable
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: callbacks_attachable
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Aue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-23 00:00:00.000000000 Z
11
+ date: 2017-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler