pg 1.1.3 → 1.5.4

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.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/.appveyor.yml +42 -0
  4. data/.gems +6 -0
  5. data/.github/workflows/binary-gems.yml +117 -0
  6. data/.github/workflows/source-gem.yml +141 -0
  7. data/.gitignore +22 -0
  8. data/.hgsigs +34 -0
  9. data/.hgtags +41 -0
  10. data/.irbrc +23 -0
  11. data/.pryrc +23 -0
  12. data/.tm_properties +21 -0
  13. data/.travis.yml +49 -0
  14. data/Gemfile +14 -0
  15. data/History.md +884 -0
  16. data/Manifest.txt +3 -3
  17. data/README-Windows.rdoc +4 -4
  18. data/README.ja.md +300 -0
  19. data/README.md +286 -0
  20. data/Rakefile +37 -137
  21. data/Rakefile.cross +62 -62
  22. data/certs/ged.pem +24 -0
  23. data/certs/larskanis-2022.pem +26 -0
  24. data/certs/larskanis-2023.pem +24 -0
  25. data/ext/errorcodes.def +80 -0
  26. data/ext/errorcodes.rb +0 -0
  27. data/ext/errorcodes.txt +22 -2
  28. data/ext/extconf.rb +105 -26
  29. data/ext/gvl_wrappers.c +4 -0
  30. data/ext/gvl_wrappers.h +23 -0
  31. data/ext/pg.c +204 -152
  32. data/ext/pg.h +52 -21
  33. data/ext/pg_binary_decoder.c +100 -17
  34. data/ext/pg_binary_encoder.c +238 -13
  35. data/ext/pg_coder.c +109 -34
  36. data/ext/pg_connection.c +1383 -983
  37. data/ext/pg_copy_coder.c +356 -35
  38. data/ext/pg_errors.c +1 -1
  39. data/ext/pg_record_coder.c +522 -0
  40. data/ext/pg_result.c +439 -172
  41. data/ext/pg_text_decoder.c +42 -18
  42. data/ext/pg_text_encoder.c +201 -56
  43. data/ext/pg_tuple.c +97 -66
  44. data/ext/pg_type_map.c +45 -11
  45. data/ext/pg_type_map_all_strings.c +21 -7
  46. data/ext/pg_type_map_by_class.c +59 -27
  47. data/ext/pg_type_map_by_column.c +80 -37
  48. data/ext/pg_type_map_by_mri_type.c +49 -20
  49. data/ext/pg_type_map_by_oid.c +62 -29
  50. data/ext/pg_type_map_in_ruby.c +56 -22
  51. data/ext/{util.c → pg_util.c} +7 -7
  52. data/lib/pg/basic_type_map_based_on_result.rb +67 -0
  53. data/lib/pg/basic_type_map_for_queries.rb +198 -0
  54. data/lib/pg/basic_type_map_for_results.rb +104 -0
  55. data/lib/pg/basic_type_registry.rb +299 -0
  56. data/lib/pg/binary_decoder/date.rb +9 -0
  57. data/lib/pg/binary_decoder/timestamp.rb +26 -0
  58. data/lib/pg/binary_encoder/timestamp.rb +20 -0
  59. data/lib/pg/coder.rb +35 -12
  60. data/lib/pg/connection.rb +744 -84
  61. data/lib/pg/exceptions.rb +15 -1
  62. data/lib/pg/result.rb +13 -1
  63. data/lib/pg/text_decoder/date.rb +18 -0
  64. data/lib/pg/text_decoder/inet.rb +9 -0
  65. data/lib/pg/text_decoder/json.rb +14 -0
  66. data/lib/pg/text_decoder/numeric.rb +9 -0
  67. data/lib/pg/text_decoder/timestamp.rb +30 -0
  68. data/lib/pg/text_encoder/date.rb +12 -0
  69. data/lib/pg/text_encoder/inet.rb +28 -0
  70. data/lib/pg/text_encoder/json.rb +14 -0
  71. data/lib/pg/text_encoder/numeric.rb +9 -0
  72. data/lib/pg/text_encoder/timestamp.rb +24 -0
  73. data/lib/pg/type_map_by_column.rb +2 -1
  74. data/lib/pg/version.rb +4 -0
  75. data/lib/pg.rb +94 -39
  76. data/misc/openssl-pg-segfault.rb +31 -0
  77. data/misc/postgres/History.txt +9 -0
  78. data/misc/postgres/Manifest.txt +5 -0
  79. data/misc/postgres/README.txt +21 -0
  80. data/misc/postgres/Rakefile +21 -0
  81. data/misc/postgres/lib/postgres.rb +16 -0
  82. data/misc/ruby-pg/History.txt +9 -0
  83. data/misc/ruby-pg/Manifest.txt +5 -0
  84. data/misc/ruby-pg/README.txt +21 -0
  85. data/misc/ruby-pg/Rakefile +21 -0
  86. data/misc/ruby-pg/lib/ruby/pg.rb +16 -0
  87. data/pg.gemspec +34 -0
  88. data/rakelib/task_extension.rb +46 -0
  89. data/sample/array_insert.rb +20 -0
  90. data/sample/async_api.rb +102 -0
  91. data/sample/async_copyto.rb +39 -0
  92. data/sample/async_mixed.rb +56 -0
  93. data/sample/check_conn.rb +21 -0
  94. data/sample/copydata.rb +71 -0
  95. data/sample/copyfrom.rb +81 -0
  96. data/sample/copyto.rb +19 -0
  97. data/sample/cursor.rb +21 -0
  98. data/sample/disk_usage_report.rb +177 -0
  99. data/sample/issue-119.rb +94 -0
  100. data/sample/losample.rb +69 -0
  101. data/sample/minimal-testcase.rb +17 -0
  102. data/sample/notify_wait.rb +72 -0
  103. data/sample/pg_statistics.rb +285 -0
  104. data/sample/replication_monitor.rb +222 -0
  105. data/sample/test_binary_values.rb +33 -0
  106. data/sample/wal_shipper.rb +434 -0
  107. data/sample/warehouse_partitions.rb +311 -0
  108. data/translation/.po4a-version +7 -0
  109. data/translation/po/all.pot +936 -0
  110. data/translation/po/ja.po +1036 -0
  111. data/translation/po4a.cfg +12 -0
  112. data.tar.gz.sig +0 -0
  113. metadata +144 -222
  114. metadata.gz.sig +0 -0
  115. data/ChangeLog +0 -6595
  116. data/History.rdoc +0 -485
  117. data/README.ja.rdoc +0 -14
  118. data/README.rdoc +0 -178
  119. data/lib/pg/basic_type_mapping.rb +0 -459
  120. data/lib/pg/binary_decoder.rb +0 -22
  121. data/lib/pg/constants.rb +0 -11
  122. data/lib/pg/text_decoder.rb +0 -47
  123. data/lib/pg/text_encoder.rb +0 -69
  124. data/spec/data/expected_trace.out +0 -26
  125. data/spec/data/random_binary_data +0 -0
  126. data/spec/helpers.rb +0 -381
  127. data/spec/pg/basic_type_mapping_spec.rb +0 -508
  128. data/spec/pg/connection_spec.rb +0 -1849
  129. data/spec/pg/connection_sync_spec.rb +0 -41
  130. data/spec/pg/result_spec.rb +0 -491
  131. data/spec/pg/tuple_spec.rb +0 -280
  132. data/spec/pg/type_map_by_class_spec.rb +0 -138
  133. data/spec/pg/type_map_by_column_spec.rb +0 -222
  134. data/spec/pg/type_map_by_mri_type_spec.rb +0 -136
  135. data/spec/pg/type_map_by_oid_spec.rb +0 -149
  136. data/spec/pg/type_map_in_ruby_spec.rb +0 -164
  137. data/spec/pg/type_map_spec.rb +0 -22
  138. data/spec/pg/type_spec.rb +0 -949
  139. data/spec/pg_spec.rb +0 -50
  140. /data/ext/{util.h → pg_util.h} +0 -0
@@ -0,0 +1,12 @@
1
+ [po_directory] po
2
+
3
+ [options] --master-charset UTF-8 \
4
+ --localized-charset UTF-8 \
5
+ --master-language en \
6
+ --option markdown \
7
+ --keep 0 \
8
+ --package-name Pg \
9
+ --package-version 1.4.6 \
10
+ --copyright-holder 'Pg authors'
11
+
12
+ [type:text] ../README.md ja:../README.ja.md
data.tar.gz.sig CHANGED
Binary file
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: 1.1.3
4
+ version: 1.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -11,185 +11,29 @@ bindir: bin
11
11
  cert_chain:
12
12
  - |
13
13
  -----BEGIN CERTIFICATE-----
14
- MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MQwwCgYDVQQDDANnZWQx
15
- GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
16
- HhcNMTcwOTI3MDAzMDQ0WhcNMTgwOTI3MDAzMDQ0WjA+MQwwCgYDVQQDDANnZWQx
17
- GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
18
- ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC/JWGRHO+USzR97vXjkFgt
19
- 83qeNf2KHkcvrRTSnR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JoGRbWMxvxN
27
+ JU6Bnwa4yYp9YtF91wYIi7FXwIrCPKd9bk3bf4M5wECdsv+zvVceq2zRXqD7fci8
28
+ 1LRG8ort/f4TgaT7B4aNwOaabA2UT6u0FGeglqxLkhir86MY3QQyBfJZUoTKWGkz
29
+ S9a7GXsYpe+8HMOaE4+SZp8SORKPgATND5m/4VdzuO59VXjE5UP7QpXigbxAt7H7
30
+ ciK5Du2ZDhowmWzZwNzR7VvVmfAK6RQJlRB03VkkQRWGld5yApOrYDne6WbD8kE0
31
+ uM8=
38
32
  -----END CERTIFICATE-----
39
- date: 2018-09-07 00:00:00.000000000 Z
40
- dependencies:
41
- - !ruby/object:Gem::Dependency
42
- name: hoe-mercurial
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '1.4'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '1.4'
55
- - !ruby/object:Gem::Dependency
56
- name: hoe-deveiate
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '0.9'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '0.9'
69
- - !ruby/object:Gem::Dependency
70
- name: hoe-highline
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '0.2'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '0.2'
83
- - !ruby/object:Gem::Dependency
84
- name: rake-compiler
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '1.0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '1.0'
97
- - !ruby/object:Gem::Dependency
98
- name: rake-compiler-dock
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '0.6'
104
- - - ">="
105
- - !ruby/object:Gem::Version
106
- version: 0.6.2
107
- type: :development
108
- prerelease: false
109
- version_requirements: !ruby/object:Gem::Requirement
110
- requirements:
111
- - - "~>"
112
- - !ruby/object:Gem::Version
113
- version: '0.6'
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: 0.6.2
117
- - !ruby/object:Gem::Dependency
118
- name: hoe-bundler
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '1.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '1.0'
131
- - !ruby/object:Gem::Dependency
132
- name: rspec
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '3.5'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '3.5'
145
- - !ruby/object:Gem::Dependency
146
- name: rdoc
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '5.1'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '5.1'
159
- - !ruby/object:Gem::Dependency
160
- name: hoe
161
- requirement: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: '3.16'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: '3.16'
173
- description: |-
174
- Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].
175
-
176
- It works with {PostgreSQL 9.2 and later}[http://www.postgresql.org/support/versioning/].
177
-
178
- A small example usage:
179
-
180
- #!/usr/bin/env ruby
181
-
182
- require 'pg'
183
-
184
- # Output a table of current connections to the DB
185
- conn = PG.connect( dbname: 'sales' )
186
- conn.exec( "SELECT * FROM pg_stat_activity" ) do |result|
187
- puts " PID | User | Query"
188
- result.each do |row|
189
- puts " %7d | %-16s | %s " %
190
- row.values_at('procpid', 'usename', 'current_query')
191
- end
192
- end
33
+ date: 2023-09-01 00:00:00.000000000 Z
34
+ dependencies: []
35
+ description: Pg is the Ruby interface to the PostgreSQL RDBMS. It works with PostgreSQL
36
+ 9.3 and later.
193
37
  email:
194
38
  - ged@FaerieMUD.org
195
39
  - lars@greiz-reinsdorf.de
@@ -198,23 +42,22 @@ extensions:
198
42
  - ext/extconf.rb
199
43
  extra_rdoc_files:
200
44
  - Contributors.rdoc
201
- - History.rdoc
202
- - Manifest.txt
45
+ - History.md
203
46
  - README-OS_X.rdoc
204
47
  - README-Windows.rdoc
205
- - README.ja.rdoc
206
- - README.rdoc
207
- - ext/errorcodes.txt
208
- - POSTGRES
209
- - LICENSE
48
+ - README.ja.md
49
+ - README.md
210
50
  - ext/gvl_wrappers.c
51
+ - ext/gvl_wrappers.h
211
52
  - ext/pg.c
53
+ - ext/pg.h
212
54
  - ext/pg_binary_decoder.c
213
55
  - ext/pg_binary_encoder.c
214
56
  - ext/pg_coder.c
215
57
  - ext/pg_connection.c
216
58
  - ext/pg_copy_coder.c
217
59
  - ext/pg_errors.c
60
+ - ext/pg_record_coder.c
218
61
  - ext/pg_result.c
219
62
  - ext/pg_text_decoder.c
220
63
  - ext/pg_text_encoder.c
@@ -226,22 +69,62 @@ extra_rdoc_files:
226
69
  - ext/pg_type_map_by_mri_type.c
227
70
  - ext/pg_type_map_by_oid.c
228
71
  - ext/pg_type_map_in_ruby.c
229
- - ext/util.c
72
+ - ext/pg_util.c
73
+ - ext/pg_util.h
74
+ - lib/pg.rb
75
+ - lib/pg/basic_type_map_based_on_result.rb
76
+ - lib/pg/basic_type_map_for_queries.rb
77
+ - lib/pg/basic_type_map_for_results.rb
78
+ - lib/pg/basic_type_registry.rb
79
+ - lib/pg/binary_decoder/date.rb
80
+ - lib/pg/binary_decoder/timestamp.rb
81
+ - lib/pg/binary_encoder/timestamp.rb
82
+ - lib/pg/coder.rb
83
+ - lib/pg/connection.rb
84
+ - lib/pg/exceptions.rb
85
+ - lib/pg/result.rb
86
+ - lib/pg/text_decoder/date.rb
87
+ - lib/pg/text_decoder/inet.rb
88
+ - lib/pg/text_decoder/json.rb
89
+ - lib/pg/text_decoder/numeric.rb
90
+ - lib/pg/text_decoder/timestamp.rb
91
+ - lib/pg/text_encoder/date.rb
92
+ - lib/pg/text_encoder/inet.rb
93
+ - lib/pg/text_encoder/json.rb
94
+ - lib/pg/text_encoder/numeric.rb
95
+ - lib/pg/text_encoder/timestamp.rb
96
+ - lib/pg/tuple.rb
97
+ - lib/pg/type_map_by_column.rb
98
+ - lib/pg/version.rb
230
99
  files:
100
+ - ".appveyor.yml"
101
+ - ".gems"
231
102
  - ".gemtest"
103
+ - ".github/workflows/binary-gems.yml"
104
+ - ".github/workflows/source-gem.yml"
105
+ - ".gitignore"
106
+ - ".hgsigs"
107
+ - ".hgtags"
108
+ - ".irbrc"
109
+ - ".pryrc"
110
+ - ".tm_properties"
111
+ - ".travis.yml"
232
112
  - BSDL
233
- - ChangeLog
234
113
  - Contributors.rdoc
235
- - History.rdoc
114
+ - Gemfile
115
+ - History.md
236
116
  - LICENSE
237
117
  - Manifest.txt
238
118
  - POSTGRES
239
119
  - README-OS_X.rdoc
240
120
  - README-Windows.rdoc
241
- - README.ja.rdoc
242
- - README.rdoc
121
+ - README.ja.md
122
+ - README.md
243
123
  - Rakefile
244
124
  - Rakefile.cross
125
+ - certs/ged.pem
126
+ - certs/larskanis-2022.pem
127
+ - certs/larskanis-2023.pem
245
128
  - ext/errorcodes.def
246
129
  - ext/errorcodes.rb
247
130
  - ext/errorcodes.txt
@@ -256,6 +139,7 @@ files:
256
139
  - ext/pg_connection.c
257
140
  - ext/pg_copy_coder.c
258
141
  - ext/pg_errors.c
142
+ - ext/pg_record_coder.c
259
143
  - ext/pg_result.c
260
144
  - ext/pg_text_decoder.c
261
145
  - ext/pg_text_encoder.c
@@ -267,63 +151,101 @@ files:
267
151
  - ext/pg_type_map_by_mri_type.c
268
152
  - ext/pg_type_map_by_oid.c
269
153
  - ext/pg_type_map_in_ruby.c
270
- - ext/util.c
271
- - ext/util.h
154
+ - ext/pg_util.c
155
+ - ext/pg_util.h
272
156
  - ext/vc/pg.sln
273
157
  - ext/vc/pg_18/pg.vcproj
274
158
  - ext/vc/pg_19/pg_19.vcproj
275
159
  - lib/pg.rb
276
- - lib/pg/basic_type_mapping.rb
277
- - lib/pg/binary_decoder.rb
160
+ - lib/pg/basic_type_map_based_on_result.rb
161
+ - lib/pg/basic_type_map_for_queries.rb
162
+ - lib/pg/basic_type_map_for_results.rb
163
+ - lib/pg/basic_type_registry.rb
164
+ - lib/pg/binary_decoder/date.rb
165
+ - lib/pg/binary_decoder/timestamp.rb
166
+ - lib/pg/binary_encoder/timestamp.rb
278
167
  - lib/pg/coder.rb
279
168
  - lib/pg/connection.rb
280
- - lib/pg/constants.rb
281
169
  - lib/pg/exceptions.rb
282
170
  - lib/pg/result.rb
283
- - lib/pg/text_decoder.rb
284
- - lib/pg/text_encoder.rb
171
+ - lib/pg/text_decoder/date.rb
172
+ - lib/pg/text_decoder/inet.rb
173
+ - lib/pg/text_decoder/json.rb
174
+ - lib/pg/text_decoder/numeric.rb
175
+ - lib/pg/text_decoder/timestamp.rb
176
+ - lib/pg/text_encoder/date.rb
177
+ - lib/pg/text_encoder/inet.rb
178
+ - lib/pg/text_encoder/json.rb
179
+ - lib/pg/text_encoder/numeric.rb
180
+ - lib/pg/text_encoder/timestamp.rb
285
181
  - lib/pg/tuple.rb
286
182
  - lib/pg/type_map_by_column.rb
287
- - spec/data/expected_trace.out
288
- - spec/data/random_binary_data
289
- - spec/helpers.rb
290
- - spec/pg/basic_type_mapping_spec.rb
291
- - spec/pg/connection_spec.rb
292
- - spec/pg/connection_sync_spec.rb
293
- - spec/pg/result_spec.rb
294
- - spec/pg/tuple_spec.rb
295
- - spec/pg/type_map_by_class_spec.rb
296
- - spec/pg/type_map_by_column_spec.rb
297
- - spec/pg/type_map_by_mri_type_spec.rb
298
- - spec/pg/type_map_by_oid_spec.rb
299
- - spec/pg/type_map_in_ruby_spec.rb
300
- - spec/pg/type_map_spec.rb
301
- - spec/pg/type_spec.rb
302
- - spec/pg_spec.rb
303
- homepage: https://bitbucket.org/ged/ruby-pg
183
+ - lib/pg/version.rb
184
+ - misc/openssl-pg-segfault.rb
185
+ - misc/postgres/History.txt
186
+ - misc/postgres/Manifest.txt
187
+ - misc/postgres/README.txt
188
+ - misc/postgres/Rakefile
189
+ - misc/postgres/lib/postgres.rb
190
+ - misc/ruby-pg/History.txt
191
+ - misc/ruby-pg/Manifest.txt
192
+ - misc/ruby-pg/README.txt
193
+ - misc/ruby-pg/Rakefile
194
+ - misc/ruby-pg/lib/ruby/pg.rb
195
+ - pg.gemspec
196
+ - rakelib/task_extension.rb
197
+ - sample/array_insert.rb
198
+ - sample/async_api.rb
199
+ - sample/async_copyto.rb
200
+ - sample/async_mixed.rb
201
+ - sample/check_conn.rb
202
+ - sample/copydata.rb
203
+ - sample/copyfrom.rb
204
+ - sample/copyto.rb
205
+ - sample/cursor.rb
206
+ - sample/disk_usage_report.rb
207
+ - sample/issue-119.rb
208
+ - sample/losample.rb
209
+ - sample/minimal-testcase.rb
210
+ - sample/notify_wait.rb
211
+ - sample/pg_statistics.rb
212
+ - sample/replication_monitor.rb
213
+ - sample/test_binary_values.rb
214
+ - sample/wal_shipper.rb
215
+ - sample/warehouse_partitions.rb
216
+ - translation/.po4a-version
217
+ - translation/po/all.pot
218
+ - translation/po/ja.po
219
+ - translation/po4a.cfg
220
+ homepage: https://github.com/ged/ruby-pg
304
221
  licenses:
305
- - BSD-3-Clause
306
- metadata: {}
222
+ - BSD-2-Clause
223
+ metadata:
224
+ homepage_uri: https://github.com/ged/ruby-pg
225
+ source_code_uri: https://github.com/ged/ruby-pg
226
+ changelog_uri: https://github.com/ged/ruby-pg/blob/master/History.md
227
+ documentation_uri: http://deveiate.org/code/pg
307
228
  post_install_message:
308
229
  rdoc_options:
309
230
  - "--main"
310
- - README.rdoc
231
+ - README.md
232
+ - "--title"
233
+ - 'PG: The Ruby PostgreSQL Driver'
311
234
  require_paths:
312
235
  - lib
313
236
  required_ruby_version: !ruby/object:Gem::Requirement
314
237
  requirements:
315
238
  - - ">="
316
239
  - !ruby/object:Gem::Version
317
- version: 2.0.0
240
+ version: '2.5'
318
241
  required_rubygems_version: !ruby/object:Gem::Requirement
319
242
  requirements:
320
243
  - - ">="
321
244
  - !ruby/object:Gem::Version
322
245
  version: '0'
323
246
  requirements: []
324
- rubyforge_project:
325
- rubygems_version: 2.7.6
247
+ rubygems_version: 3.4.15
326
248
  signing_key:
327
249
  specification_version: 4
328
- summary: Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]
250
+ summary: Pg is the Ruby interface to the PostgreSQL RDBMS
329
251
  test_files: []
metadata.gz.sig CHANGED
Binary file