pg 0.15.0.pre.454 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/ChangeLog +81 -60
- data/Rakefile +1 -1
- data/Rakefile.cross +2 -0
- data/ext/pg.c +1 -1
- data/ext/pg_connection.c +3 -4
- data/ext/pg_result.c +1 -1
- data/lib/pg.rb +2 -2
- data/sample/disk_usage_report.rb +1 -1
- data/sample/pg_statistics.rb +1 -1
- data/sample/replication_monitor.rb +1 -1
- metadata +117 -147
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5ddd02f9c05f518c247fb4c291a5b6c317f33bc7
|
4
|
+
data.tar.gz: b8ea4a6b23e75a09e5fd09830479e055cbbb349d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 91109ad72bd937311684b055bd69f80ecf0053b06058dac5603b6334980188e9baff74301bbc02184eb485626d2b653d7074b42f24e99dc32548ee81b18dc78d
|
7
|
+
data.tar.gz: 21763219c0ceb5681096a3117f334e7aa813b0d22fdc806474903667ca1112fa6199fc7a2f2bff727587b58a340236b8b0673256ef6bdc22511e1941d63c92b0
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,3 +1,24 @@
|
|
1
|
+
2013-03-26 Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
* ext/pg_connection.c:
|
4
|
+
Fix a compiler warning
|
5
|
+
[c031f659f882] [github/master, tip]
|
6
|
+
|
7
|
+
* Rakefile.cross:
|
8
|
+
Avoid "no implicit conversion of nil into String" on hosts with no
|
9
|
+
cross-ruby installs
|
10
|
+
[3fcdc9620b79]
|
11
|
+
|
12
|
+
2013-03-25 Lars Kanis <kanis@comcard.de>
|
13
|
+
|
14
|
+
* ext/pg_connection.c:
|
15
|
+
Avoid compiler warning about unused variable:
|
16
|
+
|
17
|
+
../../../../ext/pg_connection.c: In function
|
18
|
+
‘pgconn_close_socket_io’: ../../../../ext/pg_connection.c:73:6:
|
19
|
+
warning: unused variable ‘ruby_sd’ [-Wunused-variable]
|
20
|
+
[342fa14086aa]
|
21
|
+
|
1
22
|
2013-03-16 Lars Kanis <kanis@comcard.de>
|
2
23
|
|
3
24
|
* ext/extconf.rb, ext/pg_connection.c, lib/pg/connection.rb,
|
@@ -8,7 +29,7 @@
|
|
8
29
|
This also requires to move the code from Ruby to C.
|
9
30
|
|
10
31
|
Use different excudes for :unix and :socket_io.
|
11
|
-
[79d6ab5cf45a]
|
32
|
+
[79d6ab5cf45a]
|
12
33
|
|
13
34
|
2013-03-14 Lars Kanis <kanis@comcard.de>
|
14
35
|
|
@@ -55,7 +76,7 @@
|
|
55
76
|
|
56
77
|
* Rakefile.cross:
|
57
78
|
Bump PostgreSQL/OpenSSL versions for the binary gem
|
58
|
-
[b6f885cd57f7]
|
79
|
+
[b6f885cd57f7] [github/bump-binary-lib-versions]
|
59
80
|
|
60
81
|
* spec/pg/connection_spec.rb:
|
61
82
|
Re-enable application_name setting with corrected guard
|
@@ -146,13 +167,13 @@
|
|
146
167
|
PQexecParams() itself.
|
147
168
|
|
148
169
|
Thanks to Aaron Patterson for the idea.
|
149
|
-
[7c313c2355b7]
|
170
|
+
[7c313c2355b7] [github/exec_params]
|
150
171
|
|
151
172
|
2013-01-31 Michael Granger <ged@FaerieMUD.org>
|
152
173
|
|
153
174
|
* ext/extconf.rb:
|
154
175
|
Add experimental -rpath to the LDFLAGS
|
155
|
-
[8496c624dffd]
|
176
|
+
[8496c624dffd] [github/rpath_ldflag]
|
156
177
|
|
157
178
|
2013-01-30 Michael Granger <ged@FaerieMUD.org>
|
158
179
|
|
@@ -316,61 +337,6 @@
|
|
316
337
|
Make source settings override TM2 defaults
|
317
338
|
[c5706b3f73af]
|
318
339
|
|
319
|
-
2012-12-26 Lars Kanis <kanis@comcard.de>
|
320
|
-
|
321
|
-
* ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
|
322
|
-
merge in default branch
|
323
|
-
[ca39e311d1eb] <use_gvl_for_blocking_functions>
|
324
|
-
|
325
|
-
* ext/gvl_wrappers.h:
|
326
|
-
Add some documentation to gvl_wrappers
|
327
|
-
[ffeb6a0afd1f] <use_gvl_for_blocking_functions>
|
328
|
-
|
329
|
-
* spec/pg/connection_spec.rb:
|
330
|
-
Add test case for threading with Connection#exec in ruby 1.9
|
331
|
-
[73b9aa38e8c0] <use_gvl_for_blocking_functions>
|
332
|
-
|
333
|
-
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
334
|
-
ext/pg_connection.c:
|
335
|
-
Add wrappers to blocking functions and callbacks in order to release
|
336
|
-
the GVL of ruby 1.9 as long as not in ruby code
|
337
|
-
[2f2c681424ed] <use_gvl_for_blocking_functions>
|
338
|
-
|
339
|
-
2012-07-02 Lars Kanis <kanis@comcard.de>
|
340
|
-
|
341
|
-
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
342
|
-
Fix encoding of values delivered to the row processor and add specs
|
343
|
-
for binary and text data.
|
344
|
-
[bb9c6625fbc9] <row_processor>
|
345
|
-
|
346
|
-
* ext/pg_connection.c:
|
347
|
-
Polish the documentation a little bit
|
348
|
-
[b7633be3c941] <row_processor>
|
349
|
-
|
350
|
-
2012-07-01 Lars Kanis <kanis@comcard.de>
|
351
|
-
|
352
|
-
* ext/pg_connection.c:
|
353
|
-
Get rid of gcc warning about (non-)const PGresult to
|
354
|
-
pg_new_result_for_callback()
|
355
|
-
[1a25786ed8f3] <row_processor>
|
356
|
-
|
357
|
-
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
358
|
-
Fix wrong encoding for Result object passed to a notice-receiver
|
359
|
-
block. Add proper specs for #set_notice_receiver.
|
360
|
-
[4280826bb9b9] <row_processor>
|
361
|
-
|
362
|
-
* ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
|
363
|
-
spec/lib/helpers.rb, spec/pg/connection_spec.rb:
|
364
|
-
Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
|
365
|
-
get_row_processor, skip_result
|
366
|
-
[b7ce4843f4d1] <row_processor>
|
367
|
-
|
368
|
-
2012-06-28 Lars Kanis <kanis@comcard.de>
|
369
|
-
|
370
|
-
* ext/pg_result.c:
|
371
|
-
Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
|
372
|
-
[63998b47da6e] <copy_both_docu>
|
373
|
-
|
374
340
|
2013-01-29 Aaron Patterson <aaron.patterson@gmail.com>
|
375
341
|
|
376
342
|
* ext/pg_result.c, lib/pg/result.rb, spec/pg/result_spec.rb:
|
@@ -401,6 +367,14 @@
|
|
401
367
|
|
402
368
|
2012-12-26 Lars Kanis <kanis@comcard.de>
|
403
369
|
|
370
|
+
* ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
|
371
|
+
merge in default branch
|
372
|
+
[ca39e311d1eb] <use_gvl_for_blocking_functions>
|
373
|
+
|
374
|
+
* ext/gvl_wrappers.h:
|
375
|
+
Add some documentation to gvl_wrappers
|
376
|
+
[ffeb6a0afd1f] <use_gvl_for_blocking_functions>
|
377
|
+
|
404
378
|
* ext/pg.c:
|
405
379
|
Use proper const check instead of implicit relation
|
406
380
|
[d0c5d5f7f1e8]
|
@@ -420,6 +394,18 @@
|
|
420
394
|
single row mode of PostgreSQL 9.2)
|
421
395
|
[49e3fe1dafdf]
|
422
396
|
|
397
|
+
2012-12-26 Lars Kanis <kanis@comcard.de>
|
398
|
+
|
399
|
+
* spec/pg/connection_spec.rb:
|
400
|
+
Add test case for threading with Connection#exec in ruby 1.9
|
401
|
+
[73b9aa38e8c0] <use_gvl_for_blocking_functions>
|
402
|
+
|
403
|
+
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
404
|
+
ext/pg_connection.c:
|
405
|
+
Add wrappers to blocking functions and callbacks in order to release
|
406
|
+
the GVL of ruby 1.9 as long as not in ruby code
|
407
|
+
[2f2c681424ed] <use_gvl_for_blocking_functions>
|
408
|
+
|
423
409
|
2012-12-19 Lars Kanis <kanis@comcard.de>
|
424
410
|
|
425
411
|
* ext/extconf.rb, ext/pg.c, ext/pg_connection.c,
|
@@ -427,6 +413,41 @@
|
|
427
413
|
Add single row mode of PostgreSQL 9.2
|
428
414
|
[5cf348b75c1c] <single_row_mode>
|
429
415
|
|
416
|
+
2012-07-02 Lars Kanis <kanis@comcard.de>
|
417
|
+
|
418
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
419
|
+
Fix encoding of values delivered to the row processor and add specs
|
420
|
+
for binary and text data.
|
421
|
+
[bb9c6625fbc9] <row_processor>
|
422
|
+
|
423
|
+
* ext/pg_connection.c:
|
424
|
+
Polish the documentation a little bit
|
425
|
+
[b7633be3c941] <row_processor>
|
426
|
+
|
427
|
+
2012-07-01 Lars Kanis <kanis@comcard.de>
|
428
|
+
|
429
|
+
* ext/pg_connection.c:
|
430
|
+
Get rid of gcc warning about (non-)const PGresult to
|
431
|
+
pg_new_result_for_callback()
|
432
|
+
[1a25786ed8f3] <row_processor>
|
433
|
+
|
434
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
435
|
+
Fix wrong encoding for Result object passed to a notice-receiver
|
436
|
+
block. Add proper specs for #set_notice_receiver.
|
437
|
+
[4280826bb9b9] <row_processor>
|
438
|
+
|
439
|
+
* ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
|
440
|
+
spec/lib/helpers.rb, spec/pg/connection_spec.rb:
|
441
|
+
Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
|
442
|
+
get_row_processor, skip_result
|
443
|
+
[b7ce4843f4d1] <row_processor>
|
444
|
+
|
445
|
+
2012-06-28 Lars Kanis <kanis@comcard.de>
|
446
|
+
|
447
|
+
* ext/pg_result.c:
|
448
|
+
Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
|
449
|
+
[63998b47da6e] <copy_both_docu>
|
450
|
+
|
430
451
|
2012-12-19 Michael Granger <ged@FaerieMUD.org>
|
431
452
|
|
432
453
|
* lib/pg/connection.rb:
|
@@ -734,7 +755,7 @@
|
|
734
755
|
|
735
756
|
* ext/pg_result.c:
|
736
757
|
Merged in larskanis/ruby-pg (pull request #7)
|
737
|
-
[4050c3412bd7]
|
758
|
+
[4050c3412bd7] [github/master@default]
|
738
759
|
|
739
760
|
2012-03-10 Lars Kanis <kanis@comcard.de>
|
740
761
|
|
data/Rakefile
CHANGED
@@ -112,7 +112,7 @@ Rake::ExtensionTask.new do |ext|
|
|
112
112
|
ext.lib_dir = 'lib'
|
113
113
|
ext.source_pattern = "*.{c,h}"
|
114
114
|
ext.cross_compile = true
|
115
|
-
ext.cross_platform = CrossLibraries.map
|
115
|
+
ext.cross_platform = CrossLibraries.map &:for_platform
|
116
116
|
|
117
117
|
ext.cross_config_options += CrossLibraries.map do |lib|
|
118
118
|
{
|
data/Rakefile.cross
CHANGED
@@ -73,6 +73,8 @@ class CrossLibrary < OpenStruct
|
|
73
73
|
config_file = YAML.load_file(File.expand_path("~/.rake-compiler/config.yml"))
|
74
74
|
_, rbfile = config_file.find{|key, fname| key.start_with?("rbconfig-#{for_platform}-") }
|
75
75
|
IO.read(rbfile).match(/CONFIG\["host"\] = "(.*)"/)[1]
|
76
|
+
rescue
|
77
|
+
nil
|
76
78
|
end
|
77
79
|
|
78
80
|
|
data/ext/pg.c
CHANGED
data/ext/pg_connection.c
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
* pg_connection.c - PG::Connection class extension
|
3
|
-
* $Id$
|
3
|
+
* $Id: pg_connection.c,v c031f659f882 2013/03/26 14:18:01 ged $
|
4
4
|
*
|
5
5
|
*/
|
6
6
|
|
@@ -70,11 +70,10 @@ void
|
|
70
70
|
pgconn_close_socket_io( VALUE self )
|
71
71
|
{
|
72
72
|
VALUE socket_io = rb_iv_get( self, "@socket_io" );
|
73
|
-
int ruby_sd;
|
74
73
|
|
75
74
|
if ( RTEST(socket_io) ) {
|
76
75
|
#if defined(_WIN32) && defined(HAVE_RB_W32_WRAP_IO_HANDLE)
|
77
|
-
ruby_sd = NUM2INT(rb_funcall( socket_io, rb_intern("fileno"), 0 ));
|
76
|
+
int ruby_sd = NUM2INT(rb_funcall( socket_io, rb_intern("fileno"), 0 ));
|
78
77
|
if( rb_w32_unwrap_io_handle(ruby_sd) ){
|
79
78
|
rb_raise(rb_ePGerror, "Could not unwrap win32 socket handle");
|
80
79
|
}
|
@@ -762,7 +761,7 @@ pgconn_socket_io(VALUE self)
|
|
762
761
|
{
|
763
762
|
int sd;
|
764
763
|
int ruby_sd;
|
765
|
-
|
764
|
+
ID id_autoclose = rb_intern("autoclose=");
|
766
765
|
VALUE socket_io = rb_iv_get( self, "@socket_io" );
|
767
766
|
|
768
767
|
if ( !RTEST(socket_io) ) {
|
data/ext/pg_result.c
CHANGED
data/lib/pg.rb
CHANGED
@@ -19,10 +19,10 @@ end
|
|
19
19
|
module PG
|
20
20
|
|
21
21
|
# Library version
|
22
|
-
VERSION = '0.15.0
|
22
|
+
VERSION = '0.15.0'
|
23
23
|
|
24
24
|
# VCS revision
|
25
|
-
REVISION = %q$Revision$
|
25
|
+
REVISION = %q$Revision: 384fcbc92366 $
|
26
26
|
|
27
27
|
|
28
28
|
### Get the PG library version. If +include_buildnum+ is +true+, include the build ID.
|
data/sample/disk_usage_report.rb
CHANGED
data/sample/pg_statistics.rb
CHANGED
@@ -36,7 +36,7 @@ end
|
|
36
36
|
###
|
37
37
|
class PGMonitor
|
38
38
|
|
39
|
-
VERSION = %q$Id$
|
39
|
+
VERSION = %q$Id: replication_monitor.rb,v 36ca5b412583 2012/04/17 23:32:25 mahlon $
|
40
40
|
|
41
41
|
# When to consider a slave as 'behind', measured in WAL segments.
|
42
42
|
# The default WAL segment size is 16, so we'll alert after
|
metadata
CHANGED
@@ -1,148 +1,132 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: 7
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 15
|
9
|
-
- 0
|
10
|
-
- pre
|
11
|
-
- 454
|
12
|
-
version: 0.15.0.pre.454
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.15.0
|
13
5
|
platform: ruby
|
14
|
-
authors:
|
6
|
+
authors:
|
15
7
|
- Michael Granger
|
16
8
|
autorequire:
|
17
9
|
bindir: bin
|
18
|
-
cert_chain:
|
10
|
+
cert_chain:
|
19
11
|
- |
|
20
12
|
-----BEGIN CERTIFICATE-----
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
13
|
+
MIIDbDCCAlSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MQwwCgYDVQQDDANnZWQx
|
14
|
+
GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
|
15
|
+
HhcNMTMwMjI3MTY0ODU4WhcNMTQwMjI3MTY0ODU4WjA+MQwwCgYDVQQDDANnZWQx
|
16
|
+
GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
|
17
|
+
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDb92mkyYwuGBg1oRxt2tkH
|
18
|
+
+Uo3LAsaL/APBfSLzy8o3+B3AUHKCjMUaVeBoZdWtMHB75X3VQlvXfZMyBxj59Vo
|
19
|
+
cDthr3zdao4HnyrzAIQf7BO5Y8KBwVD+yyXCD/N65TTwqsQnO3ie7U5/9ut1rnNr
|
20
|
+
OkOzAscMwkfQxBkXDzjvAWa6UF4c5c9kR/T79iA21kDx9+bUMentU59aCJtUcbxa
|
21
|
+
7kcKJhPEYsk4OdxR9q2dphNMFDQsIdRO8rywX5FRHvcb+qnXC17RvxLHtOjysPtp
|
22
|
+
EWsYoZMxyCDJpUqbwoeiM+tAHoz2ABMv3Ahie3Qeb6+MZNAtMmaWfBx3dg2u+/WN
|
23
|
+
AgMBAAGjdTBzMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBSZ0hCV
|
24
|
+
qoHr122fGKelqffzEQBhszAcBgNVHREEFTATgRFnZWRARmFlcmllTVVELm9yZzAc
|
25
|
+
BgNVHRIEFTATgRFnZWRARmFlcmllTVVELm9yZzANBgkqhkiG9w0BAQUFAAOCAQEA
|
26
|
+
Vlcfyq6GwyE8i0QuFPCeVOwJaneSvcwx316DApjy9/tt2YD2HomLbtpXtji5QXor
|
27
|
+
ON6oln4tWBIB3Klbr3szq5oR3Rc1D02SaBTalxSndp4M6UkW9hRFu5jn98pDB4fq
|
28
|
+
5l8wMMU0Xdmqx1VYvysVAjVFVC/W4NNvlmg+2mEgSVZP5K6Tc9qDh3eMQInoYw6h
|
29
|
+
t1YA6RsUJHp5vGQyhP1x34YpLAaly8icbns/8PqOf7Osn9ztmg8bOMJCeb32eQLj
|
30
|
+
6mKCwjpegytE0oifXfF8k75A9105cBnNiMZOe1tXiqYc/exCgWvbggurzDOcRkZu
|
31
|
+
/YSusaiDXHKU2O3Akc3htA==
|
39
32
|
-----END CERTIFICATE-----
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
- !ruby/object:Gem::Dependency
|
33
|
+
date: 2013-03-26 00:00:00.000000000 Z
|
34
|
+
dependencies:
|
35
|
+
- !ruby/object:Gem::Dependency
|
44
36
|
name: hoe-mercurial
|
45
|
-
|
46
|
-
|
47
|
-
none: false
|
48
|
-
requirements:
|
37
|
+
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
49
39
|
- - ~>
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
hash: 7
|
52
|
-
segments:
|
53
|
-
- 1
|
54
|
-
- 4
|
55
|
-
- 0
|
40
|
+
- !ruby/object:Gem::Version
|
56
41
|
version: 1.4.0
|
57
42
|
type: :development
|
58
|
-
version_requirements: *id001
|
59
|
-
- !ruby/object:Gem::Dependency
|
60
|
-
name: hoe-highline
|
61
43
|
prerelease: false
|
62
|
-
|
63
|
-
|
64
|
-
requirements:
|
44
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
65
46
|
- - ~>
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 1.4.0
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: hoe-highline
|
51
|
+
requirement: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ~>
|
54
|
+
- !ruby/object:Gem::Version
|
72
55
|
version: 0.1.0
|
73
56
|
type: :development
|
74
|
-
version_requirements: *id002
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: rdoc
|
77
57
|
prerelease: false
|
78
|
-
|
79
|
-
|
80
|
-
requirements:
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
81
60
|
- - ~>
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 0.1.0
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: rdoc
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.10'
|
88
70
|
type: :development
|
89
|
-
version_requirements: *id003
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
name: rake-compiler
|
92
71
|
prerelease: false
|
93
|
-
|
94
|
-
|
95
|
-
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '3.10'
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: rake-compiler
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
96
81
|
- - ~>
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
|
99
|
-
segments:
|
100
|
-
- 0
|
101
|
-
- 8
|
102
|
-
version: "0.8"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0.8'
|
103
84
|
type: :development
|
104
|
-
version_requirements: *id004
|
105
|
-
- !ruby/object:Gem::Dependency
|
106
|
-
name: hoe-deveiate
|
107
85
|
prerelease: false
|
108
|
-
|
109
|
-
|
110
|
-
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ~>
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0.8'
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: hoe-deveiate
|
93
|
+
requirement: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
111
95
|
- - ~>
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
|
114
|
-
segments:
|
115
|
-
- 0
|
116
|
-
- 2
|
117
|
-
version: "0.2"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0.2'
|
118
98
|
type: :development
|
119
|
-
version_requirements: *id005
|
120
|
-
- !ruby/object:Gem::Dependency
|
121
|
-
name: hoe
|
122
99
|
prerelease: false
|
123
|
-
|
124
|
-
|
125
|
-
requirements:
|
100
|
+
version_requirements: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
126
102
|
- - ~>
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0.2'
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: hoe
|
107
|
+
requirement: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ~>
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '3.5'
|
133
112
|
type: :development
|
134
|
-
|
113
|
+
prerelease: false
|
114
|
+
version_requirements: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ~>
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '3.5'
|
135
119
|
description: |-
|
136
120
|
Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].
|
137
|
-
|
121
|
+
|
138
122
|
It works with {PostgreSQL 8.3 and later}[http://bit.ly/6AfPhm].
|
139
|
-
|
123
|
+
|
140
124
|
A small example usage:
|
141
|
-
|
125
|
+
|
142
126
|
#!/usr/bin/env ruby
|
143
|
-
|
127
|
+
|
144
128
|
require 'pg'
|
145
|
-
|
129
|
+
|
146
130
|
# Output a table of current connections to the DB
|
147
131
|
conn = PG.connect( dbname: 'sales' )
|
148
132
|
conn.exec( "SELECT * FROM pg_stat_activity" ) do |result|
|
@@ -152,13 +136,12 @@ description: |-
|
|
152
136
|
row.values_at('procpid', 'usename', 'current_query')
|
153
137
|
end
|
154
138
|
end
|
155
|
-
email:
|
139
|
+
email:
|
156
140
|
- ged@FaerieMUD.org
|
157
141
|
executables: []
|
158
|
-
|
159
|
-
extensions:
|
142
|
+
extensions:
|
160
143
|
- ext/extconf.rb
|
161
|
-
extra_rdoc_files:
|
144
|
+
extra_rdoc_files:
|
162
145
|
- Contributors.rdoc
|
163
146
|
- History.rdoc
|
164
147
|
- Manifest.txt
|
@@ -168,11 +151,11 @@ extra_rdoc_files:
|
|
168
151
|
- README.rdoc
|
169
152
|
- POSTGRES
|
170
153
|
- LICENSE
|
171
|
-
- ext/pg_connection.c
|
172
|
-
- ext/pg.c
|
173
154
|
- ext/gvl_wrappers.c
|
155
|
+
- ext/pg.c
|
156
|
+
- ext/pg_connection.c
|
174
157
|
- ext/pg_result.c
|
175
|
-
files:
|
158
|
+
files:
|
176
159
|
- .gemtest
|
177
160
|
- BSDL
|
178
161
|
- ChangeLog
|
@@ -227,48 +210,35 @@ files:
|
|
227
210
|
- spec/pg/result_spec.rb
|
228
211
|
- spec/pg_spec.rb
|
229
212
|
homepage: https://bitbucket.org/ged/ruby-pg
|
230
|
-
licenses:
|
213
|
+
licenses:
|
231
214
|
- BSD
|
232
215
|
- Ruby
|
233
216
|
- GPL
|
217
|
+
metadata: {}
|
234
218
|
post_install_message:
|
235
|
-
rdoc_options:
|
219
|
+
rdoc_options:
|
236
220
|
- -f
|
237
221
|
- fivefish
|
238
222
|
- -t
|
239
|
-
-
|
223
|
+
- 'pg: The Ruby Interface to PostgreSQL'
|
240
224
|
- -m
|
241
225
|
- README.rdoc
|
242
|
-
require_paths:
|
226
|
+
require_paths:
|
243
227
|
- lib
|
244
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
- !ruby/object:Gem::Version
|
249
|
-
hash: 57
|
250
|
-
segments:
|
251
|
-
- 1
|
252
|
-
- 8
|
253
|
-
- 7
|
228
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
229
|
+
requirements:
|
230
|
+
- - '>='
|
231
|
+
- !ruby/object:Gem::Version
|
254
232
|
version: 1.8.7
|
255
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
hash: 25
|
261
|
-
segments:
|
262
|
-
- 1
|
263
|
-
- 3
|
264
|
-
- 1
|
265
|
-
version: 1.3.1
|
233
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
234
|
+
requirements:
|
235
|
+
- - '>='
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0'
|
266
238
|
requirements: []
|
267
|
-
|
268
239
|
rubyforge_project: pg
|
269
|
-
rubygems_version:
|
240
|
+
rubygems_version: 2.0.3
|
270
241
|
signing_key:
|
271
|
-
specification_version:
|
242
|
+
specification_version: 4
|
272
243
|
summary: Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]
|
273
244
|
test_files: []
|
274
|
-
|
metadata.gz.sig
CHANGED
Binary file
|