do_postgres 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Manifest.txt +4 -0
- data/autobuild.rb +90 -0
- data/lib/do_postgres/version.rb +1 -1
- data/script/timezone_spec_runner.rb +28 -0
- data/script/timezones.txt +562 -0
- metadata +10 -5
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg
|
data/Manifest.txt
CHANGED
@@ -1,15 +1,19 @@
|
|
1
|
+
.gitignore
|
1
2
|
History.txt
|
2
3
|
LICENSE
|
3
4
|
Manifest.txt
|
4
5
|
README.txt
|
5
6
|
Rakefile
|
6
7
|
TODO
|
8
|
+
autobuild.rb
|
7
9
|
ext/do_postgres_ext.c
|
8
10
|
ext/extconf.rb
|
9
11
|
ext/type-oids.h
|
10
12
|
lib/do_postgres.rb
|
11
13
|
lib/do_postgres/transaction.rb
|
12
14
|
lib/do_postgres/version.rb
|
15
|
+
script/timezone_spec_runner.rb
|
16
|
+
script/timezones.txt
|
13
17
|
spec/integration/do_postgres_spec.rb
|
14
18
|
spec/integration/logging_spec.rb
|
15
19
|
spec/integration/quoting_spec.rb
|
data/autobuild.rb
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# If you have Leopard, you can run ./autobuild.rb, and any time you save a file in etc or spec
|
4
|
+
# it will try to build it, and if it builds, run the specs
|
5
|
+
|
6
|
+
require 'open3'
|
7
|
+
require 'osx/foundation'
|
8
|
+
OSX.require_framework '/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework'
|
9
|
+
include OSX
|
10
|
+
|
11
|
+
def make
|
12
|
+
|
13
|
+
stdin, stdout, stderr = Open3.popen3("make")
|
14
|
+
return true if stderr.eof?
|
15
|
+
|
16
|
+
puts "MAKE FAILED!"
|
17
|
+
while(out = stdout.gets)
|
18
|
+
puts out
|
19
|
+
end
|
20
|
+
|
21
|
+
while(out = stderr.gets)
|
22
|
+
puts out
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
|
27
|
+
def make_install
|
28
|
+
|
29
|
+
stdin, stdout, stderr = Open3.popen3("make install")
|
30
|
+
return true if stderr.eof?
|
31
|
+
|
32
|
+
puts "MAKE INSTALL FAILED!"
|
33
|
+
while(out = stdout.gets)
|
34
|
+
puts out
|
35
|
+
end
|
36
|
+
|
37
|
+
while(out = stderr.gets)
|
38
|
+
puts out
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
def run_specs
|
44
|
+
|
45
|
+
puts "="*80
|
46
|
+
system("spec -c -fs spec/")
|
47
|
+
puts "="*80
|
48
|
+
|
49
|
+
end
|
50
|
+
|
51
|
+
def build_extension
|
52
|
+
|
53
|
+
if make && make_install
|
54
|
+
run_specs
|
55
|
+
end
|
56
|
+
|
57
|
+
end
|
58
|
+
|
59
|
+
# http://rails.aizatto.com/2007/12/11/automatically-restart-scriptserver-for-easier-plugin-development-with-fsevents/
|
60
|
+
|
61
|
+
callback = proc do |stream, ctx, numEvents, paths, marks, eventIDs|
|
62
|
+
paths.regard_as('*')
|
63
|
+
rpaths = []
|
64
|
+
length = Dir.pwd.length + 1
|
65
|
+
|
66
|
+
numEvents.times { |i| rpaths << paths[i][length..-1] }
|
67
|
+
|
68
|
+
next if rpaths.select { |path| path =~ /ext|spec/ }.empty?
|
69
|
+
build_extension
|
70
|
+
end
|
71
|
+
|
72
|
+
stream = FSEventStreamCreate(KCFAllocatorDefault, callback, nil, [Dir.pwd], KFSEventStreamEventIdSinceNow, 1.0, 0)
|
73
|
+
unless stream
|
74
|
+
puts "Failed to create stream"
|
75
|
+
exit
|
76
|
+
end
|
77
|
+
|
78
|
+
FSEventStreamScheduleWithRunLoop(stream, CFRunLoopGetCurrent(), KCFRunLoopDefaultMode)
|
79
|
+
unless FSEventStreamStart(stream)
|
80
|
+
puts "Failed to start stream"
|
81
|
+
exit
|
82
|
+
end
|
83
|
+
|
84
|
+
begin
|
85
|
+
CFRunLoopRun()
|
86
|
+
rescue Interrupt
|
87
|
+
FSEventStreamStop(stream)
|
88
|
+
FSEventStreamInvalidate(stream)
|
89
|
+
FSEventStreamRelease(stream)
|
90
|
+
end
|
data/lib/do_postgres/version.rb
CHANGED
@@ -0,0 +1,28 @@
|
|
1
|
+
path = File.dirname(__FILE__)
|
2
|
+
zones = IO.readlines("#{path}/timezones.txt")
|
3
|
+
|
4
|
+
total = 0
|
5
|
+
pass = 0
|
6
|
+
|
7
|
+
zones.each do |zone|
|
8
|
+
zone.chomp!
|
9
|
+
|
10
|
+
result = %x[export TZ="#{zone}" && spec #{path}/../spec/timezone_spec.rb 2> /dev/null]
|
11
|
+
|
12
|
+
total += 1
|
13
|
+
|
14
|
+
|
15
|
+
printf("%60s | ", zone)
|
16
|
+
|
17
|
+
if result.match(/FAILED/)
|
18
|
+
puts "FAIL"
|
19
|
+
else
|
20
|
+
puts "pass"
|
21
|
+
pass += 1
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
|
26
|
+
puts "="*80
|
27
|
+
puts "="*80
|
28
|
+
puts "#{pass}/#{total} = %d" % (pass.to_f/total).round
|
@@ -0,0 +1,562 @@
|
|
1
|
+
Africa/Abidjan
|
2
|
+
Africa/Accra
|
3
|
+
Africa/Addis_Ababa
|
4
|
+
Africa/Algiers
|
5
|
+
Africa/Asmara
|
6
|
+
Africa/Asmera
|
7
|
+
Africa/Bamako
|
8
|
+
Africa/Bangui
|
9
|
+
Africa/Banjul
|
10
|
+
Africa/Bissau
|
11
|
+
Africa/Blantyre
|
12
|
+
Africa/Brazzaville
|
13
|
+
Africa/Bujumbura
|
14
|
+
Africa/Cairo
|
15
|
+
Africa/Casablanca
|
16
|
+
Africa/Ceuta
|
17
|
+
Africa/Conakry
|
18
|
+
Africa/Dakar
|
19
|
+
Africa/Dar_es_Salaam
|
20
|
+
Africa/Djibouti
|
21
|
+
Africa/Douala
|
22
|
+
Africa/El_Aaiun
|
23
|
+
Africa/Freetown
|
24
|
+
Africa/Gaborone
|
25
|
+
Africa/Harare
|
26
|
+
Africa/Johannesburg
|
27
|
+
Africa/Kampala
|
28
|
+
Africa/Khartoum
|
29
|
+
Africa/Kigali
|
30
|
+
Africa/Kinshasa
|
31
|
+
Africa/Lagos
|
32
|
+
Africa/Libreville
|
33
|
+
Africa/Lome
|
34
|
+
Africa/Luanda
|
35
|
+
Africa/Lubumbashi
|
36
|
+
Africa/Lusaka
|
37
|
+
Africa/Malabo
|
38
|
+
Africa/Maputo
|
39
|
+
Africa/Maseru
|
40
|
+
Africa/Mbabane
|
41
|
+
Africa/Mogadishu
|
42
|
+
Africa/Monrovia
|
43
|
+
Africa/Nairobi
|
44
|
+
Africa/Ndjamena
|
45
|
+
Africa/Niamey
|
46
|
+
Africa/Nouakchott
|
47
|
+
Africa/Ouagadougou
|
48
|
+
Africa/Porto-Novo
|
49
|
+
Africa/Sao_Tome
|
50
|
+
Africa/Timbuktu
|
51
|
+
Africa/Tripoli
|
52
|
+
Africa/Tunis
|
53
|
+
Africa/Windhoek
|
54
|
+
America/Adak
|
55
|
+
America/Anchorage
|
56
|
+
America/Anguilla
|
57
|
+
America/Antigua
|
58
|
+
America/Araguaina
|
59
|
+
America/Argentina/Buenos_Aires
|
60
|
+
America/Argentina/Catamarca
|
61
|
+
America/Argentina/ComodRivadavia
|
62
|
+
America/Argentina/Cordoba
|
63
|
+
America/Argentina/Jujuy
|
64
|
+
America/Argentina/La_Rioja
|
65
|
+
America/Argentina/Mendoza
|
66
|
+
America/Argentina/Rio_Gallegos
|
67
|
+
America/Argentina/San_Juan
|
68
|
+
America/Argentina/San_Luis
|
69
|
+
America/Argentina/Tucuman
|
70
|
+
America/Argentina/Ushuaia
|
71
|
+
America/Aruba
|
72
|
+
America/Asuncion
|
73
|
+
America/Atikokan
|
74
|
+
America/Atka
|
75
|
+
America/Bahia
|
76
|
+
America/Barbados
|
77
|
+
America/Belem
|
78
|
+
America/Belize
|
79
|
+
America/Blanc-Sablon
|
80
|
+
America/Boa_Vista
|
81
|
+
America/Bogota
|
82
|
+
America/Boise
|
83
|
+
America/Buenos_Aires
|
84
|
+
America/Cambridge_Bay
|
85
|
+
America/Campo_Grande
|
86
|
+
America/Cancun
|
87
|
+
America/Caracas
|
88
|
+
America/Catamarca
|
89
|
+
America/Cayenne
|
90
|
+
America/Cayman
|
91
|
+
America/Chicago
|
92
|
+
America/Chihuahua
|
93
|
+
America/Coral_Harbour
|
94
|
+
America/Cordoba
|
95
|
+
America/Costa_Rica
|
96
|
+
America/Cuiaba
|
97
|
+
America/Curacao
|
98
|
+
America/Danmarkshavn
|
99
|
+
America/Dawson
|
100
|
+
America/Dawson_Creek
|
101
|
+
America/Denver
|
102
|
+
America/Detroit
|
103
|
+
America/Dominica
|
104
|
+
America/Edmonton
|
105
|
+
America/Eirunepe
|
106
|
+
America/El_Salvador
|
107
|
+
America/Ensenada
|
108
|
+
America/Fort_Wayne
|
109
|
+
America/Fortaleza
|
110
|
+
America/Glace_Bay
|
111
|
+
America/Godthab
|
112
|
+
America/Goose_Bay
|
113
|
+
America/Grand_Turk
|
114
|
+
America/Grenada
|
115
|
+
America/Guadeloupe
|
116
|
+
America/Guatemala
|
117
|
+
America/Guayaquil
|
118
|
+
America/Guyana
|
119
|
+
America/Halifax
|
120
|
+
America/Havana
|
121
|
+
America/Hermosillo
|
122
|
+
America/Indiana/Indianapolis
|
123
|
+
America/Indiana/Knox
|
124
|
+
America/Indiana/Marengo
|
125
|
+
America/Indiana/Petersburg
|
126
|
+
America/Indiana/Tell_City
|
127
|
+
America/Indiana/Vevay
|
128
|
+
America/Indiana/Vincennes
|
129
|
+
America/Indiana/Winamac
|
130
|
+
America/Indianapolis
|
131
|
+
America/Inuvik
|
132
|
+
America/Iqaluit
|
133
|
+
America/Jamaica
|
134
|
+
America/Jujuy
|
135
|
+
America/Juneau
|
136
|
+
America/Kentucky/Louisville
|
137
|
+
America/Kentucky/Monticello
|
138
|
+
America/Knox_IN
|
139
|
+
America/La_Paz
|
140
|
+
America/Lima
|
141
|
+
America/Los_Angeles
|
142
|
+
America/Louisville
|
143
|
+
America/Maceio
|
144
|
+
America/Managua
|
145
|
+
America/Manaus
|
146
|
+
America/Marigot
|
147
|
+
America/Martinique
|
148
|
+
America/Mazatlan
|
149
|
+
America/Mendoza
|
150
|
+
America/Menominee
|
151
|
+
America/Merida
|
152
|
+
America/Mexico_City
|
153
|
+
America/Miquelon
|
154
|
+
America/Moncton
|
155
|
+
America/Monterrey
|
156
|
+
America/Montevideo
|
157
|
+
America/Montreal
|
158
|
+
America/Montserrat
|
159
|
+
America/Nassau
|
160
|
+
America/New_York
|
161
|
+
America/Nipigon
|
162
|
+
America/Nome
|
163
|
+
America/Noronha
|
164
|
+
America/North_Dakota/Center
|
165
|
+
America/North_Dakota/New_Salem
|
166
|
+
America/Panama
|
167
|
+
America/Pangnirtung
|
168
|
+
America/Paramaribo
|
169
|
+
America/Phoenix
|
170
|
+
America/Port-au-Prince
|
171
|
+
America/Port_of_Spain
|
172
|
+
America/Porto_Acre
|
173
|
+
America/Porto_Velho
|
174
|
+
America/Puerto_Rico
|
175
|
+
America/Rainy_River
|
176
|
+
America/Rankin_Inlet
|
177
|
+
America/Recife
|
178
|
+
America/Regina
|
179
|
+
America/Resolute
|
180
|
+
America/Rio_Branco
|
181
|
+
America/Rosario
|
182
|
+
America/Santiago
|
183
|
+
America/Santo_Domingo
|
184
|
+
America/Sao_Paulo
|
185
|
+
America/Scoresbysund
|
186
|
+
America/Shiprock
|
187
|
+
America/St_Barthelemy
|
188
|
+
America/St_Johns
|
189
|
+
America/St_Kitts
|
190
|
+
America/St_Lucia
|
191
|
+
America/St_Thomas
|
192
|
+
America/St_Vincent
|
193
|
+
America/Swift_Current
|
194
|
+
America/Tegucigalpa
|
195
|
+
America/Thule
|
196
|
+
America/Thunder_Bay
|
197
|
+
America/Tijuana
|
198
|
+
America/Toronto
|
199
|
+
America/Tortola
|
200
|
+
America/Vancouver
|
201
|
+
America/Virgin
|
202
|
+
America/Whitehorse
|
203
|
+
America/Winnipeg
|
204
|
+
America/Yakutat
|
205
|
+
America/Yellowknife
|
206
|
+
Antarctica/Casey
|
207
|
+
Antarctica/Davis
|
208
|
+
Antarctica/DumontDUrville
|
209
|
+
Antarctica/Mawson
|
210
|
+
Antarctica/McMurdo
|
211
|
+
Antarctica/Palmer
|
212
|
+
Antarctica/Rothera
|
213
|
+
Antarctica/South_Pole
|
214
|
+
Antarctica/Syowa
|
215
|
+
Antarctica/Vostok
|
216
|
+
Arctic/Longyearbyen
|
217
|
+
Asia/Aden
|
218
|
+
Asia/Almaty
|
219
|
+
Asia/Amman
|
220
|
+
Asia/Anadyr
|
221
|
+
Asia/Aqtau
|
222
|
+
Asia/Aqtobe
|
223
|
+
Asia/Ashgabat
|
224
|
+
Asia/Ashkhabad
|
225
|
+
Asia/Baghdad
|
226
|
+
Asia/Bahrain
|
227
|
+
Asia/Baku
|
228
|
+
Asia/Bangkok
|
229
|
+
Asia/Beirut
|
230
|
+
Asia/Bishkek
|
231
|
+
Asia/Brunei
|
232
|
+
Asia/Calcutta
|
233
|
+
Asia/Choibalsan
|
234
|
+
Asia/Chongqing
|
235
|
+
Asia/Chungking
|
236
|
+
Asia/Colombo
|
237
|
+
Asia/Dacca
|
238
|
+
Asia/Damascus
|
239
|
+
Asia/Dhaka
|
240
|
+
Asia/Dili
|
241
|
+
Asia/Dubai
|
242
|
+
Asia/Dushanbe
|
243
|
+
Asia/Gaza
|
244
|
+
Asia/Harbin
|
245
|
+
Asia/Ho_Chi_Minh
|
246
|
+
Asia/Hong_Kong
|
247
|
+
Asia/Hovd
|
248
|
+
Asia/Irkutsk
|
249
|
+
Asia/Istanbul
|
250
|
+
Asia/Jakarta
|
251
|
+
Asia/Jayapura
|
252
|
+
Asia/Jerusalem
|
253
|
+
Asia/Kabul
|
254
|
+
Asia/Kamchatka
|
255
|
+
Asia/Karachi
|
256
|
+
Asia/Kashgar
|
257
|
+
Asia/Katmandu
|
258
|
+
Asia/Kolkata
|
259
|
+
Asia/Krasnoyarsk
|
260
|
+
Asia/Kuala_Lumpur
|
261
|
+
Asia/Kuching
|
262
|
+
Asia/Kuwait
|
263
|
+
Asia/Macao
|
264
|
+
Asia/Macau
|
265
|
+
Asia/Magadan
|
266
|
+
Asia/Makassar
|
267
|
+
Asia/Manila
|
268
|
+
Asia/Muscat
|
269
|
+
Asia/Nicosia
|
270
|
+
Asia/Novosibirsk
|
271
|
+
Asia/Omsk
|
272
|
+
Asia/Oral
|
273
|
+
Asia/Phnom_Penh
|
274
|
+
Asia/Pontianak
|
275
|
+
Asia/Pyongyang
|
276
|
+
Asia/Qatar
|
277
|
+
Asia/Qyzylorda
|
278
|
+
Asia/Rangoon
|
279
|
+
Asia/Riyadh
|
280
|
+
Asia/Riyadh87
|
281
|
+
Asia/Riyadh88
|
282
|
+
Asia/Riyadh89
|
283
|
+
Asia/Saigon
|
284
|
+
Asia/Sakhalin
|
285
|
+
Asia/Samarkand
|
286
|
+
Asia/Seoul
|
287
|
+
Asia/Shanghai
|
288
|
+
Asia/Singapore
|
289
|
+
Asia/Taipei
|
290
|
+
Asia/Tashkent
|
291
|
+
Asia/Tbilisi
|
292
|
+
Asia/Tehran
|
293
|
+
Asia/Tel_Aviv
|
294
|
+
Asia/Thimbu
|
295
|
+
Asia/Thimphu
|
296
|
+
Asia/Tokyo
|
297
|
+
Asia/Ujung_Pandang
|
298
|
+
Asia/Ulaanbaatar
|
299
|
+
Asia/Ulan_Bator
|
300
|
+
Asia/Urumqi
|
301
|
+
Asia/Vientiane
|
302
|
+
Asia/Vladivostok
|
303
|
+
Asia/Yakutsk
|
304
|
+
Asia/Yekaterinburg
|
305
|
+
Asia/Yerevan
|
306
|
+
Atlantic/Azores
|
307
|
+
Atlantic/Bermuda
|
308
|
+
Atlantic/Canary
|
309
|
+
Atlantic/Cape_Verde
|
310
|
+
Atlantic/Faeroe
|
311
|
+
Atlantic/Faroe
|
312
|
+
Atlantic/Jan_Mayen
|
313
|
+
Atlantic/Madeira
|
314
|
+
Atlantic/Reykjavik
|
315
|
+
Atlantic/South_Georgia
|
316
|
+
Atlantic/St_Helena
|
317
|
+
Atlantic/Stanley
|
318
|
+
Australia/ACT
|
319
|
+
Australia/Adelaide
|
320
|
+
Australia/Brisbane
|
321
|
+
Australia/Broken_Hill
|
322
|
+
Australia/Canberra
|
323
|
+
Australia/Currie
|
324
|
+
Australia/Darwin
|
325
|
+
Australia/Eucla
|
326
|
+
Australia/Hobart
|
327
|
+
Australia/LHI
|
328
|
+
Australia/Lindeman
|
329
|
+
Australia/Lord_Howe
|
330
|
+
Australia/Melbourne
|
331
|
+
Australia/NSW
|
332
|
+
Australia/North
|
333
|
+
Australia/Perth
|
334
|
+
Australia/Queensland
|
335
|
+
Australia/South
|
336
|
+
Australia/Sydney
|
337
|
+
Australia/Tasmania
|
338
|
+
Australia/Victoria
|
339
|
+
Australia/West
|
340
|
+
Australia/Yancowinna
|
341
|
+
Brazil/Acre
|
342
|
+
Brazil/DeNoronha
|
343
|
+
Brazil/East
|
344
|
+
Brazil/West
|
345
|
+
CET
|
346
|
+
CST6CDT
|
347
|
+
Canada/Atlantic
|
348
|
+
Canada/Central
|
349
|
+
Canada/East-Saskatchewan
|
350
|
+
Canada/Eastern
|
351
|
+
Canada/Mountain
|
352
|
+
Canada/Newfoundland
|
353
|
+
Canada/Pacific
|
354
|
+
Canada/Saskatchewan
|
355
|
+
Canada/Yukon
|
356
|
+
Chile/Continental
|
357
|
+
Chile/EasterIsland
|
358
|
+
Cuba
|
359
|
+
EET
|
360
|
+
EST
|
361
|
+
EST5EDT
|
362
|
+
Egypt
|
363
|
+
Eire
|
364
|
+
Etc/GMT
|
365
|
+
Etc/GMT+0
|
366
|
+
Etc/GMT+1
|
367
|
+
Etc/GMT+10
|
368
|
+
Etc/GMT+11
|
369
|
+
Etc/GMT+12
|
370
|
+
Etc/GMT+2
|
371
|
+
Etc/GMT+3
|
372
|
+
Etc/GMT+4
|
373
|
+
Etc/GMT+5
|
374
|
+
Etc/GMT+6
|
375
|
+
Etc/GMT+7
|
376
|
+
Etc/GMT+8
|
377
|
+
Etc/GMT+9
|
378
|
+
Etc/GMT-0
|
379
|
+
Etc/GMT-1
|
380
|
+
Etc/GMT-10
|
381
|
+
Etc/GMT-11
|
382
|
+
Etc/GMT-12
|
383
|
+
Etc/GMT-13
|
384
|
+
Etc/GMT-14
|
385
|
+
Etc/GMT-2
|
386
|
+
Etc/GMT-3
|
387
|
+
Etc/GMT-4
|
388
|
+
Etc/GMT-5
|
389
|
+
Etc/GMT-6
|
390
|
+
Etc/GMT-7
|
391
|
+
Etc/GMT-8
|
392
|
+
Etc/GMT-9
|
393
|
+
Etc/GMT0
|
394
|
+
Etc/Greenwich
|
395
|
+
Etc/UCT
|
396
|
+
Etc/UTC
|
397
|
+
Etc/Universal
|
398
|
+
Etc/Zulu
|
399
|
+
Europe/Amsterdam
|
400
|
+
Europe/Andorra
|
401
|
+
Europe/Athens
|
402
|
+
Europe/Belfast
|
403
|
+
Europe/Belgrade
|
404
|
+
Europe/Berlin
|
405
|
+
Europe/Bratislava
|
406
|
+
Europe/Brussels
|
407
|
+
Europe/Bucharest
|
408
|
+
Europe/Budapest
|
409
|
+
Europe/Chisinau
|
410
|
+
Europe/Copenhagen
|
411
|
+
Europe/Dublin
|
412
|
+
Europe/Gibraltar
|
413
|
+
Europe/Guernsey
|
414
|
+
Europe/Helsinki
|
415
|
+
Europe/Isle_of_Man
|
416
|
+
Europe/Istanbul
|
417
|
+
Europe/Jersey
|
418
|
+
Europe/Kaliningrad
|
419
|
+
Europe/Kiev
|
420
|
+
Europe/Lisbon
|
421
|
+
Europe/Ljubljana
|
422
|
+
Europe/London
|
423
|
+
Europe/Luxembourg
|
424
|
+
Europe/Madrid
|
425
|
+
Europe/Malta
|
426
|
+
Europe/Mariehamn
|
427
|
+
Europe/Minsk
|
428
|
+
Europe/Monaco
|
429
|
+
Europe/Moscow
|
430
|
+
Europe/Nicosia
|
431
|
+
Europe/Oslo
|
432
|
+
Europe/Paris
|
433
|
+
Europe/Podgorica
|
434
|
+
Europe/Prague
|
435
|
+
Europe/Riga
|
436
|
+
Europe/Rome
|
437
|
+
Europe/Samara
|
438
|
+
Europe/San_Marino
|
439
|
+
Europe/Sarajevo
|
440
|
+
Europe/Simferopol
|
441
|
+
Europe/Skopje
|
442
|
+
Europe/Sofia
|
443
|
+
Europe/Stockholm
|
444
|
+
Europe/Tallinn
|
445
|
+
Europe/Tirane
|
446
|
+
Europe/Tiraspol
|
447
|
+
Europe/Uzhgorod
|
448
|
+
Europe/Vaduz
|
449
|
+
Europe/Vatican
|
450
|
+
Europe/Vienna
|
451
|
+
Europe/Vilnius
|
452
|
+
Europe/Volgograd
|
453
|
+
Europe/Warsaw
|
454
|
+
Europe/Zagreb
|
455
|
+
Europe/Zaporozhye
|
456
|
+
Europe/Zurich
|
457
|
+
Factory
|
458
|
+
GB
|
459
|
+
GB-Eire
|
460
|
+
GMT
|
461
|
+
GMT+0
|
462
|
+
GMT-0
|
463
|
+
GMT0
|
464
|
+
Greenwich
|
465
|
+
HST
|
466
|
+
Hongkong
|
467
|
+
Iceland
|
468
|
+
Indian/Antananarivo
|
469
|
+
Indian/Chagos
|
470
|
+
Indian/Christmas
|
471
|
+
Indian/Cocos
|
472
|
+
Indian/Comoro
|
473
|
+
Indian/Kerguelen
|
474
|
+
Indian/Mahe
|
475
|
+
Indian/Maldives
|
476
|
+
Indian/Mauritius
|
477
|
+
Indian/Mayotte
|
478
|
+
Indian/Reunion
|
479
|
+
Iran
|
480
|
+
Israel
|
481
|
+
Jamaica
|
482
|
+
Japan
|
483
|
+
Kwajalein
|
484
|
+
Libya
|
485
|
+
MET
|
486
|
+
MST
|
487
|
+
MST7MDT
|
488
|
+
Mexico/BajaNorte
|
489
|
+
Mexico/BajaSur
|
490
|
+
Mexico/General
|
491
|
+
Mideast/Riyadh87
|
492
|
+
Mideast/Riyadh88
|
493
|
+
Mideast/Riyadh89
|
494
|
+
NZ
|
495
|
+
NZ-CHAT
|
496
|
+
Navajo
|
497
|
+
PRC
|
498
|
+
PST8PDT
|
499
|
+
Pacific/Apia
|
500
|
+
Pacific/Auckland
|
501
|
+
Pacific/Chatham
|
502
|
+
Pacific/Easter
|
503
|
+
Pacific/Efate
|
504
|
+
Pacific/Enderbury
|
505
|
+
Pacific/Fakaofo
|
506
|
+
Pacific/Fiji
|
507
|
+
Pacific/Funafuti
|
508
|
+
Pacific/Galapagos
|
509
|
+
Pacific/Gambier
|
510
|
+
Pacific/Guadalcanal
|
511
|
+
Pacific/Guam
|
512
|
+
Pacific/Honolulu
|
513
|
+
Pacific/Johnston
|
514
|
+
Pacific/Kiritimati
|
515
|
+
Pacific/Kosrae
|
516
|
+
Pacific/Kwajalein
|
517
|
+
Pacific/Majuro
|
518
|
+
Pacific/Marquesas
|
519
|
+
Pacific/Midway
|
520
|
+
Pacific/Nauru
|
521
|
+
Pacific/Niue
|
522
|
+
Pacific/Norfolk
|
523
|
+
Pacific/Noumea
|
524
|
+
Pacific/Pago_Pago
|
525
|
+
Pacific/Palau
|
526
|
+
Pacific/Pitcairn
|
527
|
+
Pacific/Ponape
|
528
|
+
Pacific/Port_Moresby
|
529
|
+
Pacific/Rarotonga
|
530
|
+
Pacific/Saipan
|
531
|
+
Pacific/Samoa
|
532
|
+
Pacific/Tahiti
|
533
|
+
Pacific/Tarawa
|
534
|
+
Pacific/Tongatapu
|
535
|
+
Pacific/Truk
|
536
|
+
Pacific/Wake
|
537
|
+
Pacific/Wallis
|
538
|
+
Pacific/Yap
|
539
|
+
Poland
|
540
|
+
Portugal
|
541
|
+
ROC
|
542
|
+
ROK
|
543
|
+
Singapore
|
544
|
+
Turkey
|
545
|
+
UCT
|
546
|
+
US/Alaska
|
547
|
+
US/Aleutian
|
548
|
+
US/Arizona
|
549
|
+
US/Central
|
550
|
+
US/East-Indiana
|
551
|
+
US/Eastern
|
552
|
+
US/Hawaii
|
553
|
+
US/Indiana-Starke
|
554
|
+
US/Michigan
|
555
|
+
US/Mountain
|
556
|
+
US/Pacific
|
557
|
+
US/Samoa
|
558
|
+
UTC
|
559
|
+
Universal
|
560
|
+
W-SU
|
561
|
+
WET
|
562
|
+
Zulu
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: do_postgres
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bernerd Schaefer
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-11-18 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - "="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.9.
|
23
|
+
version: 0.9.7
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hoe
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.8.2
|
34
34
|
version:
|
35
35
|
description: A DataObject.rb driver for MySQL
|
36
36
|
email:
|
@@ -43,19 +43,24 @@ extra_rdoc_files:
|
|
43
43
|
- History.txt
|
44
44
|
- Manifest.txt
|
45
45
|
- README.txt
|
46
|
+
- script/timezones.txt
|
46
47
|
files:
|
48
|
+
- .gitignore
|
47
49
|
- History.txt
|
48
50
|
- LICENSE
|
49
51
|
- Manifest.txt
|
50
52
|
- README.txt
|
51
53
|
- Rakefile
|
52
54
|
- TODO
|
55
|
+
- autobuild.rb
|
53
56
|
- ext/do_postgres_ext.c
|
54
57
|
- ext/extconf.rb
|
55
58
|
- ext/type-oids.h
|
56
59
|
- lib/do_postgres.rb
|
57
60
|
- lib/do_postgres/transaction.rb
|
58
61
|
- lib/do_postgres/version.rb
|
62
|
+
- script/timezone_spec_runner.rb
|
63
|
+
- script/timezones.txt
|
59
64
|
- spec/integration/do_postgres_spec.rb
|
60
65
|
- spec/integration/logging_spec.rb
|
61
66
|
- spec/integration/quoting_spec.rb
|
@@ -87,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
92
|
requirements: []
|
88
93
|
|
89
94
|
rubyforge_project: dorb
|
90
|
-
rubygems_version: 1.
|
95
|
+
rubygems_version: 1.3.1
|
91
96
|
signing_key:
|
92
97
|
specification_version: 2
|
93
98
|
summary: A DataObject.rb driver for MySQL
|