do_postgres 0.10.13-x86-mswin32-60 → 0.10.14-x86-mswin32-60
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/ChangeLog.markdown +5 -0
- data/ext/do_postgres/do_common.c +1 -1
- data/ext/do_postgres/do_postgres.c +8 -0
- data/lib/do_postgres/1.8/do_postgres.so +0 -0
- data/lib/do_postgres/1.9/do_postgres.so +0 -0
- data/lib/do_postgres/2.0/do_postgres.so +0 -0
- data/lib/do_postgres/version.rb +1 -1
- data/tasks/compile.rake +1 -1
- metadata +68 -62
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
|
4
|
-
|
5
|
-
SHA512:
|
6
|
-
|
7
|
-
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4f03465b06b90b8534dc54db61a9ef30650473fa
|
4
|
+
data.tar.gz: fa1e797237f9db49030326d0c6683c310e56df68
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9b2258b3adeae27b31639c9bbdec3d7828ed34e991037885885d991df2c743781100c3aef507934074605461dd8f4acf838c3d79b452506d3f961c8482b19a8e
|
7
|
+
data.tar.gz: 7e1d3965bb76023bb1f50fd4e346c5c8870add9cd8e587e67c8d8f50f079361798d631604c1dc237a5395e25dedb196a9e4bd67a01dbd4af0e66f57da9ea15ec
|
data/ChangeLog.markdown
CHANGED
data/ext/do_postgres/do_common.c
CHANGED
@@ -193,7 +193,7 @@ VALUE data_objects_parse_date(const char *date) {
|
|
193
193
|
}
|
194
194
|
|
195
195
|
VALUE data_objects_parse_time(const char *date) {
|
196
|
-
static char const* const _fmt_datetime = "%4d-%2d-%2d
|
196
|
+
static char const* const _fmt_datetime = "%4d-%2d-%2d%*c%2d:%2d:%2d%7lf";
|
197
197
|
int year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0, usec = 0;
|
198
198
|
double subsec = 0;
|
199
199
|
|
@@ -440,6 +440,7 @@ void do_postgres_full_connect(VALUE self, PGconn *db) {
|
|
440
440
|
const char *backslash_off = "SET backslash_quote = off";
|
441
441
|
const char *standard_strings_on = "SET standard_conforming_strings = on";
|
442
442
|
const char *warning_messages = "SET client_min_messages = warning";
|
443
|
+
const char *date_format = "SET datestyle = ISO";
|
443
444
|
VALUE r_options;
|
444
445
|
|
445
446
|
r_options = rb_str_new2(backslash_off);
|
@@ -463,6 +464,13 @@ void do_postgres_full_connect(VALUE self, PGconn *db) {
|
|
463
464
|
rb_warn("%s", PQresultErrorMessage(result));
|
464
465
|
}
|
465
466
|
|
467
|
+
r_options = rb_str_new2(date_format);
|
468
|
+
result = do_postgres_cCommand_execute(Qnil, self, db, r_options);
|
469
|
+
|
470
|
+
if (PQresultStatus(result) != PGRES_COMMAND_OK) {
|
471
|
+
rb_warn("%s", PQresultErrorMessage(result));
|
472
|
+
}
|
473
|
+
|
466
474
|
VALUE encoding = rb_iv_get(self, "@encoding");
|
467
475
|
#ifdef HAVE_PQSETCLIENTENCODING
|
468
476
|
VALUE pg_encoding = rb_hash_aref(data_objects_const_get(mDO_PostgresEncoding, "MAP"), encoding);
|
Binary file
|
Binary file
|
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.14'
|
74
74
|
end
|
75
75
|
end
|
76
76
|
rescue LoadError
|
metadata
CHANGED
@@ -1,57 +1,66 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: do_postgres
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.10.14
|
5
5
|
platform: x86-mswin32-60
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Dirkjan Bussink
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.10.13
|
11
|
+
date: 2014-02-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
20
14
|
name: data_objects
|
21
|
-
requirement:
|
22
|
-
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.10.14
|
23
20
|
type: :runtime
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: "2.5"
|
30
|
-
name: rspec
|
31
|
-
requirement: *id002
|
32
21
|
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.10.14
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.5'
|
33
34
|
type: :development
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
version_requirements: &id003 !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - ~>
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: "0.7"
|
40
|
-
name: rake-compiler
|
41
|
-
requirement: *id003
|
42
35
|
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.5'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake-compiler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.7'
|
43
48
|
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.7'
|
44
55
|
description: Implements the DataObjects API for PostgreSQL
|
45
56
|
email: d.bussink@gmail.com
|
46
57
|
executables: []
|
47
|
-
|
48
58
|
extensions: []
|
49
|
-
|
50
|
-
extra_rdoc_files:
|
59
|
+
extra_rdoc_files:
|
51
60
|
- ChangeLog.markdown
|
52
61
|
- LICENSE
|
53
62
|
- README.markdown
|
54
|
-
files:
|
63
|
+
files:
|
55
64
|
- ChangeLog.markdown
|
56
65
|
- LICENSE
|
57
66
|
- README.markdown
|
@@ -64,6 +73,9 @@ files:
|
|
64
73
|
- ext/do_postgres/extconf.rb
|
65
74
|
- ext/do_postgres/pg_config.h
|
66
75
|
- lib/do_postgres.rb
|
76
|
+
- lib/do_postgres/1.8/do_postgres.so
|
77
|
+
- lib/do_postgres/1.9/do_postgres.so
|
78
|
+
- lib/do_postgres/2.0/do_postgres.so
|
67
79
|
- lib/do_postgres/encoding.rb
|
68
80
|
- lib/do_postgres/transaction.rb
|
69
81
|
- lib/do_postgres/version.rb
|
@@ -92,30 +104,25 @@ files:
|
|
92
104
|
- tasks/release.rake
|
93
105
|
- tasks/retrieve.rake
|
94
106
|
- tasks/spec.rake
|
95
|
-
- lib/do_postgres/1.8/do_postgres.so
|
96
|
-
- lib/do_postgres/1.9/do_postgres.so
|
97
|
-
- lib/do_postgres/2.0/do_postgres.so
|
98
107
|
homepage:
|
99
108
|
licenses: []
|
100
|
-
|
101
109
|
metadata: {}
|
110
|
+
post_install_message: |2+
|
102
111
|
|
103
|
-
post_install_message: |+
|
104
|
-
|
105
112
|
======================================================================================================
|
106
|
-
|
113
|
+
|
107
114
|
You've installed the binary version of do_postgres.
|
108
115
|
It was built using PostgreSQL version 8.4.12.
|
109
116
|
It's recommended to use the exact same version to avoid potential issues.
|
110
|
-
|
117
|
+
|
111
118
|
At the time of building this gem, the necessary DLL files where available
|
112
119
|
in the following download:
|
113
|
-
|
120
|
+
|
114
121
|
http://wwwmaster.postgresql.org/redir/107/h/binary/v8.4.12/win32/postgresql-8.4.12-1-windows-binaries.zip
|
115
|
-
|
122
|
+
|
116
123
|
You can put the following files available in this package in your Ruby bin
|
117
124
|
directory, for example C:\Ruby\bin
|
118
|
-
|
125
|
+
|
119
126
|
- lib\libpq.dll
|
120
127
|
- bin\ssleay32.dll
|
121
128
|
- bin\libeay32.dll
|
@@ -125,30 +132,29 @@ post_install_message: |+
|
|
125
132
|
- bin\comerr32.dll
|
126
133
|
- bin\k5sprt32.dll
|
127
134
|
- bin\gssapi32.dll
|
128
|
-
|
135
|
+
|
129
136
|
======================================================================================================
|
130
|
-
|
131
|
-
rdoc_options: []
|
132
137
|
|
133
|
-
|
138
|
+
rdoc_options: []
|
139
|
+
require_paths:
|
134
140
|
- lib
|
135
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
-
|
138
|
-
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
141
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - ">="
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '0'
|
144
151
|
requirements: []
|
145
|
-
|
146
152
|
rubyforge_project: dorb
|
147
|
-
rubygems_version: 2.0.
|
153
|
+
rubygems_version: 2.2.0.preview.1
|
148
154
|
signing_key:
|
149
155
|
specification_version: 3
|
150
156
|
summary: DataObjects PostgreSQL Driver
|
151
|
-
test_files:
|
157
|
+
test_files:
|
152
158
|
- spec/command_spec.rb
|
153
159
|
- spec/connection_spec.rb
|
154
160
|
- spec/encoding_spec.rb
|