activerecord-oracle_enhanced-adapter 1.7.0.beta2 → 1.7.0.beta3
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/History.md +43 -0
- data/README.md +1 -1
- data/VERSION +1 -1
- data/activerecord-oracle_enhanced-adapter.gemspec +1 -1
- data/spec/active_record/connection_adapters/oracle_enhanced_connection_spec.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bbb2aebec384e0204b617dbf5a6e655a8722416
|
4
|
+
data.tar.gz: 6fed44437c1cefbcfe128f966f0aa403a653e564
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2c36e334ebd84c28e96083af7a17329c8b80184b8e6ff2e06be334b172055e8bc675beeb66e926f73749de3eb2c87bb24b760b33299a905658b1d524b7ab230
|
7
|
+
data.tar.gz: 698b970a12d567ed1599f15ff940eb83bd01dd6d9f9b5bba902807679d8db93925d25fa99e14dc5c62b1faeb139813c9dd5d19e6696900a6a3dbcb9076737a70
|
data/History.md
CHANGED
@@ -1,3 +1,46 @@
|
|
1
|
+
## 1.7.0.beta3 / 2016-07-22
|
2
|
+
|
3
|
+
* Changes and bug fixes
|
4
|
+
* Not giving `bind_param` a 3rd argument `column` [#929, #909]
|
5
|
+
|
6
|
+
* Known issues
|
7
|
+
|
8
|
+
- Only with JRuby
|
9
|
+
* Rails 5 : create table with primary key trigger with default primary key not returning id [#912]
|
10
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
11
|
+
- CRuby and JRuby
|
12
|
+
* Rails 5 : create table with primary key trigger not returning id [#907]
|
13
|
+
* Rails 5 : custom methods for create, update and destroy not working [#906]
|
14
|
+
* Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
|
15
|
+
|
16
|
+
## 1.7.0.beta2 / 2016-07-22
|
17
|
+
|
18
|
+
* Changes and bug fixes
|
19
|
+
|
20
|
+
* Support CLOB for JRuby [#926, #910, #911]
|
21
|
+
* Arel 7.1.0 or higher version is required [#919]
|
22
|
+
* Document usage of ActiveRecord Attributes API in 1.7 [#924]
|
23
|
+
* Add a note about usage pecularities of context_index's index_column option to README [#924]
|
24
|
+
* Set required_ruby_version = '>= 2.2.2' [#916]
|
25
|
+
* Remove ActiveRecord::ConnectionAdapters::TableDefinition#aliased_types [#921]
|
26
|
+
* Update warning message for composite primary keys [#923]
|
27
|
+
* Remove specs deprecated in Oracle enhanced adapter 1.7 [#917]
|
28
|
+
* Rails 5 : has_and_belongs_to_many test gets ORA-01400 since primary key column "ID"
|
29
|
+
not included in insert statement [#856, rails/rails#25388, rails/rails#25578 ]
|
30
|
+
- This fix will be included in the next version of Rails which should be named 5.0.1
|
31
|
+
|
32
|
+
* Known issues
|
33
|
+
|
34
|
+
- Only with JRuby
|
35
|
+
* Rails 5 : create table with primary key trigger with default primary key not returning id [#912]
|
36
|
+
* Rails 5 : SQL with bind parameters when NLS_NUMERIC_CHARACTERS is set to ', '
|
37
|
+
show Java::JavaSql::SQLSyntaxErrorException: / ORA-01722: invalid number [#909]
|
38
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
39
|
+
- CRuby and JRuby
|
40
|
+
* Rails 5 : create table with primary key trigger not returning id [#907]
|
41
|
+
* Rails 5 : custom methods for create, update and destroy not working [#906]
|
42
|
+
* Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
|
43
|
+
|
1
44
|
## 1.7.0.beta1 / 2016-07-18
|
2
45
|
|
3
46
|
* Major enhancements
|
data/README.md
CHANGED
@@ -18,7 +18,7 @@ Oracle enhanced adapter Rails 5 support is still in beta release, so use with ca
|
|
18
18
|
|
19
19
|
```ruby
|
20
20
|
# Use oracle as the database for Active Record
|
21
|
-
gem 'activerecord-oracle_enhanced-adapter', '~> 1.7.0.
|
21
|
+
gem 'activerecord-oracle_enhanced-adapter', '~> 1.7.0.beta2'
|
22
22
|
```
|
23
23
|
|
24
24
|
### Rails 4.2
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.7.0.
|
1
|
+
1.7.0.beta3
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = %q{activerecord-oracle_enhanced-adapter}
|
3
|
-
s.version = "1.7.0.
|
3
|
+
s.version = "1.7.0.beta3"
|
4
4
|
|
5
5
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
6
6
|
s.required_ruby_version = '>= 2.2.2'
|
@@ -254,7 +254,9 @@ describe "OracleEnhancedConnection" do
|
|
254
254
|
type_metadata = ActiveRecord::ConnectionAdapters::SqlTypeMetadata.new(sql_type: "NUMBER", type: :decimal, limit: 10, precision: nil, scale: 2)
|
255
255
|
column = ActiveRecord::ConnectionAdapters::OracleEnhancedColumn.new('age', nil, type_metadata, false, "test_employees", false, false, nil)
|
256
256
|
expect(column.type).to eq(:decimal)
|
257
|
-
|
257
|
+
# Here 1.5 expects that this value has been type casted already
|
258
|
+
# it should use bind_params in the long term.
|
259
|
+
cursor.bind_param(1, 1.5)
|
258
260
|
cursor.exec
|
259
261
|
cursor.close
|
260
262
|
cursor = @conn.prepare("SELECT age FROM test_employees")
|