activesupport 3.0.0.beta4 → 3.0.pre

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activesupport might be problematic. Click here for more details.

Files changed (333) hide show
  1. data/CHANGELOG +1 -100
  2. data/lib/active_support.rb +4 -38
  3. data/lib/active_support/autoload.rb +28 -0
  4. data/lib/active_support/backtrace_cleaner.rb +9 -31
  5. data/lib/active_support/benchmarkable.rb +0 -1
  6. data/lib/active_support/buffered_logger.rb +1 -0
  7. data/lib/active_support/cache.rb +81 -436
  8. data/lib/active_support/cache/compressed_mem_cache_store.rb +13 -6
  9. data/lib/active_support/cache/file_store.rb +41 -139
  10. data/lib/active_support/cache/mem_cache_store.rb +75 -120
  11. data/lib/active_support/cache/memory_store.rb +27 -127
  12. data/lib/active_support/cache/strategy/local_cache.rb +58 -111
  13. data/lib/active_support/cache/synchronized_memory_store.rb +38 -2
  14. data/lib/active_support/callbacks.rb +48 -87
  15. data/lib/active_support/configurable.rb +18 -19
  16. data/lib/active_support/core_ext/array.rb +0 -1
  17. data/lib/active_support/core_ext/array/access.rb +1 -1
  18. data/lib/active_support/core_ext/array/conversions.rb +54 -29
  19. data/lib/active_support/core_ext/array/extract_options.rb +1 -16
  20. data/lib/active_support/core_ext/array/random_access.rb +5 -19
  21. data/lib/active_support/core_ext/array/wrap.rb +9 -13
  22. data/lib/active_support/core_ext/benchmark.rb +12 -0
  23. data/lib/active_support/core_ext/boolean.rb +1 -0
  24. data/lib/active_support/core_ext/boolean/conversions.rb +11 -0
  25. data/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +0 -2
  26. data/lib/active_support/core_ext/class.rb +1 -1
  27. data/lib/active_support/core_ext/class/attribute_accessors.rb +27 -33
  28. data/lib/active_support/core_ext/class/delegating_attributes.rb +41 -35
  29. data/lib/active_support/core_ext/class/inheritable_attributes.rb +13 -22
  30. data/lib/active_support/core_ext/class/removal.rb +53 -0
  31. data/lib/active_support/core_ext/date.rb +7 -0
  32. data/lib/active_support/core_ext/date/calculations.rb +8 -30
  33. data/lib/active_support/core_ext/date/conversions.rb +2 -2
  34. data/lib/active_support/core_ext/date_time.rb +5 -0
  35. data/lib/active_support/core_ext/date_time/calculations.rb +1 -2
  36. data/lib/active_support/core_ext/date_time/conversions.rb +5 -23
  37. data/lib/active_support/core_ext/enumerable.rb +9 -5
  38. data/lib/active_support/core_ext/exception.rb +47 -0
  39. data/lib/active_support/core_ext/file.rb +0 -1
  40. data/lib/active_support/core_ext/file/atomic.rb +2 -3
  41. data/lib/active_support/core_ext/float/rounding.rb +2 -3
  42. data/lib/active_support/core_ext/hash/conversions.rb +145 -65
  43. data/lib/active_support/core_ext/hash/deep_merge.rb +7 -6
  44. data/lib/active_support/core_ext/hash/except.rb +0 -8
  45. data/lib/active_support/core_ext/hash/indifferent_access.rb +0 -5
  46. data/lib/active_support/core_ext/hash/keys.rb +11 -10
  47. data/lib/active_support/core_ext/hash/slice.rb +0 -6
  48. data/lib/active_support/core_ext/integer.rb +1 -1
  49. data/lib/active_support/core_ext/integer/even_odd.rb +16 -0
  50. data/lib/active_support/core_ext/kernel.rb +1 -1
  51. data/lib/active_support/core_ext/kernel/daemonizing.rb +7 -0
  52. data/lib/active_support/core_ext/kernel/debugger.rb +2 -3
  53. data/lib/active_support/core_ext/kernel/reporting.rb +1 -2
  54. data/lib/active_support/core_ext/load_error.rb +30 -17
  55. data/lib/active_support/core_ext/logger.rb +1 -1
  56. data/lib/active_support/core_ext/module.rb +3 -5
  57. data/lib/active_support/core_ext/module/aliasing.rb +1 -1
  58. data/lib/active_support/core_ext/module/attr_accessor_with_default.rb +1 -1
  59. data/lib/active_support/core_ext/module/attr_internal.rb +2 -2
  60. data/lib/active_support/core_ext/module/attribute_accessors.rb +21 -25
  61. data/lib/active_support/core_ext/module/delegation.rb +10 -21
  62. data/lib/active_support/core_ext/module/inclusion.rb +30 -0
  63. data/lib/active_support/core_ext/module/introspection.rb +8 -8
  64. data/lib/active_support/core_ext/module/loading.rb +23 -0
  65. data/lib/active_support/core_ext/module/synchronization.rb +1 -2
  66. data/lib/active_support/core_ext/name_error.rb +1 -3
  67. data/lib/active_support/core_ext/nil.rb +1 -0
  68. data/lib/active_support/core_ext/nil/conversions.rb +5 -0
  69. data/lib/active_support/core_ext/object.rb +2 -6
  70. data/lib/active_support/core_ext/object/blank.rb +2 -20
  71. data/lib/active_support/core_ext/object/conversions.rb +16 -2
  72. data/lib/active_support/core_ext/object/duplicable.rb +1 -23
  73. data/lib/active_support/core_ext/object/extending.rb +77 -8
  74. data/lib/active_support/core_ext/object/instance_variables.rb +7 -0
  75. data/lib/active_support/core_ext/object/metaclass.rb +13 -0
  76. data/lib/active_support/core_ext/object/misc.rb +1 -0
  77. data/lib/active_support/core_ext/object/tap.rb +16 -0
  78. data/lib/active_support/core_ext/object/with_options.rb +0 -2
  79. data/lib/active_support/core_ext/proc.rb +4 -4
  80. data/lib/active_support/core_ext/regexp.rb +22 -0
  81. data/lib/active_support/core_ext/rexml.rb +1 -4
  82. data/lib/active_support/core_ext/string.rb +2 -3
  83. data/lib/active_support/core_ext/string/access.rb +2 -4
  84. data/lib/active_support/core_ext/string/bytesize.rb +5 -0
  85. data/lib/active_support/core_ext/string/conversions.rb +1 -36
  86. data/lib/active_support/core_ext/string/filters.rb +0 -29
  87. data/lib/active_support/core_ext/string/inflections.rb +12 -1
  88. data/lib/active_support/core_ext/string/interpolation.rb +92 -2
  89. data/lib/active_support/core_ext/string/iterators.rb +13 -0
  90. data/lib/active_support/core_ext/string/multibyte.rb +19 -16
  91. data/lib/active_support/core_ext/string/output_safety.rb +35 -101
  92. data/lib/active_support/core_ext/string/starts_ends_with.rb +14 -0
  93. data/lib/active_support/core_ext/string/xchar.rb +1 -1
  94. data/lib/active_support/core_ext/symbol.rb +1 -0
  95. data/lib/active_support/core_ext/symbol/to_proc.rb +14 -0
  96. data/lib/active_support/core_ext/time.rb +10 -0
  97. data/lib/active_support/core_ext/time/calculations.rb +7 -9
  98. data/lib/active_support/core_ext/time/conversions.rb +0 -1
  99. data/lib/active_support/core_ext/time/marshal_with_utc_flag.rb +22 -0
  100. data/lib/active_support/core_ext/uri.rb +4 -10
  101. data/lib/active_support/dependencies.rb +192 -179
  102. data/lib/active_support/deprecated_callbacks.rb +283 -0
  103. data/lib/active_support/deprecation/behaviors.rb +1 -1
  104. data/lib/active_support/deprecation/method_wrappers.rb +9 -10
  105. data/lib/active_support/deprecation/reporting.rb +1 -2
  106. data/lib/active_support/duration.rb +2 -6
  107. data/lib/active_support/hash_with_indifferent_access.rb +1 -9
  108. data/lib/active_support/inflections.rb +1 -1
  109. data/lib/active_support/inflector.rb +407 -4
  110. data/lib/active_support/json/backends/jsongem.rb +9 -12
  111. data/lib/active_support/json/decoding.rb +1 -16
  112. data/lib/active_support/json/encoding.rb +12 -42
  113. data/lib/active_support/locale/en.yml +1 -4
  114. data/lib/active_support/memoizable.rb +1 -1
  115. data/lib/active_support/message_encryptor.rb +0 -1
  116. data/lib/active_support/message_verifier.rb +5 -6
  117. data/lib/active_support/multibyte.rb +22 -7
  118. data/lib/active_support/multibyte/chars.rb +392 -164
  119. data/lib/active_support/multibyte/unicode_database.rb +71 -0
  120. data/lib/active_support/multibyte/utils.rb +7 -6
  121. data/lib/active_support/notifications.rb +113 -23
  122. data/lib/active_support/ordered_hash.rb +11 -35
  123. data/lib/active_support/ordered_options.rb +0 -6
  124. data/lib/active_support/rescuable.rb +4 -7
  125. data/lib/active_support/ruby/shim.rb +6 -4
  126. data/lib/active_support/test_case.rb +7 -2
  127. data/lib/active_support/testing/assertions.rb +0 -15
  128. data/lib/active_support/testing/declarative.rb +1 -1
  129. data/lib/active_support/testing/isolation.rb +19 -63
  130. data/lib/active_support/testing/performance.rb +337 -342
  131. data/lib/active_support/testing/setup_and_teardown.rb +29 -51
  132. data/lib/active_support/time.rb +3 -23
  133. data/lib/active_support/time_with_zone.rb +10 -5
  134. data/lib/active_support/values/time_zone.rb +84 -40
  135. data/lib/active_support/values/unicode_tables.dat +0 -0
  136. data/lib/active_support/vendor.rb +16 -0
  137. data/lib/active_support/vendor/builder-2.1.2/lib/blankslate.rb +113 -0
  138. data/lib/active_support/vendor/builder-2.1.2/lib/builder.rb +13 -0
  139. data/lib/active_support/vendor/builder-2.1.2/lib/builder/blankslate.rb +20 -0
  140. data/lib/active_support/vendor/builder-2.1.2/lib/builder/css.rb +250 -0
  141. data/lib/active_support/vendor/builder-2.1.2/lib/builder/xchar.rb +115 -0
  142. data/lib/active_support/vendor/builder-2.1.2/lib/builder/xmlbase.rb +139 -0
  143. data/lib/active_support/vendor/builder-2.1.2/lib/builder/xmlevents.rb +63 -0
  144. data/lib/active_support/vendor/builder-2.1.2/lib/builder/xmlmarkup.rb +328 -0
  145. data/lib/active_support/vendor/i18n-0.1.3/MIT-LICENSE +20 -0
  146. data/lib/active_support/vendor/i18n-0.1.3/README.textile +20 -0
  147. data/lib/active_support/vendor/i18n-0.1.3/Rakefile +5 -0
  148. data/lib/active_support/vendor/i18n-0.1.3/i18n.gemspec +27 -0
  149. data/lib/active_support/vendor/i18n-0.1.3/lib/i18n.rb +204 -0
  150. data/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb +215 -0
  151. data/lib/active_support/vendor/i18n-0.1.3/lib/i18n/exceptions.rb +53 -0
  152. data/lib/active_support/vendor/i18n-0.1.3/test/all.rb +5 -0
  153. data/lib/active_support/vendor/i18n-0.1.3/test/i18n_exceptions_test.rb +99 -0
  154. data/lib/active_support/vendor/i18n-0.1.3/test/i18n_test.rb +124 -0
  155. data/lib/active_support/vendor/i18n-0.1.3/test/locale/en.rb +1 -0
  156. data/lib/active_support/vendor/i18n-0.1.3/test/locale/en.yml +3 -0
  157. data/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb +567 -0
  158. data/lib/active_support/vendor/memcache-client-1.7.5/lib/memcache.rb +1133 -0
  159. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo.rb +33 -0
  160. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/data_timezone.rb +47 -0
  161. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/data_timezone_info.rb +228 -0
  162. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Africa/Algiers.rb +55 -0
  163. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Africa/Cairo.rb +219 -0
  164. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Africa/Casablanca.rb +42 -0
  165. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Africa/Harare.rb +18 -0
  166. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Africa/Johannesburg.rb +25 -0
  167. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Africa/Monrovia.rb +22 -0
  168. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Africa/Nairobi.rb +23 -0
  169. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +166 -0
  170. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Argentina/San_Juan.rb +86 -0
  171. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Bogota.rb +23 -0
  172. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Caracas.rb +23 -0
  173. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Chicago.rb +283 -0
  174. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Chihuahua.rb +136 -0
  175. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Denver.rb +204 -0
  176. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Godthab.rb +161 -0
  177. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Guatemala.rb +27 -0
  178. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Halifax.rb +274 -0
  179. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Indiana/Indianapolis.rb +149 -0
  180. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Juneau.rb +194 -0
  181. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/La_Paz.rb +22 -0
  182. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Lima.rb +35 -0
  183. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Los_Angeles.rb +232 -0
  184. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Mazatlan.rb +139 -0
  185. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Mexico_City.rb +144 -0
  186. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Monterrey.rb +131 -0
  187. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/New_York.rb +282 -0
  188. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Phoenix.rb +30 -0
  189. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Regina.rb +74 -0
  190. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Santiago.rb +205 -0
  191. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Sao_Paulo.rb +171 -0
  192. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/St_Johns.rb +288 -0
  193. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/America/Tijuana.rb +196 -0
  194. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Almaty.rb +67 -0
  195. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Baghdad.rb +73 -0
  196. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Baku.rb +161 -0
  197. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Bangkok.rb +20 -0
  198. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Chongqing.rb +33 -0
  199. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Colombo.rb +30 -0
  200. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Dhaka.rb +27 -0
  201. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Hong_Kong.rb +87 -0
  202. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Irkutsk.rb +165 -0
  203. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Jakarta.rb +30 -0
  204. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Jerusalem.rb +163 -0
  205. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Kabul.rb +20 -0
  206. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Kamchatka.rb +163 -0
  207. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Karachi.rb +32 -0
  208. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Kathmandu.rb +20 -0
  209. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Kolkata.rb +25 -0
  210. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Krasnoyarsk.rb +163 -0
  211. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Kuala_Lumpur.rb +31 -0
  212. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Kuwait.rb +18 -0
  213. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Magadan.rb +163 -0
  214. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Muscat.rb +18 -0
  215. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Novosibirsk.rb +164 -0
  216. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Rangoon.rb +24 -0
  217. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Riyadh.rb +18 -0
  218. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Seoul.rb +34 -0
  219. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Shanghai.rb +35 -0
  220. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Singapore.rb +33 -0
  221. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Taipei.rb +59 -0
  222. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Tashkent.rb +47 -0
  223. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Tbilisi.rb +78 -0
  224. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Tehran.rb +121 -0
  225. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Tokyo.rb +30 -0
  226. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Ulaanbaatar.rb +65 -0
  227. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Urumqi.rb +33 -0
  228. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Vladivostok.rb +164 -0
  229. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Yakutsk.rb +163 -0
  230. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Yekaterinburg.rb +165 -0
  231. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Asia/Yerevan.rb +165 -0
  232. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Atlantic/Azores.rb +270 -0
  233. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Atlantic/Cape_Verde.rb +23 -0
  234. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Atlantic/South_Georgia.rb +18 -0
  235. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Australia/Adelaide.rb +187 -0
  236. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Australia/Brisbane.rb +35 -0
  237. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Australia/Darwin.rb +29 -0
  238. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Australia/Hobart.rb +193 -0
  239. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Australia/Melbourne.rb +185 -0
  240. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Australia/Perth.rb +37 -0
  241. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Australia/Sydney.rb +185 -0
  242. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Etc/UTC.rb +16 -0
  243. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Amsterdam.rb +228 -0
  244. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Athens.rb +185 -0
  245. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Belgrade.rb +163 -0
  246. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Berlin.rb +188 -0
  247. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Bratislava.rb +13 -0
  248. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Brussels.rb +232 -0
  249. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Bucharest.rb +181 -0
  250. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Budapest.rb +197 -0
  251. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Copenhagen.rb +179 -0
  252. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Dublin.rb +276 -0
  253. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Helsinki.rb +163 -0
  254. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Istanbul.rb +218 -0
  255. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Kiev.rb +168 -0
  256. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Lisbon.rb +268 -0
  257. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Ljubljana.rb +13 -0
  258. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/London.rb +288 -0
  259. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Madrid.rb +211 -0
  260. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Minsk.rb +170 -0
  261. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Moscow.rb +181 -0
  262. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Paris.rb +232 -0
  263. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Prague.rb +187 -0
  264. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Riga.rb +176 -0
  265. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Rome.rb +215 -0
  266. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Sarajevo.rb +13 -0
  267. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Skopje.rb +13 -0
  268. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Sofia.rb +173 -0
  269. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Stockholm.rb +165 -0
  270. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Tallinn.rb +172 -0
  271. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Vienna.rb +183 -0
  272. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Vilnius.rb +170 -0
  273. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Warsaw.rb +212 -0
  274. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Europe/Zagreb.rb +13 -0
  275. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Pacific/Auckland.rb +202 -0
  276. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Pacific/Fiji.rb +23 -0
  277. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Pacific/Guam.rb +22 -0
  278. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Pacific/Honolulu.rb +28 -0
  279. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Pacific/Majuro.rb +20 -0
  280. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Pacific/Midway.rb +25 -0
  281. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Pacific/Noumea.rb +25 -0
  282. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Pacific/Pago_Pago.rb +26 -0
  283. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Pacific/Port_Moresby.rb +20 -0
  284. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/definitions/Pacific/Tongatapu.rb +27 -0
  285. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/info_timezone.rb +52 -0
  286. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/linked_timezone.rb +51 -0
  287. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/linked_timezone_info.rb +44 -0
  288. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/offset_rationals.rb +98 -0
  289. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/ruby_core_support.rb +56 -0
  290. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/time_or_datetime.rb +292 -0
  291. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/timezone.rb +508 -0
  292. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/timezone_definition.rb +56 -0
  293. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/timezone_info.rb +40 -0
  294. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/timezone_offset_info.rb +94 -0
  295. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/timezone_period.rb +198 -0
  296. data/lib/active_support/vendor/tzinfo-0.3.13/lib/tzinfo/timezone_transition_info.rb +129 -0
  297. data/lib/active_support/version.rb +2 -3
  298. data/lib/active_support/whiny_nil.rb +7 -9
  299. data/lib/active_support/xml_mini.rb +1 -126
  300. data/lib/active_support/xml_mini/jdom.rb +0 -2
  301. data/lib/active_support/xml_mini/libxml.rb +86 -24
  302. data/lib/active_support/xml_mini/nokogiri.rb +24 -27
  303. data/lib/active_support/xml_mini/rexml.rb +1 -7
  304. metadata +191 -49
  305. data/lib/active_support/builder.rb +0 -6
  306. data/lib/active_support/core_ext/array/uniq_by.rb +0 -17
  307. data/lib/active_support/core_ext/class/attribute.rb +0 -67
  308. data/lib/active_support/core_ext/class/subclasses.rb +0 -55
  309. data/lib/active_support/core_ext/file/path.rb +0 -5
  310. data/lib/active_support/core_ext/integer/multiple.rb +0 -6
  311. data/lib/active_support/core_ext/kernel/singleton_class.rb +0 -13
  312. data/lib/active_support/core_ext/module/anonymous.rb +0 -24
  313. data/lib/active_support/core_ext/module/method_names.rb +0 -14
  314. data/lib/active_support/core_ext/module/reachable.rb +0 -10
  315. data/lib/active_support/core_ext/module/remove_method.rb +0 -6
  316. data/lib/active_support/core_ext/object/to_param.rb +0 -49
  317. data/lib/active_support/core_ext/object/to_query.rb +0 -27
  318. data/lib/active_support/core_ext/string/encoding.rb +0 -11
  319. data/lib/active_support/core_ext/string/exclude.rb +0 -6
  320. data/lib/active_support/core_ext/time/marshal.rb +0 -56
  321. data/lib/active_support/dependencies/autoload.rb +0 -50
  322. data/lib/active_support/i18n.rb +0 -8
  323. data/lib/active_support/inflector/inflections.rb +0 -211
  324. data/lib/active_support/inflector/methods.rb +0 -141
  325. data/lib/active_support/inflector/transliterate.rb +0 -97
  326. data/lib/active_support/json/backends/yajl.rb +0 -40
  327. data/lib/active_support/lazy_load_hooks.rb +0 -27
  328. data/lib/active_support/multibyte/unicode.rb +0 -393
  329. data/lib/active_support/notifications/fanout.rb +0 -93
  330. data/lib/active_support/notifications/instrumenter.rb +0 -56
  331. data/lib/active_support/railtie.rb +0 -100
  332. data/lib/active_support/xml_mini/libxmlsax.rb +0 -85
  333. data/lib/active_support/xml_mini/nokogirisax.rb +0 -83
@@ -0,0 +1,165 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Yekaterinburg
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Yekaterinburg' do |tz|
10
+ tz.offset :o0, 14544, 0, :LMT
11
+ tz.offset :o1, 14400, 0, :SVET
12
+ tz.offset :o2, 18000, 0, :SVET
13
+ tz.offset :o3, 18000, 3600, :SVEST
14
+ tz.offset :o4, 14400, 3600, :SVEST
15
+ tz.offset :o5, 18000, 0, :YEKT
16
+ tz.offset :o6, 18000, 3600, :YEKST
17
+
18
+ tz.transition 1919, 7, :o1, 1453292699, 600
19
+ tz.transition 1930, 6, :o2, 7278445, 3
20
+ tz.transition 1981, 3, :o3, 354913200
21
+ tz.transition 1981, 9, :o2, 370720800
22
+ tz.transition 1982, 3, :o3, 386449200
23
+ tz.transition 1982, 9, :o2, 402256800
24
+ tz.transition 1983, 3, :o3, 417985200
25
+ tz.transition 1983, 9, :o2, 433792800
26
+ tz.transition 1984, 3, :o3, 449607600
27
+ tz.transition 1984, 9, :o2, 465339600
28
+ tz.transition 1985, 3, :o3, 481064400
29
+ tz.transition 1985, 9, :o2, 496789200
30
+ tz.transition 1986, 3, :o3, 512514000
31
+ tz.transition 1986, 9, :o2, 528238800
32
+ tz.transition 1987, 3, :o3, 543963600
33
+ tz.transition 1987, 9, :o2, 559688400
34
+ tz.transition 1988, 3, :o3, 575413200
35
+ tz.transition 1988, 9, :o2, 591138000
36
+ tz.transition 1989, 3, :o3, 606862800
37
+ tz.transition 1989, 9, :o2, 622587600
38
+ tz.transition 1990, 3, :o3, 638312400
39
+ tz.transition 1990, 9, :o2, 654642000
40
+ tz.transition 1991, 3, :o4, 670366800
41
+ tz.transition 1991, 9, :o1, 686095200
42
+ tz.transition 1992, 1, :o5, 695772000
43
+ tz.transition 1992, 3, :o6, 701805600
44
+ tz.transition 1992, 9, :o5, 717526800
45
+ tz.transition 1993, 3, :o6, 733266000
46
+ tz.transition 1993, 9, :o5, 748990800
47
+ tz.transition 1994, 3, :o6, 764715600
48
+ tz.transition 1994, 9, :o5, 780440400
49
+ tz.transition 1995, 3, :o6, 796165200
50
+ tz.transition 1995, 9, :o5, 811890000
51
+ tz.transition 1996, 3, :o6, 828219600
52
+ tz.transition 1996, 10, :o5, 846363600
53
+ tz.transition 1997, 3, :o6, 859669200
54
+ tz.transition 1997, 10, :o5, 877813200
55
+ tz.transition 1998, 3, :o6, 891118800
56
+ tz.transition 1998, 10, :o5, 909262800
57
+ tz.transition 1999, 3, :o6, 922568400
58
+ tz.transition 1999, 10, :o5, 941317200
59
+ tz.transition 2000, 3, :o6, 954018000
60
+ tz.transition 2000, 10, :o5, 972766800
61
+ tz.transition 2001, 3, :o6, 985467600
62
+ tz.transition 2001, 10, :o5, 1004216400
63
+ tz.transition 2002, 3, :o6, 1017522000
64
+ tz.transition 2002, 10, :o5, 1035666000
65
+ tz.transition 2003, 3, :o6, 1048971600
66
+ tz.transition 2003, 10, :o5, 1067115600
67
+ tz.transition 2004, 3, :o6, 1080421200
68
+ tz.transition 2004, 10, :o5, 1099170000
69
+ tz.transition 2005, 3, :o6, 1111870800
70
+ tz.transition 2005, 10, :o5, 1130619600
71
+ tz.transition 2006, 3, :o6, 1143320400
72
+ tz.transition 2006, 10, :o5, 1162069200
73
+ tz.transition 2007, 3, :o6, 1174770000
74
+ tz.transition 2007, 10, :o5, 1193518800
75
+ tz.transition 2008, 3, :o6, 1206824400
76
+ tz.transition 2008, 10, :o5, 1224968400
77
+ tz.transition 2009, 3, :o6, 1238274000
78
+ tz.transition 2009, 10, :o5, 1256418000
79
+ tz.transition 2010, 3, :o6, 1269723600
80
+ tz.transition 2010, 10, :o5, 1288472400
81
+ tz.transition 2011, 3, :o6, 1301173200
82
+ tz.transition 2011, 10, :o5, 1319922000
83
+ tz.transition 2012, 3, :o6, 1332622800
84
+ tz.transition 2012, 10, :o5, 1351371600
85
+ tz.transition 2013, 3, :o6, 1364677200
86
+ tz.transition 2013, 10, :o5, 1382821200
87
+ tz.transition 2014, 3, :o6, 1396126800
88
+ tz.transition 2014, 10, :o5, 1414270800
89
+ tz.transition 2015, 3, :o6, 1427576400
90
+ tz.transition 2015, 10, :o5, 1445720400
91
+ tz.transition 2016, 3, :o6, 1459026000
92
+ tz.transition 2016, 10, :o5, 1477774800
93
+ tz.transition 2017, 3, :o6, 1490475600
94
+ tz.transition 2017, 10, :o5, 1509224400
95
+ tz.transition 2018, 3, :o6, 1521925200
96
+ tz.transition 2018, 10, :o5, 1540674000
97
+ tz.transition 2019, 3, :o6, 1553979600
98
+ tz.transition 2019, 10, :o5, 1572123600
99
+ tz.transition 2020, 3, :o6, 1585429200
100
+ tz.transition 2020, 10, :o5, 1603573200
101
+ tz.transition 2021, 3, :o6, 1616878800
102
+ tz.transition 2021, 10, :o5, 1635627600
103
+ tz.transition 2022, 3, :o6, 1648328400
104
+ tz.transition 2022, 10, :o5, 1667077200
105
+ tz.transition 2023, 3, :o6, 1679778000
106
+ tz.transition 2023, 10, :o5, 1698526800
107
+ tz.transition 2024, 3, :o6, 1711832400
108
+ tz.transition 2024, 10, :o5, 1729976400
109
+ tz.transition 2025, 3, :o6, 1743282000
110
+ tz.transition 2025, 10, :o5, 1761426000
111
+ tz.transition 2026, 3, :o6, 1774731600
112
+ tz.transition 2026, 10, :o5, 1792875600
113
+ tz.transition 2027, 3, :o6, 1806181200
114
+ tz.transition 2027, 10, :o5, 1824930000
115
+ tz.transition 2028, 3, :o6, 1837630800
116
+ tz.transition 2028, 10, :o5, 1856379600
117
+ tz.transition 2029, 3, :o6, 1869080400
118
+ tz.transition 2029, 10, :o5, 1887829200
119
+ tz.transition 2030, 3, :o6, 1901134800
120
+ tz.transition 2030, 10, :o5, 1919278800
121
+ tz.transition 2031, 3, :o6, 1932584400
122
+ tz.transition 2031, 10, :o5, 1950728400
123
+ tz.transition 2032, 3, :o6, 1964034000
124
+ tz.transition 2032, 10, :o5, 1982782800
125
+ tz.transition 2033, 3, :o6, 1995483600
126
+ tz.transition 2033, 10, :o5, 2014232400
127
+ tz.transition 2034, 3, :o6, 2026933200
128
+ tz.transition 2034, 10, :o5, 2045682000
129
+ tz.transition 2035, 3, :o6, 2058382800
130
+ tz.transition 2035, 10, :o5, 2077131600
131
+ tz.transition 2036, 3, :o6, 2090437200
132
+ tz.transition 2036, 10, :o5, 2108581200
133
+ tz.transition 2037, 3, :o6, 2121886800
134
+ tz.transition 2037, 10, :o5, 2140030800
135
+ tz.transition 2038, 3, :o6, 19724083, 8
136
+ tz.transition 2038, 10, :o5, 19725819, 8
137
+ tz.transition 2039, 3, :o6, 19726995, 8
138
+ tz.transition 2039, 10, :o5, 19728731, 8
139
+ tz.transition 2040, 3, :o6, 19729907, 8
140
+ tz.transition 2040, 10, :o5, 19731643, 8
141
+ tz.transition 2041, 3, :o6, 19732875, 8
142
+ tz.transition 2041, 10, :o5, 19734555, 8
143
+ tz.transition 2042, 3, :o6, 19735787, 8
144
+ tz.transition 2042, 10, :o5, 19737467, 8
145
+ tz.transition 2043, 3, :o6, 19738699, 8
146
+ tz.transition 2043, 10, :o5, 19740379, 8
147
+ tz.transition 2044, 3, :o6, 19741611, 8
148
+ tz.transition 2044, 10, :o5, 19743347, 8
149
+ tz.transition 2045, 3, :o6, 19744523, 8
150
+ tz.transition 2045, 10, :o5, 19746259, 8
151
+ tz.transition 2046, 3, :o6, 19747435, 8
152
+ tz.transition 2046, 10, :o5, 19749171, 8
153
+ tz.transition 2047, 3, :o6, 19750403, 8
154
+ tz.transition 2047, 10, :o5, 19752083, 8
155
+ tz.transition 2048, 3, :o6, 19753315, 8
156
+ tz.transition 2048, 10, :o5, 19754995, 8
157
+ tz.transition 2049, 3, :o6, 19756227, 8
158
+ tz.transition 2049, 10, :o5, 19757963, 8
159
+ tz.transition 2050, 3, :o6, 19759139, 8
160
+ tz.transition 2050, 10, :o5, 19760875, 8
161
+ end
162
+ end
163
+ end
164
+ end
165
+ end
@@ -0,0 +1,165 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Yerevan
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Yerevan' do |tz|
10
+ tz.offset :o0, 10680, 0, :LMT
11
+ tz.offset :o1, 10800, 0, :YERT
12
+ tz.offset :o2, 14400, 0, :YERT
13
+ tz.offset :o3, 14400, 3600, :YERST
14
+ tz.offset :o4, 10800, 3600, :YERST
15
+ tz.offset :o5, 10800, 3600, :AMST
16
+ tz.offset :o6, 10800, 0, :AMT
17
+ tz.offset :o7, 14400, 0, :AMT
18
+ tz.offset :o8, 14400, 3600, :AMST
19
+
20
+ tz.transition 1924, 5, :o1, 1745213311, 720
21
+ tz.transition 1957, 2, :o2, 19487187, 8
22
+ tz.transition 1981, 3, :o3, 354916800
23
+ tz.transition 1981, 9, :o2, 370724400
24
+ tz.transition 1982, 3, :o3, 386452800
25
+ tz.transition 1982, 9, :o2, 402260400
26
+ tz.transition 1983, 3, :o3, 417988800
27
+ tz.transition 1983, 9, :o2, 433796400
28
+ tz.transition 1984, 3, :o3, 449611200
29
+ tz.transition 1984, 9, :o2, 465343200
30
+ tz.transition 1985, 3, :o3, 481068000
31
+ tz.transition 1985, 9, :o2, 496792800
32
+ tz.transition 1986, 3, :o3, 512517600
33
+ tz.transition 1986, 9, :o2, 528242400
34
+ tz.transition 1987, 3, :o3, 543967200
35
+ tz.transition 1987, 9, :o2, 559692000
36
+ tz.transition 1988, 3, :o3, 575416800
37
+ tz.transition 1988, 9, :o2, 591141600
38
+ tz.transition 1989, 3, :o3, 606866400
39
+ tz.transition 1989, 9, :o2, 622591200
40
+ tz.transition 1990, 3, :o3, 638316000
41
+ tz.transition 1990, 9, :o2, 654645600
42
+ tz.transition 1991, 3, :o4, 670370400
43
+ tz.transition 1991, 9, :o5, 685569600
44
+ tz.transition 1991, 9, :o6, 686098800
45
+ tz.transition 1992, 3, :o5, 701812800
46
+ tz.transition 1992, 9, :o6, 717534000
47
+ tz.transition 1993, 3, :o5, 733273200
48
+ tz.transition 1993, 9, :o6, 748998000
49
+ tz.transition 1994, 3, :o5, 764722800
50
+ tz.transition 1994, 9, :o6, 780447600
51
+ tz.transition 1995, 3, :o5, 796172400
52
+ tz.transition 1995, 9, :o7, 811897200
53
+ tz.transition 1997, 3, :o8, 859672800
54
+ tz.transition 1997, 10, :o7, 877816800
55
+ tz.transition 1998, 3, :o8, 891122400
56
+ tz.transition 1998, 10, :o7, 909266400
57
+ tz.transition 1999, 3, :o8, 922572000
58
+ tz.transition 1999, 10, :o7, 941320800
59
+ tz.transition 2000, 3, :o8, 954021600
60
+ tz.transition 2000, 10, :o7, 972770400
61
+ tz.transition 2001, 3, :o8, 985471200
62
+ tz.transition 2001, 10, :o7, 1004220000
63
+ tz.transition 2002, 3, :o8, 1017525600
64
+ tz.transition 2002, 10, :o7, 1035669600
65
+ tz.transition 2003, 3, :o8, 1048975200
66
+ tz.transition 2003, 10, :o7, 1067119200
67
+ tz.transition 2004, 3, :o8, 1080424800
68
+ tz.transition 2004, 10, :o7, 1099173600
69
+ tz.transition 2005, 3, :o8, 1111874400
70
+ tz.transition 2005, 10, :o7, 1130623200
71
+ tz.transition 2006, 3, :o8, 1143324000
72
+ tz.transition 2006, 10, :o7, 1162072800
73
+ tz.transition 2007, 3, :o8, 1174773600
74
+ tz.transition 2007, 10, :o7, 1193522400
75
+ tz.transition 2008, 3, :o8, 1206828000
76
+ tz.transition 2008, 10, :o7, 1224972000
77
+ tz.transition 2009, 3, :o8, 1238277600
78
+ tz.transition 2009, 10, :o7, 1256421600
79
+ tz.transition 2010, 3, :o8, 1269727200
80
+ tz.transition 2010, 10, :o7, 1288476000
81
+ tz.transition 2011, 3, :o8, 1301176800
82
+ tz.transition 2011, 10, :o7, 1319925600
83
+ tz.transition 2012, 3, :o8, 1332626400
84
+ tz.transition 2012, 10, :o7, 1351375200
85
+ tz.transition 2013, 3, :o8, 1364680800
86
+ tz.transition 2013, 10, :o7, 1382824800
87
+ tz.transition 2014, 3, :o8, 1396130400
88
+ tz.transition 2014, 10, :o7, 1414274400
89
+ tz.transition 2015, 3, :o8, 1427580000
90
+ tz.transition 2015, 10, :o7, 1445724000
91
+ tz.transition 2016, 3, :o8, 1459029600
92
+ tz.transition 2016, 10, :o7, 1477778400
93
+ tz.transition 2017, 3, :o8, 1490479200
94
+ tz.transition 2017, 10, :o7, 1509228000
95
+ tz.transition 2018, 3, :o8, 1521928800
96
+ tz.transition 2018, 10, :o7, 1540677600
97
+ tz.transition 2019, 3, :o8, 1553983200
98
+ tz.transition 2019, 10, :o7, 1572127200
99
+ tz.transition 2020, 3, :o8, 1585432800
100
+ tz.transition 2020, 10, :o7, 1603576800
101
+ tz.transition 2021, 3, :o8, 1616882400
102
+ tz.transition 2021, 10, :o7, 1635631200
103
+ tz.transition 2022, 3, :o8, 1648332000
104
+ tz.transition 2022, 10, :o7, 1667080800
105
+ tz.transition 2023, 3, :o8, 1679781600
106
+ tz.transition 2023, 10, :o7, 1698530400
107
+ tz.transition 2024, 3, :o8, 1711836000
108
+ tz.transition 2024, 10, :o7, 1729980000
109
+ tz.transition 2025, 3, :o8, 1743285600
110
+ tz.transition 2025, 10, :o7, 1761429600
111
+ tz.transition 2026, 3, :o8, 1774735200
112
+ tz.transition 2026, 10, :o7, 1792879200
113
+ tz.transition 2027, 3, :o8, 1806184800
114
+ tz.transition 2027, 10, :o7, 1824933600
115
+ tz.transition 2028, 3, :o8, 1837634400
116
+ tz.transition 2028, 10, :o7, 1856383200
117
+ tz.transition 2029, 3, :o8, 1869084000
118
+ tz.transition 2029, 10, :o7, 1887832800
119
+ tz.transition 2030, 3, :o8, 1901138400
120
+ tz.transition 2030, 10, :o7, 1919282400
121
+ tz.transition 2031, 3, :o8, 1932588000
122
+ tz.transition 2031, 10, :o7, 1950732000
123
+ tz.transition 2032, 3, :o8, 1964037600
124
+ tz.transition 2032, 10, :o7, 1982786400
125
+ tz.transition 2033, 3, :o8, 1995487200
126
+ tz.transition 2033, 10, :o7, 2014236000
127
+ tz.transition 2034, 3, :o8, 2026936800
128
+ tz.transition 2034, 10, :o7, 2045685600
129
+ tz.transition 2035, 3, :o8, 2058386400
130
+ tz.transition 2035, 10, :o7, 2077135200
131
+ tz.transition 2036, 3, :o8, 2090440800
132
+ tz.transition 2036, 10, :o7, 2108584800
133
+ tz.transition 2037, 3, :o8, 2121890400
134
+ tz.transition 2037, 10, :o7, 2140034400
135
+ tz.transition 2038, 3, :o8, 29586125, 12
136
+ tz.transition 2038, 10, :o7, 29588729, 12
137
+ tz.transition 2039, 3, :o8, 29590493, 12
138
+ tz.transition 2039, 10, :o7, 29593097, 12
139
+ tz.transition 2040, 3, :o8, 29594861, 12
140
+ tz.transition 2040, 10, :o7, 29597465, 12
141
+ tz.transition 2041, 3, :o8, 29599313, 12
142
+ tz.transition 2041, 10, :o7, 29601833, 12
143
+ tz.transition 2042, 3, :o8, 29603681, 12
144
+ tz.transition 2042, 10, :o7, 29606201, 12
145
+ tz.transition 2043, 3, :o8, 29608049, 12
146
+ tz.transition 2043, 10, :o7, 29610569, 12
147
+ tz.transition 2044, 3, :o8, 29612417, 12
148
+ tz.transition 2044, 10, :o7, 29615021, 12
149
+ tz.transition 2045, 3, :o8, 29616785, 12
150
+ tz.transition 2045, 10, :o7, 29619389, 12
151
+ tz.transition 2046, 3, :o8, 29621153, 12
152
+ tz.transition 2046, 10, :o7, 29623757, 12
153
+ tz.transition 2047, 3, :o8, 29625605, 12
154
+ tz.transition 2047, 10, :o7, 29628125, 12
155
+ tz.transition 2048, 3, :o8, 29629973, 12
156
+ tz.transition 2048, 10, :o7, 29632493, 12
157
+ tz.transition 2049, 3, :o8, 29634341, 12
158
+ tz.transition 2049, 10, :o7, 29636945, 12
159
+ tz.transition 2050, 3, :o8, 29638709, 12
160
+ tz.transition 2050, 10, :o7, 29641313, 12
161
+ end
162
+ end
163
+ end
164
+ end
165
+ end
@@ -0,0 +1,270 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Atlantic
6
+ module Azores
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Atlantic/Azores' do |tz|
10
+ tz.offset :o0, -6160, 0, :LMT
11
+ tz.offset :o1, -6872, 0, :HMT
12
+ tz.offset :o2, -7200, 0, :AZOT
13
+ tz.offset :o3, -7200, 3600, :AZOST
14
+ tz.offset :o4, -7200, 7200, :AZOMT
15
+ tz.offset :o5, -3600, 0, :AZOT
16
+ tz.offset :o6, -3600, 3600, :AZOST
17
+ tz.offset :o7, 0, 0, :WET
18
+
19
+ tz.transition 1884, 1, :o1, 2601910697, 1080
20
+ tz.transition 1911, 5, :o2, 26127150259, 10800
21
+ tz.transition 1916, 6, :o3, 58104781, 24
22
+ tz.transition 1916, 11, :o2, 29054023, 12
23
+ tz.transition 1917, 3, :o3, 58110925, 24
24
+ tz.transition 1917, 10, :o2, 58116397, 24
25
+ tz.transition 1918, 3, :o3, 58119709, 24
26
+ tz.transition 1918, 10, :o2, 58125157, 24
27
+ tz.transition 1919, 3, :o3, 58128445, 24
28
+ tz.transition 1919, 10, :o2, 58133917, 24
29
+ tz.transition 1920, 3, :o3, 58137229, 24
30
+ tz.transition 1920, 10, :o2, 58142701, 24
31
+ tz.transition 1921, 3, :o3, 58145989, 24
32
+ tz.transition 1921, 10, :o2, 58151461, 24
33
+ tz.transition 1924, 4, :o3, 58173421, 24
34
+ tz.transition 1924, 10, :o2, 58177765, 24
35
+ tz.transition 1926, 4, :o3, 58190965, 24
36
+ tz.transition 1926, 10, :o2, 58194997, 24
37
+ tz.transition 1927, 4, :o3, 58199533, 24
38
+ tz.transition 1927, 10, :o2, 58203733, 24
39
+ tz.transition 1928, 4, :o3, 58208437, 24
40
+ tz.transition 1928, 10, :o2, 58212637, 24
41
+ tz.transition 1929, 4, :o3, 58217341, 24
42
+ tz.transition 1929, 10, :o2, 58221373, 24
43
+ tz.transition 1931, 4, :o3, 58234813, 24
44
+ tz.transition 1931, 10, :o2, 58238845, 24
45
+ tz.transition 1932, 4, :o3, 58243213, 24
46
+ tz.transition 1932, 10, :o2, 58247581, 24
47
+ tz.transition 1934, 4, :o3, 58260853, 24
48
+ tz.transition 1934, 10, :o2, 58265221, 24
49
+ tz.transition 1935, 3, :o3, 58269421, 24
50
+ tz.transition 1935, 10, :o2, 58273957, 24
51
+ tz.transition 1936, 4, :o3, 58278661, 24
52
+ tz.transition 1936, 10, :o2, 58282693, 24
53
+ tz.transition 1937, 4, :o3, 58287061, 24
54
+ tz.transition 1937, 10, :o2, 58291429, 24
55
+ tz.transition 1938, 3, :o3, 58295629, 24
56
+ tz.transition 1938, 10, :o2, 58300165, 24
57
+ tz.transition 1939, 4, :o3, 58304869, 24
58
+ tz.transition 1939, 11, :o2, 58310077, 24
59
+ tz.transition 1940, 2, :o3, 58312429, 24
60
+ tz.transition 1940, 10, :o2, 58317805, 24
61
+ tz.transition 1941, 4, :o3, 58322173, 24
62
+ tz.transition 1941, 10, :o2, 58326565, 24
63
+ tz.transition 1942, 3, :o3, 58330405, 24
64
+ tz.transition 1942, 4, :o4, 4860951, 2
65
+ tz.transition 1942, 8, :o3, 4861175, 2
66
+ tz.transition 1942, 10, :o2, 58335781, 24
67
+ tz.transition 1943, 3, :o3, 58339141, 24
68
+ tz.transition 1943, 4, :o4, 4861665, 2
69
+ tz.transition 1943, 8, :o3, 4861931, 2
70
+ tz.transition 1943, 10, :o2, 58344685, 24
71
+ tz.transition 1944, 3, :o3, 58347877, 24
72
+ tz.transition 1944, 4, :o4, 4862407, 2
73
+ tz.transition 1944, 8, :o3, 4862659, 2
74
+ tz.transition 1944, 10, :o2, 58353421, 24
75
+ tz.transition 1945, 3, :o3, 58356613, 24
76
+ tz.transition 1945, 4, :o4, 4863135, 2
77
+ tz.transition 1945, 8, :o3, 4863387, 2
78
+ tz.transition 1945, 10, :o2, 58362157, 24
79
+ tz.transition 1946, 4, :o3, 58366021, 24
80
+ tz.transition 1946, 10, :o2, 58370389, 24
81
+ tz.transition 1947, 4, :o3, 7296845, 3
82
+ tz.transition 1947, 10, :o2, 7297391, 3
83
+ tz.transition 1948, 4, :o3, 7297937, 3
84
+ tz.transition 1948, 10, :o2, 7298483, 3
85
+ tz.transition 1949, 4, :o3, 7299029, 3
86
+ tz.transition 1949, 10, :o2, 7299575, 3
87
+ tz.transition 1951, 4, :o3, 7301213, 3
88
+ tz.transition 1951, 10, :o2, 7301780, 3
89
+ tz.transition 1952, 4, :o3, 7302326, 3
90
+ tz.transition 1952, 10, :o2, 7302872, 3
91
+ tz.transition 1953, 4, :o3, 7303418, 3
92
+ tz.transition 1953, 10, :o2, 7303964, 3
93
+ tz.transition 1954, 4, :o3, 7304510, 3
94
+ tz.transition 1954, 10, :o2, 7305056, 3
95
+ tz.transition 1955, 4, :o3, 7305602, 3
96
+ tz.transition 1955, 10, :o2, 7306148, 3
97
+ tz.transition 1956, 4, :o3, 7306694, 3
98
+ tz.transition 1956, 10, :o2, 7307261, 3
99
+ tz.transition 1957, 4, :o3, 7307807, 3
100
+ tz.transition 1957, 10, :o2, 7308353, 3
101
+ tz.transition 1958, 4, :o3, 7308899, 3
102
+ tz.transition 1958, 10, :o2, 7309445, 3
103
+ tz.transition 1959, 4, :o3, 7309991, 3
104
+ tz.transition 1959, 10, :o2, 7310537, 3
105
+ tz.transition 1960, 4, :o3, 7311083, 3
106
+ tz.transition 1960, 10, :o2, 7311629, 3
107
+ tz.transition 1961, 4, :o3, 7312175, 3
108
+ tz.transition 1961, 10, :o2, 7312721, 3
109
+ tz.transition 1962, 4, :o3, 7313267, 3
110
+ tz.transition 1962, 10, :o2, 7313834, 3
111
+ tz.transition 1963, 4, :o3, 7314380, 3
112
+ tz.transition 1963, 10, :o2, 7314926, 3
113
+ tz.transition 1964, 4, :o3, 7315472, 3
114
+ tz.transition 1964, 10, :o2, 7316018, 3
115
+ tz.transition 1965, 4, :o3, 7316564, 3
116
+ tz.transition 1965, 10, :o2, 7317110, 3
117
+ tz.transition 1966, 4, :o5, 7317656, 3
118
+ tz.transition 1977, 3, :o6, 228272400
119
+ tz.transition 1977, 9, :o5, 243997200
120
+ tz.transition 1978, 4, :o6, 260326800
121
+ tz.transition 1978, 10, :o5, 276051600
122
+ tz.transition 1979, 4, :o6, 291776400
123
+ tz.transition 1979, 9, :o5, 307504800
124
+ tz.transition 1980, 3, :o6, 323226000
125
+ tz.transition 1980, 9, :o5, 338954400
126
+ tz.transition 1981, 3, :o6, 354679200
127
+ tz.transition 1981, 9, :o5, 370404000
128
+ tz.transition 1982, 3, :o6, 386128800
129
+ tz.transition 1982, 9, :o5, 401853600
130
+ tz.transition 1983, 3, :o6, 417582000
131
+ tz.transition 1983, 9, :o5, 433303200
132
+ tz.transition 1984, 3, :o6, 449028000
133
+ tz.transition 1984, 9, :o5, 465357600
134
+ tz.transition 1985, 3, :o6, 481082400
135
+ tz.transition 1985, 9, :o5, 496807200
136
+ tz.transition 1986, 3, :o6, 512532000
137
+ tz.transition 1986, 9, :o5, 528256800
138
+ tz.transition 1987, 3, :o6, 543981600
139
+ tz.transition 1987, 9, :o5, 559706400
140
+ tz.transition 1988, 3, :o6, 575431200
141
+ tz.transition 1988, 9, :o5, 591156000
142
+ tz.transition 1989, 3, :o6, 606880800
143
+ tz.transition 1989, 9, :o5, 622605600
144
+ tz.transition 1990, 3, :o6, 638330400
145
+ tz.transition 1990, 9, :o5, 654660000
146
+ tz.transition 1991, 3, :o6, 670384800
147
+ tz.transition 1991, 9, :o5, 686109600
148
+ tz.transition 1992, 3, :o6, 701834400
149
+ tz.transition 1992, 9, :o7, 717559200
150
+ tz.transition 1993, 3, :o6, 733280400
151
+ tz.transition 1993, 9, :o5, 749005200
152
+ tz.transition 1994, 3, :o6, 764730000
153
+ tz.transition 1994, 9, :o5, 780454800
154
+ tz.transition 1995, 3, :o6, 796179600
155
+ tz.transition 1995, 9, :o5, 811904400
156
+ tz.transition 1996, 3, :o6, 828234000
157
+ tz.transition 1996, 10, :o5, 846378000
158
+ tz.transition 1997, 3, :o6, 859683600
159
+ tz.transition 1997, 10, :o5, 877827600
160
+ tz.transition 1998, 3, :o6, 891133200
161
+ tz.transition 1998, 10, :o5, 909277200
162
+ tz.transition 1999, 3, :o6, 922582800
163
+ tz.transition 1999, 10, :o5, 941331600
164
+ tz.transition 2000, 3, :o6, 954032400
165
+ tz.transition 2000, 10, :o5, 972781200
166
+ tz.transition 2001, 3, :o6, 985482000
167
+ tz.transition 2001, 10, :o5, 1004230800
168
+ tz.transition 2002, 3, :o6, 1017536400
169
+ tz.transition 2002, 10, :o5, 1035680400
170
+ tz.transition 2003, 3, :o6, 1048986000
171
+ tz.transition 2003, 10, :o5, 1067130000
172
+ tz.transition 2004, 3, :o6, 1080435600
173
+ tz.transition 2004, 10, :o5, 1099184400
174
+ tz.transition 2005, 3, :o6, 1111885200
175
+ tz.transition 2005, 10, :o5, 1130634000
176
+ tz.transition 2006, 3, :o6, 1143334800
177
+ tz.transition 2006, 10, :o5, 1162083600
178
+ tz.transition 2007, 3, :o6, 1174784400
179
+ tz.transition 2007, 10, :o5, 1193533200
180
+ tz.transition 2008, 3, :o6, 1206838800
181
+ tz.transition 2008, 10, :o5, 1224982800
182
+ tz.transition 2009, 3, :o6, 1238288400
183
+ tz.transition 2009, 10, :o5, 1256432400
184
+ tz.transition 2010, 3, :o6, 1269738000
185
+ tz.transition 2010, 10, :o5, 1288486800
186
+ tz.transition 2011, 3, :o6, 1301187600
187
+ tz.transition 2011, 10, :o5, 1319936400
188
+ tz.transition 2012, 3, :o6, 1332637200
189
+ tz.transition 2012, 10, :o5, 1351386000
190
+ tz.transition 2013, 3, :o6, 1364691600
191
+ tz.transition 2013, 10, :o5, 1382835600
192
+ tz.transition 2014, 3, :o6, 1396141200
193
+ tz.transition 2014, 10, :o5, 1414285200
194
+ tz.transition 2015, 3, :o6, 1427590800
195
+ tz.transition 2015, 10, :o5, 1445734800
196
+ tz.transition 2016, 3, :o6, 1459040400
197
+ tz.transition 2016, 10, :o5, 1477789200
198
+ tz.transition 2017, 3, :o6, 1490490000
199
+ tz.transition 2017, 10, :o5, 1509238800
200
+ tz.transition 2018, 3, :o6, 1521939600
201
+ tz.transition 2018, 10, :o5, 1540688400
202
+ tz.transition 2019, 3, :o6, 1553994000
203
+ tz.transition 2019, 10, :o5, 1572138000
204
+ tz.transition 2020, 3, :o6, 1585443600
205
+ tz.transition 2020, 10, :o5, 1603587600
206
+ tz.transition 2021, 3, :o6, 1616893200
207
+ tz.transition 2021, 10, :o5, 1635642000
208
+ tz.transition 2022, 3, :o6, 1648342800
209
+ tz.transition 2022, 10, :o5, 1667091600
210
+ tz.transition 2023, 3, :o6, 1679792400
211
+ tz.transition 2023, 10, :o5, 1698541200
212
+ tz.transition 2024, 3, :o6, 1711846800
213
+ tz.transition 2024, 10, :o5, 1729990800
214
+ tz.transition 2025, 3, :o6, 1743296400
215
+ tz.transition 2025, 10, :o5, 1761440400
216
+ tz.transition 2026, 3, :o6, 1774746000
217
+ tz.transition 2026, 10, :o5, 1792890000
218
+ tz.transition 2027, 3, :o6, 1806195600
219
+ tz.transition 2027, 10, :o5, 1824944400
220
+ tz.transition 2028, 3, :o6, 1837645200
221
+ tz.transition 2028, 10, :o5, 1856394000
222
+ tz.transition 2029, 3, :o6, 1869094800
223
+ tz.transition 2029, 10, :o5, 1887843600
224
+ tz.transition 2030, 3, :o6, 1901149200
225
+ tz.transition 2030, 10, :o5, 1919293200
226
+ tz.transition 2031, 3, :o6, 1932598800
227
+ tz.transition 2031, 10, :o5, 1950742800
228
+ tz.transition 2032, 3, :o6, 1964048400
229
+ tz.transition 2032, 10, :o5, 1982797200
230
+ tz.transition 2033, 3, :o6, 1995498000
231
+ tz.transition 2033, 10, :o5, 2014246800
232
+ tz.transition 2034, 3, :o6, 2026947600
233
+ tz.transition 2034, 10, :o5, 2045696400
234
+ tz.transition 2035, 3, :o6, 2058397200
235
+ tz.transition 2035, 10, :o5, 2077146000
236
+ tz.transition 2036, 3, :o6, 2090451600
237
+ tz.transition 2036, 10, :o5, 2108595600
238
+ tz.transition 2037, 3, :o6, 2121901200
239
+ tz.transition 2037, 10, :o5, 2140045200
240
+ tz.transition 2038, 3, :o6, 59172253, 24
241
+ tz.transition 2038, 10, :o5, 59177461, 24
242
+ tz.transition 2039, 3, :o6, 59180989, 24
243
+ tz.transition 2039, 10, :o5, 59186197, 24
244
+ tz.transition 2040, 3, :o6, 59189725, 24
245
+ tz.transition 2040, 10, :o5, 59194933, 24
246
+ tz.transition 2041, 3, :o6, 59198629, 24
247
+ tz.transition 2041, 10, :o5, 59203669, 24
248
+ tz.transition 2042, 3, :o6, 59207365, 24
249
+ tz.transition 2042, 10, :o5, 59212405, 24
250
+ tz.transition 2043, 3, :o6, 59216101, 24
251
+ tz.transition 2043, 10, :o5, 59221141, 24
252
+ tz.transition 2044, 3, :o6, 59224837, 24
253
+ tz.transition 2044, 10, :o5, 59230045, 24
254
+ tz.transition 2045, 3, :o6, 59233573, 24
255
+ tz.transition 2045, 10, :o5, 59238781, 24
256
+ tz.transition 2046, 3, :o6, 59242309, 24
257
+ tz.transition 2046, 10, :o5, 59247517, 24
258
+ tz.transition 2047, 3, :o6, 59251213, 24
259
+ tz.transition 2047, 10, :o5, 59256253, 24
260
+ tz.transition 2048, 3, :o6, 59259949, 24
261
+ tz.transition 2048, 10, :o5, 59264989, 24
262
+ tz.transition 2049, 3, :o6, 59268685, 24
263
+ tz.transition 2049, 10, :o5, 59273893, 24
264
+ tz.transition 2050, 3, :o6, 59277421, 24
265
+ tz.transition 2050, 10, :o5, 59282629, 24
266
+ end
267
+ end
268
+ end
269
+ end
270
+ end