mongoid_silo 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ module MongoidSilo
22
22
  @silo = Silo.create(item_class: @item_class, item_id: @item_id, bag: @content, silo_type: name)
23
23
  end
24
24
  if @callback
25
- @item.__send__(@callback).call(@item, :updated)
25
+ @item.__send__(@callback, :updated)
26
26
  end
27
27
  end
28
28
 
@@ -32,7 +32,7 @@ module MongoidSilo
32
32
  @silo.destroy
33
33
  end
34
34
  if @callback
35
- @item.__send__(@callback).call(@item, :destroyed)
35
+ @item.__send__(@callback, :destroyed)
36
36
  end
37
37
  end
38
38
 
@@ -1,3 +1,3 @@
1
1
  module MongoidSilo
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_silo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: