call_me_ruby 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/call_me_ruby.rb +4 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e6e02413c6182d502789c0490bc3def4abeaca0
4
- data.tar.gz: 60369859b5d6f97370ae84ad395d3d16d340701f
3
+ metadata.gz: 3a423b9fd9133f68e63e2c0478d0470cf2ee9f30
4
+ data.tar.gz: 46e753cccf61154a02077be2c7a2601197ecdc81
5
5
  SHA512:
6
- metadata.gz: b75fa99c0513f9d650caa07eba047e43097519164c4c054191407be3bab45475f9cdac806cfea53583ff47ff28f0a2e4295a90f971913e8f83ebef140e5ccd58
7
- data.tar.gz: b23dcc096039d15454e8035a824f9d16b37b5cb6f7dfbb977dc543855f66783a2892b3d1eacaf6b8c5f9975b8245e5ff0184ad26c737d6027b120673860e62cb
6
+ metadata.gz: 6b50407f01f97f62efe19a82eaf02330718b92cbcf85130c164265af603e6a457927e4f1684bf0ac41c352bdcb8bc594049a42d6ed4be170e2ce36534b9f6c69
7
+ data.tar.gz: b045efd6ef5af2710ed24a2ddccde07d1325a0785b4f3a7ff8720792455d0f975cbc0162e0fdcb62b8126d5b149ca2b5ab2fe5e070d6fb98495d5973ce4c8650
data/lib/call_me_ruby.rb CHANGED
@@ -47,4 +47,8 @@ module CallMeRuby
47
47
 
48
48
  true
49
49
  end
50
+
51
+ def subscribed?(name)
52
+ self.class.class_callbacks.include?(name) || callbacks.include?(name)
53
+ end
50
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: call_me_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Kleyn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-19 00:00:00.000000000 Z
11
+ date: 2015-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coveralls