Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change list for version 1.2.2

  • Loading branch information...
commit 23db321c0e9ed569f325421f5187f9cf63f51301 1 parent 2916d14
@rsim authored
View
34 History.txt
@@ -1,3 +1,37 @@
+== 1.2.2 2009-09-28
+
+* Enhancements
+ * improved RDoc documentation of public methods
+ * structure dump optionally (database.yml environment has db_stored_code: yes) extracts
+ packages, procedures, functions, views, triggers and synonyms
+ * automatically generated too long index names are shortened down to 30 characters
+ * create tables with primary key triggers
+ * use 'set_sequence_name :autogenerated' for inserting into legacy tables with trigger populated primary keys
+ * access to tables over database link (need to define local synonym to remote table and use local synonym in set_table_name)
+ * [JRuby] support JDBC connection using TNS_ADMIN environment variable and TNS database alias
+ * changed cursor_sharing option default from 'similar' to 'force'
+ * optional dbms_output logging to ActiveRecord log file (requires ruby-plsql gem)
+ * use add_foreign_key and remove_foreign_key to define foreign key constraints
+ (the same syntax as in http://github.com/matthuhiggins/foreigner and similar
+ to http://github.com/eyestreet/active_record_oracle_extensions)
+ * raise RecordNotUnique and InvalidForeignKey exceptions if caused by corresponding ORA errors
+ (these new exceptions are supported just by current ActiveRecord master branch)
+ * implemented disable_referential_integrity
+ (enables safe loading of fixtures in schema with foreign key constraints)
+ * use add_synonym and remove_synonym to define database synonyms
+ * add_foreign_key and add_synonym are also exported to schema.rb
+* Bug fixes:
+ * [JRuby] do not raise LoadError if ojdbc14.jar cannot be required (rely on application server to add it to class path)
+ * [JRuby] 'execute' can be used to create triggers with :NEW reference
+ * support create_table without a block
+ * support create_table with Symbol table name
+ * use ActiveRecord functionality to do time zone conversion
+ * rake tasks such as db:test:clone are redefined only if oracle_enhanced is current adapter in use
+ * VARCHAR2 and CHAR column sizes are defined in characters and not in bytes (expected behavior from ActiveRecord)
+ * set_date_columns, set_datetime_columns, ignore_table_columns will work after reestablishing connection
+ * ignore :limit option for :text and :binary columns in migrations
+ * patches for ActiveRecord schema dumper to remove table prefixes and suffixes from schema.rb
+
== 1.2.1 2009-06-07
* Enhancements
View
6 Manifest.txt
@@ -12,6 +12,9 @@ lib/active_record/connection_adapters/oracle_enhanced_jdbc_connection.rb
lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb
lib/active_record/connection_adapters/oracle_enhanced_procedures.rb
lib/active_record/connection_adapters/oracle_enhanced_reserved_words.rb
+lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb
+lib/active_record/connection_adapters/oracle_enhanced_schema_dumper.rb
+lib/active_record/connection_adapters/oracle_enhanced_schema_statements_ext.rb
lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
lib/active_record/connection_adapters/oracle_enhanced_version.rb
spec/active_record/connection_adapters/oracle_enhanced_adapter_spec.rb
@@ -19,8 +22,11 @@ spec/active_record/connection_adapters/oracle_enhanced_connection_spec.rb
spec/active_record/connection_adapters/oracle_enhanced_core_ext_spec.rb
spec/active_record/connection_adapters/oracle_enhanced_cpk_spec.rb
spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb
+spec/active_record/connection_adapters/oracle_enhanced_dbms_output_spec.rb
spec/active_record/connection_adapters/oracle_enhanced_dirty_spec.rb
spec/active_record/connection_adapters/oracle_enhanced_emulate_oracle_adapter_spec.rb
spec/active_record/connection_adapters/oracle_enhanced_procedures_spec.rb
+spec/active_record/connection_adapters/oracle_enhanced_schema_dump_spec.rb
+spec/active_record/connection_adapters/oracle_enhanced_schema_spec.rb
spec/spec.opts
spec/spec_helper.rb
View
3  README.rdoc
@@ -9,6 +9,8 @@ from Rails which are extracted from current real projects' monkey patches of ori
See http://github.com/rsim/oracle-enhanced/wikis for usage information.
+See http://oracle-enhanced.rubyforge.org/rdoc for detailed API documentation.
+
For questions and feature discussion please use http://groups.google.com/group/oracle-enhanced
Blog posts about oracle-enahnced can be found at http://blog.rayapps.com/category/oracle-enhanced
@@ -41,6 +43,7 @@ Bugs and enhancement requests can be reported at http://rsim.lighthouseapp.com/p
* toddwf
* Anton Jenkins
* Dave Smylie
+* Alex Rothenberg
== LICENSE:
View
2  lib/active_record/connection_adapters/oracle_enhanced_version.rb
@@ -1,7 +1,7 @@
module ActiveRecord #:nodoc:
module ConnectionAdapters #:nodoc:
module OracleEnhancedVersion #:nodoc:
- VERSION = '1.2.1'
+ VERSION = '1.2.2'
end
end
end
View
8 oracle-enhanced.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{activerecord-oracle_enhanced-adapter}
- s.version = "1.2.1"
+ s.version = "1.2.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Raimonds Simanovskis"]
@@ -22,6 +22,9 @@ Gem::Specification.new do |s|
"lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb",
"lib/active_record/connection_adapters/oracle_enhanced_procedures.rb",
"lib/active_record/connection_adapters/oracle_enhanced_reserved_words.rb",
+ "lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb",
+ "lib/active_record/connection_adapters/oracle_enhanced_schema_dumper.rb",
+ "lib/active_record/connection_adapters/oracle_enhanced_schema_statements_ext.rb",
"lib/active_record/connection_adapters/oracle_enhanced_tasks.rb",
"lib/active_record/connection_adapters/oracle_enhanced_version.rb",
"oracle-enhanced.gemspec",
@@ -30,9 +33,12 @@ Gem::Specification.new do |s|
"spec/active_record/connection_adapters/oracle_enhanced_core_ext_spec.rb",
"spec/active_record/connection_adapters/oracle_enhanced_cpk_spec.rb",
"spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb",
+ "spec/active_record/connection_adapters/oracle_enhanced_dbms_output_spec.rb",
"spec/active_record/connection_adapters/oracle_enhanced_dirty_spec.rb",
"spec/active_record/connection_adapters/oracle_enhanced_emulate_oracle_adapter_spec.rb",
"spec/active_record/connection_adapters/oracle_enhanced_procedures_spec.rb",
+ "spec/active_record/connection_adapters/oracle_enhanced_schema_dump_spec.rb",
+ "spec/active_record/connection_adapters/oracle_enhanced_schema_spec.rb",
"spec/spec.opts",
"spec/spec_helper.rb"]
s.has_rdoc = true
View
7 website/index.html
@@ -33,9 +33,9 @@
<h1>ActiveRecord Oracle enhanced adapter</h1>
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/oracle-enhanced"; return false'>
<p>Get Version</p>
- <a href="http://rubyforge.org/projects/oracle-enhanced" class="numbers">1.2.1</a>
+ <a href="http://rubyforge.org/projects/oracle-enhanced" class="numbers">1.2.2</a>
</div>
- <h1>&amp;#x2192; &#8216;oracle-enhanced&#8217;</h1>
+ <h1>oracle-enhanced</h1>
<h2>What</h2>
<p>Oracle &#8220;enhanced&#8221; ActiveRecord adapter contains useful additional methods for working with new and legacy Oracle databases<br />
from Rails which are extracted from current real projects&#8217; monkey patches of original Oracle adapter.</p>
@@ -43,6 +43,7 @@
<p><pre class='syntax'><span class="ident">sudo</span> <span class="ident">gem</span> <span class="ident">install</span> <span class="ident">activerecord</span><span class="punct">-</span><span class="ident">oracle_enhanced</span><span class="punct">-</span><span class="ident">adapter</span></pre></p>
<h2>More information</h2>
<p>See http://github.com/rsim/oracle-enhanced/wikis for more information.</p>
+<p>See http://oracle-enhanced.rubyforge.org/rdoc for detailed <span class="caps">API</span> documentation.</p>
<p>For questions and feature discussion please use http://groups.google.com/group/oracle-enhanced</p>
<p>Blog posts about oracle-enahnced can be found at http://blog.rayapps.com/category/oracle-enhanced</p>
<p>Bugs and enhancement requests can be reported at http://rsim.lighthouseapp.com/projects/11468-oracle-enhanced</p>
@@ -59,7 +60,7 @@
<h2>License</h2>
<p>This code is free to use under the terms of the <span class="caps">MIT</span> license.</p>
<p class="coda">
- <a href="http://blog.rayapps.com">Raimonds Simanovskis</a>, 2nd January 2009<br>
+ <a href="http://blog.rayapps.com">Raimonds Simanovskis</a>, 28th September 2009<br>
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
</p>
</div>
View
5 website/index.txt
@@ -1,7 +1,6 @@
h1. ActiveRecord Oracle enhanced adapter
-h1. &#x2192; 'oracle-enhanced'
-
+h1. oracle-enhanced
h2. What
@@ -16,6 +15,8 @@ h2. More information
See http://github.com/rsim/oracle-enhanced/wikis for more information.
+See http://oracle-enhanced.rubyforge.org/rdoc for detailed API documentation.
+
For questions and feature discussion please use http://groups.google.com/group/oracle-enhanced
Blog posts about oracle-enahnced can be found at http://blog.rayapps.com/category/oracle-enhanced
Please sign in to comment.
Something went wrong with that request. Please try again.