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 Irkutsk
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Irkutsk' do |tz|
10
+ tz.offset :o0, 25040, 0, :LMT
11
+ tz.offset :o1, 25040, 0, :IMT
12
+ tz.offset :o2, 25200, 0, :IRKT
13
+ tz.offset :o3, 28800, 0, :IRKT
14
+ tz.offset :o4, 28800, 3600, :IRKST
15
+ tz.offset :o5, 25200, 3600, :IRKST
16
+
17
+ tz.transition 1879, 12, :o1, 2600332427, 1080
18
+ tz.transition 1920, 1, :o2, 2616136067, 1080
19
+ tz.transition 1930, 6, :o3, 58227557, 24
20
+ tz.transition 1981, 3, :o4, 354902400
21
+ tz.transition 1981, 9, :o3, 370710000
22
+ tz.transition 1982, 3, :o4, 386438400
23
+ tz.transition 1982, 9, :o3, 402246000
24
+ tz.transition 1983, 3, :o4, 417974400
25
+ tz.transition 1983, 9, :o3, 433782000
26
+ tz.transition 1984, 3, :o4, 449596800
27
+ tz.transition 1984, 9, :o3, 465328800
28
+ tz.transition 1985, 3, :o4, 481053600
29
+ tz.transition 1985, 9, :o3, 496778400
30
+ tz.transition 1986, 3, :o4, 512503200
31
+ tz.transition 1986, 9, :o3, 528228000
32
+ tz.transition 1987, 3, :o4, 543952800
33
+ tz.transition 1987, 9, :o3, 559677600
34
+ tz.transition 1988, 3, :o4, 575402400
35
+ tz.transition 1988, 9, :o3, 591127200
36
+ tz.transition 1989, 3, :o4, 606852000
37
+ tz.transition 1989, 9, :o3, 622576800
38
+ tz.transition 1990, 3, :o4, 638301600
39
+ tz.transition 1990, 9, :o3, 654631200
40
+ tz.transition 1991, 3, :o5, 670356000
41
+ tz.transition 1991, 9, :o2, 686084400
42
+ tz.transition 1992, 1, :o3, 695761200
43
+ tz.transition 1992, 3, :o4, 701794800
44
+ tz.transition 1992, 9, :o3, 717516000
45
+ tz.transition 1993, 3, :o4, 733255200
46
+ tz.transition 1993, 9, :o3, 748980000
47
+ tz.transition 1994, 3, :o4, 764704800
48
+ tz.transition 1994, 9, :o3, 780429600
49
+ tz.transition 1995, 3, :o4, 796154400
50
+ tz.transition 1995, 9, :o3, 811879200
51
+ tz.transition 1996, 3, :o4, 828208800
52
+ tz.transition 1996, 10, :o3, 846352800
53
+ tz.transition 1997, 3, :o4, 859658400
54
+ tz.transition 1997, 10, :o3, 877802400
55
+ tz.transition 1998, 3, :o4, 891108000
56
+ tz.transition 1998, 10, :o3, 909252000
57
+ tz.transition 1999, 3, :o4, 922557600
58
+ tz.transition 1999, 10, :o3, 941306400
59
+ tz.transition 2000, 3, :o4, 954007200
60
+ tz.transition 2000, 10, :o3, 972756000
61
+ tz.transition 2001, 3, :o4, 985456800
62
+ tz.transition 2001, 10, :o3, 1004205600
63
+ tz.transition 2002, 3, :o4, 1017511200
64
+ tz.transition 2002, 10, :o3, 1035655200
65
+ tz.transition 2003, 3, :o4, 1048960800
66
+ tz.transition 2003, 10, :o3, 1067104800
67
+ tz.transition 2004, 3, :o4, 1080410400
68
+ tz.transition 2004, 10, :o3, 1099159200
69
+ tz.transition 2005, 3, :o4, 1111860000
70
+ tz.transition 2005, 10, :o3, 1130608800
71
+ tz.transition 2006, 3, :o4, 1143309600
72
+ tz.transition 2006, 10, :o3, 1162058400
73
+ tz.transition 2007, 3, :o4, 1174759200
74
+ tz.transition 2007, 10, :o3, 1193508000
75
+ tz.transition 2008, 3, :o4, 1206813600
76
+ tz.transition 2008, 10, :o3, 1224957600
77
+ tz.transition 2009, 3, :o4, 1238263200
78
+ tz.transition 2009, 10, :o3, 1256407200
79
+ tz.transition 2010, 3, :o4, 1269712800
80
+ tz.transition 2010, 10, :o3, 1288461600
81
+ tz.transition 2011, 3, :o4, 1301162400
82
+ tz.transition 2011, 10, :o3, 1319911200
83
+ tz.transition 2012, 3, :o4, 1332612000
84
+ tz.transition 2012, 10, :o3, 1351360800
85
+ tz.transition 2013, 3, :o4, 1364666400
86
+ tz.transition 2013, 10, :o3, 1382810400
87
+ tz.transition 2014, 3, :o4, 1396116000
88
+ tz.transition 2014, 10, :o3, 1414260000
89
+ tz.transition 2015, 3, :o4, 1427565600
90
+ tz.transition 2015, 10, :o3, 1445709600
91
+ tz.transition 2016, 3, :o4, 1459015200
92
+ tz.transition 2016, 10, :o3, 1477764000
93
+ tz.transition 2017, 3, :o4, 1490464800
94
+ tz.transition 2017, 10, :o3, 1509213600
95
+ tz.transition 2018, 3, :o4, 1521914400
96
+ tz.transition 2018, 10, :o3, 1540663200
97
+ tz.transition 2019, 3, :o4, 1553968800
98
+ tz.transition 2019, 10, :o3, 1572112800
99
+ tz.transition 2020, 3, :o4, 1585418400
100
+ tz.transition 2020, 10, :o3, 1603562400
101
+ tz.transition 2021, 3, :o4, 1616868000
102
+ tz.transition 2021, 10, :o3, 1635616800
103
+ tz.transition 2022, 3, :o4, 1648317600
104
+ tz.transition 2022, 10, :o3, 1667066400
105
+ tz.transition 2023, 3, :o4, 1679767200
106
+ tz.transition 2023, 10, :o3, 1698516000
107
+ tz.transition 2024, 3, :o4, 1711821600
108
+ tz.transition 2024, 10, :o3, 1729965600
109
+ tz.transition 2025, 3, :o4, 1743271200
110
+ tz.transition 2025, 10, :o3, 1761415200
111
+ tz.transition 2026, 3, :o4, 1774720800
112
+ tz.transition 2026, 10, :o3, 1792864800
113
+ tz.transition 2027, 3, :o4, 1806170400
114
+ tz.transition 2027, 10, :o3, 1824919200
115
+ tz.transition 2028, 3, :o4, 1837620000
116
+ tz.transition 2028, 10, :o3, 1856368800
117
+ tz.transition 2029, 3, :o4, 1869069600
118
+ tz.transition 2029, 10, :o3, 1887818400
119
+ tz.transition 2030, 3, :o4, 1901124000
120
+ tz.transition 2030, 10, :o3, 1919268000
121
+ tz.transition 2031, 3, :o4, 1932573600
122
+ tz.transition 2031, 10, :o3, 1950717600
123
+ tz.transition 2032, 3, :o4, 1964023200
124
+ tz.transition 2032, 10, :o3, 1982772000
125
+ tz.transition 2033, 3, :o4, 1995472800
126
+ tz.transition 2033, 10, :o3, 2014221600
127
+ tz.transition 2034, 3, :o4, 2026922400
128
+ tz.transition 2034, 10, :o3, 2045671200
129
+ tz.transition 2035, 3, :o4, 2058372000
130
+ tz.transition 2035, 10, :o3, 2077120800
131
+ tz.transition 2036, 3, :o4, 2090426400
132
+ tz.transition 2036, 10, :o3, 2108570400
133
+ tz.transition 2037, 3, :o4, 2121876000
134
+ tz.transition 2037, 10, :o3, 2140020000
135
+ tz.transition 2038, 3, :o4, 9862041, 4
136
+ tz.transition 2038, 10, :o3, 9862909, 4
137
+ tz.transition 2039, 3, :o4, 9863497, 4
138
+ tz.transition 2039, 10, :o3, 9864365, 4
139
+ tz.transition 2040, 3, :o4, 9864953, 4
140
+ tz.transition 2040, 10, :o3, 9865821, 4
141
+ tz.transition 2041, 3, :o4, 9866437, 4
142
+ tz.transition 2041, 10, :o3, 9867277, 4
143
+ tz.transition 2042, 3, :o4, 9867893, 4
144
+ tz.transition 2042, 10, :o3, 9868733, 4
145
+ tz.transition 2043, 3, :o4, 9869349, 4
146
+ tz.transition 2043, 10, :o3, 9870189, 4
147
+ tz.transition 2044, 3, :o4, 9870805, 4
148
+ tz.transition 2044, 10, :o3, 9871673, 4
149
+ tz.transition 2045, 3, :o4, 9872261, 4
150
+ tz.transition 2045, 10, :o3, 9873129, 4
151
+ tz.transition 2046, 3, :o4, 9873717, 4
152
+ tz.transition 2046, 10, :o3, 9874585, 4
153
+ tz.transition 2047, 3, :o4, 9875201, 4
154
+ tz.transition 2047, 10, :o3, 9876041, 4
155
+ tz.transition 2048, 3, :o4, 9876657, 4
156
+ tz.transition 2048, 10, :o3, 9877497, 4
157
+ tz.transition 2049, 3, :o4, 9878113, 4
158
+ tz.transition 2049, 10, :o3, 9878981, 4
159
+ tz.transition 2050, 3, :o4, 9879569, 4
160
+ tz.transition 2050, 10, :o3, 9880437, 4
161
+ end
162
+ end
163
+ end
164
+ end
165
+ end
@@ -0,0 +1,30 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Jakarta
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Jakarta' do |tz|
10
+ tz.offset :o0, 25632, 0, :LMT
11
+ tz.offset :o1, 25632, 0, :JMT
12
+ tz.offset :o2, 26400, 0, :JAVT
13
+ tz.offset :o3, 27000, 0, :WIT
14
+ tz.offset :o4, 32400, 0, :JST
15
+ tz.offset :o5, 28800, 0, :WIT
16
+ tz.offset :o6, 25200, 0, :WIT
17
+
18
+ tz.transition 1867, 8, :o1, 720956461, 300
19
+ tz.transition 1923, 12, :o2, 87256267, 36
20
+ tz.transition 1932, 10, :o3, 87372439, 36
21
+ tz.transition 1942, 3, :o4, 38887059, 16
22
+ tz.transition 1945, 9, :o3, 19453769, 8
23
+ tz.transition 1948, 4, :o5, 38922755, 16
24
+ tz.transition 1950, 4, :o3, 14600413, 6
25
+ tz.transition 1963, 12, :o6, 39014323, 16
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,163 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Jerusalem
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Jerusalem' do |tz|
10
+ tz.offset :o0, 8456, 0, :LMT
11
+ tz.offset :o1, 8440, 0, :JMT
12
+ tz.offset :o2, 7200, 0, :IST
13
+ tz.offset :o3, 7200, 3600, :IDT
14
+ tz.offset :o4, 7200, 7200, :IDDT
15
+
16
+ tz.transition 1879, 12, :o1, 26003326343, 10800
17
+ tz.transition 1917, 12, :o2, 5230643909, 2160
18
+ tz.transition 1940, 5, :o3, 29157377, 12
19
+ tz.transition 1942, 10, :o2, 19445315, 8
20
+ tz.transition 1943, 4, :o3, 4861631, 2
21
+ tz.transition 1943, 10, :o2, 19448235, 8
22
+ tz.transition 1944, 3, :o3, 29174177, 12
23
+ tz.transition 1944, 10, :o2, 19451163, 8
24
+ tz.transition 1945, 4, :o3, 29178737, 12
25
+ tz.transition 1945, 10, :o2, 58362251, 24
26
+ tz.transition 1946, 4, :o3, 4863853, 2
27
+ tz.transition 1946, 10, :o2, 19457003, 8
28
+ tz.transition 1948, 5, :o4, 29192333, 12
29
+ tz.transition 1948, 8, :o3, 7298386, 3
30
+ tz.transition 1948, 10, :o2, 58388555, 24
31
+ tz.transition 1949, 4, :o3, 29196449, 12
32
+ tz.transition 1949, 10, :o2, 58397315, 24
33
+ tz.transition 1950, 4, :o3, 29200649, 12
34
+ tz.transition 1950, 9, :o2, 4867079, 2
35
+ tz.transition 1951, 3, :o3, 29204849, 12
36
+ tz.transition 1951, 11, :o2, 4867923, 2
37
+ tz.transition 1952, 4, :o3, 4868245, 2
38
+ tz.transition 1952, 10, :o2, 4868609, 2
39
+ tz.transition 1953, 4, :o3, 4868959, 2
40
+ tz.transition 1953, 9, :o2, 4869267, 2
41
+ tz.transition 1954, 6, :o3, 29218877, 12
42
+ tz.transition 1954, 9, :o2, 19479979, 8
43
+ tz.transition 1955, 6, :o3, 4870539, 2
44
+ tz.transition 1955, 9, :o2, 19482891, 8
45
+ tz.transition 1956, 6, :o3, 29227529, 12
46
+ tz.transition 1956, 9, :o2, 4871493, 2
47
+ tz.transition 1957, 4, :o3, 4871915, 2
48
+ tz.transition 1957, 9, :o2, 19488827, 8
49
+ tz.transition 1974, 7, :o3, 142380000
50
+ tz.transition 1974, 10, :o2, 150843600
51
+ tz.transition 1975, 4, :o3, 167176800
52
+ tz.transition 1975, 8, :o2, 178664400
53
+ tz.transition 1985, 4, :o3, 482277600
54
+ tz.transition 1985, 9, :o2, 495579600
55
+ tz.transition 1986, 5, :o3, 516751200
56
+ tz.transition 1986, 9, :o2, 526424400
57
+ tz.transition 1987, 4, :o3, 545436000
58
+ tz.transition 1987, 9, :o2, 558478800
59
+ tz.transition 1988, 4, :o3, 576540000
60
+ tz.transition 1988, 9, :o2, 589237200
61
+ tz.transition 1989, 4, :o3, 609890400
62
+ tz.transition 1989, 9, :o2, 620773200
63
+ tz.transition 1990, 3, :o3, 638316000
64
+ tz.transition 1990, 8, :o2, 651618000
65
+ tz.transition 1991, 3, :o3, 669765600
66
+ tz.transition 1991, 8, :o2, 683672400
67
+ tz.transition 1992, 3, :o3, 701820000
68
+ tz.transition 1992, 9, :o2, 715726800
69
+ tz.transition 1993, 4, :o3, 733701600
70
+ tz.transition 1993, 9, :o2, 747176400
71
+ tz.transition 1994, 3, :o3, 765151200
72
+ tz.transition 1994, 8, :o2, 778021200
73
+ tz.transition 1995, 3, :o3, 796600800
74
+ tz.transition 1995, 9, :o2, 810075600
75
+ tz.transition 1996, 3, :o3, 826840800
76
+ tz.transition 1996, 9, :o2, 842821200
77
+ tz.transition 1997, 3, :o3, 858895200
78
+ tz.transition 1997, 9, :o2, 874184400
79
+ tz.transition 1998, 3, :o3, 890344800
80
+ tz.transition 1998, 9, :o2, 905029200
81
+ tz.transition 1999, 4, :o3, 923011200
82
+ tz.transition 1999, 9, :o2, 936313200
83
+ tz.transition 2000, 4, :o3, 955670400
84
+ tz.transition 2000, 10, :o2, 970783200
85
+ tz.transition 2001, 4, :o3, 986770800
86
+ tz.transition 2001, 9, :o2, 1001282400
87
+ tz.transition 2002, 3, :o3, 1017356400
88
+ tz.transition 2002, 10, :o2, 1033941600
89
+ tz.transition 2003, 3, :o3, 1048806000
90
+ tz.transition 2003, 10, :o2, 1065132000
91
+ tz.transition 2004, 4, :o3, 1081292400
92
+ tz.transition 2004, 9, :o2, 1095804000
93
+ tz.transition 2005, 4, :o3, 1112313600
94
+ tz.transition 2005, 10, :o2, 1128812400
95
+ tz.transition 2006, 3, :o3, 1143763200
96
+ tz.transition 2006, 9, :o2, 1159657200
97
+ tz.transition 2007, 3, :o3, 1175212800
98
+ tz.transition 2007, 9, :o2, 1189897200
99
+ tz.transition 2008, 3, :o3, 1206662400
100
+ tz.transition 2008, 10, :o2, 1223161200
101
+ tz.transition 2009, 3, :o3, 1238112000
102
+ tz.transition 2009, 9, :o2, 1254006000
103
+ tz.transition 2010, 3, :o3, 1269561600
104
+ tz.transition 2010, 9, :o2, 1284246000
105
+ tz.transition 2011, 4, :o3, 1301616000
106
+ tz.transition 2011, 10, :o2, 1317510000
107
+ tz.transition 2012, 3, :o3, 1333065600
108
+ tz.transition 2012, 9, :o2, 1348354800
109
+ tz.transition 2013, 3, :o3, 1364515200
110
+ tz.transition 2013, 9, :o2, 1378594800
111
+ tz.transition 2014, 3, :o3, 1395964800
112
+ tz.transition 2014, 9, :o2, 1411858800
113
+ tz.transition 2015, 3, :o3, 1427414400
114
+ tz.transition 2015, 9, :o2, 1442703600
115
+ tz.transition 2016, 4, :o3, 1459468800
116
+ tz.transition 2016, 10, :o2, 1475967600
117
+ tz.transition 2017, 3, :o3, 1490918400
118
+ tz.transition 2017, 9, :o2, 1506207600
119
+ tz.transition 2018, 3, :o3, 1522368000
120
+ tz.transition 2018, 9, :o2, 1537052400
121
+ tz.transition 2019, 3, :o3, 1553817600
122
+ tz.transition 2019, 10, :o2, 1570316400
123
+ tz.transition 2020, 3, :o3, 1585267200
124
+ tz.transition 2020, 9, :o2, 1601161200
125
+ tz.transition 2021, 3, :o3, 1616716800
126
+ tz.transition 2021, 9, :o2, 1631401200
127
+ tz.transition 2022, 4, :o3, 1648771200
128
+ tz.transition 2022, 10, :o2, 1664665200
129
+ tz.transition 2023, 3, :o3, 1680220800
130
+ tz.transition 2023, 9, :o2, 1695510000
131
+ tz.transition 2024, 3, :o3, 1711670400
132
+ tz.transition 2024, 10, :o2, 1728169200
133
+ tz.transition 2025, 3, :o3, 1743120000
134
+ tz.transition 2025, 9, :o2, 1759014000
135
+ tz.transition 2026, 3, :o3, 1774569600
136
+ tz.transition 2026, 9, :o2, 1789858800
137
+ tz.transition 2027, 3, :o3, 1806019200
138
+ tz.transition 2027, 10, :o2, 1823122800
139
+ tz.transition 2028, 3, :o3, 1838073600
140
+ tz.transition 2028, 9, :o2, 1853362800
141
+ tz.transition 2029, 3, :o3, 1869523200
142
+ tz.transition 2029, 9, :o2, 1884207600
143
+ tz.transition 2030, 3, :o3, 1900972800
144
+ tz.transition 2030, 10, :o2, 1917471600
145
+ tz.transition 2031, 3, :o3, 1932422400
146
+ tz.transition 2031, 9, :o2, 1947711600
147
+ tz.transition 2032, 3, :o3, 1963872000
148
+ tz.transition 2032, 9, :o2, 1978556400
149
+ tz.transition 2033, 4, :o3, 1995926400
150
+ tz.transition 2033, 10, :o2, 2011820400
151
+ tz.transition 2034, 3, :o3, 2027376000
152
+ tz.transition 2034, 9, :o2, 2042060400
153
+ tz.transition 2035, 3, :o3, 2058825600
154
+ tz.transition 2035, 10, :o2, 2075324400
155
+ tz.transition 2036, 3, :o3, 2090275200
156
+ tz.transition 2036, 9, :o2, 2106169200
157
+ tz.transition 2037, 3, :o3, 2121724800
158
+ tz.transition 2037, 9, :o2, 2136409200
159
+ end
160
+ end
161
+ end
162
+ end
163
+ end
@@ -0,0 +1,20 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Kabul
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Kabul' do |tz|
10
+ tz.offset :o0, 16608, 0, :LMT
11
+ tz.offset :o1, 14400, 0, :AFT
12
+ tz.offset :o2, 16200, 0, :AFT
13
+
14
+ tz.transition 1889, 12, :o1, 2170231477, 900
15
+ tz.transition 1944, 12, :o2, 7294369, 3
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,163 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Kamchatka
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Kamchatka' do |tz|
10
+ tz.offset :o0, 38076, 0, :LMT
11
+ tz.offset :o1, 39600, 0, :PETT
12
+ tz.offset :o2, 43200, 0, :PETT
13
+ tz.offset :o3, 43200, 3600, :PETST
14
+ tz.offset :o4, 39600, 3600, :PETST
15
+
16
+ tz.transition 1922, 11, :o1, 17448250027, 7200
17
+ tz.transition 1930, 6, :o2, 58227553, 24
18
+ tz.transition 1981, 3, :o3, 354888000
19
+ tz.transition 1981, 9, :o2, 370695600
20
+ tz.transition 1982, 3, :o3, 386424000
21
+ tz.transition 1982, 9, :o2, 402231600
22
+ tz.transition 1983, 3, :o3, 417960000
23
+ tz.transition 1983, 9, :o2, 433767600
24
+ tz.transition 1984, 3, :o3, 449582400
25
+ tz.transition 1984, 9, :o2, 465314400
26
+ tz.transition 1985, 3, :o3, 481039200
27
+ tz.transition 1985, 9, :o2, 496764000
28
+ tz.transition 1986, 3, :o3, 512488800
29
+ tz.transition 1986, 9, :o2, 528213600
30
+ tz.transition 1987, 3, :o3, 543938400
31
+ tz.transition 1987, 9, :o2, 559663200
32
+ tz.transition 1988, 3, :o3, 575388000
33
+ tz.transition 1988, 9, :o2, 591112800
34
+ tz.transition 1989, 3, :o3, 606837600
35
+ tz.transition 1989, 9, :o2, 622562400
36
+ tz.transition 1990, 3, :o3, 638287200
37
+ tz.transition 1990, 9, :o2, 654616800
38
+ tz.transition 1991, 3, :o4, 670341600
39
+ tz.transition 1991, 9, :o1, 686070000
40
+ tz.transition 1992, 1, :o2, 695746800
41
+ tz.transition 1992, 3, :o3, 701780400
42
+ tz.transition 1992, 9, :o2, 717501600
43
+ tz.transition 1993, 3, :o3, 733240800
44
+ tz.transition 1993, 9, :o2, 748965600
45
+ tz.transition 1994, 3, :o3, 764690400
46
+ tz.transition 1994, 9, :o2, 780415200
47
+ tz.transition 1995, 3, :o3, 796140000
48
+ tz.transition 1995, 9, :o2, 811864800
49
+ tz.transition 1996, 3, :o3, 828194400
50
+ tz.transition 1996, 10, :o2, 846338400
51
+ tz.transition 1997, 3, :o3, 859644000
52
+ tz.transition 1997, 10, :o2, 877788000
53
+ tz.transition 1998, 3, :o3, 891093600
54
+ tz.transition 1998, 10, :o2, 909237600
55
+ tz.transition 1999, 3, :o3, 922543200
56
+ tz.transition 1999, 10, :o2, 941292000
57
+ tz.transition 2000, 3, :o3, 953992800
58
+ tz.transition 2000, 10, :o2, 972741600
59
+ tz.transition 2001, 3, :o3, 985442400
60
+ tz.transition 2001, 10, :o2, 1004191200
61
+ tz.transition 2002, 3, :o3, 1017496800
62
+ tz.transition 2002, 10, :o2, 1035640800
63
+ tz.transition 2003, 3, :o3, 1048946400
64
+ tz.transition 2003, 10, :o2, 1067090400
65
+ tz.transition 2004, 3, :o3, 1080396000
66
+ tz.transition 2004, 10, :o2, 1099144800
67
+ tz.transition 2005, 3, :o3, 1111845600
68
+ tz.transition 2005, 10, :o2, 1130594400
69
+ tz.transition 2006, 3, :o3, 1143295200
70
+ tz.transition 2006, 10, :o2, 1162044000
71
+ tz.transition 2007, 3, :o3, 1174744800
72
+ tz.transition 2007, 10, :o2, 1193493600
73
+ tz.transition 2008, 3, :o3, 1206799200
74
+ tz.transition 2008, 10, :o2, 1224943200
75
+ tz.transition 2009, 3, :o3, 1238248800
76
+ tz.transition 2009, 10, :o2, 1256392800
77
+ tz.transition 2010, 3, :o3, 1269698400
78
+ tz.transition 2010, 10, :o2, 1288447200
79
+ tz.transition 2011, 3, :o3, 1301148000
80
+ tz.transition 2011, 10, :o2, 1319896800
81
+ tz.transition 2012, 3, :o3, 1332597600
82
+ tz.transition 2012, 10, :o2, 1351346400
83
+ tz.transition 2013, 3, :o3, 1364652000
84
+ tz.transition 2013, 10, :o2, 1382796000
85
+ tz.transition 2014, 3, :o3, 1396101600
86
+ tz.transition 2014, 10, :o2, 1414245600
87
+ tz.transition 2015, 3, :o3, 1427551200
88
+ tz.transition 2015, 10, :o2, 1445695200
89
+ tz.transition 2016, 3, :o3, 1459000800
90
+ tz.transition 2016, 10, :o2, 1477749600
91
+ tz.transition 2017, 3, :o3, 1490450400
92
+ tz.transition 2017, 10, :o2, 1509199200
93
+ tz.transition 2018, 3, :o3, 1521900000
94
+ tz.transition 2018, 10, :o2, 1540648800
95
+ tz.transition 2019, 3, :o3, 1553954400
96
+ tz.transition 2019, 10, :o2, 1572098400
97
+ tz.transition 2020, 3, :o3, 1585404000
98
+ tz.transition 2020, 10, :o2, 1603548000
99
+ tz.transition 2021, 3, :o3, 1616853600
100
+ tz.transition 2021, 10, :o2, 1635602400
101
+ tz.transition 2022, 3, :o3, 1648303200
102
+ tz.transition 2022, 10, :o2, 1667052000
103
+ tz.transition 2023, 3, :o3, 1679752800
104
+ tz.transition 2023, 10, :o2, 1698501600
105
+ tz.transition 2024, 3, :o3, 1711807200
106
+ tz.transition 2024, 10, :o2, 1729951200
107
+ tz.transition 2025, 3, :o3, 1743256800
108
+ tz.transition 2025, 10, :o2, 1761400800
109
+ tz.transition 2026, 3, :o3, 1774706400
110
+ tz.transition 2026, 10, :o2, 1792850400
111
+ tz.transition 2027, 3, :o3, 1806156000
112
+ tz.transition 2027, 10, :o2, 1824904800
113
+ tz.transition 2028, 3, :o3, 1837605600
114
+ tz.transition 2028, 10, :o2, 1856354400
115
+ tz.transition 2029, 3, :o3, 1869055200
116
+ tz.transition 2029, 10, :o2, 1887804000
117
+ tz.transition 2030, 3, :o3, 1901109600
118
+ tz.transition 2030, 10, :o2, 1919253600
119
+ tz.transition 2031, 3, :o3, 1932559200
120
+ tz.transition 2031, 10, :o2, 1950703200
121
+ tz.transition 2032, 3, :o3, 1964008800
122
+ tz.transition 2032, 10, :o2, 1982757600
123
+ tz.transition 2033, 3, :o3, 1995458400
124
+ tz.transition 2033, 10, :o2, 2014207200
125
+ tz.transition 2034, 3, :o3, 2026908000
126
+ tz.transition 2034, 10, :o2, 2045656800
127
+ tz.transition 2035, 3, :o3, 2058357600
128
+ tz.transition 2035, 10, :o2, 2077106400
129
+ tz.transition 2036, 3, :o3, 2090412000
130
+ tz.transition 2036, 10, :o2, 2108556000
131
+ tz.transition 2037, 3, :o3, 2121861600
132
+ tz.transition 2037, 10, :o2, 2140005600
133
+ tz.transition 2038, 3, :o3, 29586121, 12
134
+ tz.transition 2038, 10, :o2, 29588725, 12
135
+ tz.transition 2039, 3, :o3, 29590489, 12
136
+ tz.transition 2039, 10, :o2, 29593093, 12
137
+ tz.transition 2040, 3, :o3, 29594857, 12
138
+ tz.transition 2040, 10, :o2, 29597461, 12
139
+ tz.transition 2041, 3, :o3, 29599309, 12
140
+ tz.transition 2041, 10, :o2, 29601829, 12
141
+ tz.transition 2042, 3, :o3, 29603677, 12
142
+ tz.transition 2042, 10, :o2, 29606197, 12
143
+ tz.transition 2043, 3, :o3, 29608045, 12
144
+ tz.transition 2043, 10, :o2, 29610565, 12
145
+ tz.transition 2044, 3, :o3, 29612413, 12
146
+ tz.transition 2044, 10, :o2, 29615017, 12
147
+ tz.transition 2045, 3, :o3, 29616781, 12
148
+ tz.transition 2045, 10, :o2, 29619385, 12
149
+ tz.transition 2046, 3, :o3, 29621149, 12
150
+ tz.transition 2046, 10, :o2, 29623753, 12
151
+ tz.transition 2047, 3, :o3, 29625601, 12
152
+ tz.transition 2047, 10, :o2, 29628121, 12
153
+ tz.transition 2048, 3, :o3, 29629969, 12
154
+ tz.transition 2048, 10, :o2, 29632489, 12
155
+ tz.transition 2049, 3, :o3, 29634337, 12
156
+ tz.transition 2049, 10, :o2, 29636941, 12
157
+ tz.transition 2050, 3, :o3, 29638705, 12
158
+ tz.transition 2050, 10, :o2, 29641309, 12
159
+ end
160
+ end
161
+ end
162
+ end
163
+ end