triggerable 0.1.10 → 0.1.11

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: 5f0d2fe922b908d4ba7d4c513e2263c4dc1b396c
4
- data.tar.gz: a6fa00c9c558bab8aa600a44029379e54a2e553a
3
+ metadata.gz: 7bc4c1f955221b2af177d36dacb12ce865450062
4
+ data.tar.gz: 84169729da398ad1374641135e2174dea6483039
5
5
  SHA512:
6
- metadata.gz: d847c41a5adb6103f9b7db41e632a2a408960af751029a2341ab7dedcd1b4f4e791a03d837657b9c6969d8bc4437f431fc93007a8ef223298f1a26836df28d13
7
- data.tar.gz: 99630d8fa4f94c61fb3accde6d7fc5b4ee8883a4244b5de0b54fc88fd70540e244b66a52af9d6170a72b5bac27afcd30851e1c89b5691132a8eb166c3ebfbd30
6
+ metadata.gz: 7dad2cfdd9d35e0778031c7f5634927e8ee763a17d6a11b4cb6cf69152e55652ca2b154b9b93e639eecbd73b462738bad3954d7cf259f280b6f0541398a5e7d5
7
+ data.tar.gz: cbc5b85415d54ccf58574b3ddfac3adf636b0c829b7f1ade084c53e346c0f0649c4b7673cda39d2d1d0fc1f5da5615c3388cc7b196fb7fa5b5d58c205a2d85a6
@@ -1,3 +1,3 @@
1
1
  module Triggerable
2
- VERSION = '0.1.10'
2
+ VERSION = '0.1.11'
3
3
  end
data/lib/triggerable.rb CHANGED
@@ -50,7 +50,8 @@ module Triggerable
50
50
  private
51
51
 
52
52
  def run_triggers callback
53
- Engine.triggers_for(self, callback).each{|t| t.execute!(self)}
53
+ Engine.triggers_for(self, callback).each { |t| t.execute!(self) }
54
+ true
54
55
  end
55
56
  end
56
57
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: triggerable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - DmitryTsepelev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-29 00:00:00.000000000 Z
11
+ date: 2015-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler