activerecord-oracle_enhanced-adapter 1.2.4 → 1.3.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/.gitignore +0 -1
- data/History.txt +20 -0
- data/README.rdoc +7 -3
- data/Rakefile +1 -2
- data/VERSION +1 -1
- data/activerecord-oracle_enhanced-adapter.gemspec +96 -0
- data/lib/active_record/connection_adapters/oracle_enhanced.rake +11 -8
- data/lib/active_record/connection_adapters/oracle_enhanced_activerecord_patches.rb +37 -0
- data/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb +317 -180
- data/lib/active_record/connection_adapters/oracle_enhanced_context_index.rb +282 -0
- data/lib/active_record/connection_adapters/oracle_enhanced_core_ext.rb +3 -2
- data/lib/active_record/connection_adapters/oracle_enhanced_dirty.rb +1 -1
- data/lib/active_record/connection_adapters/oracle_enhanced_jdbc_connection.rb +3 -3
- data/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb +6 -1
- data/lib/active_record/connection_adapters/oracle_enhanced_procedures.rb +143 -52
- data/lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb +2 -1
- data/lib/active_record/connection_adapters/oracle_enhanced_schema_dumper.rb +39 -20
- data/lib/active_record/connection_adapters/oracle_enhanced_tasks.rb +2 -1
- data/lib/active_record/connection_adapters/oracle_enhanced_version.rb +1 -1
- data/spec/active_record/connection_adapters/oracle_enhanced_adapter_spec.rb +70 -11
- data/spec/active_record/connection_adapters/oracle_enhanced_adapter_structure_dumper_spec.rb +27 -20
- data/spec/active_record/connection_adapters/oracle_enhanced_context_index_spec.rb +334 -0
- data/spec/active_record/connection_adapters/oracle_enhanced_cpk_spec.rb +28 -22
- data/spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb +24 -28
- data/spec/active_record/connection_adapters/oracle_enhanced_dbms_output_spec.rb +13 -11
- data/spec/active_record/connection_adapters/oracle_enhanced_dirty_spec.rb +1 -1
- data/spec/active_record/connection_adapters/oracle_enhanced_procedures_spec.rb +72 -69
- data/spec/active_record/connection_adapters/oracle_enhanced_schema_dump_spec.rb +112 -6
- data/spec/active_record/connection_adapters/oracle_enhanced_schema_spec.rb +49 -1
- data/spec/spec_helper.rb +97 -19
- metadata +33 -22
- data/Manifest.txt +0 -32
- data/lib/active_record/connection_adapters/oracle_enhanced_reserved_words.rb +0 -126
@@ -8,9 +8,9 @@ describe "OracleEnhancedAdapter schema dump" do
|
|
8
8
|
@conn = ActiveRecord::Base.connection
|
9
9
|
end
|
10
10
|
|
11
|
-
def standard_dump
|
11
|
+
def standard_dump(options = {})
|
12
12
|
stream = StringIO.new
|
13
|
-
ActiveRecord::SchemaDumper.ignore_tables = []
|
13
|
+
ActiveRecord::SchemaDumper.ignore_tables = options[:ignore_tables]||[]
|
14
14
|
ActiveRecord::SchemaDumper.dump(ActiveRecord::Base.connection, stream)
|
15
15
|
stream.string
|
16
16
|
end
|
@@ -20,6 +20,7 @@ describe "OracleEnhancedAdapter schema dump" do
|
|
20
20
|
schema_define do
|
21
21
|
create_table :test_posts, options do |t|
|
22
22
|
t.string :title
|
23
|
+
t.timestamps
|
23
24
|
end
|
24
25
|
add_index :test_posts, :title
|
25
26
|
end
|
@@ -32,7 +33,44 @@ describe "OracleEnhancedAdapter schema dump" do
|
|
32
33
|
rescue
|
33
34
|
nil
|
34
35
|
end
|
36
|
+
|
37
|
+
describe "tables" do
|
38
|
+
after(:each) do
|
39
|
+
drop_test_posts_table
|
40
|
+
end
|
41
|
+
|
42
|
+
it "should not include ignored table names in schema dump" do
|
43
|
+
create_test_posts_table
|
44
|
+
standard_dump(:ignore_tables => %w(test_posts)).should_not =~ /create_table "test_posts"/
|
45
|
+
end
|
46
|
+
|
47
|
+
it "should not include ignored table regexes in schema dump" do
|
48
|
+
create_test_posts_table
|
49
|
+
standard_dump(:ignore_tables => [ /test_posts/i ]).should_not =~ /create_table "test_posts"/
|
50
|
+
end
|
35
51
|
|
52
|
+
end
|
53
|
+
|
54
|
+
describe "dumping default values" do
|
55
|
+
before :each do
|
56
|
+
schema_define do
|
57
|
+
create_table "test_defaults", :force => true do |t|
|
58
|
+
t.string "regular", :default => "c"
|
59
|
+
t.string "special_c", :default => "\n"
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
after(:each) do
|
65
|
+
schema_define do
|
66
|
+
drop_table "test_defaults"
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
it "should be able to dump default values using special characters" do
|
71
|
+
standard_dump.should =~ /t.string \"special_c\", :default => "\\n"/
|
72
|
+
end
|
73
|
+
end
|
36
74
|
describe "table prefixes and suffixes" do
|
37
75
|
after(:each) do
|
38
76
|
drop_test_posts_table
|
@@ -144,6 +182,34 @@ describe "OracleEnhancedAdapter schema dump" do
|
|
144
182
|
standard_dump.should =~ /add_foreign_key "test_comments", "test_posts", :name => "test_comments_test_post_id_fk", :dependent => :nullify/
|
145
183
|
end
|
146
184
|
|
185
|
+
it "should not include foreign keys on ignored table names in schema dump" do
|
186
|
+
schema_define do
|
187
|
+
add_foreign_key :test_comments, :test_posts
|
188
|
+
end
|
189
|
+
standard_dump(:ignore_tables => %w(test_comments)).should_not =~ /add_foreign_key "test_comments"/
|
190
|
+
end
|
191
|
+
|
192
|
+
it "should not include foreign keys on ignored table regexes in schema dump" do
|
193
|
+
schema_define do
|
194
|
+
add_foreign_key :test_comments, :test_posts
|
195
|
+
end
|
196
|
+
standard_dump(:ignore_tables => [ /test_comments/i ]).should_not =~ /add_foreign_key "test_comments"/
|
197
|
+
end
|
198
|
+
|
199
|
+
it "should include foreign keys referencing ignored table names in schema dump" do
|
200
|
+
schema_define do
|
201
|
+
add_foreign_key :test_comments, :test_posts
|
202
|
+
end
|
203
|
+
standard_dump(:ignore_tables => %w(test_posts)).should =~ /add_foreign_key "test_comments"/
|
204
|
+
end
|
205
|
+
|
206
|
+
it "should include foreign keys referencing ignored table regexes in schema dump" do
|
207
|
+
schema_define do
|
208
|
+
add_foreign_key :test_comments, :test_posts
|
209
|
+
end
|
210
|
+
standard_dump(:ignore_tables => [ /test_posts/i ]).should =~ /add_foreign_key "test_comments"/
|
211
|
+
end
|
212
|
+
|
147
213
|
end
|
148
214
|
|
149
215
|
describe "synonyms" do
|
@@ -164,7 +230,28 @@ describe "OracleEnhancedAdapter schema dump" do
|
|
164
230
|
schema_define do
|
165
231
|
add_synonym :test_synonym, "table_name@link_name", :force => true
|
166
232
|
end
|
167
|
-
standard_dump.should =~ /add_synonym "test_synonym", "table_name@link_name", :force => true/
|
233
|
+
standard_dump.should =~ /add_synonym "test_synonym", "table_name@link_name(\.[-A-Za-z0-9_]+)*", :force => true/
|
234
|
+
end
|
235
|
+
|
236
|
+
it "should not include ignored table names in schema dump" do
|
237
|
+
schema_define do
|
238
|
+
add_synonym :test_synonym, "schema_name.table_name", :force => true
|
239
|
+
end
|
240
|
+
standard_dump(:ignore_tables => %w(test_synonym)).should_not =~ /add_synonym "test_synonym"/
|
241
|
+
end
|
242
|
+
|
243
|
+
it "should not include ignored table regexes in schema dump" do
|
244
|
+
schema_define do
|
245
|
+
add_synonym :test_synonym, "schema_name.table_name", :force => true
|
246
|
+
end
|
247
|
+
standard_dump(:ignore_tables => [ /test_synonym/i ]).should_not =~ /add_synonym "test_synonym"/
|
248
|
+
end
|
249
|
+
|
250
|
+
it "should include synonyms to ignored table regexes in schema dump" do
|
251
|
+
schema_define do
|
252
|
+
add_synonym :test_synonym, "schema_name.table_name", :force => true
|
253
|
+
end
|
254
|
+
standard_dump(:ignore_tables => [ /table_name/i ]).should =~ /add_synonym "test_synonym"/
|
168
255
|
end
|
169
256
|
|
170
257
|
end
|
@@ -187,17 +274,36 @@ describe "OracleEnhancedAdapter schema dump" do
|
|
187
274
|
|
188
275
|
it "should not specify default tablespace in add index" do
|
189
276
|
create_test_posts_table
|
190
|
-
standard_dump.should =~ /add_index
|
277
|
+
standard_dump.should =~ /add_index "test_posts", \["title"\], :name => "index_test_posts_on_title"$/
|
191
278
|
end
|
192
279
|
|
193
|
-
it "should
|
280
|
+
it "should specify non-default tablespace in add index" do
|
194
281
|
tablespace_name = @conn.default_tablespace
|
195
282
|
@conn.stub!(:default_tablespace).and_return('dummy')
|
196
283
|
create_test_posts_table
|
197
|
-
standard_dump.should =~ /add_index
|
284
|
+
standard_dump.should =~ /add_index "test_posts", \["title"\], :name => "index_test_posts_on_title", :tablespace => "#{tablespace_name}"$/
|
285
|
+
end
|
286
|
+
|
287
|
+
it "should create and dump function-based indexes" do
|
288
|
+
create_test_posts_table
|
289
|
+
@conn.add_index :test_posts, "NVL(created_at, updated_at)", :name => "index_test_posts_cr_upd_at"
|
290
|
+
standard_dump.should =~ /add_index "test_posts", \["NVL\(\\"CREATED_AT\\",\\"UPDATED_AT\\"\)"\], :name => "index_test_posts_cr_upd_at"$/
|
198
291
|
end
|
199
292
|
|
200
293
|
end
|
201
294
|
|
295
|
+
describe "materialized views" do
|
296
|
+
after(:each) do
|
297
|
+
@conn.execute "DROP MATERIALIZED VIEW test_posts_mv" rescue nil
|
298
|
+
drop_test_posts_table
|
299
|
+
end
|
300
|
+
|
301
|
+
it "should not include materialized views in schema dump" do
|
302
|
+
create_test_posts_table
|
303
|
+
@conn.execute "CREATE MATERIALIZED VIEW test_posts_mv AS SELECT * FROM test_posts"
|
304
|
+
standard_dump.should_not =~ /create_table "test_posts_mv"/
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
202
308
|
end
|
203
309
|
|
@@ -667,7 +667,7 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
667
667
|
@db_link_password = CONNECTION_PARAMS[:password]
|
668
668
|
@db_link_database = CONNECTION_PARAMS[:database]
|
669
669
|
@conn.execute "DROP DATABASE LINK #{@db_link}" rescue nil
|
670
|
-
@conn.execute "CREATE DATABASE LINK #{@db_link} CONNECT TO #{@db_link_username} IDENTIFIED BY #{@db_link_password} USING '#{@db_link_database}'"
|
670
|
+
@conn.execute "CREATE DATABASE LINK #{@db_link} CONNECT TO #{@db_link_username} IDENTIFIED BY \"#{@db_link_password}\" USING '#{@db_link_database}'"
|
671
671
|
schema_define do
|
672
672
|
create_table :test_posts, :force => true do |t|
|
673
673
|
t.string :title
|
@@ -781,4 +781,52 @@ describe "OracleEnhancedAdapter schema definition" do
|
|
781
781
|
|
782
782
|
end
|
783
783
|
|
784
|
+
describe "miscellaneous options" do
|
785
|
+
before(:each) do
|
786
|
+
@conn.instance_variable_set :@would_execute_sql, @would_execute_sql=''
|
787
|
+
class <<@conn
|
788
|
+
def execute(sql,name=nil); @would_execute_sql << sql << ";\n"; end
|
789
|
+
def index_exists?(table_name, index_name, default); default; end
|
790
|
+
end
|
791
|
+
end
|
792
|
+
|
793
|
+
after(:each) do
|
794
|
+
class <<@conn
|
795
|
+
remove_method :execute
|
796
|
+
end
|
797
|
+
@conn.instance_eval{ remove_instance_variable :@would_execute_sql }
|
798
|
+
end
|
799
|
+
|
800
|
+
it "should support the :options option to create_table" do
|
801
|
+
schema_define do
|
802
|
+
create_table :test_posts, :options=>'NOLOGGING', :force => true do |t|
|
803
|
+
t.string :title, :null => false
|
804
|
+
end
|
805
|
+
end
|
806
|
+
@would_execute_sql.should =~ /CREATE +TABLE .* \(.*\) NOLOGGING/
|
807
|
+
end
|
808
|
+
|
809
|
+
it "should support the :tablespace option to create_table" do
|
810
|
+
schema_define do
|
811
|
+
create_table :test_posts, :tablespace=>'bogus', :force => true do |t|
|
812
|
+
t.string :title, :null => false
|
813
|
+
end
|
814
|
+
end
|
815
|
+
@would_execute_sql.should =~ /CREATE +TABLE .* \(.*\) TABLESPACE bogus/
|
816
|
+
end
|
817
|
+
|
818
|
+
it "should support the :options option to add_index" do
|
819
|
+
schema_define do
|
820
|
+
add_index :keyboards, :name, :options=>'NOLOGGING'
|
821
|
+
end
|
822
|
+
@would_execute_sql.should =~ /CREATE +INDEX .* ON .* \(.*\) NOLOGGING/
|
823
|
+
end
|
824
|
+
|
825
|
+
it "should support the :tablespace option to add_index" do
|
826
|
+
schema_define do
|
827
|
+
add_index :keyboards, :name, :tablespace=>'bogus'
|
828
|
+
end
|
829
|
+
@would_execute_sql.should =~ /CREATE +INDEX .* ON .* \(.*\) TABLESPACE bogus/
|
830
|
+
end
|
831
|
+
end
|
784
832
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -24,30 +24,46 @@ elsif ENV['RAILS_GEM_VERSION'] =~ /^2.3.3/
|
|
24
24
|
gem 'actionpack', '=2.3.3'
|
25
25
|
gem 'activesupport', '=2.3.3'
|
26
26
|
gem 'composite_primary_keys', '=2.3.2'
|
27
|
-
|
28
|
-
ENV['RAILS_GEM_VERSION'] ||= '2.3.5'
|
27
|
+
elsif ENV['RAILS_GEM_VERSION'] =~ /^2.3.5/
|
29
28
|
gem 'activerecord', '=2.3.5'
|
30
29
|
gem 'actionpack', '=2.3.5'
|
31
30
|
gem 'activesupport', '=2.3.5'
|
32
31
|
NO_COMPOSITE_PRIMARY_KEYS = true
|
32
|
+
elsif ENV['RAILS_GEM_VERSION'] =~ /^2.3/
|
33
|
+
gem 'activerecord', '=2.3.8'
|
34
|
+
gem 'actionpack', '=2.3.8'
|
35
|
+
gem 'activesupport', '=2.3.8'
|
36
|
+
NO_COMPOSITE_PRIMARY_KEYS = true
|
37
|
+
else
|
38
|
+
# uses local copy of Rails 3 gems
|
39
|
+
['rails/activerecord', 'rails/activemodel', 'rails/activesupport', 'arel', 'rails/actionpack', 'rails/railties'].each do |library|
|
40
|
+
$:.unshift(File.expand_path(File.dirname(__FILE__) + '/../../' + library + '/lib'))
|
41
|
+
end
|
42
|
+
ENV['RAILS_GEM_VERSION'] ||= '3.0'
|
43
|
+
NO_COMPOSITE_PRIMARY_KEYS = true
|
33
44
|
end
|
34
45
|
|
35
46
|
require 'active_record'
|
36
|
-
|
37
|
-
if ENV['RAILS_GEM_VERSION'] >= '
|
47
|
+
|
48
|
+
if ENV['RAILS_GEM_VERSION'] >= '3.0'
|
49
|
+
require 'action_dispatch'
|
50
|
+
require 'active_support/core_ext/module/attribute_accessors'
|
51
|
+
require "rails/log_subscriber"
|
52
|
+
require 'active_record/railties/log_subscriber'
|
53
|
+
require 'logger'
|
54
|
+
elsif ENV['RAILS_GEM_VERSION'] =~ /^2.3/
|
55
|
+
require 'action_pack'
|
38
56
|
require 'action_controller/session/abstract_store'
|
39
57
|
require 'active_record/session_store'
|
40
|
-
|
58
|
+
elsif ENV['RAILS_GEM_VERSION'] <= '2.3'
|
59
|
+
require 'action_pack'
|
41
60
|
require 'action_controller/session/active_record_store'
|
42
61
|
end
|
43
|
-
if !defined?(RUBY_ENGINE)
|
44
|
-
gem 'ruby-oci8', '
|
45
|
-
require 'oci8'
|
46
|
-
elsif RUBY_ENGINE == 'ruby'
|
47
|
-
gem 'ruby-oci8', '=2.0.3'
|
62
|
+
if !defined?(RUBY_ENGINE) || RUBY_ENGINE == 'ruby'
|
63
|
+
gem 'ruby-oci8', '>=2.0.4'
|
48
64
|
require 'oci8'
|
49
65
|
elsif RUBY_ENGINE == 'jruby'
|
50
|
-
gem
|
66
|
+
gem 'activerecord-jdbc-adapter'
|
51
67
|
require 'active_record/connection_adapters/jdbc_adapter'
|
52
68
|
end
|
53
69
|
|
@@ -55,16 +71,78 @@ require 'active_record/connection_adapters/oracle_enhanced_adapter'
|
|
55
71
|
require 'ruby-plsql'
|
56
72
|
|
57
73
|
module LoggerSpecHelper
|
58
|
-
def
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
74
|
+
def set_logger
|
75
|
+
@logger = MockLogger.new
|
76
|
+
|
77
|
+
if ENV['RAILS_GEM_VERSION'] >= '3.0'
|
78
|
+
queue = ActiveSupport::Notifications::Fanout.new
|
79
|
+
@notifier = ActiveSupport::Notifications::Notifier.new(queue)
|
80
|
+
|
81
|
+
Rails::LogSubscriber.colorize_logging = false
|
82
|
+
|
83
|
+
ActiveRecord::Base.logger = @logger
|
84
|
+
ActiveSupport::Notifications.notifier = @notifier
|
85
|
+
|
86
|
+
Rails::LogSubscriber.add(:active_record, ActiveRecord::Railties::LogSubscriber.new)
|
87
|
+
|
88
|
+
else # ActiveRecord 2.x
|
89
|
+
if ActiveRecord::Base.respond_to?(:connection_pool)
|
90
|
+
ActiveRecord::Base.connection_pool.clear_reloadable_connections!
|
91
|
+
else
|
92
|
+
ActiveRecord::Base.clear_active_connections!
|
93
|
+
end
|
94
|
+
ActiveRecord::Base.logger = @logger
|
95
|
+
ActiveRecord::Base.colorize_logging = false
|
96
|
+
# ActiveRecord::Base.logger.level = Logger::DEBUG
|
97
|
+
end
|
98
|
+
|
99
|
+
end
|
100
|
+
|
101
|
+
class MockLogger
|
102
|
+
attr_reader :flush_count
|
103
|
+
|
104
|
+
def initialize
|
105
|
+
@flush_count = 0
|
106
|
+
@logged = Hash.new { |h,k| h[k] = [] }
|
107
|
+
end
|
108
|
+
|
109
|
+
# used in AtiveRecord 2.x
|
110
|
+
def debug?
|
111
|
+
true
|
112
|
+
end
|
113
|
+
|
114
|
+
def method_missing(level, message)
|
115
|
+
@logged[level] << message
|
116
|
+
end
|
117
|
+
|
118
|
+
def logged(level)
|
119
|
+
@logged[level].compact.map { |l| l.to_s.strip }
|
120
|
+
end
|
121
|
+
|
122
|
+
def output(level)
|
123
|
+
logged(level).join("\n")
|
124
|
+
end
|
125
|
+
|
126
|
+
def flush
|
127
|
+
@flush_count += 1
|
128
|
+
end
|
129
|
+
|
130
|
+
def clear(level)
|
131
|
+
@logged[level] = []
|
64
132
|
end
|
65
|
-
ActiveRecord::Base.colorize_logging = false
|
66
|
-
ActiveRecord::Base.logger.level = Logger::DEBUG
|
67
133
|
end
|
134
|
+
|
135
|
+
def clear_logger
|
136
|
+
ActiveRecord::Base.logger = @logger = nil
|
137
|
+
ActiveSupport::Notifications.notifier = @notifier = nil if @notifier
|
138
|
+
end
|
139
|
+
|
140
|
+
# Wait notifications to be published (for Rails 3.0)
|
141
|
+
# should not be currently used with sync queues in tests
|
142
|
+
def wait
|
143
|
+
@notifier.wait if @notifier
|
144
|
+
end
|
145
|
+
|
68
146
|
end
|
69
147
|
|
70
148
|
module SchemaSpecHelper
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-oracle_enhanced-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 1.3.0
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Raimonds Simanovskis
|
@@ -9,29 +15,25 @@ autorequire:
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date: 2010-
|
18
|
+
date: 2010-06-21 00:00:00 +03:00
|
13
19
|
default_executable:
|
14
20
|
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
16
|
-
name: activerecord
|
17
|
-
type: :runtime
|
18
|
-
version_requirement:
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 2.0.0
|
24
|
-
version:
|
25
21
|
- !ruby/object:Gem::Dependency
|
26
22
|
name: rspec
|
27
|
-
|
28
|
-
|
29
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
30
26
|
requirements:
|
31
27
|
- - ">="
|
32
28
|
- !ruby/object:Gem::Version
|
33
|
-
|
34
|
-
|
29
|
+
hash: 27
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 3
|
33
|
+
- 0
|
34
|
+
version: 1.3.0
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id001
|
35
37
|
description: |
|
36
38
|
Oracle "enhanced" ActiveRecord adapter contains useful additional methods for working with new and legacy Oracle databases.
|
37
39
|
This adapter is superset of original ActiveRecord Oracle adapter.
|
@@ -47,21 +49,22 @@ files:
|
|
47
49
|
- .gitignore
|
48
50
|
- History.txt
|
49
51
|
- License.txt
|
50
|
-
- Manifest.txt
|
51
52
|
- README.rdoc
|
52
53
|
- Rakefile
|
53
54
|
- VERSION
|
55
|
+
- activerecord-oracle_enhanced-adapter.gemspec
|
54
56
|
- lib/active_record/connection_adapters/emulation/oracle_adapter.rb
|
55
57
|
- lib/active_record/connection_adapters/oracle_enhanced.rake
|
58
|
+
- lib/active_record/connection_adapters/oracle_enhanced_activerecord_patches.rb
|
56
59
|
- lib/active_record/connection_adapters/oracle_enhanced_adapter.rb
|
57
60
|
- lib/active_record/connection_adapters/oracle_enhanced_connection.rb
|
61
|
+
- lib/active_record/connection_adapters/oracle_enhanced_context_index.rb
|
58
62
|
- lib/active_record/connection_adapters/oracle_enhanced_core_ext.rb
|
59
63
|
- lib/active_record/connection_adapters/oracle_enhanced_cpk.rb
|
60
64
|
- lib/active_record/connection_adapters/oracle_enhanced_dirty.rb
|
61
65
|
- lib/active_record/connection_adapters/oracle_enhanced_jdbc_connection.rb
|
62
66
|
- lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb
|
63
67
|
- lib/active_record/connection_adapters/oracle_enhanced_procedures.rb
|
64
|
-
- lib/active_record/connection_adapters/oracle_enhanced_reserved_words.rb
|
65
68
|
- lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb
|
66
69
|
- lib/active_record/connection_adapters/oracle_enhanced_schema_dumper.rb
|
67
70
|
- lib/active_record/connection_adapters/oracle_enhanced_schema_statements_ext.rb
|
@@ -70,6 +73,7 @@ files:
|
|
70
73
|
- spec/active_record/connection_adapters/oracle_enhanced_adapter_spec.rb
|
71
74
|
- spec/active_record/connection_adapters/oracle_enhanced_adapter_structure_dumper_spec.rb
|
72
75
|
- spec/active_record/connection_adapters/oracle_enhanced_connection_spec.rb
|
76
|
+
- spec/active_record/connection_adapters/oracle_enhanced_context_index_spec.rb
|
73
77
|
- spec/active_record/connection_adapters/oracle_enhanced_core_ext_spec.rb
|
74
78
|
- spec/active_record/connection_adapters/oracle_enhanced_cpk_spec.rb
|
75
79
|
- spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb
|
@@ -91,21 +95,27 @@ rdoc_options:
|
|
91
95
|
require_paths:
|
92
96
|
- lib
|
93
97
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
94
99
|
requirements:
|
95
100
|
- - ">="
|
96
101
|
- !ruby/object:Gem::Version
|
102
|
+
hash: 3
|
103
|
+
segments:
|
104
|
+
- 0
|
97
105
|
version: "0"
|
98
|
-
version:
|
99
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
100
108
|
requirements:
|
101
109
|
- - ">="
|
102
110
|
- !ruby/object:Gem::Version
|
111
|
+
hash: 3
|
112
|
+
segments:
|
113
|
+
- 0
|
103
114
|
version: "0"
|
104
|
-
version:
|
105
115
|
requirements: []
|
106
116
|
|
107
117
|
rubyforge_project:
|
108
|
-
rubygems_version: 1.3.
|
118
|
+
rubygems_version: 1.3.7
|
109
119
|
signing_key:
|
110
120
|
specification_version: 3
|
111
121
|
summary: Oracle enhanced adapter for ActiveRecord
|
@@ -113,6 +123,7 @@ test_files:
|
|
113
123
|
- spec/active_record/connection_adapters/oracle_enhanced_adapter_spec.rb
|
114
124
|
- spec/active_record/connection_adapters/oracle_enhanced_adapter_structure_dumper_spec.rb
|
115
125
|
- spec/active_record/connection_adapters/oracle_enhanced_connection_spec.rb
|
126
|
+
- spec/active_record/connection_adapters/oracle_enhanced_context_index_spec.rb
|
116
127
|
- spec/active_record/connection_adapters/oracle_enhanced_core_ext_spec.rb
|
117
128
|
- spec/active_record/connection_adapters/oracle_enhanced_cpk_spec.rb
|
118
129
|
- spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb
|