dm-ar-finders 1.2.0.rc2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ source 'http://rubygems.org'
5
5
  SOURCE = ENV.fetch('SOURCE', :git).to_sym
6
6
  REPO_POSTFIX = SOURCE == :path ? '' : '.git'
7
7
  DATAMAPPER = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'http://github.com/datamapper'
8
- DM_VERSION = '~> 1.2.0.rc2'
8
+ DM_VERSION = '~> 1.2.0'
9
9
  DO_VERSION = '~> 0.10.6'
10
10
  DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
11
11
  CURRENT_BRANCH = ENV.fetch('GIT_BRANCH', 'master')
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0.rc2
1
+ 1.2.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dm-ar-finders"
8
- s.version = "1.2.0.rc2"
8
+ s.version = "1.2.0"
9
9
 
10
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["John W Higgins"]
12
- s.date = "2011-09-14"
12
+ s.date = "2011-10-09"
13
13
  s.description = "DataMapper plugin providing ActiveRecord-style finders"
14
14
  s.email = "john [a] wishVPS [d] com"
15
15
  s.extra_rdoc_files = [
@@ -35,25 +35,25 @@ Gem::Specification.new do |s|
35
35
  s.homepage = "http://github.com/datamapper/dm-ar-finders"
36
36
  s.require_paths = ["lib"]
37
37
  s.rubyforge_project = "datamapper"
38
- s.rubygems_version = "1.8.10"
38
+ s.rubygems_version = "1.8.11"
39
39
  s.summary = "DataMapper plugin providing ActiveRecord-style finders"
40
40
 
41
41
  if s.respond_to? :specification_version then
42
42
  s.specification_version = 3
43
43
 
44
44
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
45
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.2.0.rc2"])
45
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.2.0"])
46
46
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
47
47
  s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
48
48
  s.add_development_dependency(%q<rspec>, ["~> 1.3.2"])
49
49
  else
50
- s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc2"])
50
+ s.add_dependency(%q<dm-core>, ["~> 1.2.0"])
51
51
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
52
52
  s.add_dependency(%q<rake>, ["~> 0.9.2"])
53
53
  s.add_dependency(%q<rspec>, ["~> 1.3.2"])
54
54
  end
55
55
  else
56
- s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc2"])
56
+ s.add_dependency(%q<dm-core>, ["~> 1.2.0"])
57
57
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
58
58
  s.add_dependency(%q<rake>, ["~> 0.9.2"])
59
59
  s.add_dependency(%q<rspec>, ["~> 1.3.2"])
@@ -92,7 +92,7 @@ module DataMapper
92
92
  when String
93
93
  sql, bind_values = sql_or_query, []
94
94
  when DataMapper::Query
95
- sql, bind_values = repository.adapter.send(:select_statement, query)
95
+ sql, bind_values = repository.adapter.send(:select_statement, sql_or_query)
96
96
  else
97
97
  raise ArgumentError, '#find_by_sql requires a query of some kind to work'
98
98
  end
metadata CHANGED
@@ -1,15 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-ar-finders
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15424017
5
- prerelease: 6
4
+ hash: 31
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
9
  - 0
10
- - rc
11
- - 2
12
- version: 1.2.0.rc2
10
+ version: 1.2.0
13
11
  platform: ruby
14
12
  authors:
15
13
  - John W Higgins
@@ -17,28 +15,26 @@ autorequire:
17
15
  bindir: bin
18
16
  cert_chain: []
19
17
 
20
- date: 2011-09-21 00:00:00 Z
18
+ date: 2011-10-09 00:00:00 Z
21
19
  dependencies:
22
20
  - !ruby/object:Gem::Dependency
23
- type: :runtime
21
+ name: dm-core
24
22
  prerelease: false
25
23
  requirement: &id001 !ruby/object:Gem::Requirement
26
24
  none: false
27
25
  requirements:
28
26
  - - ~>
29
27
  - !ruby/object:Gem::Version
30
- hash: 15424017
28
+ hash: 31
31
29
  segments:
32
30
  - 1
33
31
  - 2
34
32
  - 0
35
- - rc
36
- - 2
37
- version: 1.2.0.rc2
33
+ version: 1.2.0
34
+ type: :runtime
38
35
  version_requirements: *id001
39
- name: dm-core
40
36
  - !ruby/object:Gem::Dependency
41
- type: :development
37
+ name: jeweler
42
38
  prerelease: false
43
39
  requirement: &id002 !ruby/object:Gem::Requirement
44
40
  none: false
@@ -51,10 +47,10 @@ dependencies:
51
47
  - 6
52
48
  - 4
53
49
  version: 1.6.4
50
+ type: :development
54
51
  version_requirements: *id002
55
- name: jeweler
56
52
  - !ruby/object:Gem::Dependency
57
- type: :development
53
+ name: rake
58
54
  prerelease: false
59
55
  requirement: &id003 !ruby/object:Gem::Requirement
60
56
  none: false
@@ -67,10 +63,10 @@ dependencies:
67
63
  - 9
68
64
  - 2
69
65
  version: 0.9.2
66
+ type: :development
70
67
  version_requirements: *id003
71
- name: rake
72
68
  - !ruby/object:Gem::Dependency
73
- type: :development
69
+ name: rspec
74
70
  prerelease: false
75
71
  requirement: &id004 !ruby/object:Gem::Requirement
76
72
  none: false
@@ -83,8 +79,8 @@ dependencies:
83
79
  - 3
84
80
  - 2
85
81
  version: 1.3.2
82
+ type: :development
86
83
  version_requirements: *id004
87
- name: rspec
88
84
  description: DataMapper plugin providing ActiveRecord-style finders
89
85
  email: john [a] wishVPS [d] com
90
86
  executables: []
@@ -129,18 +125,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
125
  required_rubygems_version: !ruby/object:Gem::Requirement
130
126
  none: false
131
127
  requirements:
132
- - - ">"
128
+ - - ">="
133
129
  - !ruby/object:Gem::Version
134
- hash: 25
130
+ hash: 3
135
131
  segments:
136
- - 1
137
- - 3
138
- - 1
139
- version: 1.3.1
132
+ - 0
133
+ version: "0"
140
134
  requirements: []
141
135
 
142
136
  rubyforge_project: datamapper
143
- rubygems_version: 1.8.10
137
+ rubygems_version: 1.8.11
144
138
  signing_key:
145
139
  specification_version: 3
146
140
  summary: DataMapper plugin providing ActiveRecord-style finders