fixturize 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fixturize.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
M2Q5YTIyMzVlNTNiNGMzMzlhMGU4YmE4MTM4MDhkOWVhNmMyNTJkYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGI2NDFlYzgzZmVjMGIwMjZlOWYyNzQwMDZmNTc5OTk0ZTJjMzE5Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjBiNmM5NDIyYTkwZTliMTczZDJhMDdhZDUwODVlZGZkYjVlYjgyNDU4MDM1
|
10
|
+
YjhjMTBjZjVjOGUwZTU4ZTEyMjA3YmI4MjNiY2VhODZiZTQ3MGIyYTQ3YTFl
|
11
|
+
MDRkMGYzNjVjYzQ2MmZiYTBmNzU3NGI1MGFjYjE2NmYwODllMDA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDNjNTA2YmQ2OTA3N2IwM2VmMWI4NjFhYmQ1OThkOTBkYjZhODkzZWJmY2Qw
|
14
|
+
MTVhMDI0ZDRhYjlhNzgyNDE1OTZiNmQyMTg4MTIzMjAwYWZkNTY2NWM2MTg3
|
15
|
+
NWJlMDk1OGVhY2Q4ZTJmNzNkOGRiOTA2NTIxMzA0MzFlMzU0Zjg=
|
data/lib/fixturize.rb
CHANGED
@@ -56,10 +56,10 @@ class Fixturize
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def clear_old_versions!
|
59
|
-
database.collections.
|
60
|
-
|
61
|
-
|
62
|
-
|
59
|
+
database.collections.select do |c|
|
60
|
+
c.name =~ /fixturize_/ && c.name != self.collection_name
|
61
|
+
end.each do |c|
|
62
|
+
c.drop
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fixturize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Taylor
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-03-24 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: fixturize your mongo(mapper) tests inline by caching blocks of created
|
15
15
|
objects
|
@@ -41,7 +41,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
41
41
|
version: '0'
|
42
42
|
requirements: []
|
43
43
|
rubyforge_project:
|
44
|
-
rubygems_version: 2.
|
44
|
+
rubygems_version: 2.4.5
|
45
45
|
signing_key:
|
46
46
|
specification_version: 4
|
47
47
|
summary: fixturize your mongo tests inline
|