ibm_db 2.5.9-x86-mswin32-60 → 2.5.10-x86-mswin32-60
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +7 -0
- data/README +79 -141
- data/ext/extconf.rb +74 -13
- data/ext/ibm_db.c +20 -5
- data/lib/active_record/connection_adapters/ibm_db_adapter.rb +45 -8
- data/lib/mswin32/rb18x/ibm_db.so +0 -0
- data/lib/mswin32/rb19x/ibm_db.so +0 -0
- data/test/cases/adapter_test.rb +162 -160
- data/test/cases/associations/belongs_to_associations_test.rb +23 -0
- data/test/cases/associations/cascaded_eager_loading_test.rb +3 -7
- data/test/cases/associations/has_and_belongs_to_many_associations_test.rb +40 -10
- data/test/cases/associations/join_model_test.rb +4 -4
- data/test/cases/attribute_methods_test.rb +169 -33
- data/test/cases/base_test.rb +302 -77
- data/test/cases/calculations_test.rb +37 -1
- data/test/cases/migration_test.rb +183 -115
- data/test/cases/persistence_test.rb +17 -11
- data/test/cases/query_cache_test.rb +18 -3
- data/test/cases/relations_test.rb +178 -15
- data/test/cases/schema_dumper_test.rb +5 -1
- data/test/cases/transaction_callbacks_test.rb +2 -2
- data/test/cases/xml_serialization_test.rb +133 -1
- data/test/schema/schema.rb +22 -3
- metadata +2 -2
data/test/schema/schema.rb
CHANGED
@@ -37,6 +37,7 @@ ActiveRecord::Schema.define do
|
|
37
37
|
|
38
38
|
create_table :admin_users, :force => true do |t|
|
39
39
|
t.string :name
|
40
|
+
t.text :settings
|
40
41
|
t.references :account
|
41
42
|
end
|
42
43
|
|
@@ -47,6 +48,7 @@ ActiveRecord::Schema.define do
|
|
47
48
|
create_table :audit_logs, :force => true do |t|
|
48
49
|
t.column :message, :string, :null=>false
|
49
50
|
t.column :developer_id, :integer, :null=>false
|
51
|
+
t.integer :unvalidated_developer_id
|
50
52
|
end
|
51
53
|
|
52
54
|
create_table :authors, :force => true do |t|
|
@@ -156,6 +158,7 @@ ActiveRecord::Schema.define do
|
|
156
158
|
t.string :type
|
157
159
|
t.integer :taggings_count, :default => 0
|
158
160
|
t.integer :children_count, :default => 0
|
161
|
+
t.integer :parent_id
|
159
162
|
end
|
160
163
|
|
161
164
|
create_table :companies, :force => true do |t|
|
@@ -209,6 +212,16 @@ ActiveRecord::Schema.define do
|
|
209
212
|
t.integer :access_level, :default => 1
|
210
213
|
end
|
211
214
|
|
215
|
+
create_table :dog_lovers, :force => true do |t|
|
216
|
+
t.integer :trained_dogs_count, :default => 0
|
217
|
+
t.integer :bred_dogs_count, :default => 0
|
218
|
+
end
|
219
|
+
|
220
|
+
create_table :dogs, :force => true do |t|
|
221
|
+
t.integer :trainer_id
|
222
|
+
t.integer :breeder_id
|
223
|
+
end
|
224
|
+
|
212
225
|
create_table :edges, :force => true, :id => false do |t|
|
213
226
|
t.column :source_id, :integer, :null => false
|
214
227
|
t.column :sink_id, :integer, :null => false
|
@@ -306,6 +319,8 @@ ActiveRecord::Schema.define do
|
|
306
319
|
t.references :student
|
307
320
|
end
|
308
321
|
|
322
|
+
create_table :lint_models, :force => true
|
323
|
+
|
309
324
|
create_table :line_items, :force => true do |t|
|
310
325
|
t.integer :invoice_id
|
311
326
|
t.integer :amount
|
@@ -461,6 +476,7 @@ ActiveRecord::Schema.define do
|
|
461
476
|
create_table :pirates, :force => true do |t|
|
462
477
|
t.column :catchphrase, :string
|
463
478
|
t.column :parrot_id, :integer
|
479
|
+
t.integer :non_validated_parrot_id
|
464
480
|
t.column :created_on, :datetime
|
465
481
|
t.column :updated_on, :datetime
|
466
482
|
end
|
@@ -529,6 +545,7 @@ ActiveRecord::Schema.define do
|
|
529
545
|
create_table :ships, :force => true do |t|
|
530
546
|
t.string :name
|
531
547
|
t.integer :pirate_id
|
548
|
+
t.integer :update_only_pirate_id
|
532
549
|
t.datetime :created_at
|
533
550
|
t.datetime :created_on
|
534
551
|
t.datetime :updated_at
|
@@ -602,8 +619,10 @@ ActiveRecord::Schema.define do
|
|
602
619
|
# Oracle SELECT WHERE clause which causes many unit test failures
|
603
620
|
if current_adapter?(:OracleAdapter) || current_adapter?(:IBM_DBAdapter)
|
604
621
|
t.string :content, :limit => 4000
|
622
|
+
t.string :important, :limit => 4000
|
605
623
|
else
|
606
624
|
t.text :content
|
625
|
+
t.text :important
|
607
626
|
end
|
608
627
|
t.boolean :approved, :default => true
|
609
628
|
t.integer :replies_count, :default => 0
|
@@ -663,7 +682,9 @@ ActiveRecord::Schema.define do
|
|
663
682
|
t.string :description
|
664
683
|
t.integer :man_id
|
665
684
|
t.integer :polymorphic_man_id
|
666
|
-
t.string
|
685
|
+
t.string :polymorphic_man_type
|
686
|
+
t.integer :horrible_polymorphic_man_id
|
687
|
+
t.string :horrible_polymorphic_man_type
|
667
688
|
end
|
668
689
|
|
669
690
|
create_table :interests, :force => true do |t|
|
@@ -693,8 +714,6 @@ ActiveRecord::Schema.define do
|
|
693
714
|
create_table :countries_treaties, :force => true, :id => false do |t|
|
694
715
|
t.string :country_id, :null => false
|
695
716
|
t.string :treaty_id, :null => false
|
696
|
-
t.datetime :created_at
|
697
|
-
t.datetime :updated_at
|
698
717
|
end
|
699
718
|
|
700
719
|
create_table :liquid, :force => true do |t|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibm_db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.10
|
5
5
|
platform: x86-mswin32-60
|
6
6
|
authors:
|
7
7
|
- IBM
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2012-01
|
12
|
+
date: 2012-05-01 00:00:00 +05:30
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|