pg 0.18.4 → 0.19.0.pre20160409114042
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ChangeLog +303 -5
- data/README.rdoc +2 -2
- data/Rakefile +10 -10
- data/Rakefile.cross +6 -6
- data/ext/errorcodes.def +16 -0
- data/ext/errorcodes.txt +5 -1
- data/ext/extconf.rb +6 -1
- data/ext/pg.h +6 -3
- data/ext/pg_binary_encoder.c +8 -8
- data/ext/pg_coder.c +30 -9
- data/ext/pg_connection.c +200 -74
- data/ext/pg_copy_coder.c +34 -4
- data/ext/pg_result.c +2 -2
- data/ext/pg_text_encoder.c +62 -42
- data/lib/pg.rb +2 -2
- data/lib/pg/basic_type_mapping.rb +30 -5
- data/lib/pg/connection.rb +46 -6
- data/lib/pg/result.rb +6 -2
- data/spec/helpers.rb +6 -9
- data/spec/pg/connection_spec.rb +130 -23
- data/spec/pg/type_map_by_class_spec.rb +1 -1
- data/spec/pg/type_map_by_mri_type_spec.rb +1 -1
- data/spec/pg/type_spec.rb +82 -2
- metadata +11 -13
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.gemtest +0 -0
- metadata.gz.sig +0 -0
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.
|
4
|
+
version: 0.19.0.pre20160409114042
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
G8LHR7EjtPPmqCCunfyecJ6MmCNaiJCBxq2NYzyNmluPyHT8+0fuB5kccUVZm6CD
|
32
32
|
xn3DzOkDE6NYbk8gC9rTsA==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2016-04-09 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: hoe-mercurial
|
@@ -109,14 +109,14 @@ dependencies:
|
|
109
109
|
requirements:
|
110
110
|
- - "~>"
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: '0.
|
112
|
+
version: '0.5'
|
113
113
|
type: :development
|
114
114
|
prerelease: false
|
115
115
|
version_requirements: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
117
|
- - "~>"
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version: '0.
|
119
|
+
version: '0.5'
|
120
120
|
- !ruby/object:Gem::Dependency
|
121
121
|
name: hoe
|
122
122
|
requirement: !ruby/object:Gem::Requirement
|
@@ -174,7 +174,7 @@ description: |-
|
|
174
174
|
conn = PG.connect( dbname: 'sales' )
|
175
175
|
conn.exec( "SELECT * FROM pg_stat_activity" ) do |result|
|
176
176
|
puts " PID | User | Query"
|
177
|
-
|
177
|
+
result.each do |row|
|
178
178
|
puts " %7d | %-16s | %s " %
|
179
179
|
row.values_at('procpid', 'usename', 'current_query')
|
180
180
|
end
|
@@ -216,7 +216,6 @@ extra_rdoc_files:
|
|
216
216
|
- ext/pg_type_map_in_ruby.c
|
217
217
|
- ext/util.c
|
218
218
|
files:
|
219
|
-
- ".gemtest"
|
220
219
|
- BSDL
|
221
220
|
- ChangeLog
|
222
221
|
- Contributors.rdoc
|
@@ -303,9 +302,7 @@ files:
|
|
303
302
|
- spec/pg_spec.rb
|
304
303
|
homepage: https://bitbucket.org/ged/ruby-pg
|
305
304
|
licenses:
|
306
|
-
- BSD
|
307
|
-
- Ruby
|
308
|
-
- GPL
|
305
|
+
- BSD-3-Clause
|
309
306
|
metadata: {}
|
310
307
|
post_install_message:
|
311
308
|
rdoc_options:
|
@@ -317,16 +314,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
317
314
|
requirements:
|
318
315
|
- - ">="
|
319
316
|
- !ruby/object:Gem::Version
|
320
|
-
version:
|
317
|
+
version: 2.0.0
|
321
318
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
322
319
|
requirements:
|
323
|
-
- - "
|
320
|
+
- - ">"
|
324
321
|
- !ruby/object:Gem::Version
|
325
|
-
version:
|
322
|
+
version: 1.3.1
|
326
323
|
requirements: []
|
327
324
|
rubyforge_project:
|
328
|
-
rubygems_version: 2.
|
325
|
+
rubygems_version: 2.6.2
|
329
326
|
signing_key:
|
330
327
|
specification_version: 4
|
331
328
|
summary: Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]
|
332
329
|
test_files: []
|
330
|
+
has_rdoc:
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
Binary file
|
data/.gemtest
DELETED
File without changes
|
metadata.gz.sig
DELETED
Binary file
|