pg 0.18.4 → 1.5.3

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