fixturize 0.1.16 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fixturize.rb +1 -1
- 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: afbaa58728b7dba09a42899cc8fb08675a35346e
|
4
|
+
data.tar.gz: e9110c4d143028307448a24f2f1ee9a70c7b27c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e60677cc72c63f5cfb9b86d6ef0fc55ad4a163072e3df87f87feac49c0999b5f54563e823f60515b8e56be8e3800603a593115d8544cb0529e3b73b4f75f6ff4
|
7
|
+
data.tar.gz: 699c11fbfb49654d50e782cb0e04c528045e1c292b3dc8196d049edb6ef12947640f652b78c324a908bd810374f8ea885bd2f02a406349d5c3719d29653285a4
|
data/lib/fixturize.rb
CHANGED
@@ -120,7 +120,7 @@ class Fixturize
|
|
120
120
|
|
121
121
|
all_instrumentations = collection.
|
122
122
|
find({ :name => name }).
|
123
|
-
sort({ :
|
123
|
+
sort({ :_id => Mongo::ASCENDING }).
|
124
124
|
to_a
|
125
125
|
|
126
126
|
db_instrumentations = all_instrumentations.select { |i| i['type'] == INSTRUMENT_DATABASE }
|