pg 0.19.1.pre20170115074000 → 0.19.1.pre20170124220800
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/ChangeLog +13 -1
- data/History.rdoc +1 -0
- data/lib/pg.rb +17 -7
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0493fece40de96cf95c5f5e4ef967ca5bd205c3
|
4
|
+
data.tar.gz: ee71730505611b6df1efe869ca17e5d2be535ae0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2255d0cd72c2331f4ac66593d56e4cde4e6d2f65eadd5711399e1a6b8c8c40b8d1957e4208c679e8d294c3b509fc9f22c7010e25cbef32373ec4cbe723ea50b
|
7
|
+
data.tar.gz: dca39f627c0cd9fe8f31da0120a1982acb943407e0f9d04b6aafc3b9e57512e7016afd8ec3c6480eef074ffc33f0401dd8eff42687c4dcb274b398dfd019cdc3
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,8 +1,20 @@
|
|
1
|
+
2017-01-24 Lars Kanis <lars@greiz-reinsdorf.de>
|
2
|
+
|
3
|
+
* History.rdoc:
|
4
|
+
Update History file regarding RI2 support.
|
5
|
+
[d52339653fe3] [tip]
|
6
|
+
|
7
|
+
* lib/pg.rb:
|
8
|
+
Add support for RubyInstaller2 to Windows binary gem.
|
9
|
+
|
10
|
+
RI2 ignores PATH setting for DLL search, but provides it's own API.
|
11
|
+
[87fe14131d78]
|
12
|
+
|
1
13
|
2017-01-14 Lars Kanis <lars@greiz-reinsdorf.de>
|
2
14
|
|
3
15
|
* History.rdoc:
|
4
16
|
Update History file. [ci-skip]
|
5
|
-
[0d1921b825d7]
|
17
|
+
[0d1921b825d7]
|
6
18
|
|
7
19
|
* Rakefile.cross:
|
8
20
|
Update Windows binary rubies to support 2.0 to 2.4
|
data/History.rdoc
CHANGED
@@ -4,6 +4,7 @@ Enhancements:
|
|
4
4
|
- Update error codes to PostgreSQL-9.6
|
5
5
|
- Update Windows binary gems to Ruby-2.4, PostgreSQL 9.6.1 and
|
6
6
|
OpenSSL 1.0.2j.
|
7
|
+
- Add support for RubyInstaller2 to Windows binary gems.
|
7
8
|
|
8
9
|
Bugfixes:
|
9
10
|
- Use secure JSON methods for JSON (de)serialisation. #248
|
data/lib/pg.rb
CHANGED
@@ -8,11 +8,22 @@ rescue LoadError
|
|
8
8
|
major_minor = RUBY_VERSION[ /^(\d+\.\d+)/ ] or
|
9
9
|
raise "Oops, can't extract the major/minor version from #{RUBY_VERSION.dump}"
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
11
|
+
add_dll_path = proc do |path, &block|
|
12
|
+
begin
|
13
|
+
require 'ruby_installer'
|
14
|
+
RubyInstaller.add_dll_directory(path, &block)
|
15
|
+
rescue LoadError
|
16
|
+
old_path = ENV['PATH']
|
17
|
+
ENV['PATH'] = "#{path};#{old_path}"
|
18
|
+
yield
|
19
|
+
ENV['PATH'] = old_path
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
# Temporary add this directory for DLL search, so that libpq.dll can be found.
|
24
|
+
add_dll_path.call(__dir__) do
|
25
|
+
require "#{major_minor}/pg_ext"
|
26
|
+
end
|
16
27
|
else
|
17
28
|
raise
|
18
29
|
end
|
@@ -24,7 +35,7 @@ end
|
|
24
35
|
module PG
|
25
36
|
|
26
37
|
# Library version
|
27
|
-
VERSION = '0.19.1.
|
38
|
+
VERSION = '0.19.1.pre20170124220800'
|
28
39
|
|
29
40
|
# VCS revision
|
30
41
|
REVISION = %q$Revision$
|
@@ -61,4 +72,3 @@ end # module PG
|
|
61
72
|
|
62
73
|
# Backward-compatible aliase
|
63
74
|
PGError = PG::Error
|
64
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.1.
|
4
|
+
version: 0.19.1.pre20170124220800
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
PizTJCem24R2bzZN5VGvA5tpqgwytgcFq1PZofgFxK2uKPCS+tmsA8wIjjGzFsnR
|
31
31
|
WfgqWGyHn5K4wejsMic/uA==
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2017-01-
|
33
|
+
date: 2017-01-25 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: hoe-mercurial
|
metadata.gz.sig
CHANGED
Binary file
|