do_postgres 0.10.15-java → 0.10.16-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.markdown +4 -0
- data/ext/do_postgres/extconf.rb +12 -2
- data/lib/do_postgres/do_postgres.jar +0 -0
- data/lib/do_postgres/version.rb +1 -1
- data/tasks/compile.rake +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0841a19172396be6f88c70f44f52388d2899d376
|
4
|
+
data.tar.gz: 8ec0c6fe45be3365838e4377f491e24e3eeb2553
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8376552c1430b89792e00bc913bd152afe5dc4eeaa2a51ea4722edcd46f68f8be383fbbdfd876bded3de46a76d81db6fe23b145de44a5fb592e1673acb211a2c
|
7
|
+
data.tar.gz: 6ba8e253497822151568522e1c3ed2af051c8d02eb7344a0f577dfc11772a00d62555bb52985317c07a23399e12642e276d5cf5b007b2dbb0774e5ccd4569242
|
data/ChangeLog.markdown
CHANGED
data/ext/do_postgres/extconf.rb
CHANGED
@@ -14,11 +14,21 @@ def pg_config(type)
|
|
14
14
|
IO.popen("pg_config --#{type}").readline.chomp rescue nil
|
15
15
|
end
|
16
16
|
|
17
|
+
# The preheader argument wasn't introduced till Ruby 1.9.3.
|
18
|
+
def have_header_with_preheader(header, preheader)
|
19
|
+
if method(:have_header).arity == -2
|
20
|
+
have_header(header, preheader)
|
21
|
+
else
|
22
|
+
have_header(header)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
17
26
|
def have_build_env
|
18
27
|
(have_library('pq') || have_library('libpq')) &&
|
19
28
|
have_header('libpq-fe.h') && have_header('libpq/libpq-fs.h') &&
|
20
|
-
have_header('postgres.h') &&
|
21
|
-
|
29
|
+
have_header('postgres.h') &&
|
30
|
+
have_header_with_preheader('mb/pg_wchar.h', 'postgres.h') &&
|
31
|
+
have_header_with_preheader('catalog/pg_type.h', 'postgres.h')
|
22
32
|
end
|
23
33
|
|
24
34
|
$CFLAGS << ' -UENABLE_NLS -DHAVE_GETTIMEOFDAY -DHAVE_CRYPT' if RUBY_PLATFORM =~ /mswin|mingw/
|
Binary file
|
data/lib/do_postgres/version.rb
CHANGED
data/tasks/compile.rake
CHANGED
@@ -70,7 +70,7 @@ begin
|
|
70
70
|
ext.classpath = '../do_jdbc/lib/do_jdbc_internal.jar'
|
71
71
|
ext.java_compiling do |gem|
|
72
72
|
gem.add_dependency 'jdbc-postgres', '>=8.2'
|
73
|
-
gem.add_dependency 'do_jdbc', '0.10.
|
73
|
+
gem.add_dependency 'do_jdbc', '0.10.16'
|
74
74
|
end
|
75
75
|
end
|
76
76
|
rescue LoadError
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: do_postgres
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.16
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Dirkjan Bussink
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: data_objects
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.10.
|
19
|
+
version: 0.10.16
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.10.
|
26
|
+
version: 0.10.16
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.10.
|
75
|
+
version: 0.10.16
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.10.
|
82
|
+
version: 0.10.16
|
83
83
|
description: Implements the DataObjects API for PostgreSQL
|
84
84
|
email: d.bussink@gmail.com
|
85
85
|
executables: []
|