autocompl 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/lib/autocompl/repository.rb +11 -1
  3. data/lib/autocompl/version.rb +1 -1
  4. data/test/dummy/log/development.log +467 -0
  5. data/test/dummy/log/test.log +3 -0
  6. data/test/dummy/vendor/bundle/ruby/2.3.0/bin/console +23 -0
  7. data/test/dummy/vendor/bundle/ruby/2.3.0/cache/pg-0.19.0.gem +0 -0
  8. data/test/dummy/vendor/bundle/ruby/2.3.0/cache/pq-0.0.1.gem +0 -0
  9. data/test/dummy/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/pg-0.19.0/gem.build_complete +0 -0
  10. data/test/dummy/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/pg-0.19.0/gem_make.out +78 -0
  11. data/test/dummy/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/pg-0.19.0/mkmf.log +1346 -0
  12. data/test/dummy/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/pg-0.19.0/pg_ext.bundle +0 -0
  13. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/BSDL +22 -0
  14. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ChangeLog +6378 -0
  15. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/Contributors.rdoc +46 -0
  16. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/History.rdoc +363 -0
  17. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/LICENSE +56 -0
  18. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/Manifest.txt +85 -0
  19. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/POSTGRES +23 -0
  20. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/README-OS_X.rdoc +68 -0
  21. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/README-Windows.rdoc +56 -0
  22. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/README.ja.rdoc +14 -0
  23. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/README.rdoc +168 -0
  24. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/Rakefile +216 -0
  25. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/Rakefile.cross +301 -0
  26. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/Makefile +261 -0
  27. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/errorcodes.def +947 -0
  28. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/errorcodes.rb +45 -0
  29. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/errorcodes.txt +467 -0
  30. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/extconf.h +38 -0
  31. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/extconf.rb +112 -0
  32. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/gvl_wrappers.c +13 -0
  33. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/gvl_wrappers.h +257 -0
  34. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/gvl_wrappers.o +0 -0
  35. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg.c +667 -0
  36. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg.h +395 -0
  37. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg.o +0 -0
  38. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_binary_decoder.c +162 -0
  39. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_binary_decoder.o +0 -0
  40. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_binary_encoder.c +162 -0
  41. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_binary_encoder.o +0 -0
  42. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_coder.c +500 -0
  43. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_coder.o +0 -0
  44. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_connection.c +4102 -0
  45. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_connection.o +0 -0
  46. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_copy_coder.c +591 -0
  47. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_copy_coder.o +0 -0
  48. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_errors.c +95 -0
  49. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_errors.o +0 -0
  50. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_ext.bundle +0 -0
  51. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_result.c +1271 -0
  52. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_result.o +0 -0
  53. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_text_decoder.c +421 -0
  54. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_text_decoder.o +0 -0
  55. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_text_encoder.c +683 -0
  56. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_text_encoder.o +0 -0
  57. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map.c +159 -0
  58. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map.o +0 -0
  59. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_all_strings.c +116 -0
  60. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_all_strings.o +0 -0
  61. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_class.c +239 -0
  62. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_class.o +0 -0
  63. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_column.c +312 -0
  64. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_column.o +0 -0
  65. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_mri_type.c +284 -0
  66. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_mri_type.o +0 -0
  67. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_oid.c +355 -0
  68. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_oid.o +0 -0
  69. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_in_ruby.c +299 -0
  70. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_in_ruby.o +0 -0
  71. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/util.c +149 -0
  72. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/util.h +65 -0
  73. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/util.o +0 -0
  74. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/vc/pg.sln +26 -0
  75. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/vc/pg_18/pg.vcproj +216 -0
  76. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/vc/pg_19/pg_19.vcproj +209 -0
  77. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg.rb +64 -0
  78. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/basic_type_mapping.rb +426 -0
  79. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/coder.rb +83 -0
  80. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/connection.rb +271 -0
  81. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/constants.rb +11 -0
  82. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/exceptions.rb +11 -0
  83. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/result.rb +30 -0
  84. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/text_decoder.rb +51 -0
  85. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/text_encoder.rb +35 -0
  86. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/type_map_by_column.rb +15 -0
  87. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg_ext.bundle +0 -0
  88. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/array_insert.rb +20 -0
  89. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/async_api.rb +106 -0
  90. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/async_copyto.rb +39 -0
  91. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/async_mixed.rb +56 -0
  92. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/check_conn.rb +21 -0
  93. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/copyfrom.rb +81 -0
  94. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/copyto.rb +19 -0
  95. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/cursor.rb +21 -0
  96. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/disk_usage_report.rb +186 -0
  97. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/issue-119.rb +94 -0
  98. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/losample.rb +69 -0
  99. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/minimal-testcase.rb +17 -0
  100. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/notify_wait.rb +72 -0
  101. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/pg_statistics.rb +294 -0
  102. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/replication_monitor.rb +231 -0
  103. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/test_binary_values.rb +33 -0
  104. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/wal_shipper.rb +434 -0
  105. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/warehouse_partitions.rb +320 -0
  106. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/data/expected_trace.out +26 -0
  107. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/data/random_binary_data +0 -0
  108. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/helpers.rb +352 -0
  109. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/basic_type_mapping_spec.rb +305 -0
  110. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/connection_spec.rb +1676 -0
  111. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/result_spec.rb +449 -0
  112. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_map_by_class_spec.rb +138 -0
  113. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_map_by_column_spec.rb +222 -0
  114. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_map_by_mri_type_spec.rb +136 -0
  115. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_map_by_oid_spec.rb +149 -0
  116. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_map_in_ruby_spec.rb +164 -0
  117. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_map_spec.rb +22 -0
  118. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_spec.rb +777 -0
  119. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg_spec.rb +50 -0
  120. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/Gemfile +4 -0
  121. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/LICENSE.txt +22 -0
  122. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/README.md +76 -0
  123. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/Rakefile +1 -0
  124. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/bin/console +7 -0
  125. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/lib/pq.rb +99 -0
  126. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/pq.gemspec +29 -0
  127. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/spec/helpers.rb +10 -0
  128. data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/spec/queue_spec.rb +84 -0
  129. data/test/dummy/vendor/bundle/ruby/2.3.0/specifications/pg-0.19.0.gemspec +63 -0
  130. data/test/dummy/vendor/bundle/ruby/2.3.0/specifications/pq-0.0.1.gemspec +49 -0
  131. metadata +253 -1
@@ -0,0 +1,46 @@
1
+
2
+ Thanks to all the great people that have contributed code, suggestions, and patches through the
3
+ years. If you contribute a patch, please include a patch for this file that adds your name to the
4
+ list.
5
+
6
+ * Dennis Vshivkov <walrus@amur.ru>
7
+ * Gabriel Emerson <gemerson@evalsoft.com>
8
+ * Noboru Saitou <noborus@netlab.jp>
9
+ * Akinori MUSHA <knu@iDaemons.org>
10
+ * Andy Yu <is@gnuchina.org>
11
+ * Ceri Storey <cez@compsoc.man.ac.uk>
12
+ * Gavin Kistner <gavin@refinery.com>
13
+ * Henry T. So Jr. <henryso@panix.com>
14
+ * Jeremy Henty <jeremy@chaos.org.uk>
15
+ * <kasa@air.linkclub.or.jp>
16
+ * Leon Brooks <leon-ruby-postgres@cyberknights.com.au>
17
+ * Martin Hedenfalk <mahe@kth.se>
18
+ * Yukihiro Matsumoto <matz@zetabits.com>
19
+ * Eiji Matsumoto <usagi@ruby.club.or.jp>
20
+ * MoonWolf <moonwolf@moonwolf.com>
21
+ * <m_seki@mva.biglobe.ne.jp>
22
+ * Nate Haggard <nate@wordplace.com>
23
+ * Neil Conway <nconway@klamath.dyndns.org>
24
+ * Noboru Matui <silicon@mx1.freemail.ne.jp>
25
+ * Okada Jun <yun@be-in.org>
26
+ * Shirai,Kaoru <shirai@p1jp.com>
27
+ * Riley <wormwood@speakeasy.org>
28
+ * shibata <kshibata@vesta.ocn.ne.jp>
29
+ * <greentea@fa2.so-net.ne.jp>
30
+ * ts <decoux@moulon.inra.fr>
31
+ * Yuta TSUBOI <yuuta-t@is.aist-nara.ac.jp>
32
+ * Lugovoi Nikolai <meadow.nnick@gmail.com>
33
+ * Jeff Davis <ruby@j-davis.com>
34
+ * Bertram Scharpf <software@bertram-scharpf.de>
35
+ * Michael Granger <ged@FaerieMUD.org>
36
+ * Mahlon E. Smith <mahlon@martini.nu>
37
+ * Lars Kanis <kanis@comcard.de>
38
+ * Jason Yanowitz <me-bitbucket@jasonyanowitz.com>
39
+ * Charlie Savage <cfis@rubyforge.org>
40
+ * Rafał Bigaj <rafal.bigaj@gmail.com>
41
+ * Jason Yanowitz <me-bitbucket@jasonyanowitz.com>
42
+ * Greg Hazel <ghazel@gmail.com>
43
+ * Chris White <cwprogram@live.com>
44
+ * Aaron Patterson <aaron.patterson@gmail.com>
45
+ * Tim Felgentreff <timfelgentreff@gmail.com>
46
+
@@ -0,0 +1,363 @@
1
+ == v0.19.0 [2016-09-21] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ - Deprecate Ruby 1.9
4
+
5
+ Enhancements:
6
+ - Respect and convert character encoding of all strings sent
7
+ to the server. #231
8
+ - Add PostgreSQL-9.5 functions PQsslInUse(), PQsslAttribute()
9
+ and PQsslAttributeNames().
10
+ - Various documentation fixes and improvements.
11
+ - Add mechanism to build without pg_config:
12
+ gem install pg -- --with-pg-config=ignore
13
+ - Update Windows binary gems to Ruby-2.3, PostgreSQL 9.5.4 and
14
+ OpenSSL 1.0.2f.
15
+ - Add JSON coders and add them to BasicTypeMapForResults and
16
+ BasicTypeMapBasedOnResult
17
+ - Allow build from git per bundler.
18
+
19
+ Bugfixes:
20
+ - Release GVL while calling PQsetClientEncoding(). #245
21
+ - Add __EXTENSIONS__ to Solaris/SmartOS for Ruby >= 2.3.x. #236
22
+ - Fix wrong exception when running SQL while in Connection#copy_data
23
+ block for output
24
+
25
+
26
+ == v0.18.4 [2015-11-13] Michael Granger <ged@FaerieMUD.org>
27
+
28
+ Enhancements:
29
+ - Fixing compilation problems with Microsoft Visual Studio 2008. GH #10
30
+ - Avoid name clash with xcode and jemalloc. PR#22, PR#23
31
+
32
+ Bugfixes:
33
+ - Avoid segfault, when quote_ident or TextEncoder::Identifier
34
+ is called with Array containing non-strings. #226
35
+
36
+
37
+ == v0.18.3 [2015-09-03] Michael Granger <ged@FaerieMUD.org>
38
+
39
+ Enhancements:
40
+ - Use rake-compiler-dock to build windows gems easily.
41
+ - Add CI-tests on appveyor and fix test cases accordingly.
42
+
43
+ Bugfixes:
44
+ - Fix data type resulting in wrong base64 encoding.
45
+ - Change instance_of checks to kind_of for subclassing. #220
46
+ - TextDecoder::Date returns an actual Ruby Date instead of a Time
47
+ (thanks to Thomas Ramfjord)
48
+
49
+
50
+ == v0.18.2 [2015-05-14] Michael Granger <ged@FaerieMUD.org>
51
+
52
+ Enhancements:
53
+
54
+ - Allow URI connection string (thanks to Chris Bandy)
55
+ - Allow Array type parameter to conn.quote_ident
56
+
57
+ Bugfixes:
58
+
59
+ - Speedups and fixes for PG::TextDecoder::Identifier and quoting behavior
60
+ - Revert addition of PG::Connection#hostaddr [#202].
61
+ - Fix decoding of fractional timezones and timestamps [#203]
62
+ - Fixes for non-C99 compilers
63
+ - Avoid possible symbol name clash when linking againt static libpq.
64
+
65
+
66
+ == v0.18.1 [2015-01-05] Michael Granger <ged@FaerieMUD.org>
67
+
68
+ Correct the minimum compatible Ruby version to 1.9.3. #199
69
+
70
+
71
+ == v0.18.0 [2015-01-01] Michael Granger <ged@FaerieMUD.org>
72
+
73
+ Bugfixes:
74
+ - Fix OID to Integer mapping (it is unsigned now). #187
75
+ - Fix possible segfault in conjunction with notice receiver. #185
76
+
77
+ Enhancements:
78
+
79
+ - Add an extensible type cast system.
80
+ - A lot of performance improvements.
81
+ - Return frozen String objects for result field names.
82
+ - Add PG::Result#stream_each and #stream_each_row as fast helpers for
83
+ the single row mode.
84
+ - Add Enumerator variant to PG::Result#each and #each_row.
85
+ - Add PG::Connection#conninfo and #hostaddr.
86
+ - Add PG.init_openssl and PG.init_ssl methods.
87
+ - Add PG::Result.inspect
88
+ - Force zero termination for all text strings that are given to libpq.
89
+ It raises an ArgumentError if the string contains a null byte.
90
+ - Update Windows cross build to PostgreSQL 9.3.
91
+
92
+
93
+
94
+ == v0.17.1 [2013-12-18] Michael Granger <ged@FaerieMUD.org>
95
+
96
+ Bugfixes:
97
+
98
+ - Fix compatibility with signal handlers defined in Ruby. This reverts
99
+ cancelation of queries running on top of the blocking libpq API (like
100
+ Connection#exec) in case of signals. As an alternative the #async_exec
101
+ can be used, which is reverted to use the non-blocking API, again.
102
+ - Wrap PQcancel to be called without GVL. It internally waits for
103
+ the canceling connection.
104
+
105
+ Documentation fixes:
106
+
107
+ - Fix documentation for PG::Connection::conndefaults.
108
+
109
+
110
+ == v0.17.0 [2013-09-15] Michael Granger <ged@FaerieMUD.org>
111
+
112
+ Bugfixes:
113
+
114
+ - Fix crash by calling PQsend* and PQisBusy without GVL (#171).
115
+
116
+ Enhancements:
117
+
118
+ - Add method PG::Connection#copy_data.
119
+ - Add a Gemfile to allow installation of dependencies with bundler.
120
+ - Add compatibility with rake-compiler-dev-box.
121
+ - Return self from PG::Result#check instead of nil. This allows
122
+ to stack method calls.
123
+
124
+
125
+ == v0.16.0 [2013-07-22] Michael Granger <ged@FaerieMUD.org>
126
+
127
+ Bugfixes:
128
+
129
+ - Avoid warnings about uninitialized instance variables.
130
+ - Use a more standard method of adding library and include directories.
131
+ This fixes build on AIX (Github #7) and Solaris (#164).
132
+ - Cancel the running query, if a thread is about to be killed (e.g. by CTRL-C).
133
+ - Fix GVL issue with wait_for_notify/notifies and notice callbacks.
134
+ - Set proper encoding on the string returned by quote_ident, escape_literal
135
+ and escape_identifier (#163).
136
+ - Use nil as PG::Error#result in case of a NULL-result from libpq (#166).
137
+ - Recalculate the timeout of conn#wait_for_notify and conn#block in case
138
+ of socket events that require re-runs of select().
139
+
140
+ Documentation fixes:
141
+
142
+ - Fix non working example for PGresult#error_field.
143
+
144
+ Enhancements:
145
+
146
+ - Add unique exception classes for each PostgreSQL error type (#5).
147
+ - Return result of the block in conn#transaction instead of nil (#158).
148
+ - Allow 'rake compile' and 'rake gem' on non mercurial repos.
149
+ - Add support for PG_DIAG_*_NAME error fields of PostgreSQL-9.3 (#161).
150
+
151
+
152
+ == v0.15.1 [2013-04-08] Michael Granger <ged@FaerieMUD.org>
153
+
154
+ Bugfixes:
155
+
156
+ - Shorten application_name to avoid warnings about truncated identifier.
157
+
158
+
159
+ == v0.15.0 [2013-03-03] Michael Granger <ged@FaerieMUD.org>
160
+
161
+ Bugfixes:
162
+
163
+ - Fix segfault in PG::Result#field_values when called with non String value.
164
+ - Fix encoding of messages delivered by notice callbacks.
165
+ - Fix text encoding for Connection#wait_for_notify and Connection#notifies.
166
+ - Fix 'Bad file descriptor' problems under Windows: wrong behaviour of
167
+ #wait_for_notify() and timeout handling of #block on Ruby 1.9.
168
+
169
+ Documentation fixes:
170
+
171
+ - conn#socket() can not be used with IO.for_fd() on Windows.
172
+
173
+ Enhancements:
174
+
175
+ - Tested under Ruby 2.0.0p0.
176
+ - Add single row mode of PostgreSQL 9.2.
177
+ - Set fallback_application_name to programm name $0. Thanks to Will Leinweber
178
+ for the patch.
179
+ - Release Ruby's GVL while calls to blocking libpq functions to allow better
180
+ concurrency in threaded applications.
181
+ - Refactor different variants of waiting for the connection socket.
182
+ - Make use of rb_thread_fd_select() on Ruby 1.9 and avoid deprecated
183
+ rb_thread_select().
184
+ - Add an example of how to insert array data using a prepared statement (#145).
185
+ - Add continous integration tests on travis-ci.org.
186
+ - Add PG::Result#each_row for iterative over result sets by row. Thanks to
187
+ Aaron Patterson for the patch.
188
+ - Add a PG::Connection#socket_io method for fetching a (non-autoclosing) IO
189
+ object for the connection's socket.
190
+
191
+ Specs:
192
+
193
+ - Fix various specs to run on older PostgreSQL and Ruby versions.
194
+ - Avoid fork() in specs to allow usage on Windows and JRuby.
195
+
196
+
197
+ == v0.14.1 [2012-09-02] Michael Granger <ged@FaerieMUD.org>
198
+
199
+ Important bugfix:
200
+
201
+ - Fix stack overflow bug in PG::Result#values and #column_values (#135). Thanks
202
+ to everyone who reported the bug, and Lars Kanis especially for figuring out
203
+ the problem.
204
+
205
+ PostgreSQL 9.2 beta fixes:
206
+
207
+ - Recognize PGRES_SINGLE_TUPLE as OK when checking PGresult (Jeremy Evans)
208
+
209
+ Documentation fixes:
210
+
211
+ - Add note about the usage scope of the result object received by the
212
+ #set_notice_receiver block. (Lars Kanis)
213
+ - Add PGRES_COPY_BOTH to documentation of PG::Result#result_status. (Lars Kanis)
214
+ - Add some documentation to PG::Result#fnumber (fix for #139)
215
+
216
+
217
+ == v0.14.0 [2012-06-17] Michael Granger <ged@FaerieMUD.org>
218
+
219
+ Bugfixes:
220
+ #47, #104
221
+
222
+
223
+ New Methods for PostgreSQL 9 and async API support:
224
+ PG
225
+ - ::library_version
226
+
227
+ PG::Connection
228
+ - ::ping
229
+ - #escape_literal
230
+ - #escape_identifier
231
+ - #set_default_encoding
232
+
233
+ PG::Result
234
+ - #check
235
+
236
+
237
+ New Samples:
238
+
239
+ This release also comes with a collection of contributed sample scripts for
240
+ doing resource-utilization reports, graphing database statistics,
241
+ monitoring for replication lag, shipping WAL files for replication,
242
+ automated tablespace partitioning, etc. See the samples/ directory.
243
+
244
+
245
+ == v0.13.2 [2012-02-22] Michael Granger <ged@FaerieMUD.org>
246
+
247
+ - Make builds against PostgreSQL earlier than 8.3 fail with a descriptive
248
+ message instead of a compile failure.
249
+
250
+
251
+ == v0.13.1 [2012-02-12] Michael Granger <ged@FaerieMUD.org>
252
+
253
+ - Made use of a finished PG::Connection raise a PG::Error instead of
254
+ a fatal error (#110).
255
+ - Added missing BSDL license file (#108)
256
+
257
+
258
+ == v0.13.0 [2012-02-09] Michael Granger <ged@FaerieMUD.org>
259
+
260
+ Reorganization of modules/classes to be better Ruby citizens (with backward-compatible aliases):
261
+ - Created toplevel namespace 'PG' to correspond with the gem name.
262
+ - Renamed PGconn to PG::Connection (with ::PGconn alias)
263
+ - Renamed PGresult to PG::Result (with ::PGresult alias)
264
+ - Renamed PGError to PG::Error (with ::PGError alias)
265
+ - Declare all constants inside PG::Constants, then include them in
266
+ PG::Connection and PG::Result for backward-compatibility, and
267
+ in PG for convenience.
268
+ - Split the extension source up by class/module.
269
+ - Removed old compatibility code for PostgreSQL versions < 8.3
270
+
271
+ Documentation:
272
+ - Clarified licensing, updated to Ruby 1.9's license.
273
+ - Merged authors list, added some missing people to the Contributor's
274
+ list.
275
+ - Cleaned up the sample/ directory
276
+ - Making contact info a bit clearer, link to the Google+ page and
277
+ the mailing list
278
+
279
+ Enhancements:
280
+ - Added a convenience method: PG.connect -> PG::Connection.new
281
+
282
+ Bugfixes:
283
+ - Fixed LATIN5-LATIN10 Postgres<->Ruby encoding conversions
284
+
285
+
286
+
287
+ == v0.12.2 [2012-01-03] Michael Granger <ged@FaerieMUD.org>
288
+
289
+ - Fix for the 1.8.7 breakage introduced by the st.h fix for alternative Ruby
290
+ implementations (#97 and #98). Thanks to Lars Kanis for the patch.
291
+ - Encode error messages with the connection's encoding under 1.9 (#96)
292
+
293
+
294
+ == v0.12.1 [2011-12-14] Michael Granger <ged@FaerieMUD.org>
295
+
296
+ - Made rake-compiler a dev dependency, as Rubygems doesn't use the Rakefile
297
+ for compiling the extension. Thanks to eolamey@bitbucket and Jeremy Evans
298
+ for pointing this out.
299
+ - Added an explicit include for ruby/st.h for implementations that need it
300
+ (fixes #95).
301
+
302
+
303
+ == v0.12.0 [2011-12-07] Michael Granger <ged@FaerieMUD.org>
304
+
305
+ - PGconn#wait_for_notify
306
+ * send nil as the payload argument if the NOTIFY didn't have one.
307
+ * accept a nil argument for no timeout (Sequel support)
308
+ * Fixed API docs
309
+ * Taint and encode event name and payload
310
+ - Handle errors while rb_thread_select()ing in PGconn#block.
311
+ (Brian Weaver).
312
+ - Fixes for Win32 async queries (Rafał Bigaj)
313
+ - Memory leak fixed: Closing opened WSA event. (rafal)
314
+ - Fixes for #66 Win32 asynchronous queries hang on connection
315
+ error. (rafal)
316
+ - Fixed a typo in PGconn#error_message's documentation
317
+ - fixing unused variable warnings for ruby 1.9.3 (Aaron Patterson)
318
+ - Build system bugfixes
319
+ - Converted to Hoe
320
+ - Updates for the Win32 binary gem builds (Lars Kanis)
321
+
322
+
323
+ == v0.11.0 [2011-02-09] Michael Granger <ged@FaerieMUD.org>
324
+
325
+ Enhancements:
326
+
327
+ * Added a PGresult#values method to fetch all result rows as an Array of
328
+ Arrays. Thanks to Jason Yanowitz (JYanowitz at enovafinancial dot com) for
329
+ the patch.
330
+
331
+
332
+ == v0.10.1 [2011-01-19] Michael Granger <ged@FaerieMUD.org>
333
+
334
+ Bugfixes:
335
+
336
+ * Add an include guard for pg.h
337
+ * Simplify the common case require of the ext
338
+ * Include the extconf header
339
+ * Fix compatibility with versions of PostgreSQL without PQgetCancel. (fixes #36)
340
+ * Fix require for natively-compiled extension under Windows. (fixes #55)
341
+ * Change rb_yield_splat() to rb_yield_values() for compatibility with Rubinius. (fixes #54)
342
+
343
+
344
+ == v0.10.0 [2010-12-01] Michael Granger <ged@FaerieMUD.org>
345
+
346
+ Enhancements:
347
+
348
+ * Added support for the payload of NOTIFY events (w/Mahlon E. Smith)
349
+ * Updated the build system with Rubygems suggestions from RubyConf 2010
350
+
351
+ Bugfixes:
352
+
353
+ * Fixed issue with PGconn#wait_for_notify that caused it to miss notifications that happened after
354
+ the LISTEN but before the wait_for_notify.
355
+
356
+ == v0.9.0 [2010-02-28] Michael Granger <ged@FaerieMUD.org>
357
+
358
+ Bugfixes.
359
+
360
+ == v0.8.0 [2009-03-28] Jeff Davis <davis.jeffrey@gmail.com>
361
+
362
+ Bugfixes, better Windows support.
363
+
@@ -0,0 +1,56 @@
1
+ Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
2
+ You can redistribute it and/or modify it under either the terms of the
3
+ 2-clause BSDL (see the file BSDL), or the conditions below:
4
+
5
+ 1. You may make and give away verbatim copies of the source form of the
6
+ software without restriction, provided that you duplicate all of the
7
+ original copyright notices and associated disclaimers.
8
+
9
+ 2. You may modify your copy of the software in any way, provided that
10
+ you do at least ONE of the following:
11
+
12
+ a) place your modifications in the Public Domain or otherwise
13
+ make them Freely Available, such as by posting said
14
+ modifications to Usenet or an equivalent medium, or by allowing
15
+ the author to include your modifications in the software.
16
+
17
+ b) use the modified software only within your corporation or
18
+ organization.
19
+
20
+ c) give non-standard binaries non-standard names, with
21
+ instructions on where to get the original software distribution.
22
+
23
+ d) make other distribution arrangements with the author.
24
+
25
+ 3. You may distribute the software in object code or binary form,
26
+ provided that you do at least ONE of the following:
27
+
28
+ a) distribute the binaries and library files of the software,
29
+ together with instructions (in the manual page or equivalent)
30
+ on where to get the original distribution.
31
+
32
+ b) accompany the distribution with the machine-readable source of
33
+ the software.
34
+
35
+ c) give non-standard binaries non-standard names, with
36
+ instructions on where to get the original software distribution.
37
+
38
+ d) make other distribution arrangements with the author.
39
+
40
+ 4. You may modify and include the part of the software into any other
41
+ software (possibly commercial). But some files in the distribution
42
+ are not written by the author, so that they are not under these terms.
43
+
44
+ For the list of those files and their copying conditions, see the
45
+ file LEGAL.
46
+
47
+ 5. The scripts and library files supplied as input to or produced as
48
+ output from the software do not automatically fall under the
49
+ copyright of the software, but belong to whomever generated them,
50
+ and may be sold commercially, and may be aggregated with this
51
+ software.
52
+
53
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
54
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
55
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
56
+ PURPOSE.