ydbd-pg 0.5.3 → 0.5.4

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: d92721f486e41a39968ea552cae6176229a3c732
4
- data.tar.gz: a129181079ab5e6bc744a7eb7556b2b0b116a716
3
+ metadata.gz: a75bd51bb75a3d603d38068adb0b20334fda4905
4
+ data.tar.gz: c97a14a1a010fe5102190a2f38800f354995ed5e
5
5
  SHA512:
6
- metadata.gz: 6ae3edde3417c4015983966f1195189c0fdb94f1e4cd64ed92e369ae55a649c72314bac2c0e65c10fb333fd887e84daf6fb26385d97d30fb4e782403a33c16c1
7
- data.tar.gz: cebff6aa733d1ec92224cf0130478160d57fd684f1a3aa44670a88d08846bb889651d4f1f5a210d908b97aeaf7453c5392bbace16699b6cc044508735343b81f
6
+ metadata.gz: fade5e1efdb4b12a8366b299a9215bb7a05de9738cd053c4ace208be8da4146b5c7edf5230e0308b25682a0f628567e6582bc39f6592542c1f73c9f5c448c37f
7
+ data.tar.gz: bccc3d582d18dac78996e3651efcc1a9038e69c15473d5a7414d793473cf19e8cd69ff00c8b9330f7c15cd4b3e59a1ef0bee6f82d6938b6c1dc032088f06eb10
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.5.4 - 11/12/2017
2
+
3
+ * Fix running under PostgreSQL 10.
4
+
1
5
  ## 0.5.3 - 18/05/2016
2
6
 
3
7
  * Added missing require 'dbi/version' to fix errors when starting yus
data/lib/dbd/Pg.rb CHANGED
@@ -49,7 +49,7 @@ module DBI
49
49
  # Only things that extend DBI's results are documented.
50
50
  #
51
51
  module Pg
52
- VERSION = "0.5.3"
52
+ VERSION = DBI::VERSION
53
53
  DESCRIPTION = "PostgreSQL DBI DBD"
54
54
 
55
55
  #
@@ -46,6 +46,7 @@ class DBI::DBD::Pg::Database < DBI::BaseDatabase
46
46
 
47
47
  hash['options'] ||= nil
48
48
  hash['tty'] ||= ''
49
+ hash['host'] ||= 'localhost'
49
50
  hash['port'] = hash['port'].to_i unless hash['port'].nil?
50
51
 
51
52
  @connection = PGconn.new(hash['host'], hash['port'], hash['options'], hash['tty'],
@@ -397,7 +398,7 @@ class DBI::DBD::Pg::Database < DBI::BaseDatabase
397
398
  # punt
398
399
  @type_map[key] = DBI::DBD::Pg::Type::Array.new(DBI::Type::Varchar)
399
400
  end
400
- end
401
+ end unless key.is_a?(Integer)
401
402
  end
402
403
  end
403
404
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ydbd-pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Hollensbe
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-01 00:00:00.000000000 Z
12
+ date: 2017-12-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ydbi
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 0.5.0
20
+ version: 0.5.4
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 0.5.0
27
+ version: 0.5.4
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: pg
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  requirements: []
94
94
  rubyforge_project: ydbi
95
- rubygems_version: 2.4.5
95
+ rubygems_version: 2.6.8
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: PostgreSQL DBI DBD