pickle 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/README.rdoc +1 -0
- data/VERSION +1 -1
- data/lib/pickle/adapters/mongoid.rb +3 -3
- data/pickle.gemspec +2 -2
- metadata +4 -4
data/History.txt
CHANGED
data/README.rdoc
CHANGED
@@ -347,6 +347,7 @@ To run the features (rails 2.3 only ATM):
|
|
347
347
|
|
348
348
|
The following people have made Pickle better:
|
349
349
|
|
350
|
+
* {Marc Lee}[http://github.com/maleko]
|
350
351
|
* {Sebastian Zuchmanski}[http://github.com/sebcioz]
|
351
352
|
* {Paul Gideon Dann}[http://github.com/giddie]
|
352
353
|
* {Tom Meier}[http://github.com/tommeier]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.2
|
@@ -27,14 +27,14 @@ module Mongoid
|
|
27
27
|
|
28
28
|
# Find the first instance matching conditions
|
29
29
|
def self.find_first_model(klass, conditions)
|
30
|
-
klass.first(conditions)
|
30
|
+
klass.first(:conditions => conditions)
|
31
31
|
end
|
32
32
|
|
33
33
|
# Find all models matching conditions
|
34
34
|
def self.find_all_models(klass, conditions)
|
35
|
-
klass.all(conditions)
|
35
|
+
klass.all(:conditions => conditions)
|
36
36
|
end
|
37
|
-
|
37
|
+
|
38
38
|
# Create a model with given attributes
|
39
39
|
def self.create_model(klass, attributes)
|
40
40
|
klass.create!(attributes)
|
data/pickle.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{pickle}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ian White"]
|
12
|
-
s.date = %q{2010-08-
|
12
|
+
s.date = %q{2010-08-23}
|
13
13
|
s.description = %q{Easy model creation and reference in your cucumber features}
|
14
14
|
s.email = %q{ian.w.white@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pickle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 2
|
10
|
+
version: 0.4.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ian White
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-08-
|
18
|
+
date: 2010-08-23 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|