pg 0.18.0.pre20140820094244 → 0.18.0.pre20141017155815

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/ChangeLog +1573 -2
  5. data/History.rdoc +3 -11
  6. data/Manifest.txt +24 -0
  7. data/README.rdoc +51 -4
  8. data/Rakefile +20 -14
  9. data/Rakefile.cross +39 -32
  10. data/ext/extconf.rb +27 -26
  11. data/ext/pg.c +75 -21
  12. data/ext/pg.h +194 -6
  13. data/ext/pg_binary_decoder.c +160 -0
  14. data/ext/pg_binary_encoder.c +160 -0
  15. data/ext/pg_coder.c +454 -0
  16. data/ext/pg_connection.c +815 -518
  17. data/ext/pg_copy_coder.c +557 -0
  18. data/ext/pg_result.c +258 -103
  19. data/ext/pg_text_decoder.c +424 -0
  20. data/ext/pg_text_encoder.c +608 -0
  21. data/ext/pg_type_map.c +113 -0
  22. data/ext/pg_type_map_all_strings.c +113 -0
  23. data/ext/pg_type_map_by_column.c +254 -0
  24. data/ext/pg_type_map_by_mri_type.c +266 -0
  25. data/ext/pg_type_map_by_oid.c +341 -0
  26. data/ext/util.c +121 -0
  27. data/ext/util.h +63 -0
  28. data/lib/pg.rb +11 -1
  29. data/lib/pg/basic_type_mapping.rb +377 -0
  30. data/lib/pg/coder.rb +74 -0
  31. data/lib/pg/connection.rb +38 -5
  32. data/lib/pg/result.rb +13 -3
  33. data/lib/pg/text_decoder.rb +42 -0
  34. data/lib/pg/text_encoder.rb +27 -0
  35. data/lib/pg/type_map_by_column.rb +15 -0
  36. data/spec/helpers.rb +9 -1
  37. data/spec/pg/basic_type_mapping_spec.rb +251 -0
  38. data/spec/pg/connection_spec.rb +232 -13
  39. data/spec/pg/result_spec.rb +52 -0
  40. data/spec/pg/type_map_by_column_spec.rb +135 -0
  41. data/spec/pg/type_map_by_mri_type_spec.rb +122 -0
  42. data/spec/pg/type_map_by_oid_spec.rb +133 -0
  43. data/spec/pg/type_map_spec.rb +39 -0
  44. data/spec/pg/type_spec.rb +620 -0
  45. metadata +40 -4
  46. 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.18.0.pre20140820094244
4
+ version: 0.18.0.pre20141017155815
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -31,7 +31,7 @@ cert_chain:
31
31
  c7ZKPJcWBv0sm81+FCZXNACn2f9jfF8OQinxVs0O052KbGuEQaaiGIYeuuwQE2q6
32
32
  ggcrPfcYeTwWlfZPu2LrBg==
33
33
  -----END CERTIFICATE-----
34
- date: 2014-08-20 00:00:00.000000000 Z
34
+ date: 2014-10-17 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: hoe-mercurial
@@ -148,7 +148,7 @@ dependencies:
148
148
  description: |-
149
149
  Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].
150
150
 
151
- It works with {PostgreSQL 9.0 and later}[http://www.postgresql.org/support/versioning/].
151
+ It works with {PostgreSQL 8.4 and later}[http://www.postgresql.org/support/versioning/].
152
152
 
153
153
  A small example usage:
154
154
 
@@ -184,9 +184,21 @@ extra_rdoc_files:
184
184
  - LICENSE
185
185
  - ext/gvl_wrappers.c
186
186
  - ext/pg.c
187
+ - ext/pg_binary_decoder.c
188
+ - ext/pg_binary_encoder.c
189
+ - ext/pg_coder.c
187
190
  - ext/pg_connection.c
191
+ - ext/pg_copy_coder.c
188
192
  - ext/pg_errors.c
189
193
  - ext/pg_result.c
194
+ - ext/pg_text_decoder.c
195
+ - ext/pg_text_encoder.c
196
+ - ext/pg_type_map.c
197
+ - ext/pg_type_map_all_strings.c
198
+ - ext/pg_type_map_by_column.c
199
+ - ext/pg_type_map_by_mri_type.c
200
+ - ext/pg_type_map_by_oid.c
201
+ - ext/util.c
190
202
  files:
191
203
  - BSDL
192
204
  - ChangeLog
@@ -209,17 +221,35 @@ files:
209
221
  - ext/gvl_wrappers.h
210
222
  - ext/pg.c
211
223
  - ext/pg.h
224
+ - ext/pg_binary_decoder.c
225
+ - ext/pg_binary_encoder.c
226
+ - ext/pg_coder.c
212
227
  - ext/pg_connection.c
228
+ - ext/pg_copy_coder.c
213
229
  - ext/pg_errors.c
214
230
  - ext/pg_result.c
231
+ - ext/pg_text_decoder.c
232
+ - ext/pg_text_encoder.c
233
+ - ext/pg_type_map.c
234
+ - ext/pg_type_map_all_strings.c
235
+ - ext/pg_type_map_by_column.c
236
+ - ext/pg_type_map_by_mri_type.c
237
+ - ext/pg_type_map_by_oid.c
238
+ - ext/util.c
239
+ - ext/util.h
215
240
  - ext/vc/pg.sln
216
241
  - ext/vc/pg_18/pg.vcproj
217
242
  - ext/vc/pg_19/pg_19.vcproj
218
243
  - lib/pg.rb
244
+ - lib/pg/basic_type_mapping.rb
245
+ - lib/pg/coder.rb
219
246
  - lib/pg/connection.rb
220
247
  - lib/pg/constants.rb
221
248
  - lib/pg/exceptions.rb
222
249
  - lib/pg/result.rb
250
+ - lib/pg/text_decoder.rb
251
+ - lib/pg/text_encoder.rb
252
+ - lib/pg/type_map_by_column.rb
223
253
  - sample/array_insert.rb
224
254
  - sample/async_api.rb
225
255
  - sample/async_copyto.rb
@@ -241,8 +271,14 @@ files:
241
271
  - spec/data/expected_trace.out
242
272
  - spec/data/random_binary_data
243
273
  - spec/helpers.rb
274
+ - spec/pg/basic_type_mapping_spec.rb
244
275
  - spec/pg/connection_spec.rb
245
276
  - spec/pg/result_spec.rb
277
+ - spec/pg/type_map_by_column_spec.rb
278
+ - spec/pg/type_map_by_mri_type_spec.rb
279
+ - spec/pg/type_map_by_oid_spec.rb
280
+ - spec/pg/type_map_spec.rb
281
+ - spec/pg/type_spec.rb
246
282
  - spec/pg_spec.rb
247
283
  homepage: https://bitbucket.org/ged/ruby-pg
248
284
  licenses:
@@ -264,7 +300,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
264
300
  requirements:
265
301
  - - ">="
266
302
  - !ruby/object:Gem::Version
267
- version: 1.9.3
303
+ version: 1.8.7
268
304
  required_rubygems_version: !ruby/object:Gem::Requirement
269
305
  requirements:
270
306
  - - ">"
metadata.gz.sig CHANGED
Binary file