activerecord 3.0.6 → 3.0.7.rc1

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.

Files changed (74) hide show
  1. data/CHANGELOG +7 -1
  2. data/lib/active_record.rbc +1825 -0
  3. data/lib/active_record/aggregations.rbc +2173 -0
  4. data/lib/active_record/association_preload.rbc +8379 -0
  5. data/lib/active_record/associations.rbc +25180 -0
  6. data/lib/active_record/associations/association_collection.rbc +11174 -0
  7. data/lib/active_record/associations/association_proxy.rbc +4435 -0
  8. data/lib/active_record/associations/belongs_to_association.rbc +1867 -0
  9. data/lib/active_record/associations/belongs_to_polymorphic_association.rbc +1718 -0
  10. data/lib/active_record/associations/has_many_association.rbc +2553 -0
  11. data/lib/active_record/associations/has_many_through_association.rbc +2381 -0
  12. data/lib/active_record/associations/has_one_association.rbc +2919 -0
  13. data/lib/active_record/associations/through_association_scope.rbc +3411 -0
  14. data/lib/active_record/attribute_methods.rbc +1473 -0
  15. data/lib/active_record/attribute_methods/before_type_cast.rbc +700 -0
  16. data/lib/active_record/attribute_methods/dirty.rbc +1627 -0
  17. data/lib/active_record/attribute_methods/primary_key.rb +6 -0
  18. data/lib/active_record/attribute_methods/primary_key.rbc +1017 -0
  19. data/lib/active_record/attribute_methods/query.rbc +786 -0
  20. data/lib/active_record/attribute_methods/read.rb +5 -3
  21. data/lib/active_record/attribute_methods/read.rbc +2614 -0
  22. data/lib/active_record/attribute_methods/time_zone_conversion.rbc +1148 -0
  23. data/lib/active_record/attribute_methods/write.rbc +998 -0
  24. data/lib/active_record/autosave_association.rbc +4143 -0
  25. data/lib/active_record/base.rb +2 -1
  26. data/lib/active_record/base.rbc +23583 -0
  27. data/lib/active_record/callbacks.rbc +1562 -0
  28. data/lib/active_record/connection_adapters/abstract/connection_pool.rbc +5041 -0
  29. data/lib/active_record/connection_adapters/abstract/connection_specification.rbc +1752 -0
  30. data/lib/active_record/connection_adapters/abstract/database_limits.rbc +877 -0
  31. data/lib/active_record/connection_adapters/abstract/database_statements.rbc +4704 -0
  32. data/lib/active_record/connection_adapters/abstract/query_cache.rbc +1519 -0
  33. data/lib/active_record/connection_adapters/abstract/quoting.rbc +1566 -0
  34. data/lib/active_record/connection_adapters/abstract/schema_definitions.rbc +10452 -0
  35. data/lib/active_record/connection_adapters/abstract/schema_statements.rbc +6987 -0
  36. data/lib/active_record/connection_adapters/abstract_adapter.rbc +2890 -0
  37. data/lib/active_record/connection_adapters/postgresql_adapter.rbc +16913 -0
  38. data/lib/active_record/connection_adapters/sqlite3_adapter.rbc +1265 -0
  39. data/lib/active_record/connection_adapters/sqlite_adapter.rbc +0 -0
  40. data/lib/active_record/counter_cache.rbc +1191 -0
  41. data/lib/active_record/dynamic_finder_match.rbc +1091 -0
  42. data/lib/active_record/dynamic_scope_match.rbc +514 -0
  43. data/lib/active_record/errors.rbc +1077 -0
  44. data/lib/active_record/locking/optimistic.rbc +2281 -0
  45. data/lib/active_record/locking/pessimistic.rbc +384 -0
  46. data/lib/active_record/log_subscriber.rbc +1055 -0
  47. data/lib/active_record/migration.rbc +8513 -0
  48. data/lib/active_record/named_scope.rbc +1347 -0
  49. data/lib/active_record/nested_attributes.rb +1 -0
  50. data/lib/active_record/nested_attributes.rbc +3599 -0
  51. data/lib/active_record/observer.rbc +941 -0
  52. data/lib/active_record/persistence.rbc +3631 -0
  53. data/lib/active_record/query_cache.rbc +760 -0
  54. data/lib/active_record/railtie.rbc +2109 -0
  55. data/lib/active_record/railties/controller_runtime.rbc +838 -0
  56. data/lib/active_record/reflection.rbc +6897 -0
  57. data/lib/active_record/relation.rbc +6006 -0
  58. data/lib/active_record/relation/batches.rb +1 -1
  59. data/lib/active_record/relation/batches.rbc +1078 -0
  60. data/lib/active_record/relation/calculations.rbc +4012 -0
  61. data/lib/active_record/relation/finder_methods.rb +14 -6
  62. data/lib/active_record/relation/finder_methods.rbc +5264 -0
  63. data/lib/active_record/relation/query_methods.rbc +6458 -0
  64. data/lib/active_record/relation/spawn_methods.rbc +3034 -0
  65. data/lib/active_record/serialization.rbc +1302 -0
  66. data/lib/active_record/serializers/xml_serializer.rbc +1866 -0
  67. data/lib/active_record/timestamp.rbc +1354 -0
  68. data/lib/active_record/transactions.rbc +3348 -0
  69. data/lib/active_record/validations.rbc +1597 -0
  70. data/lib/active_record/validations/associated.rbc +681 -0
  71. data/lib/active_record/validations/uniqueness.rbc +1803 -0
  72. data/lib/active_record/version.rb +2 -2
  73. data/lib/active_record/version.rbc +295 -0
  74. metadata +89 -16
@@ -2,8 +2,8 @@ module ActiveRecord
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
- TINY = 6
6
- PRE = nil
5
+ TINY = 7
6
+ PRE = "rc1"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
@@ -0,0 +1,295 @@
1
+ !RBIX
2
+ 12079494195756429234
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 28
13
+ 99
14
+ 7
15
+ 0
16
+ 65
17
+ 49
18
+ 1
19
+ 2
20
+ 13
21
+ 99
22
+ 12
23
+ 7
24
+ 2
25
+ 12
26
+ 7
27
+ 3
28
+ 12
29
+ 65
30
+ 12
31
+ 49
32
+ 4
33
+ 4
34
+ 15
35
+ 49
36
+ 2
37
+ 0
38
+ 15
39
+ 2
40
+ 11
41
+ I
42
+ 6
43
+ I
44
+ 0
45
+ I
46
+ 0
47
+ I
48
+ 0
49
+ n
50
+ p
51
+ 5
52
+ x
53
+ 12
54
+ ActiveRecord
55
+ x
56
+ 11
57
+ open_module
58
+ x
59
+ 15
60
+ __module_init__
61
+ M
62
+ 1
63
+ n
64
+ n
65
+ x
66
+ 12
67
+ ActiveRecord
68
+ i
69
+ 28
70
+ 5
71
+ 66
72
+ 99
73
+ 7
74
+ 0
75
+ 65
76
+ 49
77
+ 1
78
+ 2
79
+ 13
80
+ 99
81
+ 12
82
+ 7
83
+ 2
84
+ 12
85
+ 7
86
+ 3
87
+ 12
88
+ 65
89
+ 12
90
+ 49
91
+ 4
92
+ 4
93
+ 15
94
+ 49
95
+ 2
96
+ 0
97
+ 11
98
+ I
99
+ 6
100
+ I
101
+ 0
102
+ I
103
+ 0
104
+ I
105
+ 0
106
+ n
107
+ p
108
+ 5
109
+ x
110
+ 7
111
+ VERSION
112
+ x
113
+ 11
114
+ open_module
115
+ x
116
+ 15
117
+ __module_init__
118
+ M
119
+ 1
120
+ n
121
+ n
122
+ x
123
+ 7
124
+ VERSION
125
+ i
126
+ 66
127
+ 5
128
+ 66
129
+ 65
130
+ 7
131
+ 0
132
+ 4
133
+ 3
134
+ 49
135
+ 1
136
+ 2
137
+ 15
138
+ 65
139
+ 7
140
+ 2
141
+ 78
142
+ 49
143
+ 1
144
+ 2
145
+ 15
146
+ 65
147
+ 7
148
+ 3
149
+ 4
150
+ 6
151
+ 49
152
+ 1
153
+ 2
154
+ 15
155
+ 65
156
+ 7
157
+ 4
158
+ 1
159
+ 49
160
+ 1
161
+ 2
162
+ 15
163
+ 65
164
+ 7
165
+ 5
166
+ 45
167
+ 0
168
+ 6
169
+ 45
170
+ 2
171
+ 7
172
+ 45
173
+ 3
174
+ 8
175
+ 45
176
+ 4
177
+ 9
178
+ 35
179
+ 4
180
+ 49
181
+ 10
182
+ 0
183
+ 7
184
+ 11
185
+ 64
186
+ 49
187
+ 12
188
+ 1
189
+ 49
190
+ 1
191
+ 2
192
+ 11
193
+ I
194
+ 6
195
+ I
196
+ 0
197
+ I
198
+ 0
199
+ I
200
+ 0
201
+ n
202
+ p
203
+ 13
204
+ x
205
+ 5
206
+ MAJOR
207
+ x
208
+ 9
209
+ const_set
210
+ x
211
+ 5
212
+ MINOR
213
+ x
214
+ 4
215
+ TINY
216
+ x
217
+ 3
218
+ PRE
219
+ x
220
+ 6
221
+ STRING
222
+ n
223
+ n
224
+ n
225
+ n
226
+ x
227
+ 7
228
+ compact
229
+ s
230
+ 1
231
+ .
232
+ x
233
+ 4
234
+ join
235
+ p
236
+ 11
237
+ I
238
+ 2
239
+ I
240
+ 3
241
+ I
242
+ b
243
+ I
244
+ 4
245
+ I
246
+ 13
247
+ I
248
+ 5
249
+ I
250
+ 1c
251
+ I
252
+ 6
253
+ I
254
+ 24
255
+ I
256
+ 8
257
+ I
258
+ 42
259
+ x
260
+ 78
261
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/version.rb
262
+ p
263
+ 0
264
+ x
265
+ 13
266
+ attach_method
267
+ p
268
+ 3
269
+ I
270
+ 2
271
+ I
272
+ 2
273
+ I
274
+ 1c
275
+ x
276
+ 78
277
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/version.rb
278
+ p
279
+ 0
280
+ x
281
+ 13
282
+ attach_method
283
+ p
284
+ 3
285
+ I
286
+ 0
287
+ I
288
+ 1
289
+ I
290
+ 1c
291
+ x
292
+ 78
293
+ /Users/santiago/WyeWorks/Projs/rails/activerecord/lib/active_record/version.rb
294
+ p
295
+ 0
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
5
- prerelease:
4
+ hash: 15424079
5
+ prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 6
10
- version: 3.0.6
9
+ - 7
10
+ - rc
11
+ - 1
12
+ version: 3.0.7.rc1
11
13
  platform: ruby
12
14
  authors:
13
15
  - David Heinemeier Hansson
@@ -15,7 +17,7 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2011-04-05 00:00:00 -07:00
20
+ date: 2011-04-14 00:00:00 -03:00
19
21
  default_executable:
20
22
  dependencies:
21
23
  - !ruby/object:Gem::Dependency
@@ -26,12 +28,14 @@ dependencies:
26
28
  requirements:
27
29
  - - "="
28
30
  - !ruby/object:Gem::Version
29
- hash: 11
31
+ hash: 15424079
30
32
  segments:
31
33
  - 3
32
34
  - 0
33
- - 6
34
- version: 3.0.6
35
+ - 7
36
+ - rc
37
+ - 1
38
+ version: 3.0.7.rc1
35
39
  type: :runtime
36
40
  version_requirements: *id001
37
41
  - !ruby/object:Gem::Dependency
@@ -42,12 +46,14 @@ dependencies:
42
46
  requirements:
43
47
  - - "="
44
48
  - !ruby/object:Gem::Version
45
- hash: 11
49
+ hash: 15424079
46
50
  segments:
47
51
  - 3
48
52
  - 0
49
- - 6
50
- version: 3.0.6
53
+ - 7
54
+ - rc
55
+ - 1
56
+ version: 3.0.7.rc1
51
57
  type: :runtime
52
58
  version_requirements: *id002
53
59
  - !ruby/object:Gem::Dependency
@@ -97,81 +103,146 @@ files:
97
103
  - examples/performance.rb
98
104
  - examples/simple.rb
99
105
  - lib/active_record/aggregations.rb
106
+ - lib/active_record/aggregations.rbc
100
107
  - lib/active_record/association_preload.rb
108
+ - lib/active_record/association_preload.rbc
101
109
  - lib/active_record/associations/association_collection.rb
110
+ - lib/active_record/associations/association_collection.rbc
102
111
  - lib/active_record/associations/association_proxy.rb
112
+ - lib/active_record/associations/association_proxy.rbc
103
113
  - lib/active_record/associations/belongs_to_association.rb
114
+ - lib/active_record/associations/belongs_to_association.rbc
104
115
  - lib/active_record/associations/belongs_to_polymorphic_association.rb
116
+ - lib/active_record/associations/belongs_to_polymorphic_association.rbc
105
117
  - lib/active_record/associations/has_and_belongs_to_many_association.rb
106
118
  - lib/active_record/associations/has_many_association.rb
119
+ - lib/active_record/associations/has_many_association.rbc
107
120
  - lib/active_record/associations/has_many_through_association.rb
121
+ - lib/active_record/associations/has_many_through_association.rbc
108
122
  - lib/active_record/associations/has_one_association.rb
123
+ - lib/active_record/associations/has_one_association.rbc
109
124
  - lib/active_record/associations/has_one_through_association.rb
110
125
  - lib/active_record/associations/through_association_scope.rb
126
+ - lib/active_record/associations/through_association_scope.rbc
111
127
  - lib/active_record/associations.rb
128
+ - lib/active_record/associations.rbc
112
129
  - lib/active_record/attribute_methods/before_type_cast.rb
130
+ - lib/active_record/attribute_methods/before_type_cast.rbc
113
131
  - lib/active_record/attribute_methods/dirty.rb
132
+ - lib/active_record/attribute_methods/dirty.rbc
114
133
  - lib/active_record/attribute_methods/primary_key.rb
134
+ - lib/active_record/attribute_methods/primary_key.rbc
115
135
  - lib/active_record/attribute_methods/query.rb
136
+ - lib/active_record/attribute_methods/query.rbc
116
137
  - lib/active_record/attribute_methods/read.rb
138
+ - lib/active_record/attribute_methods/read.rbc
117
139
  - lib/active_record/attribute_methods/time_zone_conversion.rb
140
+ - lib/active_record/attribute_methods/time_zone_conversion.rbc
118
141
  - lib/active_record/attribute_methods/write.rb
142
+ - lib/active_record/attribute_methods/write.rbc
119
143
  - lib/active_record/attribute_methods.rb
144
+ - lib/active_record/attribute_methods.rbc
120
145
  - lib/active_record/autosave_association.rb
146
+ - lib/active_record/autosave_association.rbc
121
147
  - lib/active_record/base.rb
148
+ - lib/active_record/base.rbc
122
149
  - lib/active_record/callbacks.rb
150
+ - lib/active_record/callbacks.rbc
123
151
  - lib/active_record/connection_adapters/abstract/connection_pool.rb
152
+ - lib/active_record/connection_adapters/abstract/connection_pool.rbc
124
153
  - lib/active_record/connection_adapters/abstract/connection_specification.rb
154
+ - lib/active_record/connection_adapters/abstract/connection_specification.rbc
125
155
  - lib/active_record/connection_adapters/abstract/database_limits.rb
156
+ - lib/active_record/connection_adapters/abstract/database_limits.rbc
126
157
  - lib/active_record/connection_adapters/abstract/database_statements.rb
158
+ - lib/active_record/connection_adapters/abstract/database_statements.rbc
127
159
  - lib/active_record/connection_adapters/abstract/query_cache.rb
160
+ - lib/active_record/connection_adapters/abstract/query_cache.rbc
128
161
  - lib/active_record/connection_adapters/abstract/quoting.rb
162
+ - lib/active_record/connection_adapters/abstract/quoting.rbc
129
163
  - lib/active_record/connection_adapters/abstract/schema_definitions.rb
164
+ - lib/active_record/connection_adapters/abstract/schema_definitions.rbc
130
165
  - lib/active_record/connection_adapters/abstract/schema_statements.rb
166
+ - lib/active_record/connection_adapters/abstract/schema_statements.rbc
131
167
  - lib/active_record/connection_adapters/abstract_adapter.rb
168
+ - lib/active_record/connection_adapters/abstract_adapter.rbc
132
169
  - lib/active_record/connection_adapters/mysql_adapter.rb
133
170
  - lib/active_record/connection_adapters/postgresql_adapter.rb
171
+ - lib/active_record/connection_adapters/postgresql_adapter.rbc
134
172
  - lib/active_record/connection_adapters/sqlite3_adapter.rb
173
+ - lib/active_record/connection_adapters/sqlite3_adapter.rbc
135
174
  - lib/active_record/connection_adapters/sqlite_adapter.rb
175
+ - lib/active_record/connection_adapters/sqlite_adapter.rbc
136
176
  - lib/active_record/counter_cache.rb
177
+ - lib/active_record/counter_cache.rbc
137
178
  - lib/active_record/dynamic_finder_match.rb
179
+ - lib/active_record/dynamic_finder_match.rbc
138
180
  - lib/active_record/dynamic_scope_match.rb
181
+ - lib/active_record/dynamic_scope_match.rbc
139
182
  - lib/active_record/errors.rb
183
+ - lib/active_record/errors.rbc
140
184
  - lib/active_record/fixtures.rb
141
185
  - lib/active_record/locale/en.yml
142
186
  - lib/active_record/locking/optimistic.rb
187
+ - lib/active_record/locking/optimistic.rbc
143
188
  - lib/active_record/locking/pessimistic.rb
189
+ - lib/active_record/locking/pessimistic.rbc
144
190
  - lib/active_record/log_subscriber.rb
191
+ - lib/active_record/log_subscriber.rbc
145
192
  - lib/active_record/migration.rb
193
+ - lib/active_record/migration.rbc
146
194
  - lib/active_record/named_scope.rb
195
+ - lib/active_record/named_scope.rbc
147
196
  - lib/active_record/nested_attributes.rb
197
+ - lib/active_record/nested_attributes.rbc
148
198
  - lib/active_record/observer.rb
199
+ - lib/active_record/observer.rbc
149
200
  - lib/active_record/persistence.rb
201
+ - lib/active_record/persistence.rbc
150
202
  - lib/active_record/query_cache.rb
203
+ - lib/active_record/query_cache.rbc
151
204
  - lib/active_record/railtie.rb
205
+ - lib/active_record/railtie.rbc
152
206
  - lib/active_record/railties/controller_runtime.rb
207
+ - lib/active_record/railties/controller_runtime.rbc
153
208
  - lib/active_record/railties/databases.rake
154
209
  - lib/active_record/reflection.rb
210
+ - lib/active_record/reflection.rbc
155
211
  - lib/active_record/relation/batches.rb
212
+ - lib/active_record/relation/batches.rbc
156
213
  - lib/active_record/relation/calculations.rb
214
+ - lib/active_record/relation/calculations.rbc
157
215
  - lib/active_record/relation/finder_methods.rb
216
+ - lib/active_record/relation/finder_methods.rbc
158
217
  - lib/active_record/relation/predicate_builder.rb
159
218
  - lib/active_record/relation/query_methods.rb
219
+ - lib/active_record/relation/query_methods.rbc
160
220
  - lib/active_record/relation/spawn_methods.rb
221
+ - lib/active_record/relation/spawn_methods.rbc
161
222
  - lib/active_record/relation.rb
223
+ - lib/active_record/relation.rbc
162
224
  - lib/active_record/schema.rb
163
225
  - lib/active_record/schema_dumper.rb
164
226
  - lib/active_record/serialization.rb
227
+ - lib/active_record/serialization.rbc
165
228
  - lib/active_record/serializers/xml_serializer.rb
229
+ - lib/active_record/serializers/xml_serializer.rbc
166
230
  - lib/active_record/session_store.rb
167
231
  - lib/active_record/test_case.rb
168
232
  - lib/active_record/timestamp.rb
233
+ - lib/active_record/timestamp.rbc
169
234
  - lib/active_record/transactions.rb
235
+ - lib/active_record/transactions.rbc
170
236
  - lib/active_record/validations/associated.rb
237
+ - lib/active_record/validations/associated.rbc
171
238
  - lib/active_record/validations/uniqueness.rb
239
+ - lib/active_record/validations/uniqueness.rbc
172
240
  - lib/active_record/validations.rb
241
+ - lib/active_record/validations.rbc
173
242
  - lib/active_record/version.rb
243
+ - lib/active_record/version.rbc
174
244
  - lib/active_record.rb
245
+ - lib/active_record.rbc
175
246
  - lib/rails/generators/active_record/migration/migration_generator.rb
176
247
  - lib/rails/generators/active_record/migration/templates/migration.rb
177
248
  - lib/rails/generators/active_record/migration.rb
@@ -208,16 +279,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
279
  required_rubygems_version: !ruby/object:Gem::Requirement
209
280
  none: false
210
281
  requirements:
211
- - - ">="
282
+ - - ">"
212
283
  - !ruby/object:Gem::Version
213
- hash: 3
284
+ hash: 25
214
285
  segments:
215
- - 0
216
- version: "0"
286
+ - 1
287
+ - 3
288
+ - 1
289
+ version: 1.3.1
217
290
  requirements: []
218
291
 
219
292
  rubyforge_project: activerecord
220
- rubygems_version: 1.6.1
293
+ rubygems_version: 1.6.2
221
294
  signing_key:
222
295
  specification_version: 3
223
296
  summary: Object-relational mapper framework (part of Rails).