mongoid_silo 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +0 -2
- data/lib/mongoid_silo/grain_belt.rb +1 -3
- data/lib/mongoid_silo/version.rb +1 -1
- metadata +2 -2
data/.rspec
CHANGED
@@ -12,11 +12,9 @@ module MongoidSilo
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def generate
|
15
|
-
|
16
|
-
object.attribute_names.each do |attribute|
|
15
|
+
object.attribute_names.each_with_object({}) do |attribute, out|
|
17
16
|
out[attribute] = object.send(attribute) unless ["_type", "_id"].include?(attribute)
|
18
17
|
end
|
19
|
-
out
|
20
18
|
end
|
21
19
|
end
|
22
20
|
end
|
data/lib/mongoid_silo/version.rb
CHANGED
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.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|