activerecord-oracle_enhanced-adapter 1.7.0.beta4 → 1.7.0.beta5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +15 -0
- data/README.md +1 -1
- data/VERSION +1 -1
- data/activerecord-oracle_enhanced-adapter.gemspec +2 -2
- data/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 611b64f0581a3adc82a05be92a3c67ae669efa10
|
4
|
+
data.tar.gz: 8c588511a29785221f77c9176bcf3873caf4b494
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f838ae9c752b95f8bc1be1c272729d674917fe6871f4237617cdb17739f97b312f10927dca0edf554184f298334810ddc53a0d2d566553489d10067580434ad2
|
7
|
+
data.tar.gz: acfa93d5e2afaa9a49e9a006f19681b1dba2b355478b4cfb84b72be0284c31697aa0df38dd085639c9127f8a85d363f8cea8b7b7bed5d60e38684683a2636463
|
data/History.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
## 1.7.0.beta5 / 2016-07-28
|
2
|
+
|
3
|
+
* Changes and bug fixes
|
4
|
+
|
5
|
+
* Use binds.size to set returning_id_index for returning_id [#907, #912 and #939]
|
6
|
+
|
7
|
+
* Known issues
|
8
|
+
|
9
|
+
- Only with JRuby
|
10
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
11
|
+
- CRuby and JRuby
|
12
|
+
* Rails 5 : custom methods for create, update and destroy not working [#906]
|
13
|
+
* Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
|
14
|
+
* #848 reproduces when database version is 11gR2 or older, it does not reproduce with 12c
|
15
|
+
|
1
16
|
## 1.7.0.beta4 / 2016-07-27
|
2
17
|
|
3
18
|
* Changes and bug fixes
|
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.beta5'
|
22
22
|
```
|
23
23
|
|
24
24
|
### Rails 4.2
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.7.0.
|
1
|
+
1.7.0.beta5
|
@@ -1,12 +1,12 @@
|
|
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.beta5"
|
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'
|
7
7
|
s.license = 'MIT'
|
8
8
|
s.authors = [%q{Raimonds Simanovskis}]
|
9
|
-
s.date = %q{2016-07-
|
9
|
+
s.date = %q{2016-07-28}
|
10
10
|
s.description = %q{Oracle "enhanced" ActiveRecord adapter contains useful additional methods for working with new and legacy Oracle databases.
|
11
11
|
This adapter is superset of original ActiveRecord Oracle adapter.
|
12
12
|
}
|
@@ -110,7 +110,8 @@ module ActiveRecord
|
|
110
110
|
cursor.bind_params(type_casted_binds)
|
111
111
|
|
112
112
|
if sql =~ /:returning_id/
|
113
|
-
|
113
|
+
# it currently expects that returning_id comes last part of binds
|
114
|
+
returning_id_index = binds.size
|
114
115
|
cursor.bind_returning_param(returning_id_index, Integer) if ORACLE_ENHANCED_CONNECTION == :jdbc
|
115
116
|
end
|
116
117
|
|
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: 1.7.0.
|
4
|
+
version: 1.7.0.beta5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raimonds Simanovskis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|