activerecord-oracle_enhanced-adapter 6.0.0.rc2 → 6.0.0.rc3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdc31c880510cdf6b84f68c710f76cbc32d8819c2509daa0932abb7b5bc61953
4
- data.tar.gz: 7b9a581e8f9aad1e49e1d27c1295d36a721d0fef816a6eb30a6a02e60c9c89f8
3
+ metadata.gz: 5c926b2695dd5ff701df97bbadf49b5e329328efea371d15b800b8972c35564b
4
+ data.tar.gz: c0287f267d0aa059cff3758fd74f4ed78ddcc9ec58bf6ac6161a273a1b79d0f4
5
5
  SHA512:
6
- metadata.gz: e346ff86f05d843165df5c5b505568a78a6e2fe0b8291cde8cb8608913bc7a8c1a68ca5304d129da9ba51a0781a0d26fc075183283697566023aa0eabb3ee7c5
7
- data.tar.gz: a63ee6a2411af0f9743beee488f553318609a8ab19549a8ed54fdc494fda931c01e2bf4a74a293ad2fbda40a7551f7a9c693f504f95e7f9aec77a5a93fbe0b1d
6
+ metadata.gz: d04e65f639a7a6340dff1c2e8c495cce82c7cadf47e4ca804c248f91eeb7e5c2c2fc1d13bf3cafa4e9f7186ac77cdde82d60ce0518040cbcd13f772d0eee788e
7
+ data.tar.gz: 07bbee305ed490b431138035335d3412ab8ef66df7850bdcacb13ba923f78392bb9d54d1b61d9d211b51b22cf513ef9afc7506d9a5c4e1a3ab9cfc4524887260
data/History.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 6.0.0.rc3 / 2019-07-27
2
+
3
+ * Changes and bug fixes
4
+ * Share the column and table name quote cache between connections [#1901 #1903]
5
+
6
+ ## 6.0.0.rc2 / 2019-07-23
7
+
8
+ * Major changes
9
+ * Support Rails 6.0.0 rc2
10
+ * Add TCP keepalive and TCP keepalive time configurations [#1874 #1877]
11
+
12
+ * Changes and bug fixes
13
+ * Update bug report templates for Oracle enhanced adapter 6.0 [#1873]
14
+
1
15
  ## 6.0.0.rc1 / 2019-04-25
2
16
 
3
17
  * Major changes
@@ -82,7 +96,7 @@
82
96
  * Restore old Code Climate behavior [#1716]
83
97
  * Do not install bundler explicitly [#1725]
84
98
 
85
- * RuboCop
99
+ * RuboCop
86
100
 
87
101
  * Add RuboCop to Gemfile [#1841]
88
102
  * Bump RuboCop to 0.63.0 [#1816]
@@ -279,7 +293,7 @@
279
293
  * Remove `add_runtime_dependency` with arel [#1385]
280
294
  * Move methods for synonyms out of `SchemaStatementsExt` [#1387]
281
295
  * Remove incorrect prepend to `ActiveRecord::ColumnDumper` [#1394]
282
- * Handle `ActiveRecord::SchemaDumper` by `adapter_name` [#1395]
296
+ * Handle `ActiveRecord::SchemaDumper` by `adapter_name` [#1395]
283
297
  * Rewrite `remove_prefix_and_suffix` to be similar with super #1401
284
298
  * `remove_prefix_and_suffix` handles dollar sign by `Regexp#escape` [#1402]
285
299
  * `prepare_column_options` is now private [#1429]
@@ -543,7 +557,7 @@
543
557
  * Use the latest arel master while developing alpha version [#1115]
544
558
  * Bump Arel to 8.0 [#1120, #1121, #1124]
545
559
  * Use released Arel 8 [#1205]
546
- * Remove duplicate license information [#965]
560
+ * Remove duplicate license information [#965]
547
561
  * Clean up comments and un-commented specs for table comment feature [#971]
548
562
  * Use Rails migration `create_table` to create table and sequence [#991]
549
563
  * Removed a invalid spec about TIMESTAMP column [#1020]
@@ -931,7 +945,7 @@
931
945
  * Address `add_column_options!': undefined method `quote_value' [#647]
932
946
  * Remove dirty tracking methods [#883]
933
947
  * Use arel master branch for rails5 development [#645]
934
- * Bump ruby-oci8 version to 2.2.0 or higher [#775]
948
+ * Bump ruby-oci8 version to 2.2.0 or higher [#775]
935
949
  * Remove jeweler dependency [#766]
936
950
  * Remove required_rubygems_version [#719]
937
951
  * Remove journey which is already part of Rails [#701]
@@ -969,13 +983,13 @@
969
983
  * Rails 5 : create table with primary key trigger with default primary key not returning id [#912]
970
984
  * Rails 5 : dirty object tracking not working correctly for CLOB [#911]
971
985
  * Rails 5 : handling of CLOB columns get failures [#910]
972
- * Rails 5 : SQL with bind parameters when NLS_NUMERIC_CHARACTERS is set to ', '
986
+ * Rails 5 : SQL with bind parameters when NLS_NUMERIC_CHARACTERS is set to ', '
973
987
  show Java::JavaSql::SQLSyntaxErrorException: / ORA-01722: invalid number [#909]
974
988
  * Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
975
989
  - CRuby and JRuby
976
990
  * Rails 5 : create table with primary key trigger not returning id [#907]
977
991
  * Rails 5 : custom methods for create, update and destroy not working [#906]
978
- * Rails 5 : has_and_belongs_to_many test gets ORA-01400 since primary key column "ID"
992
+ * Rails 5 : has_and_belongs_to_many test gets ORA-01400 since primary key column "ID"
979
993
  not included in insert statement [#856, rails/rails#25388]
980
994
  * Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
981
995
 
@@ -1038,11 +1052,11 @@
1038
1052
 
1039
1053
  * Changes and bug fixes since 1.6.0
1040
1054
 
1041
- * Oracle enhanced adapter v1.6 requires ActiveRecord 4.2.1 or higher,
1055
+ * Oracle enhanced adapter v1.6 requires ActiveRecord 4.2.1 or higher,
1042
1056
  ActiveRecord 4.2.0 is not supported.[#651, #652]
1043
1057
  * Fix serialized value becomes from yaml to string once saved [#655, #657]
1044
1058
  * Update Ruby version in readme [#654]
1045
- * Update unit test matcher to skip sql statements to get `table` metadata [#653]
1059
+ * Update unit test matcher to skip sql statements to get `table` metadata [#653]
1046
1060
 
1047
1061
  ## 1.6.0 / 2015-06-25
1048
1062
 
@@ -1125,7 +1139,7 @@
1125
1139
  * Change log method signiture to support Rails 4.2 [#539]
1126
1140
  * Enable loading spec configuration from config file instead of env [#550]
1127
1141
  * Rails42: Issue with non-existent columns [#545, #551]
1128
- * Squelch warning "#column_for_attribute` will return a null object
1142
+ * Squelch warning "#column_for_attribute` will return a null object
1129
1143
  for non-existent columns in Rails 5. Use `#has_attribute?`" [#551]
1130
1144
  * Use arel 6-0-stable [#565]
1131
1145
  * Support 'Y' as true and 'N' as false in Rails 4.2 [#574, #573]
@@ -1136,7 +1150,7 @@
1136
1150
  * Rails 4.2 Address ArgumentError: wrong number of arguments (1 for 2) at `quote_value` [#511]
1137
1151
  * Address ORA-00932: inconsistent datatypes: expected NUMBER got DATE [#538]
1138
1152
  * Remove duplicate alias_method_chain for indexes [#560]
1139
- * Address RangeError: 6000000000 is out of range for ActiveRecord::Type::Integer
1153
+ * Address RangeError: 6000000000 is out of range for ActiveRecord::Type::Integer
1140
1154
  with limit 4 [#578]
1141
1155
  * Return foreign_keys_without_oracle_enhanced when non Oracle database used [#583]
1142
1156
  * Add missing database_tasks.rb to gemspec [#585]
@@ -1181,7 +1195,7 @@
1181
1195
  * Enhancements
1182
1196
  * Oracle NUMBER datatype can be handled as Rails :float datatype [#418]
1183
1197
  - Default NUMBER datatype handled as :decimal to keep compatibility
1184
- - Configured by setting `self.number_datatype_coercion = :float`
1198
+ - Configured by setting `self.number_datatype_coercion = :float`
1185
1199
  * Add link to supported Oracle database version, JDK and Oracle JDBC Driver version [#438]
1186
1200
  * Support `without_prepared_statements?` to handle `unprepared_statement` [#447]
1187
1201
 
@@ -1263,7 +1277,7 @@
1263
1277
  * Create indexes automatically for references and belongs_to [#183]
1264
1278
  * Use the index name explicitly provided in a migration when reverting [#296]
1265
1279
  * Rename indexes when a table or column is renamed [#286]
1266
- * Support refactored remove_column [#172]
1280
+ * Support refactored remove_column [#172]
1267
1281
  * Support allowed_index_name_length method [#285]
1268
1282
  * Remove schema prefix from sequence name if present before truncating [#155]
1269
1283
  * Bumped jeweler, ruby-plsql and ruby-oci8 version [#176]
@@ -1579,7 +1593,7 @@
1579
1593
  * Added support for NVARCHAR2 column type
1580
1594
  * Bug fixes:
1581
1595
  * Do not call write_lobs callback when custom create or update methods are defined
1582
-
1596
+
1583
1597
  ### 1.1.5 / 2008-07-27
1584
1598
 
1585
1599
  * Bug fixes:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.0.0.rc2
1
+ 6.0.0.rc3
@@ -10,7 +10,7 @@ module ActiveRecord
10
10
 
11
11
  def quote_column_name(name) #:nodoc:
12
12
  name = name.to_s
13
- @quoted_column_names[name] ||= begin
13
+ self.class.quoted_column_names[name] ||= begin
14
14
  # if only valid lowercase column characters in name
15
15
  if /\A[a-z][a-z_0-9\$#]*\Z/.match?(name)
16
16
  "\"#{name.upcase}\""
@@ -70,7 +70,7 @@ module ActiveRecord
70
70
 
71
71
  def quote_table_name(name) #:nodoc:
72
72
  name, _link = name.to_s.split("@")
73
- @quoted_table_names[name] ||= [name.split(".").map { |n| quote_column_name(n) }].join(".")
73
+ self.class.quoted_table_names[name] ||= [name.split(".").map { |n| quote_column_name(n) }].join(".")
74
74
  end
75
75
 
76
76
  def quote_string(s) #:nodoc:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-oracle_enhanced-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0.rc2
4
+ version: 6.0.0.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raimonds Simanovskis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-22 00:00:00.000000000 Z
11
+ date: 2019-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord