dm-ar-finders 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/LICENSE +1 -1
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/dm-ar-finders.gemspec +6 -6
- data/spec/integration/ar-finders_spec.rb +6 -6
- data/spec/rcov.opts +1 -1
- data/tasks/spec.rake +3 -0
- metadata +8 -8
data/Gemfile
CHANGED
data/LICENSE
CHANGED
data/Rakefile
CHANGED
@@ -10,12 +10,12 @@ begin
|
|
10
10
|
gem.summary = 'DataMapper plugin providing ActiveRecord-style finders'
|
11
11
|
gem.description = gem.summary
|
12
12
|
gem.email = 'john [a] wishVPS [d] com'
|
13
|
-
gem.homepage = 'http://github.com/datamapper
|
13
|
+
gem.homepage = 'http://github.com/datamapper/%s' % gem.name
|
14
14
|
gem.authors = [ 'John W Higgins' ]
|
15
15
|
|
16
16
|
gem.rubyforge_project = 'datamapper'
|
17
17
|
|
18
|
-
gem.add_dependency 'dm-core', '~> 1.0.0.
|
18
|
+
gem.add_dependency 'dm-core', '~> 1.0.0.rc3'
|
19
19
|
|
20
20
|
gem.add_development_dependency 'rspec', '~> 1.3'
|
21
21
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.0.
|
1
|
+
1.0.0.rc3
|
data/dm-ar-finders.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{dm-ar-finders}
|
8
|
-
s.version = "1.0.0.
|
8
|
+
s.version = "1.0.0.rc3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["John W Higgins"]
|
12
|
-
s.date = %q{2010-05-
|
12
|
+
s.date = %q{2010-05-27}
|
13
13
|
s.description = %q{DataMapper plugin providing ActiveRecord-style finders}
|
14
14
|
s.email = %q{john [a] wishVPS [d] com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
|
|
36
36
|
"tasks/yard.rake",
|
37
37
|
"tasks/yardstick.rake"
|
38
38
|
]
|
39
|
-
s.homepage = %q{http://github.com/datamapper/dm-
|
39
|
+
s.homepage = %q{http://github.com/datamapper/dm-ar-finders}
|
40
40
|
s.rdoc_options = ["--charset=UTF-8"]
|
41
41
|
s.require_paths = ["lib"]
|
42
42
|
s.rubyforge_project = %q{datamapper}
|
@@ -52,14 +52,14 @@ Gem::Specification.new do |s|
|
|
52
52
|
s.specification_version = 3
|
53
53
|
|
54
54
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
55
|
-
s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.0.
|
55
|
+
s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.0.rc3"])
|
56
56
|
s.add_development_dependency(%q<rspec>, ["~> 1.3"])
|
57
57
|
else
|
58
|
-
s.add_dependency(%q<dm-core>, ["~> 1.0.0.
|
58
|
+
s.add_dependency(%q<dm-core>, ["~> 1.0.0.rc3"])
|
59
59
|
s.add_dependency(%q<rspec>, ["~> 1.3"])
|
60
60
|
end
|
61
61
|
else
|
62
|
-
s.add_dependency(%q<dm-core>, ["~> 1.0.0.
|
62
|
+
s.add_dependency(%q<dm-core>, ["~> 1.0.0.rc3"])
|
63
63
|
s.add_dependency(%q<rspec>, ["~> 1.3"])
|
64
64
|
end
|
65
65
|
end
|
@@ -11,7 +11,7 @@ describe "DataMapper::Resource" do
|
|
11
11
|
end
|
12
12
|
|
13
13
|
after do
|
14
|
-
GreenSmoothie.
|
14
|
+
GreenSmoothie.destroy!
|
15
15
|
end
|
16
16
|
|
17
17
|
supported_by :all do
|
@@ -39,7 +39,7 @@ describe "DataMapper::Resource" do
|
|
39
39
|
found_records = GreenSmoothie.find_all_by_name('Banana')
|
40
40
|
found_records.length.should == 2
|
41
41
|
found_records.each do |found_record|
|
42
|
-
[green_smoothie, green_smoothie2].include?(found_record).should
|
42
|
+
[green_smoothie, green_smoothie2].include?(found_record).should be(true)
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
@@ -57,7 +57,7 @@ describe "DataMapper::Resource" do
|
|
57
57
|
found_records = GreenSmoothie.find(:all)
|
58
58
|
found_records.length.should == 2
|
59
59
|
found_records.each do |found_record|
|
60
|
-
[@green_smoothie, @green_smoothie2].include?(found_record).should
|
60
|
+
[@green_smoothie, @green_smoothie2].include?(found_record).should be(true)
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
@@ -191,7 +191,7 @@ describe "DataMapper::Resource" do
|
|
191
191
|
SELECT id, name FROM green_smoothies LIMIT 1
|
192
192
|
SQL
|
193
193
|
|
194
|
-
found.query.reload?.should
|
194
|
+
found.query.reload?.should be(true)
|
195
195
|
end
|
196
196
|
|
197
197
|
it 'should not reload existing resources in the identity map if given false' do
|
@@ -199,7 +199,7 @@ describe "DataMapper::Resource" do
|
|
199
199
|
SELECT id, name FROM green_smoothies LIMIT 1
|
200
200
|
SQL
|
201
201
|
|
202
|
-
found.query.reload?.should
|
202
|
+
found.query.reload?.should be(false)
|
203
203
|
end
|
204
204
|
|
205
205
|
it 'should default to false' do
|
@@ -207,7 +207,7 @@ describe "DataMapper::Resource" do
|
|
207
207
|
SELECT id, name FROM green_smoothies LIMIT 1
|
208
208
|
SQL
|
209
209
|
|
210
|
-
found.query.reload?.should
|
210
|
+
found.query.reload?.should be(false)
|
211
211
|
end
|
212
212
|
end
|
213
213
|
|
data/spec/rcov.opts
CHANGED
data/tasks/spec.rake
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dm-ar-finders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 977940572
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
version: 1.0.0.
|
10
|
+
- rc3
|
11
|
+
version: 1.0.0.rc3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- John W Higgins
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-05-
|
19
|
+
date: 2010-05-27 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -27,13 +27,13 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
hash:
|
30
|
+
hash: 977940572
|
31
31
|
segments:
|
32
32
|
- 1
|
33
33
|
- 0
|
34
34
|
- 0
|
35
|
-
-
|
36
|
-
version: 1.0.0.
|
35
|
+
- rc3
|
36
|
+
version: 1.0.0.rc3
|
37
37
|
type: :runtime
|
38
38
|
version_requirements: *id001
|
39
39
|
- !ruby/object:Gem::Dependency
|
@@ -80,7 +80,7 @@ files:
|
|
80
80
|
- tasks/yard.rake
|
81
81
|
- tasks/yardstick.rake
|
82
82
|
has_rdoc: true
|
83
|
-
homepage: http://github.com/datamapper/dm-
|
83
|
+
homepage: http://github.com/datamapper/dm-ar-finders
|
84
84
|
licenses: []
|
85
85
|
|
86
86
|
post_install_message:
|