mongoid_silo 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/app/models/silo.rb CHANGED
@@ -18,12 +18,12 @@ class Silo
18
18
  end
19
19
 
20
20
  class << self
21
- def for_id_and_class_with_name id, class_name, silo_name
22
- where(item_class: class_name, item_id: id, silo_type: silo_name).first
21
+ def for_id_and_class_with_name item_id, class_name, silo_name
22
+ where(item_class: class_name, item_id: item_id, silo_type: silo_name).first
23
23
  end
24
24
 
25
- def for_id_and_name_with_no_class id, silo_name
26
- where(item_id: id, silo_type: name).first
25
+ def for_id_and_name_with_no_class item_id, silo_name
26
+ where(item_id: item_id, silo_type: silo_name).first
27
27
  end
28
28
  end
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module MongoidSilo
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: mongoid_silo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: