activerecord 1.13.2 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +452 -10
- data/RUNNING_UNIT_TESTS +1 -1
- data/lib/active_record.rb +5 -2
- data/lib/active_record/acts/list.rb +1 -1
- data/lib/active_record/acts/tree.rb +29 -25
- data/lib/active_record/aggregations.rb +3 -2
- data/lib/active_record/associations.rb +783 -337
- data/lib/active_record/associations/association_collection.rb +7 -12
- data/lib/active_record/associations/association_proxy.rb +62 -24
- data/lib/active_record/associations/belongs_to_association.rb +27 -46
- data/lib/active_record/associations/belongs_to_polymorphic_association.rb +50 -0
- data/lib/active_record/associations/has_and_belongs_to_many_association.rb +38 -38
- data/lib/active_record/associations/has_many_association.rb +61 -56
- data/lib/active_record/associations/has_many_through_association.rb +144 -0
- data/lib/active_record/associations/has_one_association.rb +22 -16
- data/lib/active_record/base.rb +482 -182
- data/lib/active_record/calculations.rb +225 -0
- data/lib/active_record/callbacks.rb +7 -7
- data/lib/active_record/connection_adapters/abstract/connection_specification.rb +162 -47
- data/lib/active_record/connection_adapters/abstract/quoting.rb +1 -1
- data/lib/active_record/connection_adapters/abstract/schema_definitions.rb +2 -1
- data/lib/active_record/connection_adapters/abstract/schema_statements.rb +21 -1
- data/lib/active_record/connection_adapters/abstract_adapter.rb +34 -2
- data/lib/active_record/connection_adapters/db2_adapter.rb +107 -61
- data/lib/active_record/connection_adapters/mysql_adapter.rb +29 -6
- data/lib/active_record/connection_adapters/openbase_adapter.rb +349 -0
- data/lib/active_record/connection_adapters/{oci_adapter.rb → oracle_adapter.rb} +125 -59
- data/lib/active_record/connection_adapters/postgresql_adapter.rb +24 -21
- data/lib/active_record/connection_adapters/sqlite_adapter.rb +47 -8
- data/lib/active_record/connection_adapters/sqlserver_adapter.rb +36 -16
- data/lib/active_record/connection_adapters/sybase_adapter.rb +684 -0
- data/lib/active_record/fixtures.rb +42 -17
- data/lib/active_record/locking.rb +36 -15
- data/lib/active_record/migration.rb +111 -8
- data/lib/active_record/observer.rb +25 -1
- data/lib/active_record/reflection.rb +103 -41
- data/lib/active_record/schema.rb +2 -2
- data/lib/active_record/schema_dumper.rb +55 -18
- data/lib/active_record/timestamp.rb +6 -6
- data/lib/active_record/validations.rb +65 -40
- data/lib/active_record/vendor/db2.rb +10 -5
- data/lib/active_record/vendor/simple.rb +693 -702
- data/lib/active_record/version.rb +2 -2
- data/rakefile +4 -4
- data/test/aaa_create_tables_test.rb +25 -6
- data/test/abstract_unit.rb +39 -1
- data/test/adapter_test.rb +31 -4
- data/test/associations_cascaded_eager_loading_test.rb +106 -0
- data/test/associations_go_eager_test.rb +85 -16
- data/test/associations_join_model_test.rb +338 -0
- data/test/associations_test.rb +129 -50
- data/test/base_test.rb +204 -49
- data/test/binary_test.rb +1 -1
- data/test/calculations_test.rb +169 -0
- data/test/callbacks_test.rb +5 -23
- data/test/class_inheritable_attributes_test.rb +1 -1
- data/test/column_alias_test.rb +1 -1
- data/test/connections/native_mysql/connection.rb +1 -0
- data/test/connections/native_openbase/connection.rb +22 -0
- data/test/connections/{native_oci → native_oracle}/connection.rb +7 -9
- data/test/connections/native_sqlite/connection.rb +1 -1
- data/test/connections/native_sqlite3/connection.rb +1 -0
- data/test/connections/native_sqlite3/in_memory_connection.rb +1 -0
- data/test/connections/native_sybase/connection.rb +24 -0
- data/test/defaults_test.rb +18 -0
- data/test/deprecated_associations_test.rb +2 -2
- data/test/deprecated_finder_test.rb +0 -6
- data/test/finder_test.rb +26 -23
- data/test/fixtures/accounts.yml +10 -0
- data/test/fixtures/author.rb +31 -6
- data/test/fixtures/author_favorites.yml +4 -0
- data/test/fixtures/categories/special_categories.yml +9 -0
- data/test/fixtures/categories/subsubdir/arbitrary_filename.yml +4 -0
- data/test/fixtures/categories_posts.yml +4 -0
- data/test/fixtures/categorization.rb +5 -0
- data/test/fixtures/categorizations.yml +11 -0
- data/test/fixtures/category.rb +6 -0
- data/test/fixtures/company.rb +17 -5
- data/test/fixtures/company_in_module.rb +19 -5
- data/test/fixtures/db_definitions/db2.drop.sql +3 -0
- data/test/fixtures/db_definitions/db2.sql +121 -100
- data/test/fixtures/db_definitions/db22.sql +2 -2
- data/test/fixtures/db_definitions/firebird.drop.sql +4 -0
- data/test/fixtures/db_definitions/firebird.sql +26 -0
- data/test/fixtures/db_definitions/mysql.drop.sql +3 -0
- data/test/fixtures/db_definitions/mysql.sql +21 -1
- data/test/fixtures/db_definitions/openbase.drop.sql +2 -0
- data/test/fixtures/db_definitions/openbase.sql +282 -0
- data/test/fixtures/db_definitions/openbase2.drop.sql +2 -0
- data/test/fixtures/db_definitions/openbase2.sql +7 -0
- data/test/fixtures/db_definitions/{oci.drop.sql → oracle.drop.sql} +6 -0
- data/test/fixtures/db_definitions/{oci.sql → oracle.sql} +25 -4
- data/test/fixtures/db_definitions/{oci2.drop.sql → oracle2.drop.sql} +0 -0
- data/test/fixtures/db_definitions/{oci2.sql → oracle2.sql} +0 -0
- data/test/fixtures/db_definitions/postgresql.drop.sql +4 -0
- data/test/fixtures/db_definitions/postgresql.sql +22 -1
- data/test/fixtures/db_definitions/schema.rb +32 -0
- data/test/fixtures/db_definitions/sqlite.drop.sql +3 -0
- data/test/fixtures/db_definitions/sqlite.sql +18 -0
- data/test/fixtures/db_definitions/sqlserver.drop.sql +3 -0
- data/test/fixtures/db_definitions/sqlserver.sql +23 -3
- data/test/fixtures/db_definitions/sybase.drop.sql +31 -0
- data/test/fixtures/db_definitions/sybase.sql +204 -0
- data/test/fixtures/db_definitions/sybase2.drop.sql +4 -0
- data/test/fixtures/db_definitions/sybase2.sql +5 -0
- data/test/fixtures/developers.yml +6 -1
- data/test/fixtures/developers_projects.yml +4 -0
- data/test/fixtures/funny_jokes.yml +14 -0
- data/test/fixtures/joke.rb +6 -0
- data/test/fixtures/legacy_thing.rb +3 -0
- data/test/fixtures/legacy_things.yml +3 -0
- data/test/fixtures/mixin.rb +1 -1
- data/test/fixtures/person.rb +4 -1
- data/test/fixtures/post.rb +26 -1
- data/test/fixtures/project.rb +1 -0
- data/test/fixtures/reader.rb +4 -0
- data/test/fixtures/readers.yml +4 -0
- data/test/fixtures/reply.rb +2 -1
- data/test/fixtures/tag.rb +5 -0
- data/test/fixtures/tagging.rb +6 -0
- data/test/fixtures/taggings.yml +18 -0
- data/test/fixtures/tags.yml +7 -0
- data/test/fixtures/tasks.yml +2 -2
- data/test/fixtures/topic.rb +2 -2
- data/test/fixtures/topics.yml +1 -0
- data/test/fixtures_test.rb +47 -13
- data/test/inheritance_test.rb +2 -2
- data/test/locking_test.rb +15 -1
- data/test/method_scoping_test.rb +248 -13
- data/test/migration_test.rb +68 -11
- data/test/mixin_nested_set_test.rb +1 -1
- data/test/modules_test.rb +6 -1
- data/test/readonly_test.rb +1 -1
- data/test/reflection_test.rb +63 -9
- data/test/schema_dumper_test.rb +41 -0
- data/test/{synonym_test_oci.rb → synonym_test_oracle.rb} +1 -1
- data/test/threaded_connections_test.rb +10 -0
- data/test/unconnected_test.rb +12 -5
- data/test/validations_test.rb +197 -10
- metadata +295 -260
- data/test/fixtures/db_definitions/create_oracle_db.bat +0 -0
- data/test/fixtures/db_definitions/create_oracle_db.sh +0 -0
- data/test/fixtures/fixture_database.sqlite +0 -0
- data/test/fixtures/fixture_database_2.sqlite +0 -0
metadata
CHANGED
|
@@ -3,287 +3,322 @@ rubygems_version: 0.8.11
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: activerecord
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 1.
|
|
7
|
-
date:
|
|
6
|
+
version: 1.14.0
|
|
7
|
+
date: 2006-03-27 00:00:00 -06:00
|
|
8
8
|
summary: Implements the ActiveRecord pattern for ORM.
|
|
9
9
|
require_paths:
|
|
10
|
-
|
|
10
|
+
- lib
|
|
11
11
|
email: david@loudthinking.com
|
|
12
12
|
homepage: http://www.rubyonrails.org
|
|
13
13
|
rubyforge_project: activerecord
|
|
14
|
-
description:
|
|
15
|
-
tables and classes together for business objects, like Customer or Subscription,
|
|
16
|
-
that can find, save, and destroy themselves without resorting to manual SQL."
|
|
14
|
+
description: Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM. It ties database tables and classes together for business objects, like Customer or Subscription, that can find, save, and destroy themselves without resorting to manual SQL.
|
|
17
15
|
autorequire: active_record
|
|
18
16
|
default_executable:
|
|
19
17
|
bindir: bin
|
|
20
18
|
has_rdoc: true
|
|
21
19
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
22
20
|
requirements:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
version: 0.0.0
|
|
21
|
+
- - ">"
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: 0.0.0
|
|
27
24
|
version:
|
|
28
25
|
platform: ruby
|
|
29
26
|
signing_key:
|
|
30
27
|
cert_chain:
|
|
31
28
|
authors:
|
|
32
|
-
|
|
29
|
+
- David Heinemeier Hansson
|
|
33
30
|
files:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
31
|
+
- rakefile
|
|
32
|
+
- install.rb
|
|
33
|
+
- README
|
|
34
|
+
- RUNNING_UNIT_TESTS
|
|
35
|
+
- CHANGELOG
|
|
36
|
+
- lib/active_record
|
|
37
|
+
- lib/active_record.rb
|
|
38
|
+
- lib/active_record/acts
|
|
39
|
+
- lib/active_record/aggregations.rb
|
|
40
|
+
- lib/active_record/associations
|
|
41
|
+
- lib/active_record/associations.rb
|
|
42
|
+
- lib/active_record/base.rb
|
|
43
|
+
- lib/active_record/calculations.rb
|
|
44
|
+
- lib/active_record/callbacks.rb
|
|
45
|
+
- lib/active_record/connection_adapters
|
|
46
|
+
- lib/active_record/deprecated_associations.rb
|
|
47
|
+
- lib/active_record/deprecated_finders.rb
|
|
48
|
+
- lib/active_record/fixtures.rb
|
|
49
|
+
- lib/active_record/locking.rb
|
|
50
|
+
- lib/active_record/migration.rb
|
|
51
|
+
- lib/active_record/observer.rb
|
|
52
|
+
- lib/active_record/query_cache.rb
|
|
53
|
+
- lib/active_record/reflection.rb
|
|
54
|
+
- lib/active_record/schema.rb
|
|
55
|
+
- lib/active_record/schema_dumper.rb
|
|
56
|
+
- lib/active_record/timestamp.rb
|
|
57
|
+
- lib/active_record/transactions.rb
|
|
58
|
+
- lib/active_record/validations.rb
|
|
59
|
+
- lib/active_record/vendor
|
|
60
|
+
- lib/active_record/version.rb
|
|
61
|
+
- lib/active_record/wrappers
|
|
62
|
+
- lib/active_record/wrappings.rb
|
|
63
|
+
- lib/active_record/acts/list.rb
|
|
64
|
+
- lib/active_record/acts/nested_set.rb
|
|
65
|
+
- lib/active_record/acts/tree.rb
|
|
66
|
+
- lib/active_record/associations/association_collection.rb
|
|
67
|
+
- lib/active_record/associations/association_proxy.rb
|
|
68
|
+
- lib/active_record/associations/belongs_to_association.rb
|
|
69
|
+
- lib/active_record/associations/belongs_to_polymorphic_association.rb
|
|
70
|
+
- lib/active_record/associations/has_and_belongs_to_many_association.rb
|
|
71
|
+
- lib/active_record/associations/has_many_association.rb
|
|
72
|
+
- lib/active_record/associations/has_many_through_association.rb
|
|
73
|
+
- lib/active_record/associations/has_one_association.rb
|
|
74
|
+
- lib/active_record/connection_adapters/abstract
|
|
75
|
+
- lib/active_record/connection_adapters/abstract_adapter.rb
|
|
76
|
+
- lib/active_record/connection_adapters/db2_adapter.rb
|
|
77
|
+
- lib/active_record/connection_adapters/firebird_adapter.rb
|
|
78
|
+
- lib/active_record/connection_adapters/mysql_adapter.rb
|
|
79
|
+
- lib/active_record/connection_adapters/openbase_adapter.rb
|
|
80
|
+
- lib/active_record/connection_adapters/oracle_adapter.rb
|
|
81
|
+
- lib/active_record/connection_adapters/postgresql_adapter.rb
|
|
82
|
+
- lib/active_record/connection_adapters/sqlite_adapter.rb
|
|
83
|
+
- lib/active_record/connection_adapters/sqlserver_adapter.rb
|
|
84
|
+
- lib/active_record/connection_adapters/sybase_adapter.rb
|
|
85
|
+
- lib/active_record/connection_adapters/abstract/connection_specification.rb
|
|
86
|
+
- lib/active_record/connection_adapters/abstract/database_statements.rb
|
|
87
|
+
- lib/active_record/connection_adapters/abstract/quoting.rb
|
|
88
|
+
- lib/active_record/connection_adapters/abstract/schema_definitions.rb
|
|
89
|
+
- lib/active_record/connection_adapters/abstract/schema_statements.rb
|
|
90
|
+
- lib/active_record/vendor/db2.rb
|
|
91
|
+
- lib/active_record/vendor/mysql.rb
|
|
92
|
+
- lib/active_record/vendor/simple.rb
|
|
93
|
+
- lib/active_record/wrappers/yaml_wrapper.rb
|
|
94
|
+
- test/aaa_create_tables_test.rb
|
|
95
|
+
- test/abstract_unit.rb
|
|
96
|
+
- test/active_schema_mysql.rb
|
|
97
|
+
- test/adapter_test.rb
|
|
98
|
+
- test/aggregations_test.rb
|
|
99
|
+
- test/all.sh
|
|
100
|
+
- test/ar_schema_test.rb
|
|
101
|
+
- test/association_callbacks_test.rb
|
|
102
|
+
- test/association_inheritance_reload.rb
|
|
103
|
+
- test/associations_cascaded_eager_loading_test.rb
|
|
104
|
+
- test/associations_extensions_test.rb
|
|
105
|
+
- test/associations_go_eager_test.rb
|
|
106
|
+
- test/associations_join_model_test.rb
|
|
107
|
+
- test/associations_test.rb
|
|
108
|
+
- test/base_test.rb
|
|
109
|
+
- test/binary_test.rb
|
|
110
|
+
- test/calculations_test.rb
|
|
111
|
+
- test/callbacks_test.rb
|
|
112
|
+
- test/class_inheritable_attributes_test.rb
|
|
113
|
+
- test/column_alias_test.rb
|
|
114
|
+
- test/connections
|
|
115
|
+
- test/copy_table_sqlite.rb
|
|
116
|
+
- test/default_test_firebird.rb
|
|
117
|
+
- test/defaults_test.rb
|
|
118
|
+
- test/deprecated_associations_test.rb
|
|
119
|
+
- test/deprecated_finder_test.rb
|
|
120
|
+
- test/finder_test.rb
|
|
121
|
+
- test/fixtures
|
|
122
|
+
- test/fixtures_test.rb
|
|
123
|
+
- test/inheritance_test.rb
|
|
124
|
+
- test/lifecycle_test.rb
|
|
125
|
+
- test/locking_test.rb
|
|
126
|
+
- test/method_scoping_test.rb
|
|
127
|
+
- test/migration_test.rb
|
|
128
|
+
- test/mixin_nested_set_test.rb
|
|
129
|
+
- test/mixin_test.rb
|
|
130
|
+
- test/modules_test.rb
|
|
131
|
+
- test/multiple_db_test.rb
|
|
132
|
+
- test/pk_test.rb
|
|
133
|
+
- test/readonly_test.rb
|
|
134
|
+
- test/reflection_test.rb
|
|
135
|
+
- test/schema_dumper_test.rb
|
|
136
|
+
- test/schema_test_postgresql.rb
|
|
137
|
+
- test/synonym_test_oracle.rb
|
|
138
|
+
- test/threaded_connections_test.rb
|
|
139
|
+
- test/transactions_test.rb
|
|
140
|
+
- test/unconnected_test.rb
|
|
141
|
+
- test/validations_test.rb
|
|
142
|
+
- test/connections/native_db2
|
|
143
|
+
- test/connections/native_firebird
|
|
144
|
+
- test/connections/native_mysql
|
|
145
|
+
- test/connections/native_openbase
|
|
146
|
+
- test/connections/native_oracle
|
|
147
|
+
- test/connections/native_postgresql
|
|
148
|
+
- test/connections/native_sqlite
|
|
149
|
+
- test/connections/native_sqlite3
|
|
150
|
+
- test/connections/native_sqlserver
|
|
151
|
+
- test/connections/native_sqlserver_odbc
|
|
152
|
+
- test/connections/native_sybase
|
|
153
|
+
- test/connections/native_db2/connection.rb
|
|
154
|
+
- test/connections/native_firebird/connection.rb
|
|
155
|
+
- test/connections/native_mysql/connection.rb
|
|
156
|
+
- test/connections/native_openbase/connection.rb
|
|
157
|
+
- test/connections/native_oracle/connection.rb
|
|
158
|
+
- test/connections/native_postgresql/connection.rb
|
|
159
|
+
- test/connections/native_sqlite/connection.rb
|
|
160
|
+
- test/connections/native_sqlite3/connection.rb
|
|
161
|
+
- test/connections/native_sqlite3/in_memory_connection.rb
|
|
162
|
+
- test/connections/native_sqlserver/connection.rb
|
|
163
|
+
- test/connections/native_sqlserver_odbc/connection.rb
|
|
164
|
+
- test/connections/native_sybase/connection.rb
|
|
165
|
+
- test/fixtures/accounts.yml
|
|
166
|
+
- test/fixtures/author.rb
|
|
167
|
+
- test/fixtures/author_favorites.yml
|
|
168
|
+
- test/fixtures/authors.yml
|
|
169
|
+
- test/fixtures/auto_id.rb
|
|
170
|
+
- test/fixtures/bad_fixtures
|
|
171
|
+
- test/fixtures/binary.rb
|
|
172
|
+
- test/fixtures/categories
|
|
173
|
+
- test/fixtures/categories.yml
|
|
174
|
+
- test/fixtures/categories_ordered.yml
|
|
175
|
+
- test/fixtures/categories_posts.yml
|
|
176
|
+
- test/fixtures/categorization.rb
|
|
177
|
+
- test/fixtures/categorizations.yml
|
|
178
|
+
- test/fixtures/category.rb
|
|
179
|
+
- test/fixtures/column_name.rb
|
|
180
|
+
- test/fixtures/comment.rb
|
|
181
|
+
- test/fixtures/comments.yml
|
|
182
|
+
- test/fixtures/companies.yml
|
|
183
|
+
- test/fixtures/company.rb
|
|
184
|
+
- test/fixtures/company_in_module.rb
|
|
185
|
+
- test/fixtures/computer.rb
|
|
186
|
+
- test/fixtures/computers.yml
|
|
187
|
+
- test/fixtures/course.rb
|
|
188
|
+
- test/fixtures/courses.yml
|
|
189
|
+
- test/fixtures/customer.rb
|
|
190
|
+
- test/fixtures/customers.yml
|
|
191
|
+
- test/fixtures/db_definitions
|
|
192
|
+
- test/fixtures/default.rb
|
|
193
|
+
- test/fixtures/developer.rb
|
|
194
|
+
- test/fixtures/developers.yml
|
|
195
|
+
- test/fixtures/developers_projects
|
|
196
|
+
- test/fixtures/developers_projects.yml
|
|
197
|
+
- test/fixtures/entrant.rb
|
|
198
|
+
- test/fixtures/entrants.yml
|
|
199
|
+
- test/fixtures/fk_test_has_fk.yml
|
|
200
|
+
- test/fixtures/fk_test_has_pk.yml
|
|
201
|
+
- test/fixtures/flowers.jpg
|
|
202
|
+
- test/fixtures/funny_jokes.yml
|
|
203
|
+
- test/fixtures/joke.rb
|
|
204
|
+
- test/fixtures/keyboard.rb
|
|
205
|
+
- test/fixtures/legacy_thing.rb
|
|
206
|
+
- test/fixtures/legacy_things.yml
|
|
207
|
+
- test/fixtures/migrations
|
|
208
|
+
- test/fixtures/migrations_with_duplicate
|
|
209
|
+
- test/fixtures/mixin.rb
|
|
210
|
+
- test/fixtures/mixins.yml
|
|
211
|
+
- test/fixtures/movie.rb
|
|
212
|
+
- test/fixtures/movies.yml
|
|
213
|
+
- test/fixtures/naked
|
|
214
|
+
- test/fixtures/order.rb
|
|
215
|
+
- test/fixtures/people.yml
|
|
216
|
+
- test/fixtures/person.rb
|
|
217
|
+
- test/fixtures/post.rb
|
|
218
|
+
- test/fixtures/posts.yml
|
|
219
|
+
- test/fixtures/project.rb
|
|
220
|
+
- test/fixtures/projects.yml
|
|
221
|
+
- test/fixtures/reader.rb
|
|
222
|
+
- test/fixtures/readers.yml
|
|
223
|
+
- test/fixtures/reply.rb
|
|
224
|
+
- test/fixtures/subject.rb
|
|
225
|
+
- test/fixtures/subscriber.rb
|
|
226
|
+
- test/fixtures/subscribers
|
|
227
|
+
- test/fixtures/tag.rb
|
|
228
|
+
- test/fixtures/tagging.rb
|
|
229
|
+
- test/fixtures/taggings.yml
|
|
230
|
+
- test/fixtures/tags.yml
|
|
231
|
+
- test/fixtures/task.rb
|
|
232
|
+
- test/fixtures/tasks.yml
|
|
233
|
+
- test/fixtures/topic.rb
|
|
234
|
+
- test/fixtures/topics.yml
|
|
235
|
+
- test/fixtures/bad_fixtures/attr_with_numeric_first_char
|
|
236
|
+
- test/fixtures/bad_fixtures/attr_with_spaces
|
|
237
|
+
- test/fixtures/bad_fixtures/blank_line
|
|
238
|
+
- test/fixtures/bad_fixtures/duplicate_attributes
|
|
239
|
+
- test/fixtures/bad_fixtures/missing_value
|
|
240
|
+
- test/fixtures/categories/special_categories.yml
|
|
241
|
+
- test/fixtures/categories/subsubdir
|
|
242
|
+
- test/fixtures/categories/subsubdir/arbitrary_filename.yml
|
|
243
|
+
- test/fixtures/db_definitions/db2.drop.sql
|
|
244
|
+
- test/fixtures/db_definitions/db2.sql
|
|
245
|
+
- test/fixtures/db_definitions/db22.drop.sql
|
|
246
|
+
- test/fixtures/db_definitions/db22.sql
|
|
247
|
+
- test/fixtures/db_definitions/firebird.drop.sql
|
|
248
|
+
- test/fixtures/db_definitions/firebird.sql
|
|
249
|
+
- test/fixtures/db_definitions/firebird2.drop.sql
|
|
250
|
+
- test/fixtures/db_definitions/firebird2.sql
|
|
251
|
+
- test/fixtures/db_definitions/mysql.drop.sql
|
|
252
|
+
- test/fixtures/db_definitions/mysql.sql
|
|
253
|
+
- test/fixtures/db_definitions/mysql2.drop.sql
|
|
254
|
+
- test/fixtures/db_definitions/mysql2.sql
|
|
255
|
+
- test/fixtures/db_definitions/openbase.drop.sql
|
|
256
|
+
- test/fixtures/db_definitions/openbase.sql
|
|
257
|
+
- test/fixtures/db_definitions/openbase2.drop.sql
|
|
258
|
+
- test/fixtures/db_definitions/openbase2.sql
|
|
259
|
+
- test/fixtures/db_definitions/oracle.drop.sql
|
|
260
|
+
- test/fixtures/db_definitions/oracle.sql
|
|
261
|
+
- test/fixtures/db_definitions/oracle2.drop.sql
|
|
262
|
+
- test/fixtures/db_definitions/oracle2.sql
|
|
263
|
+
- test/fixtures/db_definitions/postgresql.drop.sql
|
|
264
|
+
- test/fixtures/db_definitions/postgresql.sql
|
|
265
|
+
- test/fixtures/db_definitions/postgresql2.drop.sql
|
|
266
|
+
- test/fixtures/db_definitions/postgresql2.sql
|
|
267
|
+
- test/fixtures/db_definitions/schema.rb
|
|
268
|
+
- test/fixtures/db_definitions/sqlite.drop.sql
|
|
269
|
+
- test/fixtures/db_definitions/sqlite.sql
|
|
270
|
+
- test/fixtures/db_definitions/sqlite2.drop.sql
|
|
271
|
+
- test/fixtures/db_definitions/sqlite2.sql
|
|
272
|
+
- test/fixtures/db_definitions/sqlserver.drop.sql
|
|
273
|
+
- test/fixtures/db_definitions/sqlserver.sql
|
|
274
|
+
- test/fixtures/db_definitions/sqlserver2.drop.sql
|
|
275
|
+
- test/fixtures/db_definitions/sqlserver2.sql
|
|
276
|
+
- test/fixtures/db_definitions/sybase.drop.sql
|
|
277
|
+
- test/fixtures/db_definitions/sybase.sql
|
|
278
|
+
- test/fixtures/db_definitions/sybase2.drop.sql
|
|
279
|
+
- test/fixtures/db_definitions/sybase2.sql
|
|
280
|
+
- test/fixtures/developers_projects/david_action_controller
|
|
281
|
+
- test/fixtures/developers_projects/david_active_record
|
|
282
|
+
- test/fixtures/developers_projects/jamis_active_record
|
|
283
|
+
- test/fixtures/migrations/1_people_have_last_names.rb
|
|
284
|
+
- test/fixtures/migrations/2_we_need_reminders.rb
|
|
285
|
+
- test/fixtures/migrations/3_innocent_jointable.rb
|
|
286
|
+
- test/fixtures/migrations_with_duplicate/1_people_have_last_names.rb
|
|
287
|
+
- test/fixtures/migrations_with_duplicate/2_we_need_reminders.rb
|
|
288
|
+
- test/fixtures/migrations_with_duplicate/3_foo.rb
|
|
289
|
+
- test/fixtures/migrations_with_duplicate/3_innocent_jointable.rb
|
|
290
|
+
- test/fixtures/naked/csv
|
|
291
|
+
- test/fixtures/naked/yml
|
|
292
|
+
- test/fixtures/naked/csv/accounts.csv
|
|
293
|
+
- test/fixtures/naked/yml/accounts.yml
|
|
294
|
+
- test/fixtures/naked/yml/companies.yml
|
|
295
|
+
- test/fixtures/naked/yml/courses.yml
|
|
296
|
+
- test/fixtures/subscribers/first
|
|
297
|
+
- test/fixtures/subscribers/second
|
|
298
|
+
- examples/associations.png
|
|
299
|
+
- examples/associations.rb
|
|
300
|
+
- examples/shared_setup.rb
|
|
301
|
+
- examples/validation.rb
|
|
270
302
|
test_files: []
|
|
303
|
+
|
|
271
304
|
rdoc_options:
|
|
272
|
-
|
|
273
|
-
|
|
305
|
+
- --main
|
|
306
|
+
- README
|
|
274
307
|
extra_rdoc_files:
|
|
275
|
-
|
|
308
|
+
- README
|
|
276
309
|
executables: []
|
|
310
|
+
|
|
277
311
|
extensions: []
|
|
312
|
+
|
|
278
313
|
requirements: []
|
|
314
|
+
|
|
279
315
|
dependencies:
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
version:
|
|
316
|
+
- !ruby/object:Gem::Dependency
|
|
317
|
+
name: activesupport
|
|
318
|
+
version_requirement:
|
|
319
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
|
320
|
+
requirements:
|
|
321
|
+
- - "="
|
|
322
|
+
- !ruby/object:Gem::Version
|
|
323
|
+
version: 1.3.0
|
|
324
|
+
version:
|