activerecord 3.0.10.rc1 → 3.0.10

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activerecord might be problematic. Click here for more details.

@@ -199,7 +199,7 @@ module ActiveRecord
199
199
  end
200
200
 
201
201
  def quote_column_name(name) #:nodoc:
202
- @quoted_column_names[name] ||= "`#{name}`"
202
+ @quoted_column_names[name] ||= "`#{name.to_s.gsub('`', '``')}`"
203
203
  end
204
204
 
205
205
  def quote_table_name(name) #:nodoc:
@@ -115,7 +115,7 @@ module ActiveRecord
115
115
  end
116
116
 
117
117
  def quote_column_name(name) #:nodoc:
118
- %Q("#{name}")
118
+ %Q("#{name.to_s.gsub('"', '""')}")
119
119
  end
120
120
 
121
121
  # Quote date/time values for use in SQL input. Includes microseconds
@@ -3,7 +3,7 @@ module ActiveRecord
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
5
  TINY = 10
6
- PRE = "rc1"
6
+ PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: true
4
+ hash: 19
5
+ prerelease:
5
6
  segments:
6
7
  - 3
7
8
  - 0
8
9
  - 10
9
- - rc1
10
- version: 3.0.10.rc1
10
+ version: 3.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Heinemeier Hansson
@@ -15,46 +15,49 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-04 00:00:00 -07:00
19
- default_executable:
18
+ date: 2011-08-16 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: activesupport
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
25
  requirements:
26
26
  - - "="
27
27
  - !ruby/object:Gem::Version
28
+ hash: 19
28
29
  segments:
29
30
  - 3
30
31
  - 0
31
32
  - 10
32
- - rc1
33
- version: 3.0.10.rc1
33
+ version: 3.0.10
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: activemodel
38
38
  prerelease: false
39
39
  requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
40
41
  requirements:
41
42
  - - "="
42
43
  - !ruby/object:Gem::Version
44
+ hash: 19
43
45
  segments:
44
46
  - 3
45
47
  - 0
46
48
  - 10
47
- - rc1
48
- version: 3.0.10.rc1
49
+ version: 3.0.10
49
50
  type: :runtime
50
51
  version_requirements: *id002
51
52
  - !ruby/object:Gem::Dependency
52
53
  name: arel
53
54
  prerelease: false
54
55
  requirement: &id003 !ruby/object:Gem::Requirement
56
+ none: false
55
57
  requirements:
56
58
  - - ~>
57
59
  - !ruby/object:Gem::Version
60
+ hash: 27
58
61
  segments:
59
62
  - 2
60
63
  - 0
@@ -66,9 +69,11 @@ dependencies:
66
69
  name: tzinfo
67
70
  prerelease: false
68
71
  requirement: &id004 !ruby/object:Gem::Requirement
72
+ none: false
69
73
  requirements:
70
74
  - - ~>
71
75
  - !ruby/object:Gem::Version
76
+ hash: 61
72
77
  segments:
73
78
  - 0
74
79
  - 3
@@ -179,7 +184,6 @@ files:
179
184
  - lib/rails/generators/active_record/session_migration/session_migration_generator.rb
180
185
  - lib/rails/generators/active_record/session_migration/templates/migration.rb
181
186
  - lib/rails/generators/active_record.rb
182
- has_rdoc: true
183
187
  homepage: http://www.rubyonrails.org
184
188
  licenses: []
185
189
 
@@ -190,27 +194,29 @@ rdoc_options:
190
194
  require_paths:
191
195
  - lib
192
196
  required_ruby_version: !ruby/object:Gem::Requirement
197
+ none: false
193
198
  requirements:
194
199
  - - ">="
195
200
  - !ruby/object:Gem::Version
201
+ hash: 57
196
202
  segments:
197
203
  - 1
198
204
  - 8
199
205
  - 7
200
206
  version: 1.8.7
201
207
  required_rubygems_version: !ruby/object:Gem::Requirement
208
+ none: false
202
209
  requirements:
203
- - - ">"
210
+ - - ">="
204
211
  - !ruby/object:Gem::Version
212
+ hash: 3
205
213
  segments:
206
- - 1
207
- - 3
208
- - 1
209
- version: 1.3.1
214
+ - 0
215
+ version: "0"
210
216
  requirements: []
211
217
 
212
218
  rubyforge_project: activerecord
213
- rubygems_version: 1.3.6
219
+ rubygems_version: 1.8.8
214
220
  signing_key:
215
221
  specification_version: 3
216
222
  summary: Object-relational mapper framework (part of Rails).