activerecord-ingres-adapter 4.0.2 → 4.0.3
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,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YjhmMDEyNmZiYmI2ZGU4NGI2ZTAzMWUwMjY0ZjRkOThmYWFhNDlhNA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
OGU3NGRlMTBiZTMzNTZlNTEyMzdjYTNmNDg5NzFiODQ5YmU3NTM1Nw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MGJjYTVmODE3OWY2ZTM1NzBmNjA1M2IyYmFhNDhiY2Y4ZDNmZjYwZTlhYWMw
|
|
10
|
+
YTBmZmIyMTBjNGYzZjRmMTVhNjgyYTMwOTFiNmI0YjllN2ExYThjZTAyMGFj
|
|
11
|
+
YzI0MmFjYTg2MDRmNTg3MzdmNjIwMGQ2YjZjMTg5ZTdhYzZhNjk=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NzQyYWY5ZjEwODNjMzIxNGFmZTRkOTk1ZTlkNmY4NDIzNGM2N2M4OWI3YjNi
|
|
14
|
+
NmUwNmYwYWVmZjcxMjIyMTczMzkyOGRkN2JkYjAzNjUwYTk4ZjdiYTg0ZWU0
|
|
15
|
+
YWZlMDU1ZGMxYTgxMjY1MmNmZGYyNmE1N2M5ZTIwZmZhNTc0M2E=
|
|
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "activerecord-ingres-adapter"
|
|
6
|
-
s.version = "4.0.
|
|
6
|
+
s.version = "4.0.3"
|
|
7
7
|
s.summary = "ActiveRecord Ingres Adapter"
|
|
8
8
|
s.email = "felix.bellanger@gmail.com"
|
|
9
9
|
s.homepage = "https://github.com/Keeguon/activerecord-ingres-adapter"
|
|
@@ -296,6 +296,15 @@ module ActiveRecord
|
|
|
296
296
|
@connection.execute(sql, *binds.map { |bind| [PARAMETERS_TYPES[bind[0].sql_type.downcase], bind[1]] }.flatten)
|
|
297
297
|
|
|
298
298
|
if @connection.rows_affected
|
|
299
|
+
# Dirty hack for ASCII-8BIT strings
|
|
300
|
+
result.each do |row|
|
|
301
|
+
row.each_with_index do |column, index|
|
|
302
|
+
if String === column && column.encoding == Encoding::ASCII_8BIT
|
|
303
|
+
row[index] = column.unpack("C*").pack("U*")
|
|
304
|
+
end
|
|
305
|
+
end
|
|
306
|
+
end
|
|
307
|
+
|
|
299
308
|
ActiveRecord::Result.new(@connection.column_list_of_names, result)
|
|
300
309
|
else
|
|
301
310
|
ActiveRecord::Result.new([], [])
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-ingres-adapter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Grant Croker
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2014-11-
|
|
14
|
+
date: 2014-11-26 00:00:00.000000000 Z
|
|
15
15
|
dependencies: []
|
|
16
16
|
description: ActiveRecord Ingres Adapter and driver for the Ingres Enterprise Relational
|
|
17
17
|
Database
|