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 CHANGED
@@ -71,7 +71,7 @@
71
71
  source 'http://rubygems.org'
72
72
 
73
73
  DATAMAPPER = 'git://github.com/datamapper'
74
- DM_VERSION = '~> 1.0.0.rc2'
74
+ DM_VERSION = '~> 1.0.0.rc3'
75
75
 
76
76
  group :runtime do # Runtime dependencies (as in the gemspec)
77
77
 
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009 John W Higgins
1
+ Copyright (c) 2010 John W Higgins
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
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/dm-more/tree/master/%s' % gem.name
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.rc2'
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.rc2
1
+ 1.0.0.rc3
@@ -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.rc2"
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-19}
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-more/tree/master/dm-ar-finders}
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.rc2"])
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.rc2"])
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.rc2"])
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.all.destroy!
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 be_true
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 be_true
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 be_true
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 be_false
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 be_false
210
+ found.query.reload?.should be(false)
211
211
  end
212
212
  end
213
213
 
data/spec/rcov.opts CHANGED
@@ -1,4 +1,4 @@
1
- --exclude "spec"
1
+ --exclude "spec,^/"
2
2
  --sort coverage
3
3
  --callsites
4
4
  --xrefs
data/tasks/spec.rake CHANGED
@@ -35,4 +35,7 @@ rescue LoadError
35
35
  end
36
36
  end
37
37
 
38
+ task :spec => :check_dependencies
39
+ task :rcov => :check_dependencies
40
+
38
41
  task :default => :spec
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: 977940575
4
+ hash: 977940572
5
5
  prerelease: true
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 0
10
- - rc2
11
- version: 1.0.0.rc2
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 00:00:00 -07:00
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: 977940575
30
+ hash: 977940572
31
31
  segments:
32
32
  - 1
33
33
  - 0
34
34
  - 0
35
- - rc2
36
- version: 1.0.0.rc2
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-more/tree/master/dm-ar-finders
83
+ homepage: http://github.com/datamapper/dm-ar-finders
84
84
  licenses: []
85
85
 
86
86
  post_install_message: