norton 0.0.6 → 0.0.7

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: 4669f251b3c59242c753f2be114f6076076a2464
4
- data.tar.gz: 9448d7e0116e827427d797833fe63d2dc375b01e
3
+ metadata.gz: ee3da14bf4d8ec51e4e8d54c25ea0966c9c58d07
4
+ data.tar.gz: 813138687ec12b2644a58057124bb2dec28ed932
5
5
  SHA512:
6
- metadata.gz: efa988dce482046bd751863e1d0820dacf1314f79208ea4c38fe97277c2f8423cfcc962ac53161dd5c4d4bda034704e7080562d26aa1a06a16b03be2a52eb034
7
- data.tar.gz: 3f772e9765ea90695edc94c01e7d73963fa90974da2447131e3a6b33f1e4cd0dbe0efb9ebad958129cf8771258be307a8e7a05de693c2073b43729ce7f9c2295
6
+ metadata.gz: abc487e4bcf8af8f0daec1bea18ac0a3ff6ae386a6af0b60e0b03f5513051967be3e0d5733296c8cf1cc80259c74e3805fa86406184357d8855a65d099e9ad5a
7
+ data.tar.gz: fded12ea44ef90a3937e38ce58340f68c379ec713463cb9dd4c2daea8e96e3a267feba80f31a8724a2bd57393b34be389265dc4856de69ddc307226c089ad927
@@ -46,14 +46,14 @@ module Norton
46
46
  # Add Increment callback
47
47
  unless options[:incr].nil?
48
48
  options[:incr].each do |callback|
49
- self.send callback, proc{ instance_eval("incr_#{name}".to_sym) }
49
+ self.send callback, proc{ instance_eval("incr_#{name}") }
50
50
  end
51
51
  end
52
52
 
53
53
  # Add Decrement callback
54
54
  unless options[:decr].nil?
55
55
  options[:decr].each do |callback|
56
- self.send callback, proc{ instance_eval("decr_#{name}".to_sym) }
56
+ self.send callback, proc{ instance_eval("decr_#{name}") }
57
57
  end
58
58
  end
59
59
  end
@@ -34,7 +34,7 @@ module Norton
34
34
  # Add callback
35
35
  unless touches.empty?
36
36
  touches.each do |callback, condition|
37
- self.send callback, proc{ if instance_eval(&condition) then instance_eval("touch_#{name}".to_sym) end }
37
+ self.send callback, proc{ if instance_eval(&condition) then instance_eval("touch_#{name}") end }
38
38
  end
39
39
  end
40
40
  end
@@ -1,3 +1,3 @@
1
1
  module Norton
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: norton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Larry Zhao