cru_lib 0.0.2.3 → 0.0.2.4

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: b160243377a2615362727ead2f307502609a9e8e
4
- data.tar.gz: 01185ad52973a38084133affdfa2d18330773d1e
3
+ metadata.gz: 5cd77e01f9be0ee8a73e55e2eaaba66053fff6b9
4
+ data.tar.gz: c3a658864ef2dba5932b1af312f3d40b64884c0e
5
5
  SHA512:
6
- metadata.gz: d1d91580dce50ecb9562bdd7357129b7d3a991c7604de0af66d183cef2d38fd9a01195b3eb4ed3719f77628720b1b6f05727c3195f0ec079e3053c5ac502832a
7
- data.tar.gz: 80a774304a83a3226d6c44941346a28c8f6932def7e409cffa43463fdde2ff6fb696c1039d652a53fd9d069b5572920538a18bd586f2c99e7a4133d5a0a572d8
6
+ metadata.gz: 42b27b5c9d930e42f21c31eb2c9941283059d5be90069271f30db0c71bb11e663b63c0fdd8bbff9232a7cff3f1050d0cd00297ab46937503898d6fc804950dab
7
+ data.tar.gz: d5a9453b412c438ff7956a22c080fb80b1dab46c209078367b3ea932144760cde6a1aad8281d40192dc726717d2ef8d64278b2e1cbdaf0acf0410d5eea389e93
@@ -8,8 +8,8 @@ module CruLib
8
8
 
9
9
 
10
10
  included do
11
- after_commit :push_to_global_registry
12
- after_destroy :delete_from_global_registry
11
+ after_commit :push_to_global_registry, on: [ :create, :update ]
12
+ after_commit :delete_from_global_registry, on: :destroy
13
13
  end
14
14
 
15
15
  def delete_from_global_registry
@@ -1,3 +1,3 @@
1
1
  module CruLib
2
- VERSION = "0.0.2.3"
2
+ VERSION = "0.0.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cru_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.3
4
+ version: 0.0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Starcher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-18 00:00:00.000000000 Z
11
+ date: 2016-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: global_registry