Skip to content
Browse files

Unbundle tzinfo gem

Sadly, unpacking tzinfo into vendor gems breaks Rails' time zone
support and gives the following error when trying to access
admin/settings:

  uninitialized constant TZInfo::Timezone::TimezoneProxy

So we're going to instruct the user to install this gem using 'sudo
rake gems:install' for now.
  • Loading branch information...
1 parent 4f4e5a7 commit 6677a2c0f490a7cdaa1671482db3f714d45cf8d3 @emk emk committed Dec 22, 2008
Showing with 13 additions and 9,810 deletions.
  1. +6 −1 RAILS-2.2-TODO.txt
  2. +7 −0 public/install.html
  3. +0 −698 vendor/gems/tzinfo-0.3.12/.specification
  4. +0 −316 vendor/gems/tzinfo-0.3.12/CHANGES
  5. +0 −19 vendor/gems/tzinfo-0.3.12/LICENSE
  6. +0 −101 vendor/gems/tzinfo-0.3.12/README
  7. +0 −177 vendor/gems/tzinfo-0.3.12/Rakefile
  8. +0 −33 vendor/gems/tzinfo-0.3.12/lib/tzinfo.rb
  9. +0 −179 vendor/gems/tzinfo-0.3.12/lib/tzinfo/country.rb
  10. +0 −50 vendor/gems/tzinfo-0.3.12/lib/tzinfo/country_index_definition.rb
  11. +0 −82 vendor/gems/tzinfo-0.3.12/lib/tzinfo/country_info.rb
  12. +0 −104 vendor/gems/tzinfo-0.3.12/lib/tzinfo/country_timezone.rb
  13. +0 −47 vendor/gems/tzinfo-0.3.12/lib/tzinfo/data_timezone.rb
  14. +0 −228 vendor/gems/tzinfo-0.3.12/lib/tzinfo/data_timezone_info.rb
  15. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Abidjan.rb
  16. +0 −33 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Accra.rb
  17. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Addis_Ababa.rb
  18. +0 −55 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Algiers.rb
  19. +0 −22 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Asmara.rb
  20. +0 −13 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Asmera.rb
  21. +0 −21 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Bamako.rb
  22. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Bangui.rb
  23. +0 −22 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Banjul.rb
  24. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Bissau.rb
  25. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Blantyre.rb
  26. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Brazzaville.rb
  27. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Bujumbura.rb
  28. +0 −219 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Cairo.rb
  29. +0 −40 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Casablanca.rb
  30. +0 −172 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Ceuta.rb
  31. +0 −21 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Conakry.rb
  32. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Dakar.rb
  33. +0 −21 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Dar_es_Salaam.rb
  34. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Djibouti.rb
  35. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Douala.rb
  36. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/El_Aaiun.rb
  37. +0 −53 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Freetown.rb
  38. +0 −21 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Gaborone.rb
  39. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Harare.rb
  40. +0 −25 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Johannesburg.rb
  41. +0 −23 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Kampala.rb
  42. +0 −53 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Khartoum.rb
  43. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Kigali.rb
  44. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Kinshasa.rb
  45. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Lagos.rb
  46. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Libreville.rb
  47. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Lome.rb
  48. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Luanda.rb
  49. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Lubumbashi.rb
  50. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Lusaka.rb
  51. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Malabo.rb
  52. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Maputo.rb
  53. +0 −21 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Maseru.rb
  54. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Mbabane.rb
  55. +0 −21 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Mogadishu.rb
  56. +0 −22 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Monrovia.rb
  57. +0 −23 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Nairobi.rb
  58. +0 −21 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Ndjamena.rb
  59. +0 −22 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Niamey.rb
  60. +0 −21 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Nouakchott.rb
  61. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Ouagadougou.rb
  62. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Porto__m__Novo.rb
  63. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Sao_Tome.rb
  64. +0 −13 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Timbuktu.rb
  65. +0 −48 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Tripoli.rb
  66. +0 −137 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Tunis.rb
  67. +0 −140 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Windhoek.rb
  68. +0 −196 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Adak.rb
  69. +0 −196 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Anchorage.rb
  70. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Anguilla.rb
  71. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Antigua.rb
  72. +0 −67 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Araguaina.rb
  73. +0 −166 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/Buenos_Aires.rb
  74. +0 −85 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/Catamarca.rb
  75. +0 −15 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/ComodRivadavia.rb
  76. +0 −167 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/Cordoba.rb
  77. +0 −84 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/Jujuy.rb
  78. +0 −86 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/La_Rioja.rb
  79. +0 −86 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/Mendoza.rb
  80. +0 −85 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/Rio_Gallegos.rb
  81. +0 −83 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/Salta.rb
  82. +0 −86 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/San_Juan.rb
  83. +0 −83 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/San_Luis.rb
  84. +0 −169 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/Tucuman.rb
  85. +0 −85 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Argentina/Ushuaia.rb
  86. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Aruba.rb
  87. +0 −174 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Asuncion.rb
  88. +0 −28 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Atikokan.rb
  89. +0 −13 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Atka.rb
  90. +0 −77 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Bahia.rb
  91. +0 −29 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Barbados.rb
  92. +0 −47 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Belem.rb
  93. +0 −74 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Belize.rb
  94. +0 −26 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Blanc__m__Sablon.rb
  95. +0 −51 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Boa_Vista.rb
  96. +0 −23 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Bogota.rb
  97. +0 −199 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Boise.rb
  98. +0 −13 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Buenos_Aires.rb
  99. +0 −173 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Cambridge_Bay.rb
  100. +0 −171 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Campo_Grande.rb
  101. +0 −133 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Cancun.rb
  102. +0 −23 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Caracas.rb
  103. +0 −13 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Catamarca.rb
  104. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Cayenne.rb
  105. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Cayman.rb
  106. +0 −283 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Chicago.rb
  107. +0 −136 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Chihuahua.rb
  108. +0 −13 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Coral_Harbour.rb
  109. +0 −13 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Cordoba.rb
  110. +0 −29 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Costa_Rica.rb
  111. +0 −169 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Cuiaba.rb
  112. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Curacao.rb
  113. +0 −53 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Danmarkshavn.rb
  114. +0 −176 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Dawson.rb
  115. +0 −79 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Dawson_Creek.rb
  116. +0 −204 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Denver.rb
  117. +0 −186 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Detroit.rb
  118. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Dominica.rb
  119. +0 −200 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Edmonton.rb
  120. +0 −51 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Eirunepe.rb
  121. +0 −23 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/El_Salvador.rb
  122. +0 −13 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Ensenada.rb
  123. +0 −13 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Fort_Wayne.rb
  124. +0 −57 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Fortaleza.rb
  125. +0 −186 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Glace_Bay.rb
  126. +0 −161 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Godthab.rb
  127. +0 −255 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Goose_Bay.rb
  128. +0 −165 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Grand_Turk.rb
  129. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Grenada.rb
  130. +0 −18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Guadeloupe.rb
  131. +0 −27 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Guatemala.rb
  132. +0 −20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Guayaquil.rb
  133. +0 −24 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Guyana.rb
  134. +0 −274 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/America/Halifax.rb
Sorry, we could not display the entire diff because too many files (621) changed.
View
7 RAILS-2.2-TODO.txt
@@ -4,7 +4,12 @@ release based on Rails 2.2.
/ Try to upgrade to gem version of coderay
/ Fix TZInfo to work again
/ Security audit--see below
- Fix script/generate
+/ Fix script/generate
+
+ Figure out why Mephisto won't work unless tzinfo is installed
+ Fix two intermittent comment failures in mephisto_controller_spec
+ Follow up on courtenay's BlueCloth patch
+
Make sure we know what's up with plugins
We need to review our TODO comments
View
7 public/install.html
@@ -43,6 +43,13 @@ <h2 style="margin: 10px 0">Installing Mephisto</h2>
freeze edge rails: <code>rake rails:freeze:edge</code></p>
<br />
+ <p>You will need to install the <code>tzinfo</code> gem using
+ the following command. For some reason, unpacking
+ the <code>tzinfo</code> gem into <code>vendor/gems</code>
+ breaks Rails' time-zone handling.</p>
+
+ <pre>sudo rake gems:install</pre>
+
<p>You can visit the <a href="http://mephistoblog.com/docs/setup">Mephisto install documentation</a> on the site to get the most recent content,
however for the impatient, here's the quick setup guide:</p>
<br />
View
698 vendor/gems/tzinfo-0.3.12/.specification
@@ -1,698 +0,0 @@
---- !ruby/object:Gem::Specification
-name: tzinfo
-version: !ruby/object:Gem::Version
- version: 0.3.12
-platform: ruby
-authors:
-- Philip Ross
-autorequire:
-bindir: bin
-cert_chain: []
-
-date: 2008-11-11 00:00:00 -05:00
-default_executable:
-dependencies: []
-
-description:
-email: phil.ross@gmail.com
-executables: []
-
-extensions: []
-
-extra_rdoc_files:
-- README
-- CHANGES
-files:
-- CHANGES
-- LICENSE
-- Rakefile
-- README
-- lib/tzinfo
-- lib/tzinfo/country.rb
-- lib/tzinfo/country_index_definition.rb
-- lib/tzinfo/country_info.rb
-- lib/tzinfo/country_timezone.rb
-- lib/tzinfo/data_timezone.rb
-- lib/tzinfo/data_timezone_info.rb
-- lib/tzinfo/definitions
-- lib/tzinfo/definitions/Africa
-- lib/tzinfo/definitions/Africa/Abidjan.rb
-- lib/tzinfo/definitions/Africa/Accra.rb
-- lib/tzinfo/definitions/Africa/Addis_Ababa.rb
-- lib/tzinfo/definitions/Africa/Algiers.rb
-- lib/tzinfo/definitions/Africa/Asmara.rb
-- lib/tzinfo/definitions/Africa/Asmera.rb
-- lib/tzinfo/definitions/Africa/Bamako.rb
-- lib/tzinfo/definitions/Africa/Bangui.rb
-- lib/tzinfo/definitions/Africa/Banjul.rb
-- lib/tzinfo/definitions/Africa/Bissau.rb
-- lib/tzinfo/definitions/Africa/Blantyre.rb
-- lib/tzinfo/definitions/Africa/Brazzaville.rb
-- lib/tzinfo/definitions/Africa/Bujumbura.rb
-- lib/tzinfo/definitions/Africa/Cairo.rb
-- lib/tzinfo/definitions/Africa/Casablanca.rb
-- lib/tzinfo/definitions/Africa/Ceuta.rb
-- lib/tzinfo/definitions/Africa/Conakry.rb
-- lib/tzinfo/definitions/Africa/Dakar.rb
-- lib/tzinfo/definitions/Africa/Dar_es_Salaam.rb
-- lib/tzinfo/definitions/Africa/Djibouti.rb
-- lib/tzinfo/definitions/Africa/Douala.rb
-- lib/tzinfo/definitions/Africa/El_Aaiun.rb
-- lib/tzinfo/definitions/Africa/Freetown.rb
-- lib/tzinfo/definitions/Africa/Gaborone.rb
-- lib/tzinfo/definitions/Africa/Harare.rb
-- lib/tzinfo/definitions/Africa/Johannesburg.rb
-- lib/tzinfo/definitions/Africa/Kampala.rb
-- lib/tzinfo/definitions/Africa/Khartoum.rb
-- lib/tzinfo/definitions/Africa/Kigali.rb
-- lib/tzinfo/definitions/Africa/Kinshasa.rb
-- lib/tzinfo/definitions/Africa/Lagos.rb
-- lib/tzinfo/definitions/Africa/Libreville.rb
-- lib/tzinfo/definitions/Africa/Lome.rb
-- lib/tzinfo/definitions/Africa/Luanda.rb
-- lib/tzinfo/definitions/Africa/Lubumbashi.rb
-- lib/tzinfo/definitions/Africa/Lusaka.rb
-- lib/tzinfo/definitions/Africa/Malabo.rb
-- lib/tzinfo/definitions/Africa/Maputo.rb
-- lib/tzinfo/definitions/Africa/Maseru.rb
-- lib/tzinfo/definitions/Africa/Mbabane.rb
-- lib/tzinfo/definitions/Africa/Mogadishu.rb
-- lib/tzinfo/definitions/Africa/Monrovia.rb
-- lib/tzinfo/definitions/Africa/Nairobi.rb
-- lib/tzinfo/definitions/Africa/Ndjamena.rb
-- lib/tzinfo/definitions/Africa/Niamey.rb
-- lib/tzinfo/definitions/Africa/Nouakchott.rb
-- lib/tzinfo/definitions/Africa/Ouagadougou.rb
-- lib/tzinfo/definitions/Africa/Porto__m__Novo.rb
-- lib/tzinfo/definitions/Africa/Sao_Tome.rb
-- lib/tzinfo/definitions/Africa/Timbuktu.rb
-- lib/tzinfo/definitions/Africa/Tripoli.rb
-- lib/tzinfo/definitions/Africa/Tunis.rb
-- lib/tzinfo/definitions/Africa/Windhoek.rb
-- lib/tzinfo/definitions/America
-- lib/tzinfo/definitions/America/Adak.rb
-- lib/tzinfo/definitions/America/Anchorage.rb
-- lib/tzinfo/definitions/America/Anguilla.rb
-- lib/tzinfo/definitions/America/Antigua.rb
-- lib/tzinfo/definitions/America/Araguaina.rb
-- lib/tzinfo/definitions/America/Argentina
-- lib/tzinfo/definitions/America/Argentina/Buenos_Aires.rb
-- lib/tzinfo/definitions/America/Argentina/Catamarca.rb
-- lib/tzinfo/definitions/America/Argentina/ComodRivadavia.rb
-- lib/tzinfo/definitions/America/Argentina/Cordoba.rb
-- lib/tzinfo/definitions/America/Argentina/Jujuy.rb
-- lib/tzinfo/definitions/America/Argentina/La_Rioja.rb
-- lib/tzinfo/definitions/America/Argentina/Mendoza.rb
-- lib/tzinfo/definitions/America/Argentina/Rio_Gallegos.rb
-- lib/tzinfo/definitions/America/Argentina/Salta.rb
-- lib/tzinfo/definitions/America/Argentina/San_Juan.rb
-- lib/tzinfo/definitions/America/Argentina/San_Luis.rb
-- lib/tzinfo/definitions/America/Argentina/Tucuman.rb
-- lib/tzinfo/definitions/America/Argentina/Ushuaia.rb
-- lib/tzinfo/definitions/America/Aruba.rb
-- lib/tzinfo/definitions/America/Asuncion.rb
-- lib/tzinfo/definitions/America/Atikokan.rb
-- lib/tzinfo/definitions/America/Atka.rb
-- lib/tzinfo/definitions/America/Bahia.rb
-- lib/tzinfo/definitions/America/Barbados.rb
-- lib/tzinfo/definitions/America/Belem.rb
-- lib/tzinfo/definitions/America/Belize.rb
-- lib/tzinfo/definitions/America/Blanc__m__Sablon.rb
-- lib/tzinfo/definitions/America/Boa_Vista.rb
-- lib/tzinfo/definitions/America/Bogota.rb
-- lib/tzinfo/definitions/America/Boise.rb
-- lib/tzinfo/definitions/America/Buenos_Aires.rb
-- lib/tzinfo/definitions/America/Cambridge_Bay.rb
-- lib/tzinfo/definitions/America/Campo_Grande.rb
-- lib/tzinfo/definitions/America/Cancun.rb
-- lib/tzinfo/definitions/America/Caracas.rb
-- lib/tzinfo/definitions/America/Catamarca.rb
-- lib/tzinfo/definitions/America/Cayenne.rb
-- lib/tzinfo/definitions/America/Cayman.rb
-- lib/tzinfo/definitions/America/Chicago.rb
-- lib/tzinfo/definitions/America/Chihuahua.rb
-- lib/tzinfo/definitions/America/Coral_Harbour.rb
-- lib/tzinfo/definitions/America/Cordoba.rb
-- lib/tzinfo/definitions/America/Costa_Rica.rb
-- lib/tzinfo/definitions/America/Cuiaba.rb
-- lib/tzinfo/definitions/America/Curacao.rb
-- lib/tzinfo/definitions/America/Danmarkshavn.rb
-- lib/tzinfo/definitions/America/Dawson.rb
-- lib/tzinfo/definitions/America/Dawson_Creek.rb
-- lib/tzinfo/definitions/America/Denver.rb
-- lib/tzinfo/definitions/America/Detroit.rb
-- lib/tzinfo/definitions/America/Dominica.rb
-- lib/tzinfo/definitions/America/Edmonton.rb
-- lib/tzinfo/definitions/America/Eirunepe.rb
-- lib/tzinfo/definitions/America/El_Salvador.rb
-- lib/tzinfo/definitions/America/Ensenada.rb
-- lib/tzinfo/definitions/America/Fortaleza.rb
-- lib/tzinfo/definitions/America/Fort_Wayne.rb
-- lib/tzinfo/definitions/America/Glace_Bay.rb
-- lib/tzinfo/definitions/America/Godthab.rb
-- lib/tzinfo/definitions/America/Goose_Bay.rb
-- lib/tzinfo/definitions/America/Grand_Turk.rb
-- lib/tzinfo/definitions/America/Grenada.rb
-- lib/tzinfo/definitions/America/Guadeloupe.rb
-- lib/tzinfo/definitions/America/Guatemala.rb
-- lib/tzinfo/definitions/America/Guayaquil.rb
-- lib/tzinfo/definitions/America/Guyana.rb
-- lib/tzinfo/definitions/America/Halifax.rb
-- lib/tzinfo/definitions/America/Havana.rb
-- lib/tzinfo/definitions/America/Hermosillo.rb
-- lib/tzinfo/definitions/America/Indiana
-- lib/tzinfo/definitions/America/Indiana/Indianapolis.rb
-- lib/tzinfo/definitions/America/Indiana/Knox.rb
-- lib/tzinfo/definitions/America/Indiana/Marengo.rb
-- lib/tzinfo/definitions/America/Indiana/Petersburg.rb
-- lib/tzinfo/definitions/America/Indiana/Tell_City.rb
-- lib/tzinfo/definitions/America/Indiana/Vevay.rb
-- lib/tzinfo/definitions/America/Indiana/Vincennes.rb
-- lib/tzinfo/definitions/America/Indiana/Winamac.rb
-- lib/tzinfo/definitions/America/Indianapolis.rb
-- lib/tzinfo/definitions/America/Inuvik.rb
-- lib/tzinfo/definitions/America/Iqaluit.rb
-- lib/tzinfo/definitions/America/Jamaica.rb
-- lib/tzinfo/definitions/America/Jujuy.rb
-- lib/tzinfo/definitions/America/Juneau.rb
-- lib/tzinfo/definitions/America/Kentucky
-- lib/tzinfo/definitions/America/Kentucky/Louisville.rb
-- lib/tzinfo/definitions/America/Kentucky/Monticello.rb
-- lib/tzinfo/definitions/America/Knox_IN.rb
-- lib/tzinfo/definitions/America/La_Paz.rb
-- lib/tzinfo/definitions/America/Lima.rb
-- lib/tzinfo/definitions/America/Los_Angeles.rb
-- lib/tzinfo/definitions/America/Louisville.rb
-- lib/tzinfo/definitions/America/Maceio.rb
-- lib/tzinfo/definitions/America/Managua.rb
-- lib/tzinfo/definitions/America/Manaus.rb
-- lib/tzinfo/definitions/America/Marigot.rb
-- lib/tzinfo/definitions/America/Martinique.rb
-- lib/tzinfo/definitions/America/Mazatlan.rb
-- lib/tzinfo/definitions/America/Mendoza.rb
-- lib/tzinfo/definitions/America/Menominee.rb
-- lib/tzinfo/definitions/America/Merida.rb
-- lib/tzinfo/definitions/America/Mexico_City.rb
-- lib/tzinfo/definitions/America/Miquelon.rb
-- lib/tzinfo/definitions/America/Moncton.rb
-- lib/tzinfo/definitions/America/Monterrey.rb
-- lib/tzinfo/definitions/America/Montevideo.rb
-- lib/tzinfo/definitions/America/Montreal.rb
-- lib/tzinfo/definitions/America/Montserrat.rb
-- lib/tzinfo/definitions/America/Nassau.rb
-- lib/tzinfo/definitions/America/New_York.rb
-- lib/tzinfo/definitions/America/Nipigon.rb
-- lib/tzinfo/definitions/America/Nome.rb
-- lib/tzinfo/definitions/America/Noronha.rb
-- lib/tzinfo/definitions/America/North_Dakota
-- lib/tzinfo/definitions/America/North_Dakota/Center.rb
-- lib/tzinfo/definitions/America/North_Dakota/New_Salem.rb
-- lib/tzinfo/definitions/America/Panama.rb
-- lib/tzinfo/definitions/America/Pangnirtung.rb
-- lib/tzinfo/definitions/America/Paramaribo.rb
-- lib/tzinfo/definitions/America/Phoenix.rb
-- lib/tzinfo/definitions/America/Porto_Acre.rb
-- lib/tzinfo/definitions/America/Porto_Velho.rb
-- lib/tzinfo/definitions/America/Port_of_Spain.rb
-- lib/tzinfo/definitions/America/Port__m__au__m__Prince.rb
-- lib/tzinfo/definitions/America/Puerto_Rico.rb
-- lib/tzinfo/definitions/America/Rainy_River.rb
-- lib/tzinfo/definitions/America/Rankin_Inlet.rb
-- lib/tzinfo/definitions/America/Recife.rb
-- lib/tzinfo/definitions/America/Regina.rb
-- lib/tzinfo/definitions/America/Resolute.rb
-- lib/tzinfo/definitions/America/Rio_Branco.rb
-- lib/tzinfo/definitions/America/Rosario.rb
-- lib/tzinfo/definitions/America/Santarem.rb
-- lib/tzinfo/definitions/America/Santiago.rb
-- lib/tzinfo/definitions/America/Santo_Domingo.rb
-- lib/tzinfo/definitions/America/Sao_Paulo.rb
-- lib/tzinfo/definitions/America/Scoresbysund.rb
-- lib/tzinfo/definitions/America/Shiprock.rb
-- lib/tzinfo/definitions/America/St_Barthelemy.rb
-- lib/tzinfo/definitions/America/St_Johns.rb
-- lib/tzinfo/definitions/America/St_Kitts.rb
-- lib/tzinfo/definitions/America/St_Lucia.rb
-- lib/tzinfo/definitions/America/St_Thomas.rb
-- lib/tzinfo/definitions/America/St_Vincent.rb
-- lib/tzinfo/definitions/America/Swift_Current.rb
-- lib/tzinfo/definitions/America/Tegucigalpa.rb
-- lib/tzinfo/definitions/America/Thule.rb
-- lib/tzinfo/definitions/America/Thunder_Bay.rb
-- lib/tzinfo/definitions/America/Tijuana.rb
-- lib/tzinfo/definitions/America/Toronto.rb
-- lib/tzinfo/definitions/America/Tortola.rb
-- lib/tzinfo/definitions/America/Vancouver.rb
-- lib/tzinfo/definitions/America/Virgin.rb
-- lib/tzinfo/definitions/America/Whitehorse.rb
-- lib/tzinfo/definitions/America/Winnipeg.rb
-- lib/tzinfo/definitions/America/Yakutat.rb
-- lib/tzinfo/definitions/America/Yellowknife.rb
-- lib/tzinfo/definitions/Antarctica
-- lib/tzinfo/definitions/Antarctica/Casey.rb
-- lib/tzinfo/definitions/Antarctica/Davis.rb
-- lib/tzinfo/definitions/Antarctica/DumontDUrville.rb
-- lib/tzinfo/definitions/Antarctica/Mawson.rb
-- lib/tzinfo/definitions/Antarctica/McMurdo.rb
-- lib/tzinfo/definitions/Antarctica/Palmer.rb
-- lib/tzinfo/definitions/Antarctica/Rothera.rb
-- lib/tzinfo/definitions/Antarctica/South_Pole.rb
-- lib/tzinfo/definitions/Antarctica/Syowa.rb
-- lib/tzinfo/definitions/Antarctica/Vostok.rb
-- lib/tzinfo/definitions/Arctic
-- lib/tzinfo/definitions/Arctic/Longyearbyen.rb
-- lib/tzinfo/definitions/Asia
-- lib/tzinfo/definitions/Asia/Aden.rb
-- lib/tzinfo/definitions/Asia/Almaty.rb
-- lib/tzinfo/definitions/Asia/Amman.rb
-- lib/tzinfo/definitions/Asia/Anadyr.rb
-- lib/tzinfo/definitions/Asia/Aqtau.rb
-- lib/tzinfo/definitions/Asia/Aqtobe.rb
-- lib/tzinfo/definitions/Asia/Ashgabat.rb
-- lib/tzinfo/definitions/Asia/Ashkhabad.rb
-- lib/tzinfo/definitions/Asia/Baghdad.rb
-- lib/tzinfo/definitions/Asia/Bahrain.rb
-- lib/tzinfo/definitions/Asia/Baku.rb
-- lib/tzinfo/definitions/Asia/Bangkok.rb
-- lib/tzinfo/definitions/Asia/Beirut.rb
-- lib/tzinfo/definitions/Asia/Bishkek.rb
-- lib/tzinfo/definitions/Asia/Brunei.rb
-- lib/tzinfo/definitions/Asia/Calcutta.rb
-- lib/tzinfo/definitions/Asia/Choibalsan.rb
-- lib/tzinfo/definitions/Asia/Chongqing.rb
-- lib/tzinfo/definitions/Asia/Chungking.rb
-- lib/tzinfo/definitions/Asia/Colombo.rb
-- lib/tzinfo/definitions/Asia/Dacca.rb
-- lib/tzinfo/definitions/Asia/Damascus.rb
-- lib/tzinfo/definitions/Asia/Dhaka.rb
-- lib/tzinfo/definitions/Asia/Dili.rb
-- lib/tzinfo/definitions/Asia/Dubai.rb
-- lib/tzinfo/definitions/Asia/Dushanbe.rb
-- lib/tzinfo/definitions/Asia/Gaza.rb
-- lib/tzinfo/definitions/Asia/Harbin.rb
-- lib/tzinfo/definitions/Asia/Hong_Kong.rb
-- lib/tzinfo/definitions/Asia/Hovd.rb
-- lib/tzinfo/definitions/Asia/Ho_Chi_Minh.rb
-- lib/tzinfo/definitions/Asia/Irkutsk.rb
-- lib/tzinfo/definitions/Asia/Istanbul.rb
-- lib/tzinfo/definitions/Asia/Jakarta.rb
-- lib/tzinfo/definitions/Asia/Jayapura.rb
-- lib/tzinfo/definitions/Asia/Jerusalem.rb
-- lib/tzinfo/definitions/Asia/Kabul.rb
-- lib/tzinfo/definitions/Asia/Kamchatka.rb
-- lib/tzinfo/definitions/Asia/Karachi.rb
-- lib/tzinfo/definitions/Asia/Kashgar.rb
-- lib/tzinfo/definitions/Asia/Katmandu.rb
-- lib/tzinfo/definitions/Asia/Kolkata.rb
-- lib/tzinfo/definitions/Asia/Krasnoyarsk.rb
-- lib/tzinfo/definitions/Asia/Kuala_Lumpur.rb
-- lib/tzinfo/definitions/Asia/Kuching.rb
-- lib/tzinfo/definitions/Asia/Kuwait.rb
-- lib/tzinfo/definitions/Asia/Macao.rb
-- lib/tzinfo/definitions/Asia/Macau.rb
-- lib/tzinfo/definitions/Asia/Magadan.rb
-- lib/tzinfo/definitions/Asia/Makassar.rb
-- lib/tzinfo/definitions/Asia/Manila.rb
-- lib/tzinfo/definitions/Asia/Muscat.rb
-- lib/tzinfo/definitions/Asia/Nicosia.rb
-- lib/tzinfo/definitions/Asia/Novosibirsk.rb
-- lib/tzinfo/definitions/Asia/Omsk.rb
-- lib/tzinfo/definitions/Asia/Oral.rb
-- lib/tzinfo/definitions/Asia/Phnom_Penh.rb
-- lib/tzinfo/definitions/Asia/Pontianak.rb
-- lib/tzinfo/definitions/Asia/Pyongyang.rb
-- lib/tzinfo/definitions/Asia/Qatar.rb
-- lib/tzinfo/definitions/Asia/Qyzylorda.rb
-- lib/tzinfo/definitions/Asia/Rangoon.rb
-- lib/tzinfo/definitions/Asia/Riyadh.rb
-- lib/tzinfo/definitions/Asia/Riyadh87.rb
-- lib/tzinfo/definitions/Asia/Riyadh88.rb
-- lib/tzinfo/definitions/Asia/Riyadh89.rb
-- lib/tzinfo/definitions/Asia/Saigon.rb
-- lib/tzinfo/definitions/Asia/Sakhalin.rb
-- lib/tzinfo/definitions/Asia/Samarkand.rb
-- lib/tzinfo/definitions/Asia/Seoul.rb
-- lib/tzinfo/definitions/Asia/Shanghai.rb
-- lib/tzinfo/definitions/Asia/Singapore.rb
-- lib/tzinfo/definitions/Asia/Taipei.rb
-- lib/tzinfo/definitions/Asia/Tashkent.rb
-- lib/tzinfo/definitions/Asia/Tbilisi.rb
-- lib/tzinfo/definitions/Asia/Tehran.rb
-- lib/tzinfo/definitions/Asia/Tel_Aviv.rb
-- lib/tzinfo/definitions/Asia/Thimbu.rb
-- lib/tzinfo/definitions/Asia/Thimphu.rb
-- lib/tzinfo/definitions/Asia/Tokyo.rb
-- lib/tzinfo/definitions/Asia/Ujung_Pandang.rb
-- lib/tzinfo/definitions/Asia/Ulaanbaatar.rb
-- lib/tzinfo/definitions/Asia/Ulan_Bator.rb
-- lib/tzinfo/definitions/Asia/Urumqi.rb
-- lib/tzinfo/definitions/Asia/Vientiane.rb
-- lib/tzinfo/definitions/Asia/Vladivostok.rb
-- lib/tzinfo/definitions/Asia/Yakutsk.rb
-- lib/tzinfo/definitions/Asia/Yekaterinburg.rb
-- lib/tzinfo/definitions/Asia/Yerevan.rb
-- lib/tzinfo/definitions/Atlantic
-- lib/tzinfo/definitions/Atlantic/Azores.rb
-- lib/tzinfo/definitions/Atlantic/Bermuda.rb
-- lib/tzinfo/definitions/Atlantic/Canary.rb
-- lib/tzinfo/definitions/Atlantic/Cape_Verde.rb
-- lib/tzinfo/definitions/Atlantic/Faeroe.rb
-- lib/tzinfo/definitions/Atlantic/Faroe.rb
-- lib/tzinfo/definitions/Atlantic/Jan_Mayen.rb
-- lib/tzinfo/definitions/Atlantic/Madeira.rb
-- lib/tzinfo/definitions/Atlantic/Reykjavik.rb
-- lib/tzinfo/definitions/Atlantic/South_Georgia.rb
-- lib/tzinfo/definitions/Atlantic/Stanley.rb
-- lib/tzinfo/definitions/Atlantic/St_Helena.rb
-- lib/tzinfo/definitions/Australia
-- lib/tzinfo/definitions/Australia/ACT.rb
-- lib/tzinfo/definitions/Australia/Adelaide.rb
-- lib/tzinfo/definitions/Australia/Brisbane.rb
-- lib/tzinfo/definitions/Australia/Broken_Hill.rb
-- lib/tzinfo/definitions/Australia/Canberra.rb
-- lib/tzinfo/definitions/Australia/Currie.rb
-- lib/tzinfo/definitions/Australia/Darwin.rb
-- lib/tzinfo/definitions/Australia/Eucla.rb
-- lib/tzinfo/definitions/Australia/Hobart.rb
-- lib/tzinfo/definitions/Australia/LHI.rb
-- lib/tzinfo/definitions/Australia/Lindeman.rb
-- lib/tzinfo/definitions/Australia/Lord_Howe.rb
-- lib/tzinfo/definitions/Australia/Melbourne.rb
-- lib/tzinfo/definitions/Australia/North.rb
-- lib/tzinfo/definitions/Australia/NSW.rb
-- lib/tzinfo/definitions/Australia/Perth.rb
-- lib/tzinfo/definitions/Australia/Queensland.rb
-- lib/tzinfo/definitions/Australia/South.rb
-- lib/tzinfo/definitions/Australia/Sydney.rb
-- lib/tzinfo/definitions/Australia/Tasmania.rb
-- lib/tzinfo/definitions/Australia/Victoria.rb
-- lib/tzinfo/definitions/Australia/West.rb
-- lib/tzinfo/definitions/Australia/Yancowinna.rb
-- lib/tzinfo/definitions/Brazil
-- lib/tzinfo/definitions/Brazil/Acre.rb
-- lib/tzinfo/definitions/Brazil/DeNoronha.rb
-- lib/tzinfo/definitions/Brazil/East.rb
-- lib/tzinfo/definitions/Brazil/West.rb
-- lib/tzinfo/definitions/Canada
-- lib/tzinfo/definitions/Canada/Atlantic.rb
-- lib/tzinfo/definitions/Canada/Central.rb
-- lib/tzinfo/definitions/Canada/Eastern.rb
-- lib/tzinfo/definitions/Canada/East__m__Saskatchewan.rb
-- lib/tzinfo/definitions/Canada/Mountain.rb
-- lib/tzinfo/definitions/Canada/Newfoundland.rb
-- lib/tzinfo/definitions/Canada/Pacific.rb
-- lib/tzinfo/definitions/Canada/Saskatchewan.rb
-- lib/tzinfo/definitions/Canada/Yukon.rb
-- lib/tzinfo/definitions/CET.rb
-- lib/tzinfo/definitions/Chile
-- lib/tzinfo/definitions/Chile/Continental.rb
-- lib/tzinfo/definitions/Chile/EasterIsland.rb
-- lib/tzinfo/definitions/CST6CDT.rb
-- lib/tzinfo/definitions/Cuba.rb
-- lib/tzinfo/definitions/EET.rb
-- lib/tzinfo/definitions/Egypt.rb
-- lib/tzinfo/definitions/Eire.rb
-- lib/tzinfo/definitions/EST.rb
-- lib/tzinfo/definitions/EST5EDT.rb
-- lib/tzinfo/definitions/Etc
-- lib/tzinfo/definitions/Etc/GMT.rb
-- lib/tzinfo/definitions/Etc/GMT0.rb
-- lib/tzinfo/definitions/Etc/GMT__m__0.rb
-- lib/tzinfo/definitions/Etc/GMT__m__1.rb
-- lib/tzinfo/definitions/Etc/GMT__m__10.rb
-- lib/tzinfo/definitions/Etc/GMT__m__11.rb
-- lib/tzinfo/definitions/Etc/GMT__m__12.rb
-- lib/tzinfo/definitions/Etc/GMT__m__13.rb
-- lib/tzinfo/definitions/Etc/GMT__m__14.rb
-- lib/tzinfo/definitions/Etc/GMT__m__2.rb
-- lib/tzinfo/definitions/Etc/GMT__m__3.rb
-- lib/tzinfo/definitions/Etc/GMT__m__4.rb
-- lib/tzinfo/definitions/Etc/GMT__m__5.rb
-- lib/tzinfo/definitions/Etc/GMT__m__6.rb
-- lib/tzinfo/definitions/Etc/GMT__m__7.rb
-- lib/tzinfo/definitions/Etc/GMT__m__8.rb
-- lib/tzinfo/definitions/Etc/GMT__m__9.rb
-- lib/tzinfo/definitions/Etc/GMT__p__0.rb
-- lib/tzinfo/definitions/Etc/GMT__p__1.rb
-- lib/tzinfo/definitions/Etc/GMT__p__10.rb
-- lib/tzinfo/definitions/Etc/GMT__p__11.rb
-- lib/tzinfo/definitions/Etc/GMT__p__12.rb
-- lib/tzinfo/definitions/Etc/GMT__p__2.rb
-- lib/tzinfo/definitions/Etc/GMT__p__3.rb
-- lib/tzinfo/definitions/Etc/GMT__p__4.rb
-- lib/tzinfo/definitions/Etc/GMT__p__5.rb
-- lib/tzinfo/definitions/Etc/GMT__p__6.rb
-- lib/tzinfo/definitions/Etc/GMT__p__7.rb
-- lib/tzinfo/definitions/Etc/GMT__p__8.rb
-- lib/tzinfo/definitions/Etc/GMT__p__9.rb
-- lib/tzinfo/definitions/Etc/Greenwich.rb
-- lib/tzinfo/definitions/Etc/UCT.rb
-- lib/tzinfo/definitions/Etc/Universal.rb
-- lib/tzinfo/definitions/Etc/UTC.rb
-- lib/tzinfo/definitions/Etc/Zulu.rb
-- lib/tzinfo/definitions/Europe
-- lib/tzinfo/definitions/Europe/Amsterdam.rb
-- lib/tzinfo/definitions/Europe/Andorra.rb
-- lib/tzinfo/definitions/Europe/Athens.rb
-- lib/tzinfo/definitions/Europe/Belfast.rb
-- lib/tzinfo/definitions/Europe/Belgrade.rb
-- lib/tzinfo/definitions/Europe/Berlin.rb
-- lib/tzinfo/definitions/Europe/Bratislava.rb
-- lib/tzinfo/definitions/Europe/Brussels.rb
-- lib/tzinfo/definitions/Europe/Bucharest.rb
-- lib/tzinfo/definitions/Europe/Budapest.rb
-- lib/tzinfo/definitions/Europe/Chisinau.rb
-- lib/tzinfo/definitions/Europe/Copenhagen.rb
-- lib/tzinfo/definitions/Europe/Dublin.rb
-- lib/tzinfo/definitions/Europe/Gibraltar.rb
-- lib/tzinfo/definitions/Europe/Guernsey.rb
-- lib/tzinfo/definitions/Europe/Helsinki.rb
-- lib/tzinfo/definitions/Europe/Isle_of_Man.rb
-- lib/tzinfo/definitions/Europe/Istanbul.rb
-- lib/tzinfo/definitions/Europe/Jersey.rb
-- lib/tzinfo/definitions/Europe/Kaliningrad.rb
-- lib/tzinfo/definitions/Europe/Kiev.rb
-- lib/tzinfo/definitions/Europe/Lisbon.rb
-- lib/tzinfo/definitions/Europe/Ljubljana.rb
-- lib/tzinfo/definitions/Europe/London.rb
-- lib/tzinfo/definitions/Europe/Luxembourg.rb
-- lib/tzinfo/definitions/Europe/Madrid.rb
-- lib/tzinfo/definitions/Europe/Malta.rb
-- lib/tzinfo/definitions/Europe/Mariehamn.rb
-- lib/tzinfo/definitions/Europe/Minsk.rb
-- lib/tzinfo/definitions/Europe/Monaco.rb
-- lib/tzinfo/definitions/Europe/Moscow.rb
-- lib/tzinfo/definitions/Europe/Nicosia.rb
-- lib/tzinfo/definitions/Europe/Oslo.rb
-- lib/tzinfo/definitions/Europe/Paris.rb
-- lib/tzinfo/definitions/Europe/Podgorica.rb
-- lib/tzinfo/definitions/Europe/Prague.rb
-- lib/tzinfo/definitions/Europe/Riga.rb
-- lib/tzinfo/definitions/Europe/Rome.rb
-- lib/tzinfo/definitions/Europe/Samara.rb
-- lib/tzinfo/definitions/Europe/San_Marino.rb
-- lib/tzinfo/definitions/Europe/Sarajevo.rb
-- lib/tzinfo/definitions/Europe/Simferopol.rb
-- lib/tzinfo/definitions/Europe/Skopje.rb
-- lib/tzinfo/definitions/Europe/Sofia.rb
-- lib/tzinfo/definitions/Europe/Stockholm.rb
-- lib/tzinfo/definitions/Europe/Tallinn.rb
-- lib/tzinfo/definitions/Europe/Tirane.rb
-- lib/tzinfo/definitions/Europe/Tiraspol.rb
-- lib/tzinfo/definitions/Europe/Uzhgorod.rb
-- lib/tzinfo/definitions/Europe/Vaduz.rb
-- lib/tzinfo/definitions/Europe/Vatican.rb
-- lib/tzinfo/definitions/Europe/Vienna.rb
-- lib/tzinfo/definitions/Europe/Vilnius.rb
-- lib/tzinfo/definitions/Europe/Volgograd.rb
-- lib/tzinfo/definitions/Europe/Warsaw.rb
-- lib/tzinfo/definitions/Europe/Zagreb.rb
-- lib/tzinfo/definitions/Europe/Zaporozhye.rb
-- lib/tzinfo/definitions/Europe/Zurich.rb
-- lib/tzinfo/definitions/GB.rb
-- lib/tzinfo/definitions/GB__m__Eire.rb
-- lib/tzinfo/definitions/GMT.rb
-- lib/tzinfo/definitions/GMT0.rb
-- lib/tzinfo/definitions/GMT__m__0.rb
-- lib/tzinfo/definitions/GMT__p__0.rb
-- lib/tzinfo/definitions/Greenwich.rb
-- lib/tzinfo/definitions/Hongkong.rb
-- lib/tzinfo/definitions/HST.rb
-- lib/tzinfo/definitions/Iceland.rb
-- lib/tzinfo/definitions/Indian
-- lib/tzinfo/definitions/Indian/Antananarivo.rb
-- lib/tzinfo/definitions/Indian/Chagos.rb
-- lib/tzinfo/definitions/Indian/Christmas.rb
-- lib/tzinfo/definitions/Indian/Cocos.rb
-- lib/tzinfo/definitions/Indian/Comoro.rb
-- lib/tzinfo/definitions/Indian/Kerguelen.rb
-- lib/tzinfo/definitions/Indian/Mahe.rb
-- lib/tzinfo/definitions/Indian/Maldives.rb
-- lib/tzinfo/definitions/Indian/Mauritius.rb
-- lib/tzinfo/definitions/Indian/Mayotte.rb
-- lib/tzinfo/definitions/Indian/Reunion.rb
-- lib/tzinfo/definitions/Iran.rb
-- lib/tzinfo/definitions/Israel.rb
-- lib/tzinfo/definitions/Jamaica.rb
-- lib/tzinfo/definitions/Japan.rb
-- lib/tzinfo/definitions/Kwajalein.rb
-- lib/tzinfo/definitions/Libya.rb
-- lib/tzinfo/definitions/MET.rb
-- lib/tzinfo/definitions/Mexico
-- lib/tzinfo/definitions/Mexico/BajaNorte.rb
-- lib/tzinfo/definitions/Mexico/BajaSur.rb
-- lib/tzinfo/definitions/Mexico/General.rb
-- lib/tzinfo/definitions/Mideast
-- lib/tzinfo/definitions/Mideast/Riyadh87.rb
-- lib/tzinfo/definitions/Mideast/Riyadh88.rb
-- lib/tzinfo/definitions/Mideast/Riyadh89.rb
-- lib/tzinfo/definitions/MST.rb
-- lib/tzinfo/definitions/MST7MDT.rb
-- lib/tzinfo/definitions/Navajo.rb
-- lib/tzinfo/definitions/NZ.rb
-- lib/tzinfo/definitions/NZ__m__CHAT.rb
-- lib/tzinfo/definitions/Pacific
-- lib/tzinfo/definitions/Pacific/Apia.rb
-- lib/tzinfo/definitions/Pacific/Auckland.rb
-- lib/tzinfo/definitions/Pacific/Chatham.rb
-- lib/tzinfo/definitions/Pacific/Easter.rb
-- lib/tzinfo/definitions/Pacific/Efate.rb
-- lib/tzinfo/definitions/Pacific/Enderbury.rb
-- lib/tzinfo/definitions/Pacific/Fakaofo.rb
-- lib/tzinfo/definitions/Pacific/Fiji.rb
-- lib/tzinfo/definitions/Pacific/Funafuti.rb
-- lib/tzinfo/definitions/Pacific/Galapagos.rb
-- lib/tzinfo/definitions/Pacific/Gambier.rb
-- lib/tzinfo/definitions/Pacific/Guadalcanal.rb
-- lib/tzinfo/definitions/Pacific/Guam.rb
-- lib/tzinfo/definitions/Pacific/Honolulu.rb
-- lib/tzinfo/definitions/Pacific/Johnston.rb
-- lib/tzinfo/definitions/Pacific/Kiritimati.rb
-- lib/tzinfo/definitions/Pacific/Kosrae.rb
-- lib/tzinfo/definitions/Pacific/Kwajalein.rb
-- lib/tzinfo/definitions/Pacific/Majuro.rb
-- lib/tzinfo/definitions/Pacific/Marquesas.rb
-- lib/tzinfo/definitions/Pacific/Midway.rb
-- lib/tzinfo/definitions/Pacific/Nauru.rb
-- lib/tzinfo/definitions/Pacific/Niue.rb
-- lib/tzinfo/definitions/Pacific/Norfolk.rb
-- lib/tzinfo/definitions/Pacific/Noumea.rb
-- lib/tzinfo/definitions/Pacific/Pago_Pago.rb
-- lib/tzinfo/definitions/Pacific/Palau.rb
-- lib/tzinfo/definitions/Pacific/Pitcairn.rb
-- lib/tzinfo/definitions/Pacific/Ponape.rb
-- lib/tzinfo/definitions/Pacific/Port_Moresby.rb
-- lib/tzinfo/definitions/Pacific/Rarotonga.rb
-- lib/tzinfo/definitions/Pacific/Saipan.rb
-- lib/tzinfo/definitions/Pacific/Samoa.rb
-- lib/tzinfo/definitions/Pacific/Tahiti.rb
-- lib/tzinfo/definitions/Pacific/Tarawa.rb
-- lib/tzinfo/definitions/Pacific/Tongatapu.rb
-- lib/tzinfo/definitions/Pacific/Truk.rb
-- lib/tzinfo/definitions/Pacific/Wake.rb
-- lib/tzinfo/definitions/Pacific/Wallis.rb
-- lib/tzinfo/definitions/Pacific/Yap.rb
-- lib/tzinfo/definitions/Poland.rb
-- lib/tzinfo/definitions/Portugal.rb
-- lib/tzinfo/definitions/PRC.rb
-- lib/tzinfo/definitions/PST8PDT.rb
-- lib/tzinfo/definitions/ROC.rb
-- lib/tzinfo/definitions/ROK.rb
-- lib/tzinfo/definitions/Singapore.rb
-- lib/tzinfo/definitions/Turkey.rb
-- lib/tzinfo/definitions/UCT.rb
-- lib/tzinfo/definitions/Universal.rb
-- lib/tzinfo/definitions/US
-- lib/tzinfo/definitions/US/Alaska.rb
-- lib/tzinfo/definitions/US/Aleutian.rb
-- lib/tzinfo/definitions/US/Arizona.rb
-- lib/tzinfo/definitions/US/Central.rb
-- lib/tzinfo/definitions/US/Eastern.rb
-- lib/tzinfo/definitions/US/East__m__Indiana.rb
-- lib/tzinfo/definitions/US/Hawaii.rb
-- lib/tzinfo/definitions/US/Indiana__m__Starke.rb
-- lib/tzinfo/definitions/US/Michigan.rb
-- lib/tzinfo/definitions/US/Mountain.rb
-- lib/tzinfo/definitions/US/Pacific.rb
-- lib/tzinfo/definitions/US/Pacific__m__New.rb
-- lib/tzinfo/definitions/US/Samoa.rb
-- lib/tzinfo/definitions/UTC.rb
-- lib/tzinfo/definitions/WET.rb
-- lib/tzinfo/definitions/W__m__SU.rb
-- lib/tzinfo/definitions/Zulu.rb
-- lib/tzinfo/indexes
-- lib/tzinfo/indexes/countries.rb
-- lib/tzinfo/indexes/timezones.rb
-- lib/tzinfo/info_timezone.rb
-- lib/tzinfo/linked_timezone.rb
-- lib/tzinfo/linked_timezone_info.rb
-- lib/tzinfo/offset_rationals.rb
-- lib/tzinfo/ruby_core_support.rb
-- lib/tzinfo/timezone.rb
-- lib/tzinfo/timezone_definition.rb
-- lib/tzinfo/timezone_index_definition.rb
-- lib/tzinfo/timezone_info.rb
-- lib/tzinfo/timezone_offset_info.rb
-- lib/tzinfo/timezone_period.rb
-- lib/tzinfo/timezone_proxy.rb
-- lib/tzinfo/timezone_transition_info.rb
-- lib/tzinfo/time_or_datetime.rb
-- lib/tzinfo/tzdataparser.rb
-- lib/tzinfo.rb
-- test/tc_country.rb
-- test/tc_country_index_definition.rb
-- test/tc_country_info.rb
-- test/tc_country_timezone.rb
-- test/tc_data_timezone.rb
-- test/tc_data_timezone_info.rb
-- test/tc_info_timezone.rb
-- test/tc_linked_timezone.rb
-- test/tc_linked_timezone_info.rb
-- test/tc_offset_rationals.rb
-- test/tc_ruby_core_support.rb
-- test/tc_timezone.rb
-- test/tc_timezone_definition.rb
-- test/tc_timezone_index_definition.rb
-- test/tc_timezone_info.rb
-- test/tc_timezone_london.rb
-- test/tc_timezone_melbourne.rb
-- test/tc_timezone_new_york.rb
-- test/tc_timezone_offset_info.rb
-- test/tc_timezone_period.rb
-- test/tc_timezone_proxy.rb
-- test/tc_timezone_transition_info.rb
-- test/tc_timezone_utc.rb
-- test/tc_time_or_datetime.rb
-- test/test_utils.rb
-- test/ts_all.rb
-has_rdoc: true
-homepage: http://tzinfo.rubyforge.org/
-post_install_message:
-rdoc_options:
-- --exclude
-- definitions
-- --exclude
-- indexes
-require_paths:
-- lib
-required_ruby_version: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: "0"
- version:
-required_rubygems_version: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: "0"
- version:
-requirements: []
-
-rubyforge_project: tzinfo
-rubygems_version: 1.3.1
-signing_key:
-specification_version: 2
-summary: Daylight-savings aware timezone library
-test_files: []
-
View
316 vendor/gems/tzinfo-0.3.12/CHANGES
@@ -1,316 +0,0 @@
-== Version 0.3.12 (tzdata v2008i) - 12-Nov-2008
-
-* Updated to tzdata version 2008i
- (http://article.gmane.org/gmane.comp.time.tz/2440).
-
-
-== Version 0.3.11 (tzdata v2008g) - 7-Oct-2008
-
-* Updated to tzdata version 2008g
- (http://article.gmane.org/gmane.comp.time.tz/2335).
-* Support Ruby 1.9.0-5. Rational.new! has now been removed in Ruby 1.9.
- Only use Rational.new! if it is available (it is preferable in Ruby 1.8
- for performance reasons). Thanks to Jeremy Kemper and Pratik Naik for
- reporting this. Closes #22312.
-* Apply a patch from Pratik Naik to replace assert calls that have been
- deprecated in the Ruby svn trunk. Closes #22308.
-
-
-== Version 0.3.10 (tzdata v2008f) - 16-Sep-2008
-
-* Updated to tzdata version 2008f
- (http://article.gmane.org/gmane.comp.time.tz/2293).
-
-
-== Version 0.3.9 (tzdata v2008c) - 27-May-2008
-
-* Updated to tzdata version 2008c
- (http://article.gmane.org/gmane.comp.time.tz/2183).
-* Support loading timezone data in the latest trunk versions of Ruby 1.9.
- Rational.new! is now private, so call it using Rational.send :new! instead.
- Thanks to Jeremy Kemper and Pratik Naik for spotting this. Closes #19184.
-* Prevent warnings from being output when running Ruby with the -v or -w
- command line options. Thanks to Paul McMahon for the patch. Closes #19719.
-
-
-== Version 0.3.8 (tzdata v2008b) - 24-Mar-2008
-
-* Updated to tzdata version 2008b
- (http://article.gmane.org/gmane.comp.time.tz/2149).
-* Support loading timezone data in Ruby 1.9.0. Use DateTime.new! if it is
- available instead of DateTime.new0 when constructing transition times.
- DateTime.new! was added in Ruby 1.8.6. DateTime.new0 was removed in
- Ruby 1.9.0. Thanks to Joshua Peek for reporting this. Closes #17606.
-* Modify some of the equality test cases to cope with the differences
- between Ruby 1.8.6 and Ruby 1.9.0.
-
-
-== Version 0.3.7 (tzdata v2008a) - 10-Mar-2008
-
-* Updated to tzdata version 2008a
- (http://article.gmane.org/gmane.comp.time.tz/2071).
-
-
-== Version 0.3.6 (tzdata v2007k) - 1-Jan-2008
-
-* Updated to tzdata version 2007k
- (http://article.gmane.org/gmane.comp.time.tz/2029).
-* Removed deprecated RubyGems autorequire option.
-
-
-== Version 0.3.5 (tzdata v2007h) - 1-Oct-2007
-
-* Updated to tzdata version 2007h
- (http://article.gmane.org/gmane.comp.time.tz/1878).
-
-
-== Version 0.3.4 (tzdata v2007g) - 21-Aug-2007
-
-* Updated to tzdata version 2007g
- (http://article.gmane.org/gmane.comp.time.tz/1810).
-
-
-== Version 0.3.3 (tzdata v2006p) - 27-Nov-2006
-
-* Updated to tzdata version 2006p
- (http://article.gmane.org/gmane.comp.time.tz/1358).
-
-
-== Version 0.3.2 (tzdata v2006n) - 11-Oct-2006
-
-* Updated to tzdata version 2006n
- (http://article.gmane.org/gmane.comp.time.tz/1288). Note that this release of
- tzdata removes the country Serbia and Montenegro (CS) and replaces it with
- separate Serbia (RS) and Montenegro (ME) entries.
-
-
-== Version 0.3.1 (tzdata v2006j) - 21-Aug-2006
-
-* Remove colon from case statements to avoid warning in Ruby 1.8.5. #5198.
-* Use temporary variable to avoid dynamic string warning from rdoc.
-* Updated to tzdata version 2006j
- (http://article.gmane.org/gmane.comp.time.tz/1175).
-
-
-== Version 0.3.0 (tzdata v2006g) - 17-Jul-2006
-
-* New timezone data format. Timezone data now occupies less space on disk and
- takes less memory once loaded. #4142, #4144.
-* Timezone data is defined in modules rather than classes. Timezone instances
- returned by Timezone.get are no longer instances of data classes, but are
- instead instances of new DataTimezone and LinkedTimezone classes.
-* Timezone instances can now be used with Marshal.dump and Marshal.load. #4240.
-* Added a Timezone.get_proxy method that returns a TimezoneProxy object for a
- given identifier.
-* Country index data is now defined in a single module that is independent
- of the Country class implementation.
-* Country instances can now be used with Marshal.dump and Marshal.load. #4240.
-* Country has a new zone_info method that returns CountryTimezone objects
- containing additional information (latitude, longitude and a description)
- relating to each Timezone. #4140.
-* Timezones within a Country are now returned in an order that makes
- geographic sense.
-* The zdumptest utility now checks local to utc conversions in addition to
- utc to local conversions.
-* eql? method defined on Country and Timezone that is equivalent to ==.
-* == method of Timezone no longer raises an exception when passed an object
- with no identifier method.
-* == method of Country no longer raises an exception when passed an object
- with no code method.
-* hash method defined on Country that returns the hash of the code.
-* hash method defined on Timezone that returns the hash of the identifier.
-* Miscellaneous API documentation corrections and improvements.
-* Timezone definition and indexes are now excluded from rdoc (the contents were
- previously ignored with #:nodoc: anyway).
-* Removed no longer needed #:nodoc: directives from timezone data files (which
- are now excluded from the rdoc build).
-* Installation of the gem now causes rdoc API documentation to be generated.
- #4905.
-* When optimizing transitions to generate zone definitions, check the
- UTC and standard offsets separately rather than just the total offset to UTC.
- Fixes an incorrect abbreviation issue with Europe/London, Europe/Dublin and
- Pacific/Auckland.
-* Eliminated unnecessary .nil? calls to give a minor performance gain.
-* Timezone.all and Timezone.all_identifiers now return all the
- Timezones/identifiers rather than just those associated with countries. #4146.
-* Added all_data_zones, all_data_zone_identifiers, all_linked_zones and
- all_linked_zone_identifiers class methods to Timezone.
-* Added a strftime method to Timezone that converts a time in UTC to local
- time and then returns it formatted. %Z is replaced with the Timezone
- abbreviation for the given time (for example, EST or EDT). #4143.
-* Fix escaping of quotes in TZDataParser. This affected country names and
- descriptions of timezones within countries.
-
-
-== Version 0.2.2 (tzdata v2006g) - 17-May-2006
-
-* Use class-scoped instance variables to store the Timezone identifier and
- singleton instance. Loading a linked zone no longer causes the parent
- zone's identifier to be changed. The instance method of a linked zone class
- also now returns an instance of the linked zone class rather than the parent
- class. #4502.
-* The zdumptest utility now compares the TZInfo zone identifier with the zdump
- zone identifier.
-* The zdumptestall utility now exits if not supplied with enough parameters.
-* Updated to tzdata version 2006g
- (http://article.gmane.org/gmane.comp.time.tz/1008).
-
-
-== Version 0.2.1 (tzdata v2006d) - 17-Apr-2006
-
-* Fix a performance issue caused in 0.2.0 with Timezone.local_to_utc.
- Conversions performed on TimeOrDateTime instances passed to <=> are now
- cached as originally intended. Thanks to Michael Smedberg for spotting this.
-* Fix a performance issue with the local_to_utc period search algorithm
- originally implemented in 0.1.0. The condition that was supposed to cause
- the search to terminate when enough periods had been found was only being
- evaluated in a small subset of cases. Thanks to Michael Smedberg and
- Jamis Buck for reporting this.
-* Added abbreviation as an alias for TimezonePeriod.zone_identifier.
-* Updated to tzdata version 2006d
- (http://article.gmane.org/gmane.comp.time.tz/936).
-* Ignore any offset in DateTimes passed in (as is already done for Times).
- All of the following now refer to the same UTC time (15:40 on 17 April 2006).
- Previously, the DateTime in the second line would have been interpreted
- as 20:40.
-
- tz.utc_to_local(DateTime.new(2006, 4, 17, 15, 40, 0))
- tz.utc_to_local(DateTime.new(2006, 4, 17, 15, 40, 0).new_offset(Rational(5, 24)))
- tz.utc_to_local(Time.utc(2006, 4, 17, 15, 40, 0))
- tz.utc_to_local(Time.local(2006, 4, 17, 15, 40, 0))
-
-
-== Version 0.2.0 (tzdata v2006c) - 3-Apr-2006
-
-* Use timestamps rather than DateTime objects in zone files for times between
- 1970 and 2037 (the range of Time).
-* Don't convert passed in Time objects to DateTime in most cases (provides
- a substantial performance improvement).
-* Allow integer timestamps (time in seconds since 1970-1-1) to be used as well
- as Time and DateTime objects in all public methods that take times as
- parameters.
-* Tool to compare TZInfo conversions with output from zdump.
-* TZDataParser zone generation algorithm rewritten. Now based on the zic code.
- TZInfo is now 100% compatible with zic/zdump output.
-* Riyadh Solar Time zones now included again (generation time has been reduced
- with TZDataParser changes).
-* Use binary mode when writing zone and country files to get Unix (\n) new
- lines.
-* Omit unnecessary quotes in zone identifier symbols.
-* Omit the final transition to DST if there is a prior transition in the last
- year processed to standard time.
-* Updated to tzdata version 2006c
- (http://article.gmane.org/gmane.comp.time.tz/920).
-
-
-== Version 0.1.2 (tzdata v2006a) - 5-Feb-2006
-
-* Add lib directory to the load path when tzinfo is required. Makes it easier
- to use tzinfo gem when unpacked to vendor directory in rails.
-* Updated to tzdata version 2006a
- (http://article.gmane.org/gmane.comp.time.tz/738).
-* build_tz_classes rake task now handles running svn add and svn delete as new
- timezones and countries are added and old ones are removed.
-* Return a better error when attempting to use a Timezone instance that was
- constructed with Timezone.new(nil). This will occur when using Rails'
- composed_of. When the timezone identifier in the database is null, attempting
- to use the Timezone will now result in an UnknownTimezone exception rather
- than a NameError.
-
-
-== Version 0.1.1 (tzdata v2005q) - 18-Dec-2005
-
-* Timezones that are defined by a single unbounded period (e.g. UTC) now
- work again.
-* Updated to tzdata version 2005q.
-
-
-== Version 0.1.0 (tzdata v2005n) - 27-Nov-2005
-
-* period_for_local and local_to_utc now allow resolution of ambiguous
- times (e.g. when switching from daylight savings to standard time).
- The behaviour of these methods when faced with an ambiguous local time
- has now changed. If you are using these methods you should check
- the documentation. Thanks to Cliff Matthews for suggesting this change.
-* Added require 'date' to timezone.rb (date isn't loaded by default in all
- environments).
-* Use rake to build packages and documentation.
-* License file is now included in gem distribution.
-* Dates in definitions stored as Astronomical Julian Day numbers rather than
- as civil dates (improves performance creating DateTime instances).
-* Added options to TZDataParser to allow generation of specific zones and
- countries.
-* Moved TimezonePeriod class to timezone_period.rb.
-* New TimezonePeriodList class to store TimezonePeriods for a timezone and
- perform searches for periods.
-* Timezones now defined using blocks. TimezonePeriods are only instantiated
- when they are needed. Thanks to Jamis Buck for the suggestion.
-* Add options to TZDataParser to allow exclusion of specific zones and
- countries.
-* Exclude the Riyadh Solar Time zones. The rules are only for 1987 to 1989 and
- take a long time to generate and process. Riyadh Solar Time is no longer
- observed.
-* The last TimezonePeriod for each Timezone is now written out with an
- unbounded rather than arbitrary end time.
-* Construct the Rational offset in TimezonePeriod once when the TimezonePeriod
- is constructed rather than each time it is needed.
-* Timezone and Country now keep a cache of loaded instances to avoid running
- require which can be slow on some platforms.
-* Updated to tzdata version 2005n.
-
-
-== Version 0.0.4 (tzdata v2005m) - 18-Sep-2005
-
-* Removed debug output accidentally included in the previous release.
-* Fixed a bug in the generation of friendly zone identifiers (was inserting
- apostrophes into UTC, GMT, etc).
-* Fixed Country <=> operator (was comparing non-existent attribute)
-* Fixed Timezone.period_for_local error when period not found.
-* Added testcases for Timezone, TimezoneProxy, TimezonePeriod, Country and
- some selected timezones.
-
-
-== Version 0.0.3 (tzdata v2005m) - 17-Sep-2005
-
-* Reduced visibility of some methods added in Timezone#setup and Country#setup.
-* Added name method to Timezone (returns the identifier).
-* Added friendly_identifier method to Timezone. Returns a more friendly version
- of the identifier.
-* Added to_s method to Timezone. Returns the friendly identifier.
-* Added == and <=> operators to Timezone (compares identifiers).
-* Timezone now includes Comparable.
-* Added to_s method to Country.
-* Added == and <=> operators to Country (compares ISO 3166 country codes).
-* Country now includes Comparable.
-* New TimezoneProxy class that behaves the same as a Timezone but doesn't
- actually load in its definition until it is actually required.
-* Modified Timezone and Country methods that return Timezones to return
- TimezoneProxy instances instead. This makes these methods much quicker.
-
- In Ruby on Rails, you can now show a drop-down list of all timezones using the
- Rails time_zone_select helper method:
-
- <%= time_zone_select 'user', 'time_zone', TZInfo::Timezone.all.sort, :model => TZInfo::Timezone %>
-
-
-== Version 0.0.2 (tzdata v2005m) - 13-Sep-2005
-
-* Country and Timezone data is now loaded into class rather than instance
- variables. This makes Timezone links more efficient and saves memory if
- creating specific Timezone and Country classes directly.
-* TimezonePeriod zone_identifier is now defined as a symbol to save memory
- (was previously a string).
-* TimezonePeriod zone_identifiers that were previously '' are now :Unknown.
-* Timezones and Countries can now be returned using Timezone.new(identifier)
- and Country.new(identifier). When passed an identifier, the new method
- calls get to return an instance of the specified timezone or country.
-* Added new class methods to Timezone to return sets of zones and identifiers.
-
-Thanks to Scott Barron of Lunchbox Software for the suggestions in his
-article about using TZInfo with Rails
-(http://lunchroom.lunchboxsoftware.com/pages/tzinfo_rails)
-
-
-== Version 0.0.1 (tzdata v2005m) - 29-Aug-2005
-
-* First release.
View
19 vendor/gems/tzinfo-0.3.12/LICENSE
@@ -1,19 +0,0 @@
-Copyright (c) 2005-2006 Philip Ross
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
View
101 vendor/gems/tzinfo-0.3.12/README
@@ -1,101 +0,0 @@
-= TZInfo -- Daylight-savings aware timezone support for Ruby
-
-TZInfo[http://tzinfo.rubyforge.org] uses the tz database
-(http://www.twinsun.com/tz/tz-link.htm) to provide
-daylight-savings aware transformations between times in different timezones.
-This is the same database as used for zoneinfo on Unix machines.
-
-The tz database has been imported (using TZDataParser) and turned into a set of
-Ruby modules (which are packaged with this release).
-
-
-== Example usage
-
-To convert a time in UTC to a local time in the America/New_York timezone, you
-can do the following:
-
- require 'tzinfo'
-
- tz = TZInfo::Timezone.get('America/New_York')
- local = tz.utc_to_local(Time.utc(2005,8,29,15,35,0))
-
-Note that the Time returned will look like it is UTC (Time.zone will return
-"UTC"). This is because it is not currently possible to change the offset of
-an individual Time instance.
-
-To convert from a local time to UTC, the local_to_utc method can be used.
-
- utc = tz.local_to_utc(local)
-
-Note that the timezone information of the time you pass in is ignored. The
-following two lines will return the same result regardless of the local
-timezone:
-
- tz.local_to_utc(Time.local(2006,6,26,1,0,0))
- tz.local_to_utc(Time.utc(2006,6,26,1,0,0))
-
-To get information about the rules in force at a particular UTC or local time,
-the Timezone.period_for_utc and Timezone.period_for_local methods can be used.
-Both of these methods return TimezonePeriod objects. The following gets the
-identifier for the period (in this case EDT).
-
- period = tz.period_for_utc(DateTime.new(2005,8,29,15,35,0))
- id = period.zone_identifier
-
-In all the above examples, instances of Time can be used instead of DateTime.
-Timezone#utc_to_local and Timezone#local_to_utc both return the type they are
-passed.
-
-You can get the current local time in a Timezone with the Timezone#now method:
-
- now = tz.now
-
-All methods in TZInfo that take a time can be used with either Time, DateTime
-or Integers (Time#to_i). The return type will be the same as the type passed in.
-
-You can also access Timezones by Country (ISO 3166 country code). The following
-gets all the Timezone identifiers for the US:
-
- us = TZInfo::Country.get('US')
- timezones = us.zone_identifiers
-
-The zone_info method of Country provides an additional description and
-location for each Timezone in the Country.
-
-The above covers the most common uses of Timezone and Country. For more detail,
-see the API documentation for the individual classes.
-
-
-== Download
-
-The latest version of TZInfo can be found at
-
-* http://rubyforge.org/frs/?group_id=894
-
-API documentation can be found at
-
-* http://tzinfo.rubyforge.org/doc/
-
-
-== Installation
-
-The preferred method of installing TZInfo is through the GEM file (RubyGems[http://docs.rubygems.org/] required):
-
- % gem install tzinfo-x.y.z.gem
-
-or to automatically download and install:
-
- % gem install tzinfo --remote
-
-
-== License
-
-TZInfo is released under the MIT[http://opensource.org/licenses/mit-license.html] license.
-
-
-== Support
-
-Please post to the TZInfo Users mailing list (http://rubyforge.org/mailman/listinfo/tzinfo-users)
-if you require assistance or have any suggestions.
-
-Alternatively, you can contact the author Philip Ross directly at phil.ross@gmail.com.
View
177 vendor/gems/tzinfo-0.3.12/Rakefile
@@ -1,177 +0,0 @@
-# Available options:
-#
-# rake test - Runs all test cases.
-# rake package - Runs test cases and builds packages for distribution.
-# rake rdoc - Builds API documentation in doc dir.
-# rake build_tz_modules - Builds Timezone modules and the Country index.
-# Expects to find source data in ../data.
-# rake build_tz_module zone=Zone/Name - Builds a single Timezone module.
-# Expects to find source data in ../data.
-# rake build_countries - Builds the Country index.
-# Expects to find source data in ../data.
-
-require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
-require 'rake/gempackagetask'
-require 'fileutils'
-
-PKG_VERSION = "0.3.12"
-PKG_FILES = FileList[
- 'CHANGES',
- 'LICENSE',
- 'Rakefile',
- 'README',
- 'bin/**/*',
- 'lib/**/*',
- 'test/**/*'
-]
-
-RDOC_OPTIONS = %w[--exclude definitions --exclude indexes]
-RDOC_EXTRA_FILES = %w[README CHANGES]
-
-BUILD_TZ_CLASSES_DIR = 'lib/tzinfo.build_tz_classes'
-
-SPEC = Gem::Specification.new do |s|
- s.name = "tzinfo"
- s.version = PKG_VERSION
- s.author = "Philip Ross"
- s.email = "phil.ross@gmail.com"
- s.homepage = "http://tzinfo.rubyforge.org/"
- s.platform = Gem::Platform::RUBY
- s.summary = "Daylight-savings aware timezone library"
- s.files = PKG_FILES.delete_if do |item|
- item.include?(".svn")
- end
- s.require_path = "lib"
- s.has_rdoc = true
- s.extra_rdoc_files = RDOC_EXTRA_FILES
- s.rdoc_options = RDOC_OPTIONS
- s.rubyforge_project = "tzinfo"
-end
-
-Rake::GemPackageTask.new(SPEC) do |pkg|
- pkg.need_zip = true
- pkg.need_tar_gz = true
-end
-
-
-Rake::TestTask.new('test') do |t|
- # Force a particular timezone to be local (helps find issues when local
- # timezone isn't GMT). This won't work on Windows.
- ENV['TZ'] = 'America/Los_Angeles'
-
- t.libs << 'test'
- t.pattern = 'test/tc_*.rb'
- t.verbose = true
-end
-
-
-Rake::RDocTask.new do |rdoc|
- rdoc.rdoc_dir = 'doc'
- rdoc.title = "TZInfo"
- rdoc.options << '--inline-source'
- rdoc.options.concat RDOC_OPTIONS
- rdoc.rdoc_files.include(*RDOC_EXTRA_FILES)
- rdoc.rdoc_files.include('lib')
-end
-
-task :build_tz_modules do
- require 'lib/tzinfo/tzdataparser'
-
- FileUtils.mkdir_p(BUILD_TZ_CLASSES_DIR)
- begin
- p = TZInfo::TZDataParser.new('../data', BUILD_TZ_CLASSES_DIR)
- p.execute
-
- ['indexes', 'definitions'].each {|dir|
- sync_svn("#{BUILD_TZ_CLASSES_DIR}/#{dir}", "lib/tzinfo/#{dir}")
- }
- ensure
- FileUtils.rm_rf(BUILD_TZ_CLASSES_DIR)
- end
-end
-
-def sync_svn(source_dir, target_dir)
- puts "SVN Sync from #{source_dir} to #{target_dir}"
-
- # Assumes a directory will never turn into a file and vice-versa
- # (files will all end in .rb, directories won't).
- # SVN wouldn't allow the change in a single commit anyway.
-
- source_entries, target_entries = [source_dir, target_dir].collect {|dir|
- Dir.entries(dir).delete_if {|entry| entry =~ /^\.(\.?|svn)$/}.sort
- }
-
- until source_entries.empty? || target_entries.empty?
- if source_entries.last == target_entries.last
- source_file = "#{source_dir}/#{source_entries.last}"
- target_file = "#{target_dir}/#{target_entries.last}"
-
- if File.directory?(source_file)
- sync_svn(source_file, target_file)
- else
- FileUtils.cp(source_file, target_file)
- end
-
- source_entries.pop
- target_entries.pop
- elsif source_entries.last < target_entries.last
- sync_svn_only_in_target(target_dir, target_entries)
- else
- sync_svn_only_in_source(source_dir, target_dir, source_entries)
- end
- end
-
- until target_entries.empty?
- sync_svn_only_in_target(target_dir, target_entries)
- end
-
- until source_entries.empty?
- sync_svn_only_in_source(source_dir, target_dir, source_entries)
- end
-end
-
-def sync_svn_only_in_target(target_dir, target_entries)
- target_file = "#{target_dir}/#{target_entries.last}"
- exec_svn "delete \"#{target_file}\""
- target_entries.pop
-end
-
-def sync_svn_only_in_source(source_dir, target_dir, source_entries)
- source_file = "#{source_dir}/#{source_entries.last}"
- target_file = "#{target_dir}/#{source_entries.last}"
-
- if File.directory?(source_file)
- Dir.mkdir(target_file)
- exec_svn "add \"#{target_file}\""
- sync_svn(source_file, target_file)
- else
- FileUtils.cp(source_file, target_file)
- exec_svn "add \"#{target_file}\""
- end
-
- source_entries.pop
-end
-
-def exec_svn(params)
- puts "svn #{params}"
- `svn #{params}`
- raise "SVN exited with status #$?" if $? != 0
-end
-
-task :build_tz_module do
- require 'lib/tzinfo/tzdataparser'
- p = TZInfo::TZDataParser.new('../data', 'lib/tzinfo')
- p.generate_countries = false
- p.only_zones = [ENV['zone']]
- p.execute
-end
-
-task :build_countries do
- require 'lib/tzinfo/tzdataparser'
- p = TZInfo::TZDataParser.new('../data', 'lib/tzinfo')
- p.generate_countries = true
- p.generate_zones = false
- p.execute
-end
View
33 vendor/gems/tzinfo-0.3.12/lib/tzinfo.rb
@@ -1,33 +0,0 @@
-#--
-# Copyright (c) 2005-2006 Philip Ross
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-#++
-
-# Add the directory containing this file to the start of the load path if it
-# isn't there already.
-$:.unshift(File.dirname(__FILE__)) unless
- $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
-
-require 'tzinfo/timezone'
-require 'tzinfo/country'
-require 'tzinfo/tzdataparser'
-require 'tzinfo/timezone_proxy'
-require 'tzinfo/data_timezone'
-require 'tzinfo/linked_timezone'
View
179 vendor/gems/tzinfo-0.3.12/lib/tzinfo/country.rb
@@ -1,179 +0,0 @@
-#--
-# Copyright (c) 2005-2006 Philip Ross
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-#++
-
-require 'tzinfo/country_info'
-require 'tzinfo/timezone'
-
-module TZInfo
- # Thrown by Country#get if the code given is not valid.
- class InvalidCountryCode < StandardError
- end
-
- # An ISO 3166 country. Can be used to get a list of Timezones for a country.
- # For example:
- #
- # us = Country.get('US')
- # us.zone_identifiers
- # us.zones
- # us.zone_info
- class Country
- include Comparable
-
- # Defined countries.
- @@countries = {}
-
- # Whether the countries index has been loaded yet.
- @@index_loaded = false
-
- # Gets a Country by its ISO 3166 code. Raises an InvalidCountryCode
- # exception if it couldn't be found.
- def self.get(identifier)
- instance = @@countries[identifier]
-
- unless instance
- load_index
- info = Indexes::Countries.countries[identifier]
- raise InvalidCountryCode.new, 'Invalid identifier' unless info
- instance = Country.new(info)
- @@countries[identifier] = instance
- end
-
- instance
- end
-
- # If identifier is a CountryInfo object, initializes the Country instance,
- # otherwise calls get(identifier).
- def self.new(identifier)
- if identifier.kind_of?(CountryInfo)
- instance = super()
- instance.send :setup, identifier
- instance
- else
- get(identifier)
- end
- end
-
- # Returns an Array of all the valid country codes.
- def self.all_codes
- load_index
- Indexes::Countries.countries.keys
- end
-
- # Returns an Array of all the defined Countries.
- def self.all
- load_index
- Indexes::Countries.countries.keys.collect {|code| get(code)}
- end
-
- # The ISO 3166 country code.
- def code
- @info.code
- end
-
- # The name of the country.
- def name
- @info.name
- end
-
- # Alias for name.
- def to_s
- name
- end
-
- # Returns internal object state as a programmer-readable string.
- def inspect
- "#<#{self.class}: #{@info.code}>"
- end
-
- # Returns a frozen array of all the zone identifiers for the country. These
- # are in an order that
- # (1) makes some geographical sense, and
- # (2) puts the most populous zones first, where that does not contradict (1).
- def zone_identifiers
- @info.zone_identifiers
- end
- alias zone_names zone_identifiers
-
- # An array of all the Timezones for this country. Returns TimezoneProxy
- # objects to avoid the overhead of loading Timezone definitions until
- # a conversion is actually required. The Timezones are returned in an order
- # that
- # (1) makes some geographical sense, and
- # (2) puts the most populous zones first, where that does not contradict (1).
- def zones
- zone_identifiers.collect {|id|
- Timezone.get_proxy(id)
- }
- end
-
- # Returns a frozen array of all the timezones for the for the country as
- # CountryTimezone instances (containing extra information about each zone).
- # These are in an order that
- # (1) makes some geographical sense, and
- # (2) puts the most populous zones first, where that does not contradict (1).
- def zone_info
- @info.zones
- end
-
- # Compare two Countries based on their code. Returns -1 if c is less
- # than self, 0 if c is equal to self and +1 if c is greater than self.
- def <=>(c)
- code <=> c.code
- end
-
- # Returns true if and only if the code of c is equal to the code of this
- # Country.
- def eql?(c)
- self == c
- end
-
- # Returns a hash value for this Country.
- def hash
- code.hash
- end
-
- # Dumps this Country for marshalling.
- def _dump(limit)
- code
- end
-
- # Loads a marshalled Country.
- def self._load(data)
- Country.get(data)
- end
-
- private
- # Loads in the index of countries if it hasn't already been loaded.
- def self.load_index
- unless @@index_loaded
- require 'tzinfo/indexes/countries'
- @@index_loaded = true
- end
- end
-
- # Called by Country.new to initialize a new Country instance. The info
- # parameter is a CountryInfo that defines the country.
- def setup(info)
- @info = info
- end
- end
-end
View
50 vendor/gems/tzinfo-0.3.12/lib/tzinfo/country_index_definition.rb
@@ -1,50 +0,0 @@
-#--
-# Copyright (c) 2006 Philip Ross
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-#++
-
-require 'tzinfo/country_info'
-
-module TZInfo
- # The country index file includes CountryIndexDefinition which provides
- # a country method used to define each country in the index.
- module CountryIndexDefinition #:nodoc:
- def self.append_features(base)
- super
- base.extend(ClassMethods)
- base.instance_eval { @countries = {} }
- end
-
- module ClassMethods #:nodoc:
- # Defines a country with an ISO 3166 country code, name and block. The
- # block will be evaluated to obtain all the timezones for the country.
- # Calls Country.country_defined with the definition of each country.
- def country(code, name, &block)
- @countries[code] = CountryInfo.new(code, name, &block)
- end
-
- # Returns a frozen hash of all the countries that have been defined in
- # the index.
- def countries
- @countries.freeze
- end
- end
- end
-end
View
82 vendor/gems/tzinfo-0.3.12/lib/tzinfo/country_info.rb
@@ -1,82 +0,0 @@
-#--
-# Copyright (c) 2006 Philip Ross
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-#++
-
-require 'tzinfo/country_timezone'
-
-module TZInfo
- # Class to store the data loaded from the country index. Instances of this
- # class are passed to the blocks in the index that define timezones.
- class CountryInfo #:nodoc:
- attr_reader :code
- attr_reader :name
-
- # Constructs a new CountryInfo with an ISO 3166 country code, name and
- # block. The block will be evaluated to obtain the timezones for the country
- # (when they are first needed).
- def initialize(code, name, &block)
- @code = code
- @name = name
- @block = block
- @zones = nil
- @zone_identifiers = nil
- end
-
- # Called by the index data to define a timezone for the country.
- def timezone(identifier, latitude_numerator, latitude_denominator,
- longitude_numerator, longitude_denominator, description = nil)
- # Currently only store the identifiers.
- @zones << CountryTimezone.new(identifier, latitude_numerator,
- latitude_denominator, longitude_numerator, longitude_denominator,
- description)
- end
-
- # Returns a frozen array of all the zone identifiers for the country. These
- # are in the order they were added using the timezone method.
- def zone_identifiers
- unless @zone_identifiers
- @zone_identifiers = zones.collect {|zone| zone.identifier}
- @zone_identifiers.freeze
- end
-
- @zone_identifiers
- end
-
- # Returns internal object state as a programmer-readable string.
- def inspect
- "#<#{self.class}: #@code>"
- end
-
- # Returns a frozen array of all the timezones for the for the country as
- # CountryTimezone instances. These are in the order they were added using
- # the timezone method.
- def zones
- unless @zones
- @zones = []
- @block.call(self) if @block
- @block = nil
- @zones.freeze
- end
-
- @zones
- end
- end
-end
View
104 vendor/gems/tzinfo-0.3.12/lib/tzinfo/country_timezone.rb
@@ -1,104 +0,0 @@
-#--
-# Copyright (c) 2006 Philip Ross
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-#++
-
-require 'tzinfo/timezone'
-require 'tzinfo/ruby_core_support'
-
-module TZInfo
- # A Timezone within a Country. This contains extra information about the
- # Timezone that is specific to the Country (a Timezone could be used by
- # multiple countries).
- class CountryTimezone
- # The zone identifier.
- attr_reader :identifier
-
- # A description of this timezone in relation to the country, e.g.
- # "Eastern Time". This is usually nil for countries having only a single
- # Timezone.
- attr_reader :description
-
- # Creates a new CountryTimezone with a timezone identifier, latitude,
- # longitude and description. The latitude and longitude are specified as
- # rationals - a numerator and denominator. For performance reasons, the
- # numerators and denominators must be specified in their lowest form.
- #
- # CountryTimezone instances should not normally be constructed manually.
- def initialize(identifier, latitude_numerator, latitude_denominator,
- longitude_numerator, longitude_denominator, description = nil) #:nodoc:
- @identifier = identifier
- @latitude_numerator = latitude_numerator
- @latitude_denominator = latitude_denominator
- @longitude_numerator = longitude_numerator
- @longitude_denominator = longitude_denominator
- @description = description
- end
-
- # The Timezone (actually a TimezoneProxy for performance reasons).
- def timezone
- Timezone.get_proxy(@identifier)
- end
-
- # if description is not nil, this method returns description; otherwise it
- # returns timezone.friendly_identifier(true).
- def description_or_friendly_identifier
- description || timezone.friendly_identifier(true)
- end
-
- # The latitude of this timezone in degrees as a Rational.
- def latitude
- @latitude ||= RubyCoreSupport.rational_new!(@latitude_numerator, @latitude_denominator)
- end
-
- # The longitude of this timezone in degrees as a Rational.
- def longitude
- @longitude ||= RubyCoreSupport.rational_new!(@longitude_numerator, @longitude_denominator)
- end
-
- # Returns true if and only if the given CountryTimezone is equal to the
- # current CountryTimezone (has the same identifer, latitude, longitude
- # and description).
- def ==(ct)
- ct.respond_to?(:identifier) && ct.respond_to?(:latitude) &&
- ct.respond_to?(:longitude) && ct.respond_to?(:description) &&
- identifier == ct.identifier && latitude == ct.latitude &&
- longitude == ct.longitude && description == ct.description
- end
-
- # Returns true if and only if the given CountryTimezone is equal to the
- # current CountryTimezone (has the same identifer, latitude, longitude
- # and description).
- def eql?(ct)
- self == ct
- end
-
- # Returns a hash of this CountryTimezone.
- def hash
- @identifier.hash ^ @latitude_numerator.hash ^ @latitude_denominator.hash ^
- @longitude_numerator.hash ^ @longitude_denominator.hash ^ @description.hash
- end
-
- # Returns internal object state as a programmer-readable string.
- def inspect
- "#<#{self.class}: #@identifier>"
- end
- end
-end
View
47 vendor/gems/tzinfo-0.3.12/lib/tzinfo/data_timezone.rb
@@ -1,47 +0,0 @@
-#--
-# Copyright (c) 2006 Philip Ross
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-#++
-
-require 'tzinfo/info_timezone'
-
-module TZInfo
-
- # A Timezone based on a DataTimezoneInfo.
- class DataTimezone < InfoTimezone #:nodoc:
-
- # Returns the TimezonePeriod for the given UTC time. utc can either be
- # a DateTime, Time or integer timestamp (Time.to_i). Any timezone
- # information in utc is ignored (it is treated as a UTC time).
- #
- # If no TimezonePeriod could be found, PeriodNotFound is raised.
- def period_for_utc(utc)
- info.period_for_utc(utc)
- end
-
- # Returns the set of TimezonePeriod instances that are valid for the given
- # local time as an array. If you just want a single period, use
- # period_for_local instead and specify how abiguities should be resolved.
- # Raises PeriodNotFound if no periods are found for the given time.
- def periods_for_local(local)
- info.periods_for_local(local)
- end
- end
-end
View
228 vendor/gems/tzinfo-0.3.12/lib/tzinfo/data_timezone_info.rb
@@ -1,228 +0,0 @@
-#--
-# Copyright (c) 2006 Philip Ross
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-#++
-
-require 'tzinfo/time_or_datetime'
-require 'tzinfo/timezone_info'
-require 'tzinfo/timezone_offset_info'
-require 'tzinfo/timezone_period'
-require 'tzinfo/timezone_transition_info'
-
-module TZInfo
- # Thrown if no offsets have been defined when calling period_for_utc or
- # periods_for_local. Indicates an error in the timezone data.
- class NoOffsetsDefined < StandardError
- end
-
- # Represents a (non-linked) timezone defined in a data module.
- class DataTimezoneInfo < TimezoneInfo #:nodoc:
-
- # Constructs a new TimezoneInfo with its identifier.
- def initialize(identifier)
- super(identifier)
- @offsets = {}
- @transitions = []
- @previous_offset = nil
- @transitions_index = nil
- end
-
- # Defines a offset. The id uniquely identifies this offset within the
- # timezone. utc_offset and std_offset define the offset in seconds of
- # standard time from UTC and daylight savings from standard time
- # respectively. abbreviation describes the timezone offset (e.g. GMT, BST,
- # EST or EDT).
- #
- # The first offset to be defined is treated as the offset that applies
- # until the first transition. This will usually be in Local Mean Time (LMT).
- #
- # ArgumentError will be raised if the id is already defined.
- def offset(id, utc_offset, std_offset, abbreviation)
- raise ArgumentError, 'Offset already defined' if @offsets.has_key?(id)
-
- offset = TimezoneOffsetInfo.new(utc_offset, std_offset, abbreviation)
- @offsets[id] = offset
- @previous_offset = offset unless @previous_offset
- end
-
- # Defines a transition. Transitions must be defined in chronological order.
- # ArgumentError will be raised if a transition is added out of order.
- # offset_id refers to an id defined with offset. ArgumentError will be
- # raised if the offset_id cannot be found. numerator_or_time and
- # denomiator specify the time the transition occurs as. See
- # TimezoneTransitionInfo for more detail about specifying times.
- def transition(year, month, offset_id, numerator_or_time, denominator = nil)
- offset = @offsets[offset_id]
- raise ArgumentError, 'Offset not found' unless offset
-
- if @transitions_index
- if year < @last_year || (year == @last_year && month < @last_month)
- raise ArgumentError, 'Transitions must be increasing date order'
- end
-
- # Record the position of the first transition with this index.
- index = transition_index(year, month)
- @transitions_index[index] ||= @transitions.length
-
- # Fill in any gaps
- (index - 1).downto(0) do |i|
- break if @transitions_index[i]
- @transitions_index[i] = @transitions.length
- end
- else
- @transitions_index = [@transitions.length]
- @start_year = year
- @start_month = month
- end
-
- @transitions << TimezoneTransitionInfo.new(offset, @previous_offset,
- numerator_or_time, denominator)
- @last_year = year
- @last_month = month
- @previous_offset = offset
- end
-
- # Returns the TimezonePeriod for the given UTC time.
- # Raises NoOffsetsDefined if no offsets have been defined.
- def period_for_utc(utc)
- unless @transitions.empty?
- utc = TimeOrDateTime.wrap(utc)
- index = transition_index(utc.year, utc.mon)
-
- start_transition = nil
- start = transition_before_end(index)
- if start
- start.downto(0) do |i|
- if @transitions[i].at <= utc
- start_transition = @transitions[i]
- break
- end
- end
- end
-
- end_transition = nil
- start = transition_after_start(index)
- if start
- start.upto(@transitions.length - 1) do |i|
- if @transitions[i].at > utc
- end_transition = @transitions[i]
- break
- end
- end
- end
-
- if start_transition || end_transition
- TimezonePeriod.new(start_transition, end_transition)
- else
- # Won't happen since there are transitions. Must always find one
- # transition that is either >= or < the specified time.
- raise 'No transitions found in search'
- end
- else
- raise NoOffsetsDefined, 'No offsets have been defined' unless @previous_offset
- TimezonePeriod.new(nil, nil, @previous_offset)
- end
- end
-
- # Returns the set of TimezonePeriods for the given local time as an array.
- # Results returned are ordered by increasing UTC start date.
- # Returns an empty array if no periods are found for the given time.
- # Raises NoOffsetsDefined if no offsets have been defined.
- def periods_for_local(local)
- unless @transitions.empty?
- local = TimeOrDateTime.wrap(local)
- index = transition_index(local.year, local.mon)
-
- result = []
-
- start_index = transition_after_start(index - 1)
- if start_index && @transitions[start_index].local_end > local
- if start_index > 0
- if @transitions[start_index - 1].local_start <= local
- result << TimezonePeriod.new(@transitions[start_index - 1], @transitions[start_index])
- end
- else
- result << TimezonePeriod.new(nil, @transitions[start_index])
- end
- end
-
- end_index = transition_before_end(index + 1)
-
- if end_index
- start_index = end_index unless start_index
-
- start_index.upto(transition_before_end(index + 1)) do |i|
- if @transitions[i].local_start <= local
- if i + 1 < @transitions.length
- if @transitions[i + 1].local_end > local
- result << TimezonePeriod.new(@transitions[i], @transitions[i + 1])
- end
- else
- result << TimezonePeriod.new(@transitions[i], nil)
- end
- end
- end
- end
-
- result
- else
- raise NoOffsetsDefined, 'No offsets have been defined' unless @previous_offset
- [TimezonePeriod.new(nil, nil, @previous_offset)]
- end
- end
-
- private
- # Returns the index into the @transitions_index array for a given year
- # and month.
- def transition_index(year, month)
- index = (year - @start_year) * 2
- index += 1 if month > 6
- index -= 1 if @start_month > 6
- index
- end
-
- # Returns the index into @transitions of the first transition that occurs
- # on or after the start of the given index into @transitions_index.
- # Returns nil if there are no such transitions.
- def transition_after_start(index)
- if index >= @transitions_index.length
- nil
- else
- index = 0 if index < 0
- @transitions_index[index]
- end
- end
-
- # Returns the index into @transitions of the first transition that occurs
- # before the end of the given index into @transitions_index.
- # Returns nil if there are no such transitions.
- def transition_before_end(index)
- index = index + 1
-
- if index <= 0
- nil
- elsif index >= @transitions_index.length
- @transitions.length - 1
- else
- @transitions_index[index] - 1
- end
- end
- end
-end
View
18 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Abidjan.rb
@@ -1,18 +0,0 @@
-require 'tzinfo/timezone_definition'
-
-module TZInfo
- module Definitions
- module Africa
- module Abidjan
- include TimezoneDefinition
-
- timezone 'Africa/Abidjan' do |tz|
- tz.offset :o0, -968, 0, :LMT
- tz.offset :o1, 0, 0, :GMT
-
- tz.transition 1912, 1, :o1, 26129547121, 10800
- end
- end
- end
- end
-end
View
33 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Accra.rb
@@ -1,33 +0,0 @@
-require 'tzinfo/timezone_definition'
-
-module TZInfo
- module Definitions
- module Africa
- module Accra
- include TimezoneDefinition
-
- timezone 'Africa/Accra' do |tz|
- tz.offset :o0, -52, 0, :LMT
- tz.offset :o1, 0, 0, :GMT
- tz.offset :o2, 0, 1200, :GHST
-
- tz.transition 1918, 1, :o1, 52306441213, 21600
- tz.transition 1936, 9, :o2, 4856825, 2
- tz.transition 1936, 12, :o1, 174854411, 72
- tz.transition 1937, 9, :o2, 4857555, 2
- tz.transition 1937, 12, :o1, 174880691, 72
- tz.transition 1938, 9, :o2, 4858285, 2
- tz.transition 1938, 12, :o1, 174906971, 72
- tz.transition 1939, 9, :o2, 4859015, 2
- tz.transition 1939, 12, :o1, 174933251, 72
- tz.transition 1940, 9, :o2, 4859747, 2
- tz.transition 1940, 12, :o1, 174959603, 72
- tz.transition 1941, 9, :o2, 4860477, 2
- tz.transition 1941, 12, :o1, 174985883, 72
- tz.transition 1942, 9, :o2, 4861207, 2
- tz.transition 1942, 12, :o1, 175012163, 72
- end
- end
- end
- end
-end
View
20 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Addis_Ababa.rb
@@ -1,20 +0,0 @@
-require 'tzinfo/timezone_definition'
-
-module TZInfo
- module Definitions
- module Africa
- module Addis_Ababa
- include TimezoneDefinition
-
- timezone 'Africa/Addis_Ababa' do |tz|
- tz.offset :o0, 9288, 0, :LMT
- tz.offset :o1, 9320, 0, :ADMT
- tz.offset :o2, 10800, 0, :EAT
-
- tz.transition 1869, 12, :o1, 961625357, 400
- tz.transition 1936, 5, :o2, 5245113727, 2160
- end
- end
- end
- end
-end
View
55 vendor/gems/tzinfo-0.3.12/lib/tzinfo/definitions/Africa/Algiers.rb
@@ -1,55 +0,0 @@
-require 'tzinfo/timezone_definition'
-
-module TZInfo
- module Definitions
- module Africa
- module Algiers
- include TimezoneDefinition
-
- timezone 'Africa/Algiers' do |tz|
- tz.offset :o0, 732, 0, :LMT
- tz.offset :o1, 561, 0, :PMT
- tz.offset :o2, 0, 0, :WET
- tz.offset :o3, 0, 3600, :WEST
- tz.offset :o4, 3600, 0, :CET
- tz.offset :o5, 3600, 3600, :CEST
-
- tz.transition 1891, 3, :o1, 2170625843, 900
- tz.transition 1911, 3, :o2, 69670267013, 28800
- tz.transition 1916, 6, :o3, 58104707, 24
- tz.transition 1916, 10, :o2, 58107323, 24
- tz.transition 1917, 3, :o3, 58111499, 24
- tz.transition 1917, 10, :o2, 58116227, 24
- tz.transition 1918, 3, :o3, 58119899, 24
- tz.transition 1918, 10, :o2, 58124963, 24
- tz.transition 1919, 3, :o3, 58128467, 24
- tz.transition 1919, 10, :o2, 58133699, 24
- tz.transition 1920, 2, :o3, 58136867, 24
- tz.transition 1920, 10, :o2, 58142915, 24
- tz.transition 1921, 3, :o3, 58146323, 24
- tz.transition 1921, 6, :o2, 58148699, 24
- tz.transition 1939, 9, :o3, 58308443, 24
- tz.transition 1939, 11, :o2, 4859173, 2
- tz.transition 1940, 2, :o4, 29156215, 12
- tz.transition 1944, 4, :o5, 58348405, 24
- tz.transition 1944, 10, :o4, 4862743, 2
- tz.transition 1945, 4, :o5, 58357141, 24
- tz.transition 1945, 9, :o4, 58361147, 24
- tz.transition 1946, 10, :o2, 58370411, 24
- tz.transition 1956, 1, :o4, 4871003, 2
- tz.transition 1963, 4, :o2, 58515203, 24
- tz.transition 1971, 4, :o3, 41468400
- tz.transition 1971, 9, :o2, 54774000
- tz.transition 1977, 5, :o3, 231724800
- tz.transition 1977, 10, :o4, 246236400
- tz.transition 1978, 3, :o5, 259545600
- tz.transition 1978, 9, :o4, 275274000
- tz.transition 1979, 10, :o2, 309740400
- tz.transition 1980, 4, :o3, 325468800
- tz.transition 1980, 10, :o2, 341802000
- tz.transition 1981, 5, :o4, 357523200
- end
- end
- end
- end
-end