volt 0.8.9 → 0.8.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/volt/tasks/store_tasks.rb +0 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 171387afe92417b492fc991ba52ae6ff88a6e312
|
4
|
+
data.tar.gz: 6a545ea0a9928b23ab882f70662736a3445464b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f59e0d2c6e90d778f8db48e910157b3c80322d4ec758c6839f8db5fd040e0b97fe28506f24629a520b7a65053f70fd9ff0c1e59de00276f85138bc3b3fb14b2
|
7
|
+
data.tar.gz: a8d0b1bde364917a9cbcdcc73b34ea9f37b25271bd024ddfaaa7e92bedd3e24651f020a6bd09a0fbba5570aefb84933fdcbb14bf6f0a6e4ff9d3b37ad996b4c8
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.10
|
@@ -30,7 +30,6 @@ class StoreTasks < TaskHandler
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def save(collection, data)
|
33
|
-
puts "SAVE: #{data.inspect}"
|
34
33
|
data = data.symbolize_keys
|
35
34
|
values, errors = model_values_and_errors(collection, data)
|
36
35
|
|
@@ -42,7 +41,6 @@ class StoreTasks < TaskHandler
|
|
42
41
|
# TODO: Seems mongo is dumb and doesn't let you upsert with custom id's
|
43
42
|
begin
|
44
43
|
# values['_id'] = BSON::ObjectId('_id') if values['_id']
|
45
|
-
puts "VALUES: #{values.inspect}"
|
46
44
|
db[collection].insert(values)
|
47
45
|
rescue Mongo::OperationFailure => error
|
48
46
|
# Really mongo client?
|