ibm_db 2.5.9-x86-mingw32 → 2.5.10-x86-mingw32
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 +36 -55
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,50 +1,41 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibm_db
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 5
|
9
|
-
- 9
|
10
|
-
version: 2.5.9
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.5.10
|
5
|
+
prerelease:
|
11
6
|
platform: x86-mingw32
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- IBM
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-05-01 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: activerecord
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 41
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 15
|
33
|
-
- 1
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 1.15.1
|
35
22
|
type: :runtime
|
36
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.15.1
|
37
30
|
description:
|
38
31
|
email: rubyibm-developers@rubyforge.org
|
39
32
|
executables: []
|
40
|
-
|
41
33
|
extensions: []
|
42
|
-
|
43
|
-
extra_rdoc_files:
|
34
|
+
extra_rdoc_files:
|
44
35
|
- CHANGES
|
45
36
|
- README
|
46
37
|
- MANIFEST
|
47
|
-
files:
|
38
|
+
files:
|
48
39
|
- CHANGES
|
49
40
|
- ext/extconf.rb
|
50
41
|
- ext/ibm_db.c
|
@@ -90,41 +81,31 @@ files:
|
|
90
81
|
- test/schema/luw/ibm_db_specific_schema.rb
|
91
82
|
- test/schema/schema.rb
|
92
83
|
- test/schema/zOS/ibm_db_specific_schema.rb
|
93
|
-
has_rdoc: true
|
94
84
|
homepage: http://rubyforge.org/projects/rubyibm/
|
95
85
|
licenses: []
|
96
|
-
|
97
86
|
post_install_message:
|
98
87
|
rdoc_options: []
|
99
|
-
|
100
|
-
require_paths:
|
88
|
+
require_paths:
|
101
89
|
- lib
|
102
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
91
|
none: false
|
104
|
-
requirements:
|
105
|
-
- -
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
hash: 59
|
108
|
-
segments:
|
109
|
-
- 1
|
110
|
-
- 8
|
111
|
-
- 6
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
112
95
|
version: 1.8.6
|
113
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
97
|
none: false
|
115
|
-
requirements:
|
116
|
-
- -
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
|
119
|
-
|
120
|
-
- 0
|
121
|
-
version: "0"
|
122
|
-
requirements:
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
requirements:
|
123
103
|
- ActiveRecord, at least 1.15.1
|
124
104
|
rubyforge_project: rubyibm
|
125
|
-
rubygems_version: 1.
|
105
|
+
rubygems_version: 1.8.23
|
126
106
|
signing_key:
|
127
107
|
specification_version: 3
|
128
|
-
summary:
|
129
|
-
|
108
|
+
summary: ! 'Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows,
|
109
|
+
DB2 on zOS, DB2 on i5/OS, Informix (IDS)}'
|
110
|
+
test_files:
|
130
111
|
- test/ibm_db_test.rb
|