dm-ar-finders 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Rakefile +2 -1
- data/VERSION +1 -1
- data/dm-ar-finders.gemspec +5 -4
- data/lib/dm-ar-finders.rb +2 -2
- metadata +5 -5
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -12,10 +12,11 @@ begin
|
|
12
12
|
gem.email = 'john [a] wishVPS [d] com'
|
13
13
|
gem.homepage = 'http://github.com/datamapper/%s' % gem.name
|
14
14
|
gem.authors = [ 'John W Higgins' ]
|
15
|
+
gem.has_rdoc = 'yard'
|
15
16
|
|
16
17
|
gem.rubyforge_project = 'datamapper'
|
17
18
|
|
18
|
-
gem.add_dependency 'dm-core', '~> 1.0.
|
19
|
+
gem.add_dependency 'dm-core', '~> 1.0.2'
|
19
20
|
|
20
21
|
gem.add_development_dependency 'rspec', '~> 1.3'
|
21
22
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
data/dm-ar-finders.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{dm-ar-finders}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["John W Higgins"]
|
@@ -36,6 +36,7 @@ Gem::Specification.new do |s|
|
|
36
36
|
"tasks/yard.rake",
|
37
37
|
"tasks/yardstick.rake"
|
38
38
|
]
|
39
|
+
s.has_rdoc = %q{yard}
|
39
40
|
s.homepage = %q{http://github.com/datamapper/dm-ar-finders}
|
40
41
|
s.rdoc_options = ["--charset=UTF-8"]
|
41
42
|
s.require_paths = ["lib"]
|
@@ -52,14 +53,14 @@ Gem::Specification.new do |s|
|
|
52
53
|
s.specification_version = 3
|
53
54
|
|
54
55
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
55
|
-
s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.
|
56
|
+
s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.2"])
|
56
57
|
s.add_development_dependency(%q<rspec>, ["~> 1.3"])
|
57
58
|
else
|
58
|
-
s.add_dependency(%q<dm-core>, ["~> 1.0.
|
59
|
+
s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
|
59
60
|
s.add_dependency(%q<rspec>, ["~> 1.3"])
|
60
61
|
end
|
61
62
|
else
|
62
|
-
s.add_dependency(%q<dm-core>, ["~> 1.0.
|
63
|
+
s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
|
63
64
|
s.add_dependency(%q<rspec>, ["~> 1.3"])
|
64
65
|
end
|
65
66
|
end
|
data/lib/dm-ar-finders.rb
CHANGED
@@ -140,8 +140,8 @@ module DataMapper
|
|
140
140
|
Collection.new(query, query.model.load(records, query))
|
141
141
|
end
|
142
142
|
|
143
|
-
|
144
|
-
|
143
|
+
alias_method :find_or_create, :first_or_create
|
144
|
+
alias_method :find_or_initialize, :first_or_new
|
145
145
|
|
146
146
|
private
|
147
147
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
8
|
+
- 2
|
9
|
+
version: 1.0.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- John W Higgins
|
@@ -28,8 +28,8 @@ dependencies:
|
|
28
28
|
segments:
|
29
29
|
- 1
|
30
30
|
- 0
|
31
|
-
-
|
32
|
-
version: 1.0.
|
31
|
+
- 2
|
32
|
+
version: 1.0.2
|
33
33
|
type: :runtime
|
34
34
|
version_requirements: *id001
|
35
35
|
- !ruby/object:Gem::Dependency
|
@@ -74,7 +74,7 @@ files:
|
|
74
74
|
- tasks/spec.rake
|
75
75
|
- tasks/yard.rake
|
76
76
|
- tasks/yardstick.rake
|
77
|
-
has_rdoc:
|
77
|
+
has_rdoc: yard
|
78
78
|
homepage: http://github.com/datamapper/dm-ar-finders
|
79
79
|
licenses: []
|
80
80
|
|