activerecord-oracle_enhanced-adapter 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd6a6db570f470b83b8fe4621508cce81d6d749e
|
4
|
+
data.tar.gz: ed27740e8ca3f41d06865bc6f59f0d83ec2917fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5adcb7139e0b61b0c293f05223359f4b2b90f2e181132a399a43779988c33d77bb68e91dc68d9fb21b40f22cb46fa8a1b812f6717c55a1608045752f268babb
|
7
|
+
data.tar.gz: d5c03d67d03bbc42daa0dcc07f2d05e564eab79304dc3739e931a19066f385c1b357c389a301b613793bcddd5d220933750b3d6a0f95acdeeab56f9048519ccb
|
data/History.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.3
|
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{activerecord-oracle_enhanced-adapter}
|
8
|
-
s.version = "1.5.
|
8
|
+
s.version = "1.5.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.license = 'MIT'
|
12
12
|
s.authors = [%q{Raimonds Simanovskis}]
|
13
|
-
s.date = %q{2014-
|
13
|
+
s.date = %q{2014-03-04}
|
14
14
|
s.description = %q{Oracle "enhanced" ActiveRecord adapter contains useful additional methods for working with new and legacy Oracle databases.
|
15
15
|
This adapter is superset of original ActiveRecord Oracle adapter.
|
16
16
|
}
|
@@ -761,7 +761,7 @@ module ActiveRecord
|
|
761
761
|
|
762
762
|
cursor.exec
|
763
763
|
|
764
|
-
if name == 'EXPLAIN'
|
764
|
+
if name == 'EXPLAIN' and sql =~ /^EXPLAIN/
|
765
765
|
res = true
|
766
766
|
else
|
767
767
|
columns = cursor.get_col_names.map do |col_name|
|
@@ -801,13 +801,8 @@ module ActiveRecord
|
|
801
801
|
|
802
802
|
# Returns an array of arrays containing the field values.
|
803
803
|
# Order is the same as that returned by #columns.
|
804
|
-
def select_rows(sql, name = nil)
|
805
|
-
|
806
|
-
result = columns = nil
|
807
|
-
log(sql, name) do
|
808
|
-
result, columns = @connection.select(sql, name, true)
|
809
|
-
end
|
810
|
-
result.map{ |v| columns.map{|c| v[c]} }
|
804
|
+
def select_rows(sql, name = nil, binds = [])
|
805
|
+
exec_query(sql, name, binds).rows
|
811
806
|
end
|
812
807
|
|
813
808
|
# Executes an INSERT statement and returns the new record's ID
|
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.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raimonds Simanovskis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jeweler
|
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
264
|
version: '0'
|
265
265
|
requirements: []
|
266
266
|
rubyforge_project:
|
267
|
-
rubygems_version: 2.2.
|
267
|
+
rubygems_version: 2.2.2
|
268
268
|
signing_key:
|
269
269
|
specification_version: 4
|
270
270
|
summary: Oracle enhanced adapter for ActiveRecord
|