pg 0.14.1.pre.363-x86-mingw32 → 0.14.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,8 +1,28 @@
1
+ 2012-09-02 Michael Granger <ged@FaerieMUD.org>
2
+
3
+ * .hgtags:
4
+ Added tag v0.14.1 for changeset 2d83ce956f97
5
+ [523ae4535497] [tip]
6
+
7
+ * .hgsigs:
8
+ Added signature for changeset 52d22b060501
9
+ [2d83ce956f97] [v0.14.1]
10
+
11
+ * History.rdoc:
12
+ Updating the History file
13
+ [52d22b060501]
14
+
15
+ 2012-08-14 Michael Granger <ged@FaerieMUD.org>
16
+
17
+ * ext/pg_result.c:
18
+ Add some documentation to PG::Result#fnumber (fixes #139)
19
+ [b03c4641e58f]
20
+
1
21
  2012-08-12 Michael Granger <ged@FaerieMUD.org>
2
22
 
3
23
  * History.rdoc, lib/pg.rb:
4
24
  Bump the patch version, update history.
5
- [ef533f731814] [tip]
25
+ [ef533f731814]
6
26
 
7
27
  2012-08-08 Jeremy Evans <code@jeremyevans.net>
8
28
 
@@ -55,6 +75,10 @@
55
75
 
56
76
  2012-07-02 Lars Kanis <kanis@comcard.de>
57
77
 
78
+ * ext/pg_result.c:
79
+ Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
80
+ [5e0e06440b1a]
81
+
58
82
  * ext/pg_connection.c, spec/pg/connection_spec.rb:
59
83
  Fix encoding of values delivered to the row processor and add specs
60
84
  for binary and text data.
@@ -64,12 +88,21 @@
64
88
  Polish the documentation a little bit
65
89
  [b7633be3c941] <row_processor>
66
90
 
67
- * ext/pg_result.c:
68
- Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
69
- [5e0e06440b1a]
91
+ 2012-06-23 Michael Granger <ged@FaerieMUD.org>
92
+
93
+ * .hgtags:
94
+ Added tag v0.14.0 for changeset 634e0a42a101
95
+ [35eecb26bd34]
96
+
97
+ * .hgsigs:
98
+ Added signature for changeset a45710f8db30
99
+ [634e0a42a101] [v0.14.0]
70
100
 
71
101
  2012-07-01 Lars Kanis <kanis@comcard.de>
72
102
 
103
+ * merge copy_both_docu
104
+ [6e8ef5d4d216]
105
+
73
106
  * ext/pg_connection.c:
74
107
  Get rid of gcc warning about (non-)const PGresult to
75
108
  pg_new_result_for_callback()
@@ -92,16 +125,6 @@
92
125
  Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
93
126
  [63998b47da6e] <copy_both_docu>
94
127
 
95
- 2012-06-23 Michael Granger <ged@FaerieMUD.org>
96
-
97
- * .hgtags:
98
- Added tag v0.14.0 for changeset 634e0a42a101
99
- [35eecb26bd34]
100
-
101
- * .hgsigs:
102
- Added signature for changeset a45710f8db30
103
- [634e0a42a101] [v0.14.0]
104
-
105
128
  2012-06-17 Lars Kanis <kanis@comcard.de>
106
129
 
107
130
  * Rakefile.cross, ext/extconf.rb,
@@ -440,12 +463,6 @@
440
463
  Merged in larskanis/ruby-pg (pull request #5)
441
464
  [ad3e4338ad35]
442
465
 
443
- 2012-01-26 Michael Granger <ged@FaerieMUD.org>
444
-
445
- * .hgsigs:
446
- Added signature for changeset b67309d3ccf2
447
- [8f5629b33d76]
448
-
449
466
  2012-01-27 Lars Kanis <kanis@comcard.de>
450
467
 
451
468
  * Manifest.txt, POSTGRES, Rakefile, ext/extconf.rb, ext/pg.h,
@@ -456,6 +473,10 @@
456
473
 
457
474
  2012-01-26 Michael Granger <ged@FaerieMUD.org>
458
475
 
476
+ * .hgsigs:
477
+ Added signature for changeset b67309d3ccf2
478
+ [8f5629b33d76]
479
+
459
480
  * .rvmrc, ext/pg_connection.c, spec/pg/connection_spec.rb:
460
481
  Fix for Ruby 1.8, removed accidentally-committed encoding-testing
461
482
  method.
@@ -558,6 +579,13 @@
558
579
  * Merged in larskanis/ruby-pg (pull request #4)
559
580
  [8d88c47ccc9b]
560
581
 
582
+ 2012-01-03 Lars Kanis <kanis@comcard.de>
583
+
584
+ * ext/extconf.rb, ext/pg.h:
585
+ Alternatively include 'st.h' instead of 'ruby/st.h'. This fixes
586
+ compilation on Ruby 1.8.
587
+ [0cf272cb383f]
588
+
561
589
  2012-01-03 Michael Granger <ged@FaerieMUD.org>
562
590
 
563
591
  * Merged with 6fc514ea2547
@@ -569,13 +597,6 @@
569
597
  Updating history file with the st.h change
570
598
  [935f29411410]
571
599
 
572
- 2012-01-03 Lars Kanis <kanis@comcard.de>
573
-
574
- * ext/extconf.rb, ext/pg.h:
575
- Alternatively include 'st.h' instead of 'ruby/st.h'. This fixes
576
- compilation on Ruby 1.8.
577
- [0cf272cb383f]
578
-
579
600
  2012-01-02 Michael Granger <ged@FaerieMUD.org>
580
601
 
581
602
  * .hgtags:
@@ -1305,22 +1326,6 @@
1305
1326
  when client_encoding in the connection changes.
1306
1327
  [9d54bbc98488]
1307
1328
 
1308
- 2010-01-27 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
1309
-
1310
- * spec/lib/helpers.rb:
1311
- drop an recreate the test db for each test
1312
- [bbe869c00d46] <setting_up_test_database_patch>
1313
-
1314
- 2010-01-26 kueche <kueche@eee>
1315
-
1316
- * ext/pg.c:
1317
- same behavior for async_exec like exec
1318
- [fdb088fca6e0] <async_exec_behavior_patch>
1319
-
1320
- * spec/lib/helpers.rb:
1321
- improved test database setup
1322
- [825e424a4b08] <setting_up_test_database_patch>
1323
-
1324
1329
  2010-01-18 Michael Granger <ged@FaerieMUD.org>
1325
1330
 
1326
1331
  * ext/extconf.rb:
@@ -1350,31 +1355,12 @@
1350
1355
  Thanks to both Lars and Shun for all their help with this issue.
1351
1356
  [74fab32c2687]
1352
1357
 
1353
- 2010-01-11 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
1354
-
1355
- * ext/pg.c:
1356
- remaped to async_exec
1357
- [df509c9a45c0] <always_use_async_exec>
1358
-
1359
- * merged from default
1360
- [7f9623f8af4c] <workaround_broken_rb_thread_select>
1361
-
1362
1358
  2010-01-06 Michael Granger <ged@FaerieMUD.org>
1363
1359
 
1364
1360
  * README:
1365
1361
  Rearranged the sections of the README.
1366
1362
  [f8dfc1b6c51c]
1367
1363
 
1368
- 2010-01-08 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
1369
-
1370
- * ext/pg.c, ext/pg.h, spec/pgconn_spec.rb:
1371
- reworked patch that should not block a second thread
1372
- [01ad62c60c74] <workaround_broken_rb_thread_select>
1373
-
1374
- * ext/pg.c:
1375
- merged with default
1376
- [d8936a677dd0] <workaround_broken_rb_thread_select>
1377
-
1378
1364
  2010-01-05 Michael Granger <ged@FaerieMUD.org>
1379
1365
 
1380
1366
  * README.OS_X:
@@ -1413,16 +1399,6 @@
1413
1399
  Closes #13. Thanks Lars!
1414
1400
  [38a0d2a90664]
1415
1401
 
1416
- 2010-01-04 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
1417
-
1418
- * README.windows, Rakefile.local, ext/extconf.rb:
1419
- win32 cross-compilation patch applied
1420
- [b55949db8e2e] <cross-compilation-with-rake-compiler>
1421
-
1422
- * ext/pg.c:
1423
- win32 workaround rb_thread_select() applied
1424
- [78fbefffe863] <workaround_broken_rb_thread_select>
1425
-
1426
1402
  2010-01-03 Michael Granger <ged@FaerieMUD.org>
1427
1403
 
1428
1404
  * .irbrc, COPYING.txt, ChangeLog, MANIFEST, README, README.OS_X,
@@ -1465,12 +1441,6 @@
1465
1441
  Merged i17n-19-patches branch
1466
1442
  [0997a0aa7624]
1467
1443
 
1468
- 2009-12-30 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
1469
-
1470
- * README.windows, Rakefile.local, ext/extconf.rb:
1471
- static library building for cross compilation
1472
- [065a842e7bf8] <i17n-19-patches>
1473
-
1474
1444
  2009-12-28 Michael Granger <ged@FaerieMUD.org>
1475
1445
 
1476
1446
  * .hgignore, ext/pg.c, spec/pgconn_spec.rb:
@@ -1,4 +1,4 @@
1
- == v0.14.1 [2012-08-12] Michael Granger <ged@FaerieMUD.org>
1
+ == v0.14.1 [2012-09-02] Michael Granger <ged@FaerieMUD.org>
2
2
 
3
3
  Important bugfix:
4
4
 
@@ -15,6 +15,7 @@ Documentation fixes:
15
15
  - Add note about the usage scope of the result object received by the
16
16
  #set_notice_receiver block. (Lars Kanis)
17
17
  - Add PGRES_COPY_BOTH to documentation of PG::Result#result_status. (Lars Kanis)
18
+ - Add some documentation to PG::Result#fnumber (fix for #139)
18
19
 
19
20
 
20
21
  == v0.14.0 [2012-06-17] Michael Granger <ged@FaerieMUD.org>
data/Rakefile CHANGED
@@ -132,6 +132,7 @@ file 'ChangeLog' => '.hg/branch' do |task|
132
132
  $stderr.puts "Updating the changelog..."
133
133
  begin
134
134
  include Hoe::MercurialHelpers
135
+
135
136
  content = make_changelog()
136
137
  rescue NameError
137
138
  abort "Packaging tasks require the hoe-mercurial plugin (gem install hoe-mercurial)"
@@ -331,10 +331,24 @@ pgresult_fname(VALUE self, VALUE index)
331
331
  * call-seq:
332
332
  * res.fnumber( name ) -> Fixnum
333
333
  *
334
- * Returns the index of the field specified by the string _name_.
334
+ * Returns the index of the field specified by the string +name+.
335
+ * The given +name+ is treated like an identifier in an SQL command, that is,
336
+ * it is downcased unless double-quoted. For example, given a query result
337
+ * generated from the SQL command:
335
338
  *
336
- * Raises an ArgumentError if the specified _name_ isn't one of the field names;
337
- * raises a TypeError if _name_ is not a String.
339
+ * result = conn.exec( %{SELECT 1 AS FOO, 2 AS "BAR"} )
340
+ *
341
+ * we would have the results:
342
+ *
343
+ * result.fname( 0 ) # => "foo"
344
+ * result.fname( 1 ) # => "BAR"
345
+ * result.fnumber( "FOO" ) # => 0
346
+ * result.fnumber( "foo" ) # => 0
347
+ * result.fnumber( "BAR" ) # => ArgumentError
348
+ * result.fnumber( %{"BAR"} ) # => 1
349
+ *
350
+ * Raises an ArgumentError if the specified +name+ isn't one of the field names;
351
+ * raises a TypeError if +name+ is not a String.
338
352
  */
339
353
  static VALUE
340
354
  pgresult_fnumber(VALUE self, VALUE name)
Binary file
Binary file
data/lib/pg.rb CHANGED
@@ -19,7 +19,7 @@ end
19
19
  module PG
20
20
 
21
21
  # Library version
22
- VERSION = '0.14.1.pre.363'
22
+ VERSION = '0.14.1'
23
23
 
24
24
  # VCS revision
25
25
  REVISION = %q$Revision$
metadata CHANGED
@@ -1,15 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1923832471
5
- prerelease: 7
4
+ hash: 37
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 14
9
9
  - 1
10
- - pre
11
- - 363
12
- version: 0.14.1.pre.363
10
+ version: 0.14.1
13
11
  platform: x86-mingw32
14
12
  authors:
15
13
  - Michael Granger
@@ -17,7 +15,7 @@ autorequire:
17
15
  bindir: bin
18
16
  cert_chain: []
19
17
 
20
- date: 2012-08-14 00:00:00 Z
18
+ date: 2012-09-04 00:00:00 Z
21
19
  dependencies:
22
20
  - !ruby/object:Gem::Dependency
23
21
  name: hoe-mercurial
@@ -131,8 +129,8 @@ extra_rdoc_files:
131
129
  - README.rdoc
132
130
  - POSTGRES
133
131
  - LICENSE
134
- - ext/pg.c
135
132
  - ext/pg_connection.c
133
+ - ext/pg.c
136
134
  - ext/pg_result.c
137
135
  files:
138
136
  - .gemtest
@@ -216,18 +214,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
216
214
  required_rubygems_version: !ruby/object:Gem::Requirement
217
215
  none: false
218
216
  requirements:
219
- - - ">"
217
+ - - ">="
220
218
  - !ruby/object:Gem::Version
221
- hash: 25
219
+ hash: 3
222
220
  segments:
223
- - 1
224
- - 3
225
- - 1
226
- version: 1.3.1
221
+ - 0
222
+ version: "0"
227
223
  requirements: []
228
224
 
229
225
  rubyforge_project: pg
230
- rubygems_version: 1.8.11
226
+ rubygems_version: 1.8.17
231
227
  signing_key:
232
228
  specification_version: 3
233
229
  summary: Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]