mongo-fixture 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mongo-fixture.rb +1 -1
- data/lib/mongo-fixture/version.rb +1 -1
- data/spec/mongo/fixture_spec.rb +0 -1
- metadata +3 -3
data/lib/mongo-fixture.rb
CHANGED
@@ -140,7 +140,7 @@ module Mongo
|
|
140
140
|
# Inserts the collection data into the database
|
141
141
|
def insert_data_for collection
|
142
142
|
@data[collection].each do |key, record|
|
143
|
-
@connection[collection].insert record
|
143
|
+
@connection[collection].insert simplify record
|
144
144
|
end
|
145
145
|
@inserted << collection
|
146
146
|
end
|
data/spec/mongo/fixture_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongo-fixture
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -114,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
114
|
version: '0'
|
115
115
|
segments:
|
116
116
|
- 0
|
117
|
-
hash:
|
117
|
+
hash: -692330655
|
118
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
119
|
none: false
|
120
120
|
requirements:
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
segments:
|
125
125
|
- 0
|
126
|
-
hash:
|
126
|
+
hash: -692330655
|
127
127
|
requirements: []
|
128
128
|
rubyforge_project:
|
129
129
|
rubygems_version: 1.8.24
|