activerecord-oracle_enhanced-adapter 1.7.10 → 1.7.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +9 -0
- data/VERSION +1 -1
- data/activerecord-oracle_enhanced-adapter.gemspec +2 -2
- data/lib/active_record/connection_adapters/oracle_enhanced/jdbc_connection.rb +2 -0
- data/spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb +13 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecf7fafba601af5f9f8fb575e5b969d3a182b7ea
|
4
|
+
data.tar.gz: 2f4e070cb162a4be21eb45dc747603683ef0c0bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5357a8e895491e97b631594d594ec3c37c73a4a983864780df23ff7f906bd26dd8b916c94b986fdff881c17729b63abc0c230dbeea38ca8df725e0b8ea645ee2
|
7
|
+
data.tar.gz: f1081e23da7dc9423c85c083de163841bd73c56e77c496e87d65ad970ceb927076e0e5884aad2412315cc0ea66c4a261e3047153be4ef8bd0e7933081655e4b7
|
data/History.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## 1.7.11 / 2017-03-29
|
2
|
+
|
3
|
+
* Changes and bug fixes
|
4
|
+
* Bump JRuby to 9.1.8.0 and add JRUBY_OPTS [#1233]
|
5
|
+
* Fix the BINARY_FLOAT column type returns nil in JRuby [#1256]
|
6
|
+
|
7
|
+
* Known issues
|
8
|
+
* No changes since 1.7.7
|
9
|
+
|
1
10
|
## 1.7.10 / 2017-02-03
|
2
11
|
|
3
12
|
* Changes and bug fixes
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.7.
|
1
|
+
1.7.11
|
@@ -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.
|
3
|
+
s.version = "1.7.11"
|
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{2017-
|
9
|
+
s.date = %q{2017-03-29}
|
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
|
}
|
@@ -1401,9 +1401,14 @@ describe "OracleEnhancedAdapter handling of BINARY_FLOAT columns" do
|
|
1401
1401
|
CREATE SEQUENCE test2_employees_seq MINVALUE 1
|
1402
1402
|
INCREMENT BY 1 START WITH 10040 CACHE 20 NOORDER NOCYCLE
|
1403
1403
|
SQL
|
1404
|
+
|
1405
|
+
class ::Test2Employee < ActiveRecord::Base
|
1406
|
+
end
|
1404
1407
|
end
|
1405
1408
|
|
1406
1409
|
after(:all) do
|
1410
|
+
Object.send(:remove_const, "Test2Employee")
|
1411
|
+
|
1407
1412
|
@conn.execute "DROP TABLE test2_employees"
|
1408
1413
|
@conn.execute "DROP SEQUENCE test2_employees_seq"
|
1409
1414
|
end
|
@@ -1413,4 +1418,12 @@ describe "OracleEnhancedAdapter handling of BINARY_FLOAT columns" do
|
|
1413
1418
|
column = columns.detect{|c| c.name == "hourly_rate"}
|
1414
1419
|
expect(column.type).to eq(:float)
|
1415
1420
|
end
|
1421
|
+
|
1422
|
+
it "should BINARY_FLOAT column type returns an approximate value" do
|
1423
|
+
employee = Test2Employee.create(hourly_rate: 4.4)
|
1424
|
+
|
1425
|
+
employee.reload
|
1426
|
+
|
1427
|
+
expect(employee.hourly_rate).to eq(4.400000095367432)
|
1428
|
+
end
|
1416
1429
|
end
|
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.
|
4
|
+
version: 1.7.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raimonds Simanovskis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
135
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.6.
|
136
|
+
rubygems_version: 2.6.11
|
137
137
|
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Oracle enhanced adapter for ActiveRecord
|