activerecord-oracle_enhanced-adapter 1.5.6 → 1.6.9
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.
- checksums.yaml +4 -4
- data/.travis/oracle/download.sh +14 -0
- data/.travis/oracle/install.sh +31 -0
- data/.travis/setup_accounts.sh +9 -0
- data/.travis.yml +39 -0
- data/Gemfile +8 -8
- data/History.md +189 -0
- data/README.md +388 -178
- data/RUNNING_TESTS.md +11 -6
- data/VERSION +1 -1
- data/activerecord-oracle_enhanced-adapter.gemspec +29 -26
- data/lib/active_record/connection_adapters/{oracle_enhanced_column.rb → oracle_enhanced/column.rb} +14 -63
- data/lib/active_record/connection_adapters/oracle_enhanced/column_dumper.rb +66 -0
- data/lib/active_record/connection_adapters/{oracle_enhanced_connection.rb → oracle_enhanced/connection.rb} +2 -2
- data/lib/active_record/connection_adapters/oracle_enhanced/context_index.rb +347 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb +260 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/dirty.rb +40 -0
- data/lib/active_record/connection_adapters/{oracle_enhanced_jdbc_connection.rb → oracle_enhanced/jdbc_connection.rb} +13 -4
- data/lib/active_record/connection_adapters/{oracle_enhanced_oci_connection.rb → oracle_enhanced/oci_connection.rb} +11 -5
- data/lib/active_record/connection_adapters/{oracle_enhanced_procedures.rb → oracle_enhanced/procedures.rb} +1 -1
- data/lib/active_record/connection_adapters/{oracle_enhanced_schema_creation.rb → oracle_enhanced/schema_creation.rb} +34 -35
- data/lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb +95 -0
- data/lib/active_record/connection_adapters/{oracle_enhanced_schema_dumper.rb → oracle_enhanced/schema_dumper.rb} +14 -37
- data/lib/active_record/connection_adapters/oracle_enhanced/schema_statements.rb +562 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/schema_statements_ext.rb +65 -0
- data/lib/active_record/connection_adapters/{oracle_enhanced_structure_dump.rb → oracle_enhanced/structure_dump.rb} +63 -14
- data/lib/active_record/connection_adapters/oracle_enhanced/version.rb +1 -0
- data/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb +171 -73
- data/lib/active_record/oracle_enhanced/type/integer.rb +13 -0
- data/lib/active_record/oracle_enhanced/type/raw.rb +13 -0
- data/lib/active_record/oracle_enhanced/type/timestamp.rb +11 -0
- data/lib/activerecord-oracle_enhanced-adapter.rb +1 -1
- data/spec/active_record/connection_adapters/oracle_enhanced_adapter_spec.rb +127 -49
- data/spec/active_record/connection_adapters/oracle_enhanced_connection_spec.rb +46 -5
- data/spec/active_record/connection_adapters/oracle_enhanced_context_index_spec.rb +11 -3
- data/spec/active_record/connection_adapters/oracle_enhanced_cpk_spec.rb +3 -3
- data/spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb +151 -78
- data/spec/active_record/connection_adapters/oracle_enhanced_database_tasks_spec.rb +4 -4
- data/spec/active_record/connection_adapters/oracle_enhanced_dirty_spec.rb +10 -16
- data/spec/active_record/connection_adapters/oracle_enhanced_emulate_oracle_adapter_spec.rb +1 -1
- data/spec/active_record/connection_adapters/oracle_enhanced_procedures_spec.rb +5 -5
- data/spec/active_record/connection_adapters/oracle_enhanced_schema_dump_spec.rb +65 -181
- data/spec/active_record/connection_adapters/oracle_enhanced_schema_statements_spec.rb +114 -11
- data/spec/active_record/connection_adapters/oracle_enhanced_structure_dump_spec.rb +17 -1
- data/spec/spec_config.yaml.template +11 -0
- data/spec/spec_helper.rb +31 -12
- data/spec/support/alter_system_user_password.sql +2 -0
- data/spec/support/create_oracle_enhanced_users.sql +31 -0
- metadata +37 -27
- data/lib/active_record/connection_adapters/oracle_enhanced_column_dumper.rb +0 -77
- data/lib/active_record/connection_adapters/oracle_enhanced_context_index.rb +0 -350
- data/lib/active_record/connection_adapters/oracle_enhanced_database_statements.rb +0 -262
- data/lib/active_record/connection_adapters/oracle_enhanced_dirty.rb +0 -45
- data/lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb +0 -197
- data/lib/active_record/connection_adapters/oracle_enhanced_schema_statements.rb +0 -450
- data/lib/active_record/connection_adapters/oracle_enhanced_schema_statements_ext.rb +0 -258
- data/lib/active_record/connection_adapters/oracle_enhanced_version.rb +0 -1
- /data/lib/active_record/connection_adapters/{oracle_enhanced_cpk.rb → oracle_enhanced/cpk.rb} +0 -0
- /data/lib/active_record/connection_adapters/{oracle_enhanced_database_tasks.rb → oracle_enhanced/database_tasks.rb} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3bf47194eb3711fcdc5cc04ea0c11ca3afe5ba8
|
4
|
+
data.tar.gz: cb7f41143131f866bf881a9fbc19d76785ff5c75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 976de1d723fa15c16a103e6ea6c9961f1600a04f1e08f4817e804b1a05dca1aec5d1759a5a1a42c938061118caf1bd2f1b40f0b0328763b052631ff765e92e50
|
7
|
+
data.tar.gz: 01fa3f9969c749aa645571e219a5069c333d05afc39d138733ef723846da8ef8b0dfffef699cc3385c8df4a7233fff83bc551c08fead510aab683560a92166cd
|
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
|
3
|
+
cd "$(dirname "$(readlink -f "$0")")"
|
4
|
+
|
5
|
+
deb_file=oracle-xe_11.2.0-1.0_amd64.deb
|
6
|
+
|
7
|
+
git clone https://github.com/wnameless/docker-oracle-xe-11g.git
|
8
|
+
|
9
|
+
cd docker-oracle-xe-11g/assets &&
|
10
|
+
cat "${deb_file}aa" "${deb_file}ab" "${deb_file}ac" > "${deb_file}"
|
11
|
+
|
12
|
+
pwd
|
13
|
+
|
14
|
+
ls -lAh "${deb_file}"
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
|
3
|
+
[ -n "$ORACLE_FILE" ] || { echo "Missing ORACLE_FILE environment variable!"; exit 1; }
|
4
|
+
[ -n "$ORACLE_HOME" ] || { echo "Missing ORACLE_HOME environment variable!"; exit 1; }
|
5
|
+
|
6
|
+
cd "$(dirname "$(readlink -f "$0")")"
|
7
|
+
|
8
|
+
ORACLE_DEB=docker-oracle-xe-11g/assets/oracle-xe_11.2.0-1.0_amd64.deb
|
9
|
+
|
10
|
+
sudo apt-get -qq update
|
11
|
+
sudo apt-get --no-install-recommends -qq install bc libaio1
|
12
|
+
|
13
|
+
df -B1 /dev/shm | awk 'END { if ($1 != "shmfs" && $1 != "tmpfs" || $2 < 2147483648) exit 1 }' ||
|
14
|
+
( sudo rm -r /dev/shm && sudo mkdir /dev/shm && sudo mount -t tmpfs shmfs -o size=2G /dev/shm )
|
15
|
+
|
16
|
+
test -f /sbin/chkconfig ||
|
17
|
+
( echo '#!/bin/sh' | sudo tee /sbin/chkconfig > /dev/null && sudo chmod u+x /sbin/chkconfig )
|
18
|
+
|
19
|
+
test -d /var/lock/subsys || sudo mkdir /var/lock/subsys
|
20
|
+
|
21
|
+
sudo dpkg -i "${ORACLE_DEB}"
|
22
|
+
|
23
|
+
echo 'OS_AUTHENT_PREFIX=""' | sudo tee -a "$ORACLE_HOME/config/scripts/init.ora" > /dev/null
|
24
|
+
sudo usermod -aG dba $USER
|
25
|
+
|
26
|
+
( echo ; echo ; echo travis ; echo travis ; echo n ) | sudo AWK='/usr/bin/awk' /etc/init.d/oracle-xe configure
|
27
|
+
|
28
|
+
"$ORACLE_HOME/bin/sqlplus" -L -S / AS SYSDBA <<SQL
|
29
|
+
CREATE USER $USER IDENTIFIED EXTERNALLY;
|
30
|
+
GRANT CONNECT, RESOURCE TO $USER;
|
31
|
+
SQL
|
data/.travis.yml
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
sudo: required
|
2
|
+
|
3
|
+
env:
|
4
|
+
global:
|
5
|
+
- ORACLE_COOKIE=sqldev
|
6
|
+
- ORACLE_FILE=oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
|
7
|
+
- ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
|
8
|
+
- TNS_ADMIN=$ORACLE_HOME/network/admin
|
9
|
+
- NLS_LANG=AMERICAN_AMERICA.AL32UTF8
|
10
|
+
- ORACLE_BASE=/u01/app/oracle
|
11
|
+
- LD_LIBRARY_PATH=$ORACLE_HOME/lib
|
12
|
+
- PATH=$PATH:$ORACLE_HOME/jdbc/lib
|
13
|
+
- DATABASE_VERSION=11.2.0.2
|
14
|
+
- ORACLE_SID=XE
|
15
|
+
- DATABASE_NAME=XE
|
16
|
+
- ORA_SDTZ='Europe/Riga' #Needed as a client parameter
|
17
|
+
- TZ='Europe/Riga' #Needed as a DB Server parameter
|
18
|
+
- "JRUBY_OPTS='--debug --dev -J-Xmx1024M'"
|
19
|
+
|
20
|
+
before_install:
|
21
|
+
- chmod +x .travis/oracle/download.sh
|
22
|
+
- chmod +x .travis/oracle/install.sh
|
23
|
+
- chmod +x .travis/setup_accounts.sh
|
24
|
+
|
25
|
+
install:
|
26
|
+
- .travis/oracle/download.sh
|
27
|
+
- .travis/oracle/install.sh
|
28
|
+
- .travis/setup_accounts.sh
|
29
|
+
- bundle install
|
30
|
+
|
31
|
+
language: ruby
|
32
|
+
rvm:
|
33
|
+
- 2.2.6
|
34
|
+
- 2.3.3
|
35
|
+
- 2.4.0
|
36
|
+
- jruby-9.1.8.0
|
37
|
+
|
38
|
+
notifications:
|
39
|
+
email: false
|
data/Gemfile
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
3
|
group :development do
|
4
|
-
gem 'jeweler', '~>
|
5
|
-
gem 'rspec'
|
4
|
+
gem 'jeweler', '~> 2.0'
|
5
|
+
gem 'rspec'
|
6
6
|
gem 'rdoc'
|
7
7
|
|
8
|
-
gem 'activerecord', github: 'rails/rails'
|
9
|
-
gem 'activemodel', github: 'rails/rails'
|
10
|
-
gem 'activesupport', github: 'rails/rails'
|
11
|
-
gem 'actionpack', github: 'rails/rails'
|
12
|
-
gem 'railties', github: 'rails/rails'
|
8
|
+
gem 'activerecord', github: 'rails/rails', branch: '4-2-stable'
|
9
|
+
gem 'activemodel', github: 'rails/rails', branch: '4-2-stable'
|
10
|
+
gem 'activesupport', github: 'rails/rails', branch: '4-2-stable'
|
11
|
+
gem 'actionpack', github: 'rails/rails', branch: '4-2-stable'
|
12
|
+
gem 'railties', github: 'rails/rails', branch: '4-2-stable'
|
13
13
|
|
14
|
-
gem 'arel', github: 'rails/arel'
|
14
|
+
gem 'arel', github: 'rails/arel', branch: '6-0-stable'
|
15
15
|
gem 'journey', github: 'rails/journey'
|
16
16
|
|
17
17
|
gem 'activerecord-deprecated_finders'
|
data/History.md
CHANGED
@@ -1,3 +1,192 @@
|
|
1
|
+
## 1.6.9 / 2017-03-29
|
2
|
+
|
3
|
+
* Changes and bug fixes since 1.6.8
|
4
|
+
* Fix the BINARY_FLOAT column type returns nil in JRuby [#1257]
|
5
|
+
|
6
|
+
## 1.6.8 / 2017-03-18
|
7
|
+
|
8
|
+
* Changes and bug fixes since 1.6.7
|
9
|
+
* Better fix to support "Relation#count does not support finder options anymore in Rails [#787, #788]
|
10
|
+
* Run Oracle enhanced adapter unit tests using Travis CI [#789]
|
11
|
+
* Upgrade travis-oracle to Version 2.0.1 [#903]
|
12
|
+
* NoMethodError: undefined method `write' for nil:NilClass for serialized column [#798, #1004]
|
13
|
+
* Support connection strings in `DATABASE_URL` [#1036]
|
14
|
+
* Rebuild primary key index to default_tablespaces[:index] [#1037]
|
15
|
+
* Use docker oracle xe 11g for release16 branch [#1238]
|
16
|
+
* Fix deprecated warnings in Ruby 2.4.0+ [#1237]
|
17
|
+
|
18
|
+
## 1.6.7 / 2016-03-08
|
19
|
+
|
20
|
+
* Changes and bug fixes since 1.6.6
|
21
|
+
* Support Rails 4.2.6
|
22
|
+
* Support t.foreign_key use the same `to_table` twice [#783]
|
23
|
+
* Remove "warning: (...) interpreted as grouped expression" [#765]
|
24
|
+
* Add documentation on setting read, write and connect timeouts [#761]
|
25
|
+
|
26
|
+
## 1.6.6 / 2016-01-21
|
27
|
+
|
28
|
+
* Changes and bug fixes since 1.6.5
|
29
|
+
* Address ORA-00904 when CONTAINS has `table_name.column_name` [#758, #664, #463]
|
30
|
+
* Only convert N to false when emulating booleans [#751]
|
31
|
+
* Clean up specs and test documentation [#756]
|
32
|
+
* Add JDBC Drivers to gitignore [#745]
|
33
|
+
|
34
|
+
## 1.6.5 / 2015-12-01
|
35
|
+
|
36
|
+
* Enhancement
|
37
|
+
* Support `schema` option to use schema objects owned by another schema[#742]
|
38
|
+
|
39
|
+
## 1.6.4 / 2015-11-09
|
40
|
+
|
41
|
+
* Changes and bug fixes since 1.6.3
|
42
|
+
* Add table and column comments to structure dump and schema dump [#734]
|
43
|
+
* Remove `serialized_attributes` which is removed in Rails 5 [#694]
|
44
|
+
* fixing bundler dependency conflict with head of rails vs arel 6.0[#714]
|
45
|
+
* Add note to readme about adapter name when using DATABASE_URL [#728]
|
46
|
+
* Fixed copy/paste error in README.md [#731]
|
47
|
+
* Pending a test using virtual columns features introduced in 11gR1 [#733]
|
48
|
+
* Suppress warning: ambiguous first argument [#690]
|
49
|
+
* Suppress `warning: assigned but unused variable` [#691]
|
50
|
+
* Suppress `warning: assigned but unused variable - tablespace` [#692]
|
51
|
+
* Suppress `warning: assigned but unused variable - e` [#693]
|
52
|
+
* Ignore .rbenv-gemsets [#705]
|
53
|
+
* Clean up database objects after unit tests executed [#712]
|
54
|
+
|
55
|
+
## 1.6.3 / 2015-08-14
|
56
|
+
|
57
|
+
* Changes and bug fixes since 1.6.2
|
58
|
+
* Set sequence name automatically when new table name is longer than 26 bytes[#676]
|
59
|
+
* Add minimal specs for ActiveRecord::Base.limit() and .order()[#679]
|
60
|
+
* Use type_casted_binds [#681]
|
61
|
+
* Use type_cast_for_database to serialize correctly [#688]
|
62
|
+
* Suppress deprecated message for serialized_attributes [#688, #548, #687]
|
63
|
+
|
64
|
+
## 1.6.2 / 2015-07-20
|
65
|
+
|
66
|
+
* Changes and bug fixes since 1.6.1
|
67
|
+
|
68
|
+
* Oracle enhanced adapter v1.6 requires ActiveRecord 4.2.1 or higher,
|
69
|
+
ActiveRecord 4.2.0 is not supported.[#672]
|
70
|
+
* Unique constraints not created when function unique index created [#662, #663]
|
71
|
+
* create_table should use default tablespace values for lobs [#668]
|
72
|
+
|
73
|
+
## 1.6.1 / 2015-07-01
|
74
|
+
|
75
|
+
* Changes and bug fixes since 1.6.0
|
76
|
+
|
77
|
+
* Oracle enhanced adapter v1.6 requires ActiveRecord 4.2.1 or higher,
|
78
|
+
ActiveRecord 4.2.0 is not supported.[#651, #652]
|
79
|
+
* Fix serialized value becomes from yaml to string once saved [#655, #657]
|
80
|
+
* Update Ruby version in readme [#654]
|
81
|
+
* Update unit test matcher to skip sql statements to get `table` metadata [#653]
|
82
|
+
|
83
|
+
## 1.6.0 / 2015-06-25
|
84
|
+
|
85
|
+
* Changes and bug fixes since 1.6.0.beta1
|
86
|
+
|
87
|
+
* Add deprecation warnings for Oracle enhanced specific foreign key methods [#631]
|
88
|
+
* Skip composite foreign key tests not supported in this version [#632]
|
89
|
+
* Do not dump default foreign key name [#633]
|
90
|
+
* Schema dump uses `:on_delete` option instead of `:dependent` [#634]
|
91
|
+
* Use Rails foreign key name in rspec unit tests [#635]
|
92
|
+
* Add deprecate warning if foreign key name length is longer than 30 byte [#636]
|
93
|
+
* Foreign key name longer than 30 byte will be shortened using Digest::SHA1.hexdigest [#637]
|
94
|
+
* Schema dumper for :integer will not dump :precision 0 [#638]
|
95
|
+
* Update foreign key names for add_foreign_key with table_name_prefix [#643]
|
96
|
+
|
97
|
+
* Known Issues since 1.6.0.beta1
|
98
|
+
* table_name_prefix and table_name_suffix changes column names which cause ORA-00904 [#639]
|
99
|
+
* custom methods should rollback record when exception is raised in after_create callback fails [#640]
|
100
|
+
* custom methods for create, update and destroy should log create record fails [#641]
|
101
|
+
|
102
|
+
## 1.6.0.beta 1 / 2015-06-19
|
103
|
+
|
104
|
+
* Enhancements
|
105
|
+
* Support Rails 4.2
|
106
|
+
* Support Rails native foreign key syntax [#488, #618]
|
107
|
+
|
108
|
+
* Other changes and bug fixes
|
109
|
+
* Column#primary method removed from Rails [#483]
|
110
|
+
* ActiveRecord::Migrator.proper_table_name has been removed from Rails [#481]
|
111
|
+
* New db/schema.rb files will be created with force: :cascade [#593]
|
112
|
+
* Rails42 add unique index creates unique constraint [#617]
|
113
|
+
* Modify remove_column to add cascade constraint to avoid ORA-12991 [#617]
|
114
|
+
* Add `null: true` to avoid DEPRECATION WARNING [#489, #499]
|
115
|
+
* Rails 4.2 Add `connection.supports_views?` [#496]
|
116
|
+
* text? has been removed from Column class [#487]
|
117
|
+
* Remove call to deprecated `serialized_attributes` [#550, #552]
|
118
|
+
* Support :cascade option for drop_table [#579]
|
119
|
+
* Raise a better exception for renaming long indexes [#577]
|
120
|
+
* Override aliased_types [#575]
|
121
|
+
* Revert "Add options_include_default!" [#586]
|
122
|
+
* Remove substitute_at method from Oracle enhanced adapter [#520]
|
123
|
+
* Require 'active_record/base' in rake task #526
|
124
|
+
* Make it easier to spot which version of active record is actually used [#550]
|
125
|
+
* Rails4.2 Add Type::Raw type [#503]
|
126
|
+
* Support :bigint datatype [#580]
|
127
|
+
* Map :bigint as NUMBER(19) sql_type not NUMBER(8) [#608]
|
128
|
+
* Use Oracle BINARY_FLOAT datatype for Rails :float type [#610]
|
129
|
+
* Revert "Implement possibility of handling of NUMBER columns as :float" [#576]
|
130
|
+
* Rails 4.2 Support NCHAR correctly [#490]
|
131
|
+
* Support :timestamp datatype in Rails 4.2 [#575]
|
132
|
+
* Rails 4.2 Handle NUMBER sql_type as `Type::Integer` cast type [#509]
|
133
|
+
* ActiveRecord::OracleEnhanced::Type::Integer for max_value to take 38 digits [#605]
|
134
|
+
* Rails 4.2 add `module OracleEnhanced` and migrate classes/modules under this [#584]
|
135
|
+
* Migrate to ActiveRecord::ConnectionAdapters::OracleEnhanced::ColumnDumper [#597]
|
136
|
+
* Migrated from OracleEnhancedContextIndex to OracleEnhanced::ContextIndex [#599]
|
137
|
+
* Make OracleEnhancedIndexDefinition as subclass of IndexDefinition [#600]
|
138
|
+
* Refactor add_index and add_index_options [#601]
|
139
|
+
* Types namespace moved to `ActiveRecord::Type::Value` [#484]
|
140
|
+
* Add new_column method [#482]
|
141
|
+
* Rename type_cast to type_cast_from_database [#485]
|
142
|
+
* Removed `forced_column_type` by using `cast_type` [#595]
|
143
|
+
* Move dump_schema_information to SchemaStatements [#611]
|
144
|
+
* Move OracleEnhancedIndexDefinition to OracleEnhanced::IndexDefinition [#614]
|
145
|
+
* Move OracleEnhancedSynonymDefinition to OracleEnhanced::SynonymDefinition [#615]
|
146
|
+
* Move types under OracleEnhanced module [#603]
|
147
|
+
* Make OracleEnhancedForeignKeyDefinition as subclass of ForeignKeyDefinition [#581]
|
148
|
+
* Support _field_changed argument changes [#479]
|
149
|
+
* Rails 4.2 Don't type cast the default on the column [#504]
|
150
|
+
* Rename variable names in create_table to follow Rails implementation [#616]
|
151
|
+
* Rails 4.2: Fix create_savepoint and rollback_to_savepoint name [#497]
|
152
|
+
* Shorten foreign key name if it is longer than 30 byte [#621]
|
153
|
+
* Restore foreign_key_definition [#624]
|
154
|
+
* Rails 4.2 Support OracleEnhancedAdapter.emulate_integers_by_column_name [#491]
|
155
|
+
* Rails 4.2 Support OracleEnhancedAdapter.emulate_dates_by_column_name [#492]
|
156
|
+
* Rails 4.2 Support emulate_booleans_from_strings and is_boolean_column? [#506]
|
157
|
+
* Rails 4.2 Support OracleEnhancedAdapter.number_datatype_coercion [#512]
|
158
|
+
* Rails 4.2 Use register_class_with_limit [#502]
|
159
|
+
* Rails 4.2 Remove redundant substitute index when constructing bind values [#517]
|
160
|
+
* Rails 4.2 Unit test updated to support `substitute_at` in Arel [#522]
|
161
|
+
* Change log method signiture to support Rails 4.2 [#539]
|
162
|
+
* Enable loading spec configuration from config file instead of env [#550]
|
163
|
+
* Rails42: Issue with non-existent columns [#545, #551]
|
164
|
+
* Squelch warning "#column_for_attribute` will return a null object
|
165
|
+
for non-existent columns in Rails 5. Use `#has_attribute?`" [#551]
|
166
|
+
* Use arel 6-0-stable [#565]
|
167
|
+
* Support 'Y' as true and 'N' as false in Rails 4.2 [#574, #573]
|
168
|
+
* Remove alias_method_chain :references, :foreign_keys [#582]
|
169
|
+
* Use quote_value method to avoid undefined method `type_cast_for_database' for nil:NilClass [#486]
|
170
|
+
* Rails 4.2: Set @nchar and @object_type only when sql_type is true [#493]
|
171
|
+
* Rails 4.2: Handle forced_column_type temporary [#498]
|
172
|
+
* Rails 4.2 Address ArgumentError: wrong number of arguments (1 for 2) at `quote_value` [#511]
|
173
|
+
* Address ORA-00932: inconsistent datatypes: expected NUMBER got DATE [#538]
|
174
|
+
* Remove duplicate alias_method_chain for indexes [#560]
|
175
|
+
* Address RangeError: 6000000000 is out of range for ActiveRecord::Type::Integer
|
176
|
+
with limit 4 [#578]
|
177
|
+
* Return foreign_keys_without_oracle_enhanced when non Oracle database used [#583]
|
178
|
+
* Add missing database_tasks.rb to gemspec [#585]
|
179
|
+
* Fixed typo in the rake tasks load statement [#587]
|
180
|
+
* Call super when column typs is serialized [#563, #591]
|
181
|
+
* Clear query cache on rollback [#592]
|
182
|
+
* Modify default to `false` if database default value is "N" [#596]
|
183
|
+
* refer correct location if filess in gemspec [#606]
|
184
|
+
* Add integer.rb to gemspec [#607]
|
185
|
+
|
186
|
+
* Known Issues
|
187
|
+
* Override aliased_types [#575]
|
188
|
+
* Multi column foreign key is not supported
|
189
|
+
|
1
190
|
## 1.5.6 / 2015-03-30
|
2
191
|
|
3
192
|
* Enhancements
|