activerecord-oracle_enhanced-adapter 1.3.2 → 1.4.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/Gemfile +0 -2
- data/History.txt +19 -0
- data/README.md +378 -0
- data/RUNNING_TESTS.md +45 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/activerecord-oracle_enhanced-adapter.gemspec +6 -9
- data/lib/active_record/connection_adapters/oracle_enhanced.rake +34 -0
- data/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb +209 -57
- data/lib/active_record/connection_adapters/oracle_enhanced_base_ext.rb +22 -1
- data/lib/active_record/connection_adapters/oracle_enhanced_column.rb +17 -3
- data/lib/active_record/connection_adapters/oracle_enhanced_context_index.rb +19 -3
- data/lib/active_record/connection_adapters/oracle_enhanced_jdbc_connection.rb +75 -17
- data/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb +41 -2
- data/lib/active_record/connection_adapters/oracle_enhanced_procedures.rb +3 -3
- data/lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb +40 -0
- data/lib/active_record/connection_adapters/oracle_enhanced_schema_dumper.rb +10 -3
- data/lib/active_record/connection_adapters/oracle_enhanced_schema_statements.rb +49 -10
- data/lib/active_record/connection_adapters/oracle_enhanced_schema_statements_ext.rb +1 -1
- data/lib/active_record/connection_adapters/oracle_enhanced_structure_dump.rb +54 -54
- data/spec/active_record/connection_adapters/oracle_enhanced_adapter_spec.rb +33 -5
- data/spec/active_record/connection_adapters/oracle_enhanced_context_index_spec.rb +66 -5
- data/spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb +162 -13
- data/spec/active_record/connection_adapters/oracle_enhanced_dirty_spec.rb +1 -0
- data/spec/active_record/connection_adapters/oracle_enhanced_procedures_spec.rb +1 -0
- data/spec/active_record/connection_adapters/oracle_enhanced_schema_dump_spec.rb +43 -0
- data/spec/active_record/connection_adapters/oracle_enhanced_schema_statements_spec.rb +150 -1
- data/spec/active_record/connection_adapters/oracle_enhanced_structure_dump_spec.rb +5 -4
- data/spec/spec_helper.rb +3 -1
- metadata +38 -52
- data/README.rdoc +0 -89
- data/RUNNING_TESTS.rdoc +0 -28
@@ -5,6 +5,7 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
5
5
|
|
6
6
|
before(:all) do
|
7
7
|
ActiveRecord::Base.establish_connection(CONNECTION_PARAMS)
|
8
|
+
@oracle11g = !! ActiveRecord::Base.connection.select_value("SELECT * FROM v$version WHERE banner LIKE 'Oracle%11g%'")
|
8
9
|
end
|
9
10
|
|
10
11
|
describe "table and sequence creation with non-default primary key" do
|
@@ -34,6 +35,7 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
34
35
|
end
|
35
36
|
Object.send(:remove_const, "Keyboard")
|
36
37
|
Object.send(:remove_const, "IdKeyboard")
|
38
|
+
ActiveRecord::Base.clear_cache! if ActiveRecord::Base.respond_to?(:"clear_cache!")
|
37
39
|
end
|
38
40
|
|
39
41
|
it "should create sequence for non-default primary key" do
|
@@ -78,6 +80,7 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
78
80
|
drop_table :test_employees
|
79
81
|
end
|
80
82
|
Object.send(:remove_const, "TestEmployee")
|
83
|
+
ActiveRecord::Base.clear_cache! if ActiveRecord::Base.respond_to?(:"clear_cache!")
|
81
84
|
end
|
82
85
|
|
83
86
|
it "should use default sequence start value 10000" do
|
@@ -149,6 +152,7 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
149
152
|
end
|
150
153
|
Object.send(:remove_const, "TestEmployee")
|
151
154
|
@conn.clear_prefetch_primary_key
|
155
|
+
ActiveRecord::Base.clear_cache! if ActiveRecord::Base.respond_to?(:"clear_cache!")
|
152
156
|
end
|
153
157
|
|
154
158
|
describe "with default primary key" do
|
@@ -173,7 +177,7 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
173
177
|
insert_id = @conn.insert("INSERT INTO test_employees (first_name) VALUES ('Raimonds')", nil, "id")
|
174
178
|
@conn.select_value("SELECT test_employees_seq.currval FROM dual").should == insert_id
|
175
179
|
end
|
176
|
-
|
180
|
+
|
177
181
|
it "should create new record for model" do
|
178
182
|
e = TestEmployee.create!(:first_name => 'Raimonds')
|
179
183
|
@conn.select_value("SELECT test_employees_seq.currval FROM dual").should == e.id
|
@@ -298,6 +302,7 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
298
302
|
end
|
299
303
|
Object.send(:remove_const, "TestEmployee")
|
300
304
|
ActiveRecord::Base.table_name_prefix = nil
|
305
|
+
ActiveRecord::Base.clear_cache! if ActiveRecord::Base.respond_to?(:"clear_cache!")
|
301
306
|
end
|
302
307
|
|
303
308
|
it "should create table with table comment" do
|
@@ -359,6 +364,7 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
359
364
|
drop_table :test_employees
|
360
365
|
end
|
361
366
|
Object.send(:remove_const, "TestEmployee")
|
367
|
+
ActiveRecord::Base.clear_cache! if ActiveRecord::Base.respond_to?(:"clear_cache!")
|
362
368
|
end
|
363
369
|
|
364
370
|
it "should create table trigger with :new reference" do
|
@@ -402,6 +408,52 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
402
408
|
|
403
409
|
end
|
404
410
|
|
411
|
+
describe "rename index" do
|
412
|
+
before(:each) do
|
413
|
+
@conn = ActiveRecord::Base.connection
|
414
|
+
schema_define do
|
415
|
+
create_table :test_employees do |t|
|
416
|
+
t.string :first_name
|
417
|
+
t.string :last_name
|
418
|
+
end
|
419
|
+
add_index :test_employees, :first_name
|
420
|
+
end
|
421
|
+
class ::TestEmployee < ActiveRecord::Base; end
|
422
|
+
end
|
423
|
+
|
424
|
+
after(:each) do
|
425
|
+
schema_define do
|
426
|
+
drop_table :test_employees
|
427
|
+
end
|
428
|
+
Object.send(:remove_const, "TestEmployee")
|
429
|
+
ActiveRecord::Base.clear_cache! if ActiveRecord::Base.respond_to?(:"clear_cache!")
|
430
|
+
end
|
431
|
+
|
432
|
+
it "should raise error when current index name and new index name are identical" do
|
433
|
+
lambda do
|
434
|
+
@conn.rename_index("test_employees","i_test_employees_first_name","i_test_employees_first_name")
|
435
|
+
end.should raise_error
|
436
|
+
end
|
437
|
+
|
438
|
+
it "should raise error when new index name length is too long" do
|
439
|
+
lambda do
|
440
|
+
@conn.rename_index("test_employees","i_test_employees_first_name","a"*31)
|
441
|
+
end.should raise_error
|
442
|
+
end
|
443
|
+
|
444
|
+
it "should raise error when current index name does not exist" do
|
445
|
+
lambda do
|
446
|
+
@conn.rename_index("test_employees","nonexist_index_name","new_index_name")
|
447
|
+
end.should raise_error
|
448
|
+
end
|
449
|
+
|
450
|
+
it "should rename index name with new one" do
|
451
|
+
lambda do
|
452
|
+
@conn.rename_index("test_employees","i_test_employees_first_name","new_index_name")
|
453
|
+
end.should_not raise_error
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
405
457
|
describe "ignore options for LOB columns" do
|
406
458
|
after(:each) do
|
407
459
|
schema_define do
|
@@ -458,6 +510,7 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
458
510
|
drop_table :test_comments rescue nil
|
459
511
|
drop_table :test_posts rescue nil
|
460
512
|
end
|
513
|
+
ActiveRecord::Base.clear_cache! if ActiveRecord::Base.respond_to?(:"clear_cache!")
|
461
514
|
end
|
462
515
|
|
463
516
|
it "should add foreign key" do
|
@@ -623,6 +676,7 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
623
676
|
drop_table :test_comments rescue nil
|
624
677
|
drop_table :test_posts rescue nil
|
625
678
|
end
|
679
|
+
ActiveRecord::Base.clear_cache! if ActiveRecord::Base.respond_to?(:"clear_cache!")
|
626
680
|
end
|
627
681
|
|
628
682
|
it "should add foreign key in create_table" do
|
@@ -778,6 +832,7 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
778
832
|
remove_synonym :synonym_to_posts
|
779
833
|
remove_synonym :synonym_to_posts_seq
|
780
834
|
end
|
835
|
+
ActiveRecord::Base.clear_cache! if ActiveRecord::Base.respond_to?(:"clear_cache!")
|
781
836
|
end
|
782
837
|
|
783
838
|
it "should create synonym to table and sequence" do
|
@@ -828,6 +883,7 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
828
883
|
after(:each) do
|
829
884
|
Object.send(:remove_const, "TestPost")
|
830
885
|
schema_define { drop_table :test_posts }
|
886
|
+
ActiveRecord::Base.clear_cache! if ActiveRecord::Base.respond_to?(:"clear_cache!")
|
831
887
|
end
|
832
888
|
|
833
889
|
it "should change column to nullable" do
|
@@ -846,6 +902,24 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
846
902
|
TestPost.columns_hash['body'].should_not be_nil
|
847
903
|
end
|
848
904
|
|
905
|
+
it "should add lob column with non_default tablespace" do
|
906
|
+
ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.default_tablespaces.delete(:clob)
|
907
|
+
ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.default_tablespaces[:clob] = DATABASE_NON_DEFAULT_TABLESPACE
|
908
|
+
schema_define do
|
909
|
+
add_column :test_posts, :body, :text
|
910
|
+
end
|
911
|
+
TestPost.connection.select_value("SELECT tablespace_name FROM user_lobs WHERE table_name='TEST_POSTS' and column_name = 'BODY'").should == DATABASE_NON_DEFAULT_TABLESPACE
|
912
|
+
end
|
913
|
+
|
914
|
+
it "should add blob column with non_default tablespace" do
|
915
|
+
ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.default_tablespaces.delete(:blob)
|
916
|
+
ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.default_tablespaces[:blob] = DATABASE_NON_DEFAULT_TABLESPACE
|
917
|
+
schema_define do
|
918
|
+
add_column :test_posts, :attachment, :binary
|
919
|
+
end
|
920
|
+
TestPost.connection.select_value("SELECT tablespace_name FROM user_lobs WHERE table_name='TEST_POSTS' and column_name = 'ATTACHMENT'").should == DATABASE_NON_DEFAULT_TABLESPACE
|
921
|
+
end
|
922
|
+
|
849
923
|
it "should rename column" do
|
850
924
|
schema_define do
|
851
925
|
rename_column :test_posts, :title, :subject
|
@@ -865,6 +939,45 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
865
939
|
|
866
940
|
end
|
867
941
|
|
942
|
+
describe 'virtual columns' do
|
943
|
+
before(:all) do
|
944
|
+
schema_define do
|
945
|
+
@expr = "( numerator/NULLIF(denominator,0) )*100"
|
946
|
+
create_table :test_fractions, :force => true do |t|
|
947
|
+
t.integer :numerator, :default=>0
|
948
|
+
t.integer :denominator, :default=>0
|
949
|
+
t.virtual :percent, :default=>@expr if @oracle11g
|
950
|
+
end
|
951
|
+
end
|
952
|
+
end
|
953
|
+
before(:each) do
|
954
|
+
class ::TestFraction < ActiveRecord::Base
|
955
|
+
set_table_name "test_fractions"
|
956
|
+
end
|
957
|
+
end
|
958
|
+
|
959
|
+
after(:all) do
|
960
|
+
schema_define do
|
961
|
+
drop_table :test_fractions
|
962
|
+
end
|
963
|
+
end
|
964
|
+
|
965
|
+
it 'should include virtual columns and not try to update them' do
|
966
|
+
pending "Not supported in this database version" unless @oracle11g
|
967
|
+
tf = TestFraction.columns.detect { |c| c.virtual? }
|
968
|
+
tf.should_not be nil
|
969
|
+
tf.name.should == "percent"
|
970
|
+
tf.virtual?.should be true
|
971
|
+
lambda do
|
972
|
+
tf = TestFraction.new(:numerator=>20, :denominator=>100)
|
973
|
+
tf.percent.should==0 # not whatever is in DATA_DEFAULT column
|
974
|
+
tf.save!
|
975
|
+
tf.reload
|
976
|
+
end.should_not raise_error
|
977
|
+
tf.percent.to_i.should == 20
|
978
|
+
end
|
979
|
+
end
|
980
|
+
|
868
981
|
describe "miscellaneous options" do
|
869
982
|
before(:all) do
|
870
983
|
@conn = ActiveRecord::Base.connection
|
@@ -902,6 +1015,33 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
902
1015
|
end
|
903
1016
|
@would_execute_sql.should =~ /CREATE +TABLE .* \(.*\) TABLESPACE bogus/
|
904
1017
|
end
|
1018
|
+
|
1019
|
+
describe "creating a table with a tablespace defaults set" do
|
1020
|
+
after(:each) do
|
1021
|
+
@conn.drop_table :tablespace_tests rescue nil
|
1022
|
+
ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.default_tablespaces.delete(:table)
|
1023
|
+
end
|
1024
|
+
it "should use correct tablespace" do
|
1025
|
+
ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.default_tablespaces[:table] = DATABASE_NON_DEFAULT_TABLESPACE
|
1026
|
+
@conn.create_table :tablespace_tests do |t|
|
1027
|
+
t.integer :id
|
1028
|
+
end
|
1029
|
+
@would_execute_sql.should =~ /CREATE +TABLE .* \(.*\) TABLESPACE #{DATABASE_NON_DEFAULT_TABLESPACE}/
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
describe "creating an index-organized table" do
|
1034
|
+
after(:each) do
|
1035
|
+
@conn.drop_table :tablespace_tests rescue nil
|
1036
|
+
ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.default_tablespaces.delete(:table)
|
1037
|
+
end
|
1038
|
+
it "should use correct tablespace" do
|
1039
|
+
@conn.create_table :tablespace_tests, :id=>false, :organization=>'INDEX INITRANS 4 COMPRESS 1', :tablespace=>'bogus' do |t|
|
1040
|
+
t.integer :id
|
1041
|
+
end
|
1042
|
+
@would_execute_sql.should =~ /CREATE +TABLE .*\(.*\)\s+ORGANIZATION INDEX INITRANS 4 COMPRESS 1 TABLESPACE bogus/
|
1043
|
+
end
|
1044
|
+
end
|
905
1045
|
|
906
1046
|
it "should support the :options option to add_index" do
|
907
1047
|
schema_define do
|
@@ -916,5 +1056,14 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
916
1056
|
end
|
917
1057
|
@would_execute_sql.should =~ /CREATE +INDEX .* ON .* \(.*\) TABLESPACE bogus/
|
918
1058
|
end
|
1059
|
+
|
1060
|
+
it "should use default_tablespaces in add_index" do
|
1061
|
+
ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.default_tablespaces[:index] = DATABASE_NON_DEFAULT_TABLESPACE
|
1062
|
+
schema_define do
|
1063
|
+
add_index :keyboards, :name
|
1064
|
+
end
|
1065
|
+
ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.default_tablespaces.delete(:index)
|
1066
|
+
@would_execute_sql.should =~ /CREATE +INDEX .* ON .* \(.*\) TABLESPACE #{DATABASE_NON_DEFAULT_TABLESPACE}/
|
1067
|
+
end
|
919
1068
|
end
|
920
1069
|
end
|
@@ -6,6 +6,7 @@ describe "OracleEnhancedAdapter structure dump" do
|
|
6
6
|
before(:all) do
|
7
7
|
ActiveRecord::Base.establish_connection(CONNECTION_PARAMS)
|
8
8
|
@conn = ActiveRecord::Base.connection
|
9
|
+
@oracle11g = !! @conn.select_value("SELECT * FROM v$version WHERE banner LIKE 'Oracle%11g%'")
|
9
10
|
end
|
10
11
|
describe "structure dump" do
|
11
12
|
before(:each) do
|
@@ -138,7 +139,7 @@ describe "OracleEnhancedAdapter structure dump" do
|
|
138
139
|
end
|
139
140
|
|
140
141
|
it "should dump virtual columns" do
|
141
|
-
pending "Not supported in this database version" unless @
|
142
|
+
pending "Not supported in this database version" unless @oracle11g
|
142
143
|
@conn.execute <<-SQL
|
143
144
|
CREATE TABLE bars (
|
144
145
|
id NUMBER(38,0) NOT NULL,
|
@@ -147,9 +148,9 @@ describe "OracleEnhancedAdapter structure dump" do
|
|
147
148
|
)
|
148
149
|
SQL
|
149
150
|
dump = ActiveRecord::Base.connection.structure_dump
|
150
|
-
dump.should =~
|
151
|
+
dump.should =~ /\"?ID_PLUS\"? NUMBER GENERATED ALWAYS AS \(ID\+2\) VIRTUAL/
|
151
152
|
end
|
152
|
-
|
153
|
+
|
153
154
|
it "should dump unique keys" do
|
154
155
|
@conn.execute <<-SQL
|
155
156
|
ALTER TABLE test_posts
|
@@ -319,4 +320,4 @@ describe "OracleEnhancedAdapter structure dump" do
|
|
319
320
|
drop.should_not =~ /DROP TABLE "?FULL_DROP_TEST"? CASCADE CONSTRAINTS/i
|
320
321
|
end
|
321
322
|
end
|
322
|
-
end
|
323
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -14,7 +14,7 @@ elsif RUBY_ENGINE == 'jruby'
|
|
14
14
|
end
|
15
15
|
|
16
16
|
ENV['RAILS_GEM_VERSION'] ||= '3.1-master'
|
17
|
-
NO_COMPOSITE_PRIMARY_KEYS = true if ENV['RAILS_GEM_VERSION'] >= '2.3.5'
|
17
|
+
NO_COMPOSITE_PRIMARY_KEYS = true if ENV['RAILS_GEM_VERSION'] >= '2.3.5' || ENV['RAILS_GEM_VERSION'] =~ /^2\.3\.1\d$/
|
18
18
|
|
19
19
|
puts "==> Running specs with Rails version #{ENV['RAILS_GEM_VERSION']}"
|
20
20
|
|
@@ -184,6 +184,8 @@ SYSTEM_CONNECTION_PARAMS = {
|
|
184
184
|
:password => DATABASE_SYS_PASSWORD
|
185
185
|
}
|
186
186
|
|
187
|
+
DATABASE_NON_DEFAULT_TABLESPACE = ENV['DATABASE_NON_DEFAULT_TABLESPACE'] || "SYSTEM"
|
188
|
+
|
187
189
|
# Set default $KCODE to UTF8
|
188
190
|
$KCODE = "UTF8"
|
189
191
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-oracle_enhanced-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 1.
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
version: 1.4.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Raimonds Simanovskis
|
@@ -15,12 +15,13 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-09 00:00:00 +03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
+
prerelease: false
|
22
23
|
type: :development
|
23
|
-
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
25
|
none: false
|
25
26
|
requirements:
|
26
27
|
- - ~>
|
@@ -31,12 +32,12 @@ dependencies:
|
|
31
32
|
- 5
|
32
33
|
- 1
|
33
34
|
version: 1.5.1
|
34
|
-
requirement: *id001
|
35
|
-
prerelease: false
|
36
35
|
name: jeweler
|
36
|
+
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
|
+
prerelease: false
|
38
39
|
type: :development
|
39
|
-
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
41
|
none: false
|
41
42
|
requirements:
|
42
43
|
- - ~>
|
@@ -46,12 +47,12 @@ dependencies:
|
|
46
47
|
- 2
|
47
48
|
- 4
|
48
49
|
version: "2.4"
|
49
|
-
requirement: *id002
|
50
|
-
prerelease: false
|
51
50
|
name: rspec
|
51
|
+
version_requirements: *id002
|
52
52
|
- !ruby/object:Gem::Dependency
|
53
|
+
prerelease: false
|
53
54
|
type: :development
|
54
|
-
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
56
|
none: false
|
56
57
|
requirements:
|
57
58
|
- - ">="
|
@@ -60,12 +61,12 @@ dependencies:
|
|
60
61
|
segments:
|
61
62
|
- 0
|
62
63
|
version: "0"
|
63
|
-
requirement: *id003
|
64
|
-
prerelease: false
|
65
64
|
name: activerecord
|
65
|
+
version_requirements: *id003
|
66
66
|
- !ruby/object:Gem::Dependency
|
67
|
+
prerelease: false
|
67
68
|
type: :development
|
68
|
-
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
69
70
|
none: false
|
70
71
|
requirements:
|
71
72
|
- - ">="
|
@@ -74,12 +75,12 @@ dependencies:
|
|
74
75
|
segments:
|
75
76
|
- 0
|
76
77
|
version: "0"
|
77
|
-
requirement: *id004
|
78
|
-
prerelease: false
|
79
78
|
name: activemodel
|
79
|
+
version_requirements: *id004
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
|
+
prerelease: false
|
81
82
|
type: :development
|
82
|
-
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
83
84
|
none: false
|
84
85
|
requirements:
|
85
86
|
- - ">="
|
@@ -88,12 +89,12 @@ dependencies:
|
|
88
89
|
segments:
|
89
90
|
- 0
|
90
91
|
version: "0"
|
91
|
-
requirement: *id005
|
92
|
-
prerelease: false
|
93
92
|
name: activesupport
|
93
|
+
version_requirements: *id005
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
|
+
prerelease: false
|
95
96
|
type: :development
|
96
|
-
|
97
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
97
98
|
none: false
|
98
99
|
requirements:
|
99
100
|
- - ">="
|
@@ -102,12 +103,12 @@ dependencies:
|
|
102
103
|
segments:
|
103
104
|
- 0
|
104
105
|
version: "0"
|
105
|
-
requirement: *id006
|
106
|
-
prerelease: false
|
107
106
|
name: actionpack
|
107
|
+
version_requirements: *id006
|
108
108
|
- !ruby/object:Gem::Dependency
|
109
|
+
prerelease: false
|
109
110
|
type: :development
|
110
|
-
|
111
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
111
112
|
none: false
|
112
113
|
requirements:
|
113
114
|
- - ">="
|
@@ -116,12 +117,12 @@ dependencies:
|
|
116
117
|
segments:
|
117
118
|
- 0
|
118
119
|
version: "0"
|
119
|
-
requirement: *id007
|
120
|
-
prerelease: false
|
121
120
|
name: railties
|
121
|
+
version_requirements: *id007
|
122
122
|
- !ruby/object:Gem::Dependency
|
123
|
+
prerelease: false
|
123
124
|
type: :development
|
124
|
-
|
125
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
125
126
|
none: false
|
126
127
|
requirements:
|
127
128
|
- - ">="
|
@@ -130,26 +131,12 @@ dependencies:
|
|
130
131
|
segments:
|
131
132
|
- 0
|
132
133
|
version: "0"
|
133
|
-
requirement: *id008
|
134
|
-
prerelease: false
|
135
134
|
name: arel
|
135
|
+
version_requirements: *id008
|
136
136
|
- !ruby/object:Gem::Dependency
|
137
|
-
type: :development
|
138
|
-
version_requirements: &id009 !ruby/object:Gem::Requirement
|
139
|
-
none: false
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
hash: 3
|
144
|
-
segments:
|
145
|
-
- 0
|
146
|
-
version: "0"
|
147
|
-
requirement: *id009
|
148
137
|
prerelease: false
|
149
|
-
name: rack
|
150
|
-
- !ruby/object:Gem::Dependency
|
151
138
|
type: :development
|
152
|
-
|
139
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
153
140
|
none: false
|
154
141
|
requirements:
|
155
142
|
- - ">="
|
@@ -160,12 +147,12 @@ dependencies:
|
|
160
147
|
- 4
|
161
148
|
- 4
|
162
149
|
version: 0.4.4
|
163
|
-
requirement: *id010
|
164
|
-
prerelease: false
|
165
150
|
name: ruby-plsql
|
151
|
+
version_requirements: *id009
|
166
152
|
- !ruby/object:Gem::Dependency
|
153
|
+
prerelease: false
|
167
154
|
type: :development
|
168
|
-
|
155
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
169
156
|
none: false
|
170
157
|
requirements:
|
171
158
|
- - ~>
|
@@ -176,9 +163,8 @@ dependencies:
|
|
176
163
|
- 0
|
177
164
|
- 4
|
178
165
|
version: 2.0.4
|
179
|
-
requirement: *id011
|
180
|
-
prerelease: false
|
181
166
|
name: ruby-oci8
|
167
|
+
version_requirements: *id010
|
182
168
|
description: |
|
183
169
|
Oracle "enhanced" ActiveRecord adapter contains useful additional methods for working with new and legacy Oracle databases.
|
184
170
|
This adapter is superset of original ActiveRecord Oracle adapter.
|
@@ -189,14 +175,14 @@ executables: []
|
|
189
175
|
extensions: []
|
190
176
|
|
191
177
|
extra_rdoc_files:
|
192
|
-
- README.
|
178
|
+
- README.md
|
193
179
|
files:
|
194
180
|
- .rspec
|
195
181
|
- Gemfile
|
196
182
|
- History.txt
|
197
183
|
- License.txt
|
198
|
-
- README.
|
199
|
-
- RUNNING_TESTS.
|
184
|
+
- README.md
|
185
|
+
- RUNNING_TESTS.md
|
200
186
|
- Rakefile
|
201
187
|
- VERSION
|
202
188
|
- activerecord-oracle_enhanced-adapter.gemspec
|
@@ -266,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
252
|
requirements: []
|
267
253
|
|
268
254
|
rubyforge_project:
|
269
|
-
rubygems_version: 1.
|
255
|
+
rubygems_version: 1.6.2
|
270
256
|
signing_key:
|
271
257
|
specification_version: 3
|
272
258
|
summary: Oracle enhanced adapter for ActiveRecord
|