Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bundle TzInfo version 0.3.11

  • Loading branch information...
commit 93e1bff82a531c957bad91ea67e01b4793ccc51f 1 parent 39e1911
@gbuesing gbuesing authored
Showing with 251 additions and 201 deletions.
  1. +1 −1  activesupport/lib/active_support/vendor.rb
  2. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo.rb
  3. +1 −1  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/data_timezone.rb
  4. +1 −1  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/data_timezone_info.rb
  5. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Africa/Algiers.rb
  6. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Africa/Cairo.rb
  7. +1 −1  ...pport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Africa/Casablanca.rb
  8. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Africa/Harare.rb
  9. 0  ...ort/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Africa/Johannesburg.rb
  10. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Africa/Monrovia.rb
  11. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Africa/Nairobi.rb
  12. +42 −42 ...ive_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Argentina/Buenos_Aires.rb
  13. +42 −42 .../active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Argentina/San_Juan.rb
  14. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Bogota.rb
  15. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Caracas.rb
  16. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Chicago.rb
  17. 0  ...pport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Chihuahua.rb
  18. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Denver.rb
  19. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Godthab.rb
  20. 0  ...pport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Guatemala.rb
  21. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Halifax.rb
  22. 0  ...ctive_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Indiana/Indianapolis.rb
  23. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Juneau.rb
  24. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/La_Paz.rb
  25. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Lima.rb
  26. 0  ...ort/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Los_Angeles.rb
  27. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Mazatlan.rb
  28. 0  ...ort/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Mexico_City.rb
  29. 0  ...pport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Monterrey.rb
  30. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/New_York.rb
  31. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Phoenix.rb
  32. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Regina.rb
  33. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Santiago.rb
  34. +2 −2 ...pport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Sao_Paulo.rb
  35. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/St_Johns.rb
  36. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/America/Tijuana.rb
  37. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Almaty.rb
  38. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Baghdad.rb
  39. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Baku.rb
  40. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Bangkok.rb
  41. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Chongqing.rb
  42. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Colombo.rb
  43. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Dhaka.rb
  44. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Hong_Kong.rb
  45. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Irkutsk.rb
  46. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Jakarta.rb
  47. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Jerusalem.rb
  48. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Kabul.rb
  49. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Kamchatka.rb
  50. +1 −1  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Karachi.rb
  51. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Katmandu.rb
  52. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Kolkata.rb
  53. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Krasnoyarsk.rb
  54. 0  ...pport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Kuala_Lumpur.rb
  55. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Kuwait.rb
  56. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Magadan.rb
  57. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Muscat.rb
  58. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Novosibirsk.rb
  59. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Rangoon.rb
  60. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Riyadh.rb
  61. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Seoul.rb
  62. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Shanghai.rb
  63. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Singapore.rb
  64. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Taipei.rb
  65. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Tashkent.rb
  66. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Tbilisi.rb
  67. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Tehran.rb
  68. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Tokyo.rb
  69. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Ulaanbaatar.rb
  70. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Urumqi.rb
  71. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Vladivostok.rb
  72. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Yakutsk.rb
  73. 0  ...port/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Yekaterinburg.rb
  74. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Asia/Yerevan.rb
  75. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Atlantic/Azores.rb
  76. 0  ...ort/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Atlantic/Cape_Verde.rb
  77. 0  .../lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Atlantic/South_Georgia.rb
  78. 0  ...port/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Australia/Adelaide.rb
  79. 0  ...port/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Australia/Brisbane.rb
  80. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Australia/Darwin.rb
  81. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Australia/Hobart.rb
  82. 0  ...ort/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Australia/Melbourne.rb
  83. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Australia/Perth.rb
  84. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Australia/Sydney.rb
  85. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Etc/UTC.rb
  86. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Amsterdam.rb
  87. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Athens.rb
  88. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Belgrade.rb
  89. +1 −1  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Berlin.rb
  90. 0  ...pport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Bratislava.rb
  91. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Brussels.rb
  92. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Bucharest.rb
  93. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Budapest.rb
  94. 0  ...pport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Copenhagen.rb
  95. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Dublin.rb
  96. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Helsinki.rb
  97. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Istanbul.rb
  98. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Kiev.rb
  99. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Lisbon.rb
  100. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Ljubljana.rb
  101. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/London.rb
  102. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Madrid.rb
  103. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Minsk.rb
  104. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Moscow.rb
  105. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Paris.rb
  106. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Prague.rb
  107. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Riga.rb
  108. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Rome.rb
  109. 0  ...support/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Sarajevo.rb
  110. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Skopje.rb
  111. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Sofia.rb
  112. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Stockholm.rb
  113. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Tallinn.rb
  114. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Vienna.rb
  115. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Vilnius.rb
  116. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Warsaw.rb
  117. 0  ...vesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Europe/Zagreb.rb
  118. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Pacific/Auckland.rb
  119. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Pacific/Fiji.rb
  120. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Pacific/Guam.rb
  121. 0  ...upport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Pacific/Honolulu.rb
  122. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Pacific/Majuro.rb
  123. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Pacific/Midway.rb
  124. 0  ...esupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Pacific/Noumea.rb
  125. 0  ...pport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Pacific/Pago_Pago.rb
  126. 0  ...rt/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Pacific/Port_Moresby.rb
  127. 0  ...pport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/definitions/Pacific/Tongatapu.rb
  128. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/info_timezone.rb
  129. +1 −1  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/linked_timezone.rb
  130. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/linked_timezone_info.rb
  131. +98 −0 activesupport/lib/active_support/vendor/tzinfo-0.3.11/tzinfo/offset_rationals.rb
  132. +56 −0 activesupport/lib/active_support/vendor/tzinfo-0.3.11/tzinfo/ruby_core_support.rb
  133. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/time_or_datetime.rb
  134. +1 −1  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/timezone.rb
  135. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/timezone_definition.rb
  136. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/timezone_info.rb
  137. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/timezone_offset_info.rb
  138. 0  activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/timezone_period.rb
  139. +3 −12 activesupport/lib/active_support/vendor/{tzinfo-0.3.9 → tzinfo-0.3.11}/tzinfo/timezone_transition_info.rb
  140. +0 −95 activesupport/lib/active_support/vendor/tzinfo-0.3.9/tzinfo/offset_rationals.rb
View
2  activesupport/lib/active_support/vendor.rb
@@ -20,7 +20,7 @@
end
begin
- gem 'tzinfo', '~> 0.3.9'
+ gem 'tzinfo', '~> 0.3.11'
rescue Gem::LoadError
$:.unshift "#{File.dirname(__FILE__)}/vendor/tzinfo-0.3.9"
end
View
0  ...ive_support/vendor/tzinfo-0.3.9/tzinfo.rb → ...ve_support/vendor/tzinfo-0.3.11/tzinfo.rb
File renamed without changes
View
2  ...ndor/tzinfo-0.3.9/tzinfo/data_timezone.rb → ...dor/tzinfo-0.3.11/tzinfo/data_timezone.rb
@@ -38,7 +38,7 @@ def period_for_utc(utc)
# 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 ambiguities should be resolved.
+ # 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)
View
2  ...tzinfo-0.3.9/tzinfo/data_timezone_info.rb → ...zinfo-0.3.11/tzinfo/data_timezone_info.rb
@@ -66,7 +66,7 @@ def offset(id, utc_offset, std_offset, abbreviation)
# 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
- # denominator specify the time the transition occurs as. See
+ # 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]
View
0  ....3.9/tzinfo/definitions/Africa/Algiers.rb → ...3.11/tzinfo/definitions/Africa/Algiers.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Africa/Cairo.rb → ...0.3.11/tzinfo/definitions/Africa/Cairo.rb
File renamed without changes
View
2  ...9/tzinfo/definitions/Africa/Casablanca.rb → ...1/tzinfo/definitions/Africa/Casablanca.rb
@@ -32,7 +32,7 @@ module Casablanca
tz.transition 1984, 3, :o3, 448243200
tz.transition 1985, 12, :o1, 504918000
tz.transition 2008, 6, :o2, 1212278400
- tz.transition 2008, 9, :o1, 1222556400
+ tz.transition 2008, 8, :o1, 1220223600
end
end
end
View
0  ...0.3.9/tzinfo/definitions/Africa/Harare.rb → ....3.11/tzinfo/definitions/Africa/Harare.rb
File renamed without changes
View
0  ...tzinfo/definitions/Africa/Johannesburg.rb → ...tzinfo/definitions/Africa/Johannesburg.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/Africa/Monrovia.rb → ....11/tzinfo/definitions/Africa/Monrovia.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/Africa/Nairobi.rb → ...3.11/tzinfo/definitions/Africa/Nairobi.rb
File renamed without changes
View
84 ...nitions/America/Argentina/Buenos_Aires.rb → ...nitions/America/Argentina/Buenos_Aires.rb
@@ -74,89 +74,89 @@ module Buenos_Aires
tz.transition 2000, 3, :o4, 952052400
tz.transition 2007, 12, :o5, 1198983600
tz.transition 2008, 3, :o4, 1205632800
- tz.transition 2008, 10, :o5, 1223175600
+ tz.transition 2008, 10, :o5, 1224385200
tz.transition 2009, 3, :o4, 1237082400
- tz.transition 2009, 10, :o5, 1254625200
+ tz.transition 2009, 10, :o5, 1255834800
tz.transition 2010, 3, :o4, 1269136800
- tz.transition 2010, 10, :o5, 1286074800
+ tz.transition 2010, 10, :o5, 1287284400
tz.transition 2011, 3, :o4, 1300586400
- tz.transition 2011, 10, :o5, 1317524400
+ tz.transition 2011, 10, :o5, 1318734000
tz.transition 2012, 3, :o4, 1332036000
- tz.transition 2012, 10, :o5, 1349578800
+ tz.transition 2012, 10, :o5, 1350788400
tz.transition 2013, 3, :o4, 1363485600
- tz.transition 2013, 10, :o5, 1381028400
+ tz.transition 2013, 10, :o5, 1382238000
tz.transition 2014, 3, :o4, 1394935200
- tz.transition 2014, 10, :o5, 1412478000
+ tz.transition 2014, 10, :o5, 1413687600
tz.transition 2015, 3, :o4, 1426384800
- tz.transition 2015, 10, :o5, 1443927600
+ tz.transition 2015, 10, :o5, 1445137200
tz.transition 2016, 3, :o4, 1458439200
- tz.transition 2016, 10, :o5, 1475377200
+ tz.transition 2016, 10, :o5, 1476586800
tz.transition 2017, 3, :o4, 1489888800
- tz.transition 2017, 10, :o5, 1506826800
+ tz.transition 2017, 10, :o5, 1508036400
tz.transition 2018, 3, :o4, 1521338400
- tz.transition 2018, 10, :o5, 1538881200
+ tz.transition 2018, 10, :o5, 1540090800
tz.transition 2019, 3, :o4, 1552788000
- tz.transition 2019, 10, :o5, 1570330800
+ tz.transition 2019, 10, :o5, 1571540400
tz.transition 2020, 3, :o4, 1584237600
- tz.transition 2020, 10, :o5, 1601780400
+ tz.transition 2020, 10, :o5, 1602990000
tz.transition 2021, 3, :o4, 1616292000
- tz.transition 2021, 10, :o5, 1633230000
+ tz.transition 2021, 10, :o5, 1634439600
tz.transition 2022, 3, :o4, 1647741600
- tz.transition 2022, 10, :o5, 1664679600
+ tz.transition 2022, 10, :o5, 1665889200
tz.transition 2023, 3, :o4, 1679191200
- tz.transition 2023, 10, :o5, 1696129200
+ tz.transition 2023, 10, :o5, 1697338800
tz.transition 2024, 3, :o4, 1710640800
- tz.transition 2024, 10, :o5, 1728183600
+ tz.transition 2024, 10, :o5, 1729393200
tz.transition 2025, 3, :o4, 1742090400
- tz.transition 2025, 10, :o5, 1759633200
+ tz.transition 2025, 10, :o5, 1760842800
tz.transition 2026, 3, :o4, 1773540000
- tz.transition 2026, 10, :o5, 1791082800
+ tz.transition 2026, 10, :o5, 1792292400
tz.transition 2027, 3, :o4, 1805594400
- tz.transition 2027, 10, :o5, 1822532400
+ tz.transition 2027, 10, :o5, 1823742000
tz.transition 2028, 3, :o4, 1837044000
- tz.transition 2028, 10, :o5, 1853982000
+ tz.transition 2028, 10, :o5, 1855191600
tz.transition 2029, 3, :o4, 1868493600
- tz.transition 2029, 10, :o5, 1886036400
+ tz.transition 2029, 10, :o5, 1887246000
tz.transition 2030, 3, :o4, 1899943200
- tz.transition 2030, 10, :o5, 1917486000
+ tz.transition 2030, 10, :o5, 1918695600
tz.transition 2031, 3, :o4, 1931392800
- tz.transition 2031, 10, :o5, 1948935600
+ tz.transition 2031, 10, :o5, 1950145200
tz.transition 2032, 3, :o4, 1963447200
- tz.transition 2032, 10, :o5, 1980385200
+ tz.transition 2032, 10, :o5, 1981594800
tz.transition 2033, 3, :o4, 1994896800
- tz.transition 2033, 10, :o5, 2011834800
+ tz.transition 2033, 10, :o5, 2013044400
tz.transition 2034, 3, :o4, 2026346400
- tz.transition 2034, 10, :o5, 2043284400
+ tz.transition 2034, 10, :o5, 2044494000
tz.transition 2035, 3, :o4, 2057796000
- tz.transition 2035, 10, :o5, 2075338800
+ tz.transition 2035, 10, :o5, 2076548400
tz.transition 2036, 3, :o4, 2089245600
- tz.transition 2036, 10, :o5, 2106788400
+ tz.transition 2036, 10, :o5, 2107998000
tz.transition 2037, 3, :o4, 2120695200
- tz.transition 2037, 10, :o5, 2138238000
+ tz.transition 2037, 10, :o5, 2139447600
tz.transition 2038, 3, :o4, 29586043, 12
- tz.transition 2038, 10, :o5, 19725597, 8
+ tz.transition 2038, 10, :o5, 19725709, 8
tz.transition 2039, 3, :o4, 29590411, 12
- tz.transition 2039, 10, :o5, 19728509, 8
+ tz.transition 2039, 10, :o5, 19728621, 8
tz.transition 2040, 3, :o4, 29594779, 12
- tz.transition 2040, 10, :o5, 19731477, 8
+ tz.transition 2040, 10, :o5, 19731589, 8
tz.transition 2041, 3, :o4, 29599147, 12
- tz.transition 2041, 10, :o5, 19734389, 8
+ tz.transition 2041, 10, :o5, 19734501, 8
tz.transition 2042, 3, :o4, 29603515, 12
- tz.transition 2042, 10, :o5, 19737301, 8
+ tz.transition 2042, 10, :o5, 19737413, 8
tz.transition 2043, 3, :o4, 29607883, 12
- tz.transition 2043, 10, :o5, 19740213, 8
+ tz.transition 2043, 10, :o5, 19740325, 8
tz.transition 2044, 3, :o4, 29612335, 12
- tz.transition 2044, 10, :o5, 19743125, 8
+ tz.transition 2044, 10, :o5, 19743237, 8
tz.transition 2045, 3, :o4, 29616703, 12
- tz.transition 2045, 10, :o5, 19746037, 8
+ tz.transition 2045, 10, :o5, 19746149, 8
tz.transition 2046, 3, :o4, 29621071, 12
- tz.transition 2046, 10, :o5, 19749005, 8
+ tz.transition 2046, 10, :o5, 19749117, 8
tz.transition 2047, 3, :o4, 29625439, 12
- tz.transition 2047, 10, :o5, 19751917, 8
+ tz.transition 2047, 10, :o5, 19752029, 8
tz.transition 2048, 3, :o4, 29629807, 12
- tz.transition 2048, 10, :o5, 19754829, 8
+ tz.transition 2048, 10, :o5, 19754941, 8
tz.transition 2049, 3, :o4, 29634259, 12
- tz.transition 2049, 10, :o5, 19757741, 8
+ tz.transition 2049, 10, :o5, 19757853, 8
tz.transition 2050, 3, :o4, 29638627, 12
end
end
View
84 ...definitions/America/Argentina/San_Juan.rb → ...definitions/America/Argentina/San_Juan.rb
@@ -78,89 +78,89 @@ module San_Juan
tz.transition 2004, 7, :o4, 1090728000
tz.transition 2007, 12, :o5, 1198983600
tz.transition 2008, 3, :o4, 1205632800
- tz.transition 2008, 10, :o5, 1223175600
+ tz.transition 2008, 10, :o5, 1224385200
tz.transition 2009, 3, :o4, 1237082400
- tz.transition 2009, 10, :o5, 1254625200
+ tz.transition 2009, 10, :o5, 1255834800
tz.transition 2010, 3, :o4, 1269136800
- tz.transition 2010, 10, :o5, 1286074800
+ tz.transition 2010, 10, :o5, 1287284400
tz.transition 2011, 3, :o4, 1300586400
- tz.transition 2011, 10, :o5, 1317524400
+ tz.transition 2011, 10, :o5, 1318734000
tz.transition 2012, 3, :o4, 1332036000
- tz.transition 2012, 10, :o5, 1349578800
+ tz.transition 2012, 10, :o5, 1350788400
tz.transition 2013, 3, :o4, 1363485600
- tz.transition 2013, 10, :o5, 1381028400
+ tz.transition 2013, 10, :o5, 1382238000
tz.transition 2014, 3, :o4, 1394935200
- tz.transition 2014, 10, :o5, 1412478000
+ tz.transition 2014, 10, :o5, 1413687600
tz.transition 2015, 3, :o4, 1426384800
- tz.transition 2015, 10, :o5, 1443927600
+ tz.transition 2015, 10, :o5, 1445137200
tz.transition 2016, 3, :o4, 1458439200
- tz.transition 2016, 10, :o5, 1475377200
+ tz.transition 2016, 10, :o5, 1476586800
tz.transition 2017, 3, :o4, 1489888800
- tz.transition 2017, 10, :o5, 1506826800
+ tz.transition 2017, 10, :o5, 1508036400
tz.transition 2018, 3, :o4, 1521338400
- tz.transition 2018, 10, :o5, 1538881200
+ tz.transition 2018, 10, :o5, 1540090800
tz.transition 2019, 3, :o4, 1552788000
- tz.transition 2019, 10, :o5, 1570330800
+ tz.transition 2019, 10, :o5, 1571540400
tz.transition 2020, 3, :o4, 1584237600
- tz.transition 2020, 10, :o5, 1601780400
+ tz.transition 2020, 10, :o5, 1602990000
tz.transition 2021, 3, :o4, 1616292000
- tz.transition 2021, 10, :o5, 1633230000
+ tz.transition 2021, 10, :o5, 1634439600
tz.transition 2022, 3, :o4, 1647741600
- tz.transition 2022, 10, :o5, 1664679600
+ tz.transition 2022, 10, :o5, 1665889200
tz.transition 2023, 3, :o4, 1679191200
- tz.transition 2023, 10, :o5, 1696129200
+ tz.transition 2023, 10, :o5, 1697338800
tz.transition 2024, 3, :o4, 1710640800
- tz.transition 2024, 10, :o5, 1728183600
+ tz.transition 2024, 10, :o5, 1729393200
tz.transition 2025, 3, :o4, 1742090400
- tz.transition 2025, 10, :o5, 1759633200
+ tz.transition 2025, 10, :o5, 1760842800
tz.transition 2026, 3, :o4, 1773540000
- tz.transition 2026, 10, :o5, 1791082800
+ tz.transition 2026, 10, :o5, 1792292400
tz.transition 2027, 3, :o4, 1805594400
- tz.transition 2027, 10, :o5, 1822532400
+ tz.transition 2027, 10, :o5, 1823742000
tz.transition 2028, 3, :o4, 1837044000
- tz.transition 2028, 10, :o5, 1853982000
+ tz.transition 2028, 10, :o5, 1855191600
tz.transition 2029, 3, :o4, 1868493600
- tz.transition 2029, 10, :o5, 1886036400
+ tz.transition 2029, 10, :o5, 1887246000
tz.transition 2030, 3, :o4, 1899943200
- tz.transition 2030, 10, :o5, 1917486000
+ tz.transition 2030, 10, :o5, 1918695600
tz.transition 2031, 3, :o4, 1931392800
- tz.transition 2031, 10, :o5, 1948935600
+ tz.transition 2031, 10, :o5, 1950145200
tz.transition 2032, 3, :o4, 1963447200
- tz.transition 2032, 10, :o5, 1980385200
+ tz.transition 2032, 10, :o5, 1981594800
tz.transition 2033, 3, :o4, 1994896800
- tz.transition 2033, 10, :o5, 2011834800
+ tz.transition 2033, 10, :o5, 2013044400
tz.transition 2034, 3, :o4, 2026346400
- tz.transition 2034, 10, :o5, 2043284400
+ tz.transition 2034, 10, :o5, 2044494000
tz.transition 2035, 3, :o4, 2057796000
- tz.transition 2035, 10, :o5, 2075338800
+ tz.transition 2035, 10, :o5, 2076548400
tz.transition 2036, 3, :o4, 2089245600
- tz.transition 2036, 10, :o5, 2106788400
+ tz.transition 2036, 10, :o5, 2107998000
tz.transition 2037, 3, :o4, 2120695200
- tz.transition 2037, 10, :o5, 2138238000
+ tz.transition 2037, 10, :o5, 2139447600
tz.transition 2038, 3, :o4, 29586043, 12
- tz.transition 2038, 10, :o5, 19725597, 8
+ tz.transition 2038, 10, :o5, 19725709, 8
tz.transition 2039, 3, :o4, 29590411, 12
- tz.transition 2039, 10, :o5, 19728509, 8
+ tz.transition 2039, 10, :o5, 19728621, 8
tz.transition 2040, 3, :o4, 29594779, 12
- tz.transition 2040, 10, :o5, 19731477, 8
+ tz.transition 2040, 10, :o5, 19731589, 8
tz.transition 2041, 3, :o4, 29599147, 12
- tz.transition 2041, 10, :o5, 19734389, 8
+ tz.transition 2041, 10, :o5, 19734501, 8
tz.transition 2042, 3, :o4, 29603515, 12
- tz.transition 2042, 10, :o5, 19737301, 8
+ tz.transition 2042, 10, :o5, 19737413, 8
tz.transition 2043, 3, :o4, 29607883, 12
- tz.transition 2043, 10, :o5, 19740213, 8
+ tz.transition 2043, 10, :o5, 19740325, 8
tz.transition 2044, 3, :o4, 29612335, 12
- tz.transition 2044, 10, :o5, 19743125, 8
+ tz.transition 2044, 10, :o5, 19743237, 8
tz.transition 2045, 3, :o4, 29616703, 12
- tz.transition 2045, 10, :o5, 19746037, 8
+ tz.transition 2045, 10, :o5, 19746149, 8
tz.transition 2046, 3, :o4, 29621071, 12
- tz.transition 2046, 10, :o5, 19749005, 8
+ tz.transition 2046, 10, :o5, 19749117, 8
tz.transition 2047, 3, :o4, 29625439, 12
- tz.transition 2047, 10, :o5, 19751917, 8
+ tz.transition 2047, 10, :o5, 19752029, 8
tz.transition 2048, 3, :o4, 29629807, 12
- tz.transition 2048, 10, :o5, 19754829, 8
+ tz.transition 2048, 10, :o5, 19754941, 8
tz.transition 2049, 3, :o4, 29634259, 12
- tz.transition 2049, 10, :o5, 19757741, 8
+ tz.transition 2049, 10, :o5, 19757853, 8
tz.transition 2050, 3, :o4, 29638627, 12
end
end
View
0  ....3.9/tzinfo/definitions/America/Bogota.rb → ...3.11/tzinfo/definitions/America/Bogota.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/America/Caracas.rb → ....11/tzinfo/definitions/America/Caracas.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/America/Chicago.rb → ....11/tzinfo/definitions/America/Chicago.rb
File renamed without changes
View
0  ...9/tzinfo/definitions/America/Chihuahua.rb → ...1/tzinfo/definitions/America/Chihuahua.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/America/Denver.rb → ...3.11/tzinfo/definitions/America/Denver.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/America/Godthab.rb → ....11/tzinfo/definitions/America/Godthab.rb
File renamed without changes
View
0  ...9/tzinfo/definitions/America/Guatemala.rb → ...1/tzinfo/definitions/America/Guatemala.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/America/Halifax.rb → ....11/tzinfo/definitions/America/Halifax.rb
File renamed without changes
View
0  ...finitions/America/Indiana/Indianapolis.rb → ...finitions/America/Indiana/Indianapolis.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/America/Juneau.rb → ...3.11/tzinfo/definitions/America/Juneau.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/America/La_Paz.rb → ...3.11/tzinfo/definitions/America/La_Paz.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/America/Lima.rb → ...0.3.11/tzinfo/definitions/America/Lima.rb
File renamed without changes
View
0  ...tzinfo/definitions/America/Los_Angeles.rb → ...tzinfo/definitions/America/Los_Angeles.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/America/Mazatlan.rb → ...11/tzinfo/definitions/America/Mazatlan.rb
File renamed without changes
View
0  ...tzinfo/definitions/America/Mexico_City.rb → ...tzinfo/definitions/America/Mexico_City.rb
File renamed without changes
View
0  ...9/tzinfo/definitions/America/Monterrey.rb → ...1/tzinfo/definitions/America/Monterrey.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/America/New_York.rb → ...11/tzinfo/definitions/America/New_York.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/America/Phoenix.rb → ....11/tzinfo/definitions/America/Phoenix.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/America/Regina.rb → ...3.11/tzinfo/definitions/America/Regina.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/America/Santiago.rb → ...11/tzinfo/definitions/America/Santiago.rb
File renamed without changes
View
4 ...9/tzinfo/definitions/America/Sao_Paulo.rb → ...1/tzinfo/definitions/America/Sao_Paulo.rb
@@ -5,12 +5,12 @@ module Definitions
module America
module Sao_Paulo
include TimezoneDefinition
-
+
timezone 'America/Sao_Paulo' do |tz|
tz.offset :o0, -11188, 0, :LMT
tz.offset :o1, -10800, 0, :BRT
tz.offset :o2, -10800, 3600, :BRST
-
+
tz.transition 1914, 1, :o1, 52274886397, 21600
tz.transition 1931, 10, :o2, 29119417, 12
tz.transition 1932, 4, :o1, 29121583, 12
View
0  ....9/tzinfo/definitions/America/St_Johns.rb → ...11/tzinfo/definitions/America/St_Johns.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/America/Tijuana.rb → ....11/tzinfo/definitions/America/Tijuana.rb
File renamed without changes
View
0  ...o-0.3.9/tzinfo/definitions/Asia/Almaty.rb → ...-0.3.11/tzinfo/definitions/Asia/Almaty.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Asia/Baghdad.rb → ...0.3.11/tzinfo/definitions/Asia/Baghdad.rb
File renamed without changes
View
0  ...nfo-0.3.9/tzinfo/definitions/Asia/Baku.rb → ...fo-0.3.11/tzinfo/definitions/Asia/Baku.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Asia/Bangkok.rb → ...0.3.11/tzinfo/definitions/Asia/Bangkok.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/Asia/Chongqing.rb → ...3.11/tzinfo/definitions/Asia/Chongqing.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Asia/Colombo.rb → ...0.3.11/tzinfo/definitions/Asia/Colombo.rb
File renamed without changes
View
0  ...fo-0.3.9/tzinfo/definitions/Asia/Dhaka.rb → ...o-0.3.11/tzinfo/definitions/Asia/Dhaka.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/Asia/Hong_Kong.rb → ...3.11/tzinfo/definitions/Asia/Hong_Kong.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Asia/Irkutsk.rb → ...0.3.11/tzinfo/definitions/Asia/Irkutsk.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Asia/Jakarta.rb → ...0.3.11/tzinfo/definitions/Asia/Jakarta.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/Asia/Jerusalem.rb → ...3.11/tzinfo/definitions/Asia/Jerusalem.rb
File renamed without changes
View
0  ...fo-0.3.9/tzinfo/definitions/Asia/Kabul.rb → ...o-0.3.11/tzinfo/definitions/Asia/Kabul.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/Asia/Kamchatka.rb → ...3.11/tzinfo/definitions/Asia/Kamchatka.rb
File renamed without changes
View
2  ...-0.3.9/tzinfo/definitions/Asia/Karachi.rb → ...0.3.11/tzinfo/definitions/Asia/Karachi.rb
@@ -22,7 +22,7 @@ module Karachi
tz.transition 2002, 4, :o5, 1018119660
tz.transition 2002, 10, :o4, 1033840860
tz.transition 2008, 5, :o5, 1212260400
- tz.transition 2008, 8, :o4, 1220205600
+ tz.transition 2008, 10, :o4, 1225476000
end
end
end
View
0  ...0.3.9/tzinfo/definitions/Asia/Katmandu.rb → ....3.11/tzinfo/definitions/Asia/Katmandu.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Asia/Kolkata.rb → ...0.3.11/tzinfo/definitions/Asia/Kolkata.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Asia/Krasnoyarsk.rb → ...11/tzinfo/definitions/Asia/Krasnoyarsk.rb
File renamed without changes
View
0  ...9/tzinfo/definitions/Asia/Kuala_Lumpur.rb → ...1/tzinfo/definitions/Asia/Kuala_Lumpur.rb
File renamed without changes
View
0  ...o-0.3.9/tzinfo/definitions/Asia/Kuwait.rb → ...-0.3.11/tzinfo/definitions/Asia/Kuwait.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Asia/Magadan.rb → ...0.3.11/tzinfo/definitions/Asia/Magadan.rb
File renamed without changes
View
0  ...o-0.3.9/tzinfo/definitions/Asia/Muscat.rb → ...-0.3.11/tzinfo/definitions/Asia/Muscat.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Asia/Novosibirsk.rb → ...11/tzinfo/definitions/Asia/Novosibirsk.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Asia/Rangoon.rb → ...0.3.11/tzinfo/definitions/Asia/Rangoon.rb
File renamed without changes
View
0  ...o-0.3.9/tzinfo/definitions/Asia/Riyadh.rb → ...-0.3.11/tzinfo/definitions/Asia/Riyadh.rb
File renamed without changes
View
0  ...fo-0.3.9/tzinfo/definitions/Asia/Seoul.rb → ...o-0.3.11/tzinfo/definitions/Asia/Seoul.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Asia/Shanghai.rb → ....3.11/tzinfo/definitions/Asia/Shanghai.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/Asia/Singapore.rb → ...3.11/tzinfo/definitions/Asia/Singapore.rb
File renamed without changes
View
0  ...o-0.3.9/tzinfo/definitions/Asia/Taipei.rb → ...-0.3.11/tzinfo/definitions/Asia/Taipei.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Asia/Tashkent.rb → ....3.11/tzinfo/definitions/Asia/Tashkent.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Asia/Tbilisi.rb → ...0.3.11/tzinfo/definitions/Asia/Tbilisi.rb
File renamed without changes
View
0  ...o-0.3.9/tzinfo/definitions/Asia/Tehran.rb → ...-0.3.11/tzinfo/definitions/Asia/Tehran.rb
File renamed without changes
View
0  ...fo-0.3.9/tzinfo/definitions/Asia/Tokyo.rb → ...o-0.3.11/tzinfo/definitions/Asia/Tokyo.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Asia/Ulaanbaatar.rb → ...11/tzinfo/definitions/Asia/Ulaanbaatar.rb
File renamed without changes
View
0  ...o-0.3.9/tzinfo/definitions/Asia/Urumqi.rb → ...-0.3.11/tzinfo/definitions/Asia/Urumqi.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Asia/Vladivostok.rb → ...11/tzinfo/definitions/Asia/Vladivostok.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Asia/Yakutsk.rb → ...0.3.11/tzinfo/definitions/Asia/Yakutsk.rb
File renamed without changes
View
0  .../tzinfo/definitions/Asia/Yekaterinburg.rb → .../tzinfo/definitions/Asia/Yekaterinburg.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Asia/Yerevan.rb → ...0.3.11/tzinfo/definitions/Asia/Yerevan.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/Atlantic/Azores.rb → ....11/tzinfo/definitions/Atlantic/Azores.rb
File renamed without changes
View
0  ...tzinfo/definitions/Atlantic/Cape_Verde.rb → ...tzinfo/definitions/Atlantic/Cape_Verde.rb
File renamed without changes
View
0  ...nfo/definitions/Atlantic/South_Georgia.rb → ...nfo/definitions/Atlantic/South_Georgia.rb
File renamed without changes
View
0  .../tzinfo/definitions/Australia/Adelaide.rb → .../tzinfo/definitions/Australia/Adelaide.rb
File renamed without changes
View
0  .../tzinfo/definitions/Australia/Brisbane.rb → .../tzinfo/definitions/Australia/Brisbane.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Australia/Darwin.rb → ...11/tzinfo/definitions/Australia/Darwin.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Australia/Hobart.rb → ...11/tzinfo/definitions/Australia/Hobart.rb
File renamed without changes
View
0  ...tzinfo/definitions/Australia/Melbourne.rb → ...tzinfo/definitions/Australia/Melbourne.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/Australia/Perth.rb → ....11/tzinfo/definitions/Australia/Perth.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Australia/Sydney.rb → ...11/tzinfo/definitions/Australia/Sydney.rb
File renamed without changes
View
0  ...zinfo-0.3.9/tzinfo/definitions/Etc/UTC.rb → ...info-0.3.11/tzinfo/definitions/Etc/UTC.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Europe/Amsterdam.rb → ...11/tzinfo/definitions/Europe/Amsterdam.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Europe/Athens.rb → ....3.11/tzinfo/definitions/Europe/Athens.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/Europe/Belgrade.rb → ....11/tzinfo/definitions/Europe/Belgrade.rb
File renamed without changes
View
2  ...0.3.9/tzinfo/definitions/Europe/Berlin.rb → ....3.11/tzinfo/definitions/Europe/Berlin.rb
@@ -31,7 +31,7 @@ module Berlin
tz.transition 1945, 11, :o1, 58362661, 24
tz.transition 1946, 4, :o2, 58366189, 24
tz.transition 1946, 10, :o1, 58370413, 24
- tz.transition 1947, 4, :o2, 58374757, 24
+ tz.transition 1947, 4, :o2, 29187379, 12
tz.transition 1947, 5, :o3, 58375597, 24
tz.transition 1947, 6, :o2, 4864731, 2
tz.transition 1947, 10, :o1, 58379125, 24
View
0  ...9/tzinfo/definitions/Europe/Bratislava.rb → ...1/tzinfo/definitions/Europe/Bratislava.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/Europe/Brussels.rb → ....11/tzinfo/definitions/Europe/Brussels.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Europe/Bucharest.rb → ...11/tzinfo/definitions/Europe/Bucharest.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/Europe/Budapest.rb → ....11/tzinfo/definitions/Europe/Budapest.rb
File renamed without changes
View
0  ...9/tzinfo/definitions/Europe/Copenhagen.rb → ...1/tzinfo/definitions/Europe/Copenhagen.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Europe/Dublin.rb → ....3.11/tzinfo/definitions/Europe/Dublin.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/Europe/Helsinki.rb → ....11/tzinfo/definitions/Europe/Helsinki.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/Europe/Istanbul.rb → ....11/tzinfo/definitions/Europe/Istanbul.rb
File renamed without changes
View
0  ...o-0.3.9/tzinfo/definitions/Europe/Kiev.rb → ...-0.3.11/tzinfo/definitions/Europe/Kiev.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Europe/Lisbon.rb → ....3.11/tzinfo/definitions/Europe/Lisbon.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Europe/Ljubljana.rb → ...11/tzinfo/definitions/Europe/Ljubljana.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Europe/London.rb → ....3.11/tzinfo/definitions/Europe/London.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Europe/Madrid.rb → ....3.11/tzinfo/definitions/Europe/Madrid.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Europe/Minsk.rb → ...0.3.11/tzinfo/definitions/Europe/Minsk.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Europe/Moscow.rb → ....3.11/tzinfo/definitions/Europe/Moscow.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Europe/Paris.rb → ...0.3.11/tzinfo/definitions/Europe/Paris.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Europe/Prague.rb → ....3.11/tzinfo/definitions/Europe/Prague.rb
File renamed without changes
View
0  ...o-0.3.9/tzinfo/definitions/Europe/Riga.rb → ...-0.3.11/tzinfo/definitions/Europe/Riga.rb
File renamed without changes
View
0  ...o-0.3.9/tzinfo/definitions/Europe/Rome.rb → ...-0.3.11/tzinfo/definitions/Europe/Rome.rb
File renamed without changes
View
0  ...3.9/tzinfo/definitions/Europe/Sarajevo.rb → ....11/tzinfo/definitions/Europe/Sarajevo.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Europe/Skopje.rb → ....3.11/tzinfo/definitions/Europe/Skopje.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Europe/Sofia.rb → ...0.3.11/tzinfo/definitions/Europe/Sofia.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Europe/Stockholm.rb → ...11/tzinfo/definitions/Europe/Stockholm.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/Europe/Tallinn.rb → ...3.11/tzinfo/definitions/Europe/Tallinn.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Europe/Vienna.rb → ....3.11/tzinfo/definitions/Europe/Vienna.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/Europe/Vilnius.rb → ...3.11/tzinfo/definitions/Europe/Vilnius.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Europe/Warsaw.rb → ....3.11/tzinfo/definitions/Europe/Warsaw.rb
File renamed without changes
View
0  ...0.3.9/tzinfo/definitions/Europe/Zagreb.rb → ....3.11/tzinfo/definitions/Europe/Zagreb.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Pacific/Auckland.rb → ...11/tzinfo/definitions/Pacific/Auckland.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Pacific/Fiji.rb → ...0.3.11/tzinfo/definitions/Pacific/Fiji.rb
File renamed without changes
View
0  ...-0.3.9/tzinfo/definitions/Pacific/Guam.rb → ...0.3.11/tzinfo/definitions/Pacific/Guam.rb
File renamed without changes
View
0  ....9/tzinfo/definitions/Pacific/Honolulu.rb → ...11/tzinfo/definitions/Pacific/Honolulu.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/Pacific/Majuro.rb → ...3.11/tzinfo/definitions/Pacific/Majuro.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/Pacific/Midway.rb → ...3.11/tzinfo/definitions/Pacific/Midway.rb
File renamed without changes
View
0  ....3.9/tzinfo/definitions/Pacific/Noumea.rb → ...3.11/tzinfo/definitions/Pacific/Noumea.rb
File renamed without changes
View
0  ...9/tzinfo/definitions/Pacific/Pago_Pago.rb → ...1/tzinfo/definitions/Pacific/Pago_Pago.rb
File renamed without changes
View
0  ...zinfo/definitions/Pacific/Port_Moresby.rb → ...zinfo/definitions/Pacific/Port_Moresby.rb
File renamed without changes
View
0  ...9/tzinfo/definitions/Pacific/Tongatapu.rb → ...1/tzinfo/definitions/Pacific/Tongatapu.rb
File renamed without changes
View
0  ...ndor/tzinfo-0.3.9/tzinfo/info_timezone.rb → ...dor/tzinfo-0.3.11/tzinfo/info_timezone.rb
File renamed without changes
View
2  ...or/tzinfo-0.3.9/tzinfo/linked_timezone.rb → ...r/tzinfo-0.3.11/tzinfo/linked_timezone.rb
@@ -36,7 +36,7 @@ def period_for_utc(utc)
# 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 ambiguities should be resolved.
+ # 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)
@linked_timezone.periods_for_local(local)
View
0  ...info-0.3.9/tzinfo/linked_timezone_info.rb → ...nfo-0.3.11/tzinfo/linked_timezone_info.rb
File renamed without changes
View
98 activesupport/lib/active_support/vendor/tzinfo-0.3.11/tzinfo/offset_rationals.rb
@@ -0,0 +1,98 @@
+#--
+# 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 'rational'
+require 'tzinfo/ruby_core_support'
+
+module TZInfo
+
+ # Provides a method for getting Rationals for a timezone offset in seconds.
+ # Pre-reduced rationals are returned for all the half-hour intervals between
+ # -14 and +14 hours to avoid having to call gcd at runtime.
+ module OffsetRationals #:nodoc:
+ @@rational_cache = {
+ -50400 => RubyCoreSupport.rational_new!(-7,12),
+ -48600 => RubyCoreSupport.rational_new!(-9,16),
+ -46800 => RubyCoreSupport.rational_new!(-13,24),
+ -45000 => RubyCoreSupport.rational_new!(-25,48),
+ -43200 => RubyCoreSupport.rational_new!(-1,2),
+ -41400 => RubyCoreSupport.rational_new!(-23,48),
+ -39600 => RubyCoreSupport.rational_new!(-11,24),
+ -37800 => RubyCoreSupport.rational_new!(-7,16),
+ -36000 => RubyCoreSupport.rational_new!(-5,12),
+ -34200 => RubyCoreSupport.rational_new!(-19,48),
+ -32400 => RubyCoreSupport.rational_new!(-3,8),
+ -30600 => RubyCoreSupport.rational_new!(-17,48),
+ -28800 => RubyCoreSupport.rational_new!(-1,3),
+ -27000 => RubyCoreSupport.rational_new!(-5,16),
+ -25200 => RubyCoreSupport.rational_new!(-7,24),
+ -23400 => RubyCoreSupport.rational_new!(-13,48),
+ -21600 => RubyCoreSupport.rational_new!(-1,4),
+ -19800 => RubyCoreSupport.rational_new!(-11,48),
+ -18000 => RubyCoreSupport.rational_new!(-5,24),
+ -16200 => RubyCoreSupport.rational_new!(-3,16),
+ -14400 => RubyCoreSupport.rational_new!(-1,6),
+ -12600 => RubyCoreSupport.rational_new!(-7,48),
+ -10800 => RubyCoreSupport.rational_new!(-1,8),
+ -9000 => RubyCoreSupport.rational_new!(-5,48),
+ -7200 => RubyCoreSupport.rational_new!(-1,12),
+ -5400 => RubyCoreSupport.rational_new!(-1,16),
+ -3600 => RubyCoreSupport.rational_new!(-1,24),
+ -1800 => RubyCoreSupport.rational_new!(-1,48),
+ 0 => RubyCoreSupport.rational_new!(0,1),
+ 1800 => RubyCoreSupport.rational_new!(1,48),
+ 3600 => RubyCoreSupport.rational_new!(1,24),
+ 5400 => RubyCoreSupport.rational_new!(1,16),
+ 7200 => RubyCoreSupport.rational_new!(1,12),
+ 9000 => RubyCoreSupport.rational_new!(5,48),
+ 10800 => RubyCoreSupport.rational_new!(1,8),
+ 12600 => RubyCoreSupport.rational_new!(7,48),
+ 14400 => RubyCoreSupport.rational_new!(1,6),
+ 16200 => RubyCoreSupport.rational_new!(3,16),
+ 18000 => RubyCoreSupport.rational_new!(5,24),
+ 19800 => RubyCoreSupport.rational_new!(11,48),
+ 21600 => RubyCoreSupport.rational_new!(1,4),
+ 23400 => RubyCoreSupport.rational_new!(13,48),
+ 25200 => RubyCoreSupport.rational_new!(7,24),
+ 27000 => RubyCoreSupport.rational_new!(5,16),
+ 28800 => RubyCoreSupport.rational_new!(1,3),
+ 30600 => RubyCoreSupport.rational_new!(17,48),
+ 32400 => RubyCoreSupport.rational_new!(3,8),
+ 34200 => RubyCoreSupport.rational_new!(19,48),
+ 36000 => RubyCoreSupport.rational_new!(5,12),
+ 37800 => RubyCoreSupport.rational_new!(7,16),
+ 39600 => RubyCoreSupport.rational_new!(11,24),
+ 41400 => RubyCoreSupport.rational_new!(23,48),
+ 43200 => RubyCoreSupport.rational_new!(1,2),
+ 45000 => RubyCoreSupport.rational_new!(25,48),
+ 46800 => RubyCoreSupport.rational_new!(13,24),
+ 48600 => RubyCoreSupport.rational_new!(9,16),
+ 50400 => RubyCoreSupport.rational_new!(7,12)}
+
+ # Returns a Rational expressing the fraction of a day that offset in
+ # seconds represents (i.e. equivalent to Rational(offset, 86400)).
+ def rational_for_offset(offset)
+ @@rational_cache[offset] || Rational(offset, 86400)
+ end
+ module_function :rational_for_offset
+ end
+end
View
56 activesupport/lib/active_support/vendor/tzinfo-0.3.11/tzinfo/ruby_core_support.rb
@@ -0,0 +1,56 @@
+#--
+# Copyright (c) 2008 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 'date'
+require 'rational'
+
+module TZInfo
+
+ # Methods to support different versions of Ruby.
+ module RubyCoreSupport #:nodoc:
+
+ # Use Rational.new! for performance reasons in Ruby 1.8.
+ # This has been removed from 1.9, but Rational performs better.
+ if Rational.respond_to? :new!
+ def self.rational_new!(numerator, denominator = 1)
+ Rational.new!(numerator, denominator)
+ end
+ else
+ def self.rational_new!(numerator, denominator = 1)
+ Rational(numerator, denominator)
+ end
+ end
+
+ # Ruby 1.8.6 introduced new! and deprecated new0.
+ # Ruby 1.9.0 removed new0.
+ # We still need to support new0 for older versions of Ruby.
+ if DateTime.respond_to? :new!
+ def self.datetime_new!(ajd = 0, of = 0, sg = Date::ITALY)
+ DateTime.new!(ajd, of, sg)
+ end
+ else
+ def self.datetime_new!(ajd = 0, of = 0, sg = Date::ITALY)
+ DateTime.new0(ajd, of, sg)
+ end
+ end
+ end
+end
View
0  ...r/tzinfo-0.3.9/tzinfo/time_or_datetime.rb → .../tzinfo-0.3.11/tzinfo/time_or_datetime.rb
File renamed without changes
View
2  ...rt/vendor/tzinfo-0.3.9/tzinfo/timezone.rb → ...t/vendor/tzinfo-0.3.11/tzinfo/timezone.rb
@@ -121,7 +121,7 @@ def self.get_proxy(identifier)
TimezoneProxy.new(identifier)
end
- # If identifier is nil calls super(), otherwise calls get. An identifier
+ # If identifier is nil calls super(), otherwise calls get. An identfier
# should always be passed in when called externally.
def self.new(identifier = nil)
if identifier
View
0  ...zinfo-0.3.9/tzinfo/timezone_definition.rb → ...info-0.3.11/tzinfo/timezone_definition.rb
File renamed without changes
View
0  ...ndor/tzinfo-0.3.9/tzinfo/timezone_info.rb → ...dor/tzinfo-0.3.11/tzinfo/timezone_info.rb
File renamed without changes
View
0  ...info-0.3.9/tzinfo/timezone_offset_info.rb → ...nfo-0.3.11/tzinfo/timezone_offset_info.rb
File renamed without changes
View
0  ...or/tzinfo-0.3.9/tzinfo/timezone_period.rb → ...r/tzinfo-0.3.11/tzinfo/timezone_period.rb
File renamed without changes
View
15 ...-0.3.9/tzinfo/timezone_transition_info.rb → ...0.3.11/tzinfo/timezone_transition_info.rb
@@ -37,7 +37,7 @@ class TimezoneTransitionInfo #:nodoc:
attr_reader :numerator_or_time
protected :numerator_or_time
- # Either the denominator of the DateTime if the transition time is defined
+ # Either the denominotor of the DateTime if the transition time is defined
# as a DateTime, otherwise nil.
attr_reader :denominator
protected :denominator
@@ -70,17 +70,8 @@ def at
unless @denominator
@at = TimeOrDateTime.new(@numerator_or_time)
else
- r = Rational.send(:new!, @numerator_or_time, @denominator)
-
- # Ruby 1.8.6 introduced new! and deprecated new0.
- # Ruby 1.9.0 removed new0.
- # We still need to support new0 for older versions of Ruby.
- if DateTime.respond_to? :new!
- dt = DateTime.new!(r, 0, Date::ITALY)
- else
- dt = DateTime.new0(r, 0, Date::ITALY)
- end
-
+ r = RubyCoreSupport.rational_new!(@numerator_or_time, @denominator)
+ dt = RubyCoreSupport.datetime_new!(r, 0, Date::ITALY)
@at = TimeOrDateTime.new(dt)
end
end
View
95 activesupport/lib/active_support/vendor/tzinfo-0.3.9/tzinfo/offset_rationals.rb
@@ -1,95 +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.
-#++
-
-module TZInfo
-
- # Provides a method for getting Rationals for a timezone offset in seconds.
- # Pre-reduced rationals are returned for all the half-hour intervals between
- # -14 and +14 hours to avoid having to call gcd at runtime.
- module OffsetRationals #:nodoc:
- @@rational_cache = {
- -50400 => Rational.send(:new!, -7,12),
- -48600 => Rational.send(:new!, -9,16),
- -46800 => Rational.send(:new!, -13,24),
- -45000 => Rational.send(:new!, -25,48),
- -43200 => Rational.send(:new!, -1,2),
- -41400 => Rational.send(:new!, -23,48),
- -39600 => Rational.send(:new!, -11,24),
- -37800 => Rational.send(:new!, -7,16),
- -36000 => Rational.send(:new!, -5,12),
- -34200 => Rational.send(:new!, -19,48),
- -32400 => Rational.send(:new!, -3,8),
- -30600 => Rational.send(:new!, -17,48),
- -28800 => Rational.send(:new!, -1,3),
- -27000 => Rational.send(:new!, -5,16),
- -25200 => Rational.send(:new!, -7,24),
- -23400 => Rational.send(:new!, -13,48),
- -21600 => Rational.send(:new!, -1,4),
- -19800 => Rational.send(:new!, -11,48),
- -18000 => Rational.send(:new!, -5,24),
- -16200 => Rational.send(:new!, -3,16),
- -14400 => Rational.send(:new!, -1,6),
- -12600 => Rational.send(:new!, -7,48),
- -10800 => Rational.send(:new!, -1,8),
- -9000 => Rational.send(:new!, -5,48),
- -7200 => Rational.send(:new!, -1,12),
- -5400 => Rational.send(:new!, -1,16),
- -3600 => Rational.send(:new!, -1,24),
- -1800 => Rational.send(:new!, -1,48),
- 0 => Rational.send(:new!, 0,1),
- 1800 => Rational.send(:new!, 1,48),
- 3600 => Rational.send(:new!, 1,24),
- 5400 => Rational.send(:new!, 1,16),
- 7200 => Rational.send(:new!, 1,12),
- 9000 => Rational.send(:new!, 5,48),
- 10800 => Rational.send(:new!, 1,8),
- 12600 => Rational.send(:new!, 7,48),
- 14400 => Rational.send(:new!, 1,6),
- 16200 => Rational.send(:new!, 3,16),
- 18000 => Rational.send(:new!, 5,24),
- 19800 => Rational.send(:new!, 11,48),
- 21600 => Rational.send(:new!, 1,4),
- 23400 => Rational.send(:new!, 13,48),
- 25200 => Rational.send(:new!, 7,24),
- 27000 => Rational.send(:new!, 5,16),
- 28800 => Rational.send(:new!, 1,3),
- 30600 => Rational.send(:new!, 17,48),
- 32400 => Rational.send(:new!, 3,8),
- 34200 => Rational.send(:new!, 19,48),
- 36000 => Rational.send(:new!, 5,12),
- 37800 => Rational.send(:new!, 7,16),
- 39600 => Rational.send(:new!, 11,24),
- 41400 => Rational.send(:new!, 23,48),
- 43200 => Rational.send(:new!, 1,2),
- 45000 => Rational.send(:new!, 25,48),
- 46800 => Rational.send(:new!, 13,24),
- 48600 => Rational.send(:new!, 9,16),
- 50400 => Rational.send(:new!, 7,12)}
-
- # Returns a Rational expressing the fraction of a day that offset in
- # seconds represents (i.e. equivalent to Rational(offset, 86400)).
- def rational_for_offset(offset)
- @@rational_cache[offset] || Rational(offset, 86400)
- end
- module_function :rational_for_offset
- end
-end

1 comment on commit 93e1bff

@geoffgarside

Think you need to update the active_support/vendor.rb file as well as this still contains a reference to tzinfo 0.3.9

Please sign in to comment.
Something went wrong with that request. Please try again.