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,211 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Europe
6
+ module Madrid
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Europe/Madrid' do |tz|
10
+ tz.offset :o0, -884, 0, :LMT
11
+ tz.offset :o1, 0, 0, :WET
12
+ tz.offset :o2, 0, 3600, :WEST
13
+ tz.offset :o3, 0, 7200, :WEMT
14
+ tz.offset :o4, 3600, 0, :CET
15
+ tz.offset :o5, 3600, 3600, :CEST
16
+
17
+ tz.transition 1901, 1, :o1, 52172327021, 21600
18
+ tz.transition 1917, 5, :o2, 58112507, 24
19
+ tz.transition 1917, 10, :o1, 58116203, 24
20
+ tz.transition 1918, 4, :o2, 58120787, 24
21
+ tz.transition 1918, 10, :o1, 58124963, 24
22
+ tz.transition 1919, 4, :o2, 58129307, 24
23
+ tz.transition 1919, 10, :o1, 58133723, 24
24
+ tz.transition 1924, 4, :o2, 58173419, 24
25
+ tz.transition 1924, 10, :o1, 58177523, 24
26
+ tz.transition 1926, 4, :o2, 58190963, 24
27
+ tz.transition 1926, 10, :o1, 58194995, 24
28
+ tz.transition 1927, 4, :o2, 58199531, 24
29
+ tz.transition 1927, 10, :o1, 58203731, 24
30
+ tz.transition 1928, 4, :o2, 58208435, 24
31
+ tz.transition 1928, 10, :o1, 58212635, 24
32
+ tz.transition 1929, 4, :o2, 58217339, 24
33
+ tz.transition 1929, 10, :o1, 58221371, 24
34
+ tz.transition 1937, 5, :o2, 58288235, 24
35
+ tz.transition 1937, 10, :o1, 58291427, 24
36
+ tz.transition 1938, 3, :o2, 58295531, 24
37
+ tz.transition 1938, 10, :o1, 58300163, 24
38
+ tz.transition 1939, 4, :o2, 58304867, 24
39
+ tz.transition 1939, 10, :o1, 58309067, 24
40
+ tz.transition 1940, 3, :o2, 58312931, 24
41
+ tz.transition 1942, 5, :o3, 29165789, 12
42
+ tz.transition 1942, 9, :o2, 29167253, 12
43
+ tz.transition 1943, 4, :o3, 29169989, 12
44
+ tz.transition 1943, 10, :o2, 29172017, 12
45
+ tz.transition 1944, 4, :o3, 29174357, 12
46
+ tz.transition 1944, 10, :o2, 29176493, 12
47
+ tz.transition 1945, 4, :o3, 29178725, 12
48
+ tz.transition 1945, 9, :o2, 58361483, 24
49
+ tz.transition 1946, 4, :o3, 29183093, 12
50
+ tz.transition 1946, 9, :o4, 29185121, 12
51
+ tz.transition 1949, 4, :o5, 29196449, 12
52
+ tz.transition 1949, 9, :o4, 58396547, 24
53
+ tz.transition 1974, 4, :o5, 135122400
54
+ tz.transition 1974, 10, :o4, 150246000
55
+ tz.transition 1975, 4, :o5, 167176800
56
+ tz.transition 1975, 10, :o4, 181695600
57
+ tz.transition 1976, 3, :o5, 196812000
58
+ tz.transition 1976, 9, :o4, 212540400
59
+ tz.transition 1977, 4, :o5, 228866400
60
+ tz.transition 1977, 9, :o4, 243990000
61
+ tz.transition 1978, 4, :o5, 260402400
62
+ tz.transition 1978, 9, :o4, 276044400
63
+ tz.transition 1979, 4, :o5, 291776400
64
+ tz.transition 1979, 9, :o4, 307501200
65
+ tz.transition 1980, 4, :o5, 323830800
66
+ tz.transition 1980, 9, :o4, 338950800
67
+ tz.transition 1981, 3, :o5, 354675600
68
+ tz.transition 1981, 9, :o4, 370400400
69
+ tz.transition 1982, 3, :o5, 386125200
70
+ tz.transition 1982, 9, :o4, 401850000
71
+ tz.transition 1983, 3, :o5, 417574800
72
+ tz.transition 1983, 9, :o4, 433299600
73
+ tz.transition 1984, 3, :o5, 449024400
74
+ tz.transition 1984, 9, :o4, 465354000
75
+ tz.transition 1985, 3, :o5, 481078800
76
+ tz.transition 1985, 9, :o4, 496803600
77
+ tz.transition 1986, 3, :o5, 512528400
78
+ tz.transition 1986, 9, :o4, 528253200
79
+ tz.transition 1987, 3, :o5, 543978000
80
+ tz.transition 1987, 9, :o4, 559702800
81
+ tz.transition 1988, 3, :o5, 575427600
82
+ tz.transition 1988, 9, :o4, 591152400
83
+ tz.transition 1989, 3, :o5, 606877200
84
+ tz.transition 1989, 9, :o4, 622602000
85
+ tz.transition 1990, 3, :o5, 638326800
86
+ tz.transition 1990, 9, :o4, 654656400
87
+ tz.transition 1991, 3, :o5, 670381200
88
+ tz.transition 1991, 9, :o4, 686106000
89
+ tz.transition 1992, 3, :o5, 701830800
90
+ tz.transition 1992, 9, :o4, 717555600
91
+ tz.transition 1993, 3, :o5, 733280400
92
+ tz.transition 1993, 9, :o4, 749005200
93
+ tz.transition 1994, 3, :o5, 764730000
94
+ tz.transition 1994, 9, :o4, 780454800
95
+ tz.transition 1995, 3, :o5, 796179600
96
+ tz.transition 1995, 9, :o4, 811904400
97
+ tz.transition 1996, 3, :o5, 828234000
98
+ tz.transition 1996, 10, :o4, 846378000
99
+ tz.transition 1997, 3, :o5, 859683600
100
+ tz.transition 1997, 10, :o4, 877827600
101
+ tz.transition 1998, 3, :o5, 891133200
102
+ tz.transition 1998, 10, :o4, 909277200
103
+ tz.transition 1999, 3, :o5, 922582800
104
+ tz.transition 1999, 10, :o4, 941331600
105
+ tz.transition 2000, 3, :o5, 954032400
106
+ tz.transition 2000, 10, :o4, 972781200
107
+ tz.transition 2001, 3, :o5, 985482000
108
+ tz.transition 2001, 10, :o4, 1004230800
109
+ tz.transition 2002, 3, :o5, 1017536400
110
+ tz.transition 2002, 10, :o4, 1035680400
111
+ tz.transition 2003, 3, :o5, 1048986000
112
+ tz.transition 2003, 10, :o4, 1067130000
113
+ tz.transition 2004, 3, :o5, 1080435600
114
+ tz.transition 2004, 10, :o4, 1099184400
115
+ tz.transition 2005, 3, :o5, 1111885200
116
+ tz.transition 2005, 10, :o4, 1130634000
117
+ tz.transition 2006, 3, :o5, 1143334800
118
+ tz.transition 2006, 10, :o4, 1162083600
119
+ tz.transition 2007, 3, :o5, 1174784400
120
+ tz.transition 2007, 10, :o4, 1193533200
121
+ tz.transition 2008, 3, :o5, 1206838800
122
+ tz.transition 2008, 10, :o4, 1224982800
123
+ tz.transition 2009, 3, :o5, 1238288400
124
+ tz.transition 2009, 10, :o4, 1256432400
125
+ tz.transition 2010, 3, :o5, 1269738000
126
+ tz.transition 2010, 10, :o4, 1288486800
127
+ tz.transition 2011, 3, :o5, 1301187600
128
+ tz.transition 2011, 10, :o4, 1319936400
129
+ tz.transition 2012, 3, :o5, 1332637200
130
+ tz.transition 2012, 10, :o4, 1351386000
131
+ tz.transition 2013, 3, :o5, 1364691600
132
+ tz.transition 2013, 10, :o4, 1382835600
133
+ tz.transition 2014, 3, :o5, 1396141200
134
+ tz.transition 2014, 10, :o4, 1414285200
135
+ tz.transition 2015, 3, :o5, 1427590800
136
+ tz.transition 2015, 10, :o4, 1445734800
137
+ tz.transition 2016, 3, :o5, 1459040400
138
+ tz.transition 2016, 10, :o4, 1477789200
139
+ tz.transition 2017, 3, :o5, 1490490000
140
+ tz.transition 2017, 10, :o4, 1509238800
141
+ tz.transition 2018, 3, :o5, 1521939600
142
+ tz.transition 2018, 10, :o4, 1540688400
143
+ tz.transition 2019, 3, :o5, 1553994000
144
+ tz.transition 2019, 10, :o4, 1572138000
145
+ tz.transition 2020, 3, :o5, 1585443600
146
+ tz.transition 2020, 10, :o4, 1603587600
147
+ tz.transition 2021, 3, :o5, 1616893200
148
+ tz.transition 2021, 10, :o4, 1635642000
149
+ tz.transition 2022, 3, :o5, 1648342800
150
+ tz.transition 2022, 10, :o4, 1667091600
151
+ tz.transition 2023, 3, :o5, 1679792400
152
+ tz.transition 2023, 10, :o4, 1698541200
153
+ tz.transition 2024, 3, :o5, 1711846800
154
+ tz.transition 2024, 10, :o4, 1729990800
155
+ tz.transition 2025, 3, :o5, 1743296400
156
+ tz.transition 2025, 10, :o4, 1761440400
157
+ tz.transition 2026, 3, :o5, 1774746000
158
+ tz.transition 2026, 10, :o4, 1792890000
159
+ tz.transition 2027, 3, :o5, 1806195600
160
+ tz.transition 2027, 10, :o4, 1824944400
161
+ tz.transition 2028, 3, :o5, 1837645200
162
+ tz.transition 2028, 10, :o4, 1856394000
163
+ tz.transition 2029, 3, :o5, 1869094800
164
+ tz.transition 2029, 10, :o4, 1887843600
165
+ tz.transition 2030, 3, :o5, 1901149200
166
+ tz.transition 2030, 10, :o4, 1919293200
167
+ tz.transition 2031, 3, :o5, 1932598800
168
+ tz.transition 2031, 10, :o4, 1950742800
169
+ tz.transition 2032, 3, :o5, 1964048400
170
+ tz.transition 2032, 10, :o4, 1982797200
171
+ tz.transition 2033, 3, :o5, 1995498000
172
+ tz.transition 2033, 10, :o4, 2014246800
173
+ tz.transition 2034, 3, :o5, 2026947600
174
+ tz.transition 2034, 10, :o4, 2045696400
175
+ tz.transition 2035, 3, :o5, 2058397200
176
+ tz.transition 2035, 10, :o4, 2077146000
177
+ tz.transition 2036, 3, :o5, 2090451600
178
+ tz.transition 2036, 10, :o4, 2108595600
179
+ tz.transition 2037, 3, :o5, 2121901200
180
+ tz.transition 2037, 10, :o4, 2140045200
181
+ tz.transition 2038, 3, :o5, 59172253, 24
182
+ tz.transition 2038, 10, :o4, 59177461, 24
183
+ tz.transition 2039, 3, :o5, 59180989, 24
184
+ tz.transition 2039, 10, :o4, 59186197, 24
185
+ tz.transition 2040, 3, :o5, 59189725, 24
186
+ tz.transition 2040, 10, :o4, 59194933, 24
187
+ tz.transition 2041, 3, :o5, 59198629, 24
188
+ tz.transition 2041, 10, :o4, 59203669, 24
189
+ tz.transition 2042, 3, :o5, 59207365, 24
190
+ tz.transition 2042, 10, :o4, 59212405, 24
191
+ tz.transition 2043, 3, :o5, 59216101, 24
192
+ tz.transition 2043, 10, :o4, 59221141, 24
193
+ tz.transition 2044, 3, :o5, 59224837, 24
194
+ tz.transition 2044, 10, :o4, 59230045, 24
195
+ tz.transition 2045, 3, :o5, 59233573, 24
196
+ tz.transition 2045, 10, :o4, 59238781, 24
197
+ tz.transition 2046, 3, :o5, 59242309, 24
198
+ tz.transition 2046, 10, :o4, 59247517, 24
199
+ tz.transition 2047, 3, :o5, 59251213, 24
200
+ tz.transition 2047, 10, :o4, 59256253, 24
201
+ tz.transition 2048, 3, :o5, 59259949, 24
202
+ tz.transition 2048, 10, :o4, 59264989, 24
203
+ tz.transition 2049, 3, :o5, 59268685, 24
204
+ tz.transition 2049, 10, :o4, 59273893, 24
205
+ tz.transition 2050, 3, :o5, 59277421, 24
206
+ tz.transition 2050, 10, :o4, 59282629, 24
207
+ end
208
+ end
209
+ end
210
+ end
211
+ end
@@ -0,0 +1,170 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Europe
6
+ module Minsk
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Europe/Minsk' do |tz|
10
+ tz.offset :o0, 6616, 0, :LMT
11
+ tz.offset :o1, 6600, 0, :MMT
12
+ tz.offset :o2, 7200, 0, :EET
13
+ tz.offset :o3, 10800, 0, :MSK
14
+ tz.offset :o4, 3600, 3600, :CEST
15
+ tz.offset :o5, 3600, 0, :CET
16
+ tz.offset :o6, 10800, 3600, :MSD
17
+ tz.offset :o7, 7200, 3600, :EEST
18
+
19
+ tz.transition 1879, 12, :o1, 26003326573, 10800
20
+ tz.transition 1924, 5, :o2, 349042669, 144
21
+ tz.transition 1930, 6, :o3, 29113781, 12
22
+ tz.transition 1941, 6, :o4, 19441387, 8
23
+ tz.transition 1942, 11, :o5, 58335973, 24
24
+ tz.transition 1943, 3, :o4, 58339501, 24
25
+ tz.transition 1943, 10, :o5, 58344037, 24
26
+ tz.transition 1944, 4, :o4, 58348405, 24
27
+ tz.transition 1944, 7, :o3, 29175293, 12
28
+ tz.transition 1981, 3, :o6, 354920400
29
+ tz.transition 1981, 9, :o3, 370728000
30
+ tz.transition 1982, 3, :o6, 386456400
31
+ tz.transition 1982, 9, :o3, 402264000
32
+ tz.transition 1983, 3, :o6, 417992400
33
+ tz.transition 1983, 9, :o3, 433800000
34
+ tz.transition 1984, 3, :o6, 449614800
35
+ tz.transition 1984, 9, :o3, 465346800
36
+ tz.transition 1985, 3, :o6, 481071600
37
+ tz.transition 1985, 9, :o3, 496796400
38
+ tz.transition 1986, 3, :o6, 512521200
39
+ tz.transition 1986, 9, :o3, 528246000
40
+ tz.transition 1987, 3, :o6, 543970800
41
+ tz.transition 1987, 9, :o3, 559695600
42
+ tz.transition 1988, 3, :o6, 575420400
43
+ tz.transition 1988, 9, :o3, 591145200
44
+ tz.transition 1989, 3, :o6, 606870000
45
+ tz.transition 1989, 9, :o3, 622594800
46
+ tz.transition 1991, 3, :o7, 670374000
47
+ tz.transition 1991, 9, :o2, 686102400
48
+ tz.transition 1992, 3, :o7, 701820000
49
+ tz.transition 1992, 9, :o2, 717544800
50
+ tz.transition 1993, 3, :o7, 733276800
51
+ tz.transition 1993, 9, :o2, 749001600
52
+ tz.transition 1994, 3, :o7, 764726400
53
+ tz.transition 1994, 9, :o2, 780451200
54
+ tz.transition 1995, 3, :o7, 796176000
55
+ tz.transition 1995, 9, :o2, 811900800
56
+ tz.transition 1996, 3, :o7, 828230400
57
+ tz.transition 1996, 10, :o2, 846374400
58
+ tz.transition 1997, 3, :o7, 859680000
59
+ tz.transition 1997, 10, :o2, 877824000
60
+ tz.transition 1998, 3, :o7, 891129600
61
+ tz.transition 1998, 10, :o2, 909273600
62
+ tz.transition 1999, 3, :o7, 922579200
63
+ tz.transition 1999, 10, :o2, 941328000
64
+ tz.transition 2000, 3, :o7, 954028800
65
+ tz.transition 2000, 10, :o2, 972777600
66
+ tz.transition 2001, 3, :o7, 985478400
67
+ tz.transition 2001, 10, :o2, 1004227200
68
+ tz.transition 2002, 3, :o7, 1017532800
69
+ tz.transition 2002, 10, :o2, 1035676800
70
+ tz.transition 2003, 3, :o7, 1048982400
71
+ tz.transition 2003, 10, :o2, 1067126400
72
+ tz.transition 2004, 3, :o7, 1080432000
73
+ tz.transition 2004, 10, :o2, 1099180800
74
+ tz.transition 2005, 3, :o7, 1111881600
75
+ tz.transition 2005, 10, :o2, 1130630400
76
+ tz.transition 2006, 3, :o7, 1143331200
77
+ tz.transition 2006, 10, :o2, 1162080000
78
+ tz.transition 2007, 3, :o7, 1174780800
79
+ tz.transition 2007, 10, :o2, 1193529600
80
+ tz.transition 2008, 3, :o7, 1206835200
81
+ tz.transition 2008, 10, :o2, 1224979200
82
+ tz.transition 2009, 3, :o7, 1238284800
83
+ tz.transition 2009, 10, :o2, 1256428800
84
+ tz.transition 2010, 3, :o7, 1269734400
85
+ tz.transition 2010, 10, :o2, 1288483200
86
+ tz.transition 2011, 3, :o7, 1301184000
87
+ tz.transition 2011, 10, :o2, 1319932800
88
+ tz.transition 2012, 3, :o7, 1332633600
89
+ tz.transition 2012, 10, :o2, 1351382400
90
+ tz.transition 2013, 3, :o7, 1364688000
91
+ tz.transition 2013, 10, :o2, 1382832000
92
+ tz.transition 2014, 3, :o7, 1396137600
93
+ tz.transition 2014, 10, :o2, 1414281600
94
+ tz.transition 2015, 3, :o7, 1427587200
95
+ tz.transition 2015, 10, :o2, 1445731200
96
+ tz.transition 2016, 3, :o7, 1459036800
97
+ tz.transition 2016, 10, :o2, 1477785600
98
+ tz.transition 2017, 3, :o7, 1490486400
99
+ tz.transition 2017, 10, :o2, 1509235200
100
+ tz.transition 2018, 3, :o7, 1521936000
101
+ tz.transition 2018, 10, :o2, 1540684800
102
+ tz.transition 2019, 3, :o7, 1553990400
103
+ tz.transition 2019, 10, :o2, 1572134400
104
+ tz.transition 2020, 3, :o7, 1585440000
105
+ tz.transition 2020, 10, :o2, 1603584000
106
+ tz.transition 2021, 3, :o7, 1616889600
107
+ tz.transition 2021, 10, :o2, 1635638400
108
+ tz.transition 2022, 3, :o7, 1648339200
109
+ tz.transition 2022, 10, :o2, 1667088000
110
+ tz.transition 2023, 3, :o7, 1679788800
111
+ tz.transition 2023, 10, :o2, 1698537600
112
+ tz.transition 2024, 3, :o7, 1711843200
113
+ tz.transition 2024, 10, :o2, 1729987200
114
+ tz.transition 2025, 3, :o7, 1743292800
115
+ tz.transition 2025, 10, :o2, 1761436800
116
+ tz.transition 2026, 3, :o7, 1774742400
117
+ tz.transition 2026, 10, :o2, 1792886400
118
+ tz.transition 2027, 3, :o7, 1806192000
119
+ tz.transition 2027, 10, :o2, 1824940800
120
+ tz.transition 2028, 3, :o7, 1837641600
121
+ tz.transition 2028, 10, :o2, 1856390400
122
+ tz.transition 2029, 3, :o7, 1869091200
123
+ tz.transition 2029, 10, :o2, 1887840000
124
+ tz.transition 2030, 3, :o7, 1901145600
125
+ tz.transition 2030, 10, :o2, 1919289600
126
+ tz.transition 2031, 3, :o7, 1932595200
127
+ tz.transition 2031, 10, :o2, 1950739200
128
+ tz.transition 2032, 3, :o7, 1964044800
129
+ tz.transition 2032, 10, :o2, 1982793600
130
+ tz.transition 2033, 3, :o7, 1995494400
131
+ tz.transition 2033, 10, :o2, 2014243200
132
+ tz.transition 2034, 3, :o7, 2026944000
133
+ tz.transition 2034, 10, :o2, 2045692800
134
+ tz.transition 2035, 3, :o7, 2058393600
135
+ tz.transition 2035, 10, :o2, 2077142400
136
+ tz.transition 2036, 3, :o7, 2090448000
137
+ tz.transition 2036, 10, :o2, 2108592000
138
+ tz.transition 2037, 3, :o7, 2121897600
139
+ tz.transition 2037, 10, :o2, 2140041600
140
+ tz.transition 2038, 3, :o7, 4931021, 2
141
+ tz.transition 2038, 10, :o2, 4931455, 2
142
+ tz.transition 2039, 3, :o7, 4931749, 2
143
+ tz.transition 2039, 10, :o2, 4932183, 2
144
+ tz.transition 2040, 3, :o7, 4932477, 2
145
+ tz.transition 2040, 10, :o2, 4932911, 2
146
+ tz.transition 2041, 3, :o7, 4933219, 2
147
+ tz.transition 2041, 10, :o2, 4933639, 2
148
+ tz.transition 2042, 3, :o7, 4933947, 2
149
+ tz.transition 2042, 10, :o2, 4934367, 2
150
+ tz.transition 2043, 3, :o7, 4934675, 2
151
+ tz.transition 2043, 10, :o2, 4935095, 2
152
+ tz.transition 2044, 3, :o7, 4935403, 2
153
+ tz.transition 2044, 10, :o2, 4935837, 2
154
+ tz.transition 2045, 3, :o7, 4936131, 2
155
+ tz.transition 2045, 10, :o2, 4936565, 2
156
+ tz.transition 2046, 3, :o7, 4936859, 2
157
+ tz.transition 2046, 10, :o2, 4937293, 2
158
+ tz.transition 2047, 3, :o7, 4937601, 2
159
+ tz.transition 2047, 10, :o2, 4938021, 2
160
+ tz.transition 2048, 3, :o7, 4938329, 2
161
+ tz.transition 2048, 10, :o2, 4938749, 2
162
+ tz.transition 2049, 3, :o7, 4939057, 2
163
+ tz.transition 2049, 10, :o2, 4939491, 2
164
+ tz.transition 2050, 3, :o7, 4939785, 2
165
+ tz.transition 2050, 10, :o2, 4940219, 2
166
+ end
167
+ end
168
+ end
169
+ end
170
+ end
@@ -0,0 +1,181 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Europe
6
+ module Moscow
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Europe/Moscow' do |tz|
10
+ tz.offset :o0, 9020, 0, :LMT
11
+ tz.offset :o1, 9000, 0, :MMT
12
+ tz.offset :o2, 9048, 0, :MMT
13
+ tz.offset :o3, 9048, 3600, :MST
14
+ tz.offset :o4, 9048, 7200, :MDST
15
+ tz.offset :o5, 10800, 3600, :MSD
16
+ tz.offset :o6, 10800, 0, :MSK
17
+ tz.offset :o7, 10800, 7200, :MSD
18
+ tz.offset :o8, 7200, 0, :EET
19
+ tz.offset :o9, 7200, 3600, :EEST
20
+
21
+ tz.transition 1879, 12, :o1, 10401330509, 4320
22
+ tz.transition 1916, 7, :o2, 116210275, 48
23
+ tz.transition 1917, 7, :o3, 8717080873, 3600
24
+ tz.transition 1917, 12, :o2, 8717725273, 3600
25
+ tz.transition 1918, 5, :o4, 8718283123, 3600
26
+ tz.transition 1918, 9, :o3, 8718668473, 3600
27
+ tz.transition 1919, 5, :o4, 8719597123, 3600
28
+ tz.transition 1919, 6, :o5, 8719705423, 3600
29
+ tz.transition 1919, 8, :o6, 7266559, 3
30
+ tz.transition 1921, 2, :o5, 7268206, 3
31
+ tz.transition 1921, 3, :o7, 58146463, 24
32
+ tz.transition 1921, 8, :o5, 58150399, 24
33
+ tz.transition 1921, 9, :o6, 7268890, 3
34
+ tz.transition 1922, 9, :o8, 19386627, 8
35
+ tz.transition 1930, 6, :o6, 29113781, 12
36
+ tz.transition 1981, 3, :o5, 354920400
37
+ tz.transition 1981, 9, :o6, 370728000
38
+ tz.transition 1982, 3, :o5, 386456400
39
+ tz.transition 1982, 9, :o6, 402264000
40
+ tz.transition 1983, 3, :o5, 417992400
41
+ tz.transition 1983, 9, :o6, 433800000
42
+ tz.transition 1984, 3, :o5, 449614800
43
+ tz.transition 1984, 9, :o6, 465346800
44
+ tz.transition 1985, 3, :o5, 481071600
45
+ tz.transition 1985, 9, :o6, 496796400
46
+ tz.transition 1986, 3, :o5, 512521200
47
+ tz.transition 1986, 9, :o6, 528246000
48
+ tz.transition 1987, 3, :o5, 543970800
49
+ tz.transition 1987, 9, :o6, 559695600
50
+ tz.transition 1988, 3, :o5, 575420400
51
+ tz.transition 1988, 9, :o6, 591145200
52
+ tz.transition 1989, 3, :o5, 606870000
53
+ tz.transition 1989, 9, :o6, 622594800
54
+ tz.transition 1990, 3, :o5, 638319600
55
+ tz.transition 1990, 9, :o6, 654649200
56
+ tz.transition 1991, 3, :o9, 670374000
57
+ tz.transition 1991, 9, :o8, 686102400
58
+ tz.transition 1992, 1, :o6, 695779200
59
+ tz.transition 1992, 3, :o5, 701812800
60
+ tz.transition 1992, 9, :o6, 717534000
61
+ tz.transition 1993, 3, :o5, 733273200
62
+ tz.transition 1993, 9, :o6, 748998000
63
+ tz.transition 1994, 3, :o5, 764722800
64
+ tz.transition 1994, 9, :o6, 780447600
65
+ tz.transition 1995, 3, :o5, 796172400
66
+ tz.transition 1995, 9, :o6, 811897200
67
+ tz.transition 1996, 3, :o5, 828226800
68
+ tz.transition 1996, 10, :o6, 846370800
69
+ tz.transition 1997, 3, :o5, 859676400
70
+ tz.transition 1997, 10, :o6, 877820400
71
+ tz.transition 1998, 3, :o5, 891126000
72
+ tz.transition 1998, 10, :o6, 909270000
73
+ tz.transition 1999, 3, :o5, 922575600
74
+ tz.transition 1999, 10, :o6, 941324400
75
+ tz.transition 2000, 3, :o5, 954025200
76
+ tz.transition 2000, 10, :o6, 972774000
77
+ tz.transition 2001, 3, :o5, 985474800
78
+ tz.transition 2001, 10, :o6, 1004223600
79
+ tz.transition 2002, 3, :o5, 1017529200
80
+ tz.transition 2002, 10, :o6, 1035673200
81
+ tz.transition 2003, 3, :o5, 1048978800
82
+ tz.transition 2003, 10, :o6, 1067122800
83
+ tz.transition 2004, 3, :o5, 1080428400
84
+ tz.transition 2004, 10, :o6, 1099177200
85
+ tz.transition 2005, 3, :o5, 1111878000
86
+ tz.transition 2005, 10, :o6, 1130626800
87
+ tz.transition 2006, 3, :o5, 1143327600
88
+ tz.transition 2006, 10, :o6, 1162076400
89
+ tz.transition 2007, 3, :o5, 1174777200
90
+ tz.transition 2007, 10, :o6, 1193526000
91
+ tz.transition 2008, 3, :o5, 1206831600
92
+ tz.transition 2008, 10, :o6, 1224975600
93
+ tz.transition 2009, 3, :o5, 1238281200
94
+ tz.transition 2009, 10, :o6, 1256425200
95
+ tz.transition 2010, 3, :o5, 1269730800
96
+ tz.transition 2010, 10, :o6, 1288479600
97
+ tz.transition 2011, 3, :o5, 1301180400
98
+ tz.transition 2011, 10, :o6, 1319929200
99
+ tz.transition 2012, 3, :o5, 1332630000
100
+ tz.transition 2012, 10, :o6, 1351378800
101
+ tz.transition 2013, 3, :o5, 1364684400
102
+ tz.transition 2013, 10, :o6, 1382828400
103
+ tz.transition 2014, 3, :o5, 1396134000
104
+ tz.transition 2014, 10, :o6, 1414278000
105
+ tz.transition 2015, 3, :o5, 1427583600
106
+ tz.transition 2015, 10, :o6, 1445727600
107
+ tz.transition 2016, 3, :o5, 1459033200
108
+ tz.transition 2016, 10, :o6, 1477782000
109
+ tz.transition 2017, 3, :o5, 1490482800
110
+ tz.transition 2017, 10, :o6, 1509231600
111
+ tz.transition 2018, 3, :o5, 1521932400
112
+ tz.transition 2018, 10, :o6, 1540681200
113
+ tz.transition 2019, 3, :o5, 1553986800
114
+ tz.transition 2019, 10, :o6, 1572130800
115
+ tz.transition 2020, 3, :o5, 1585436400
116
+ tz.transition 2020, 10, :o6, 1603580400
117
+ tz.transition 2021, 3, :o5, 1616886000
118
+ tz.transition 2021, 10, :o6, 1635634800
119
+ tz.transition 2022, 3, :o5, 1648335600
120
+ tz.transition 2022, 10, :o6, 1667084400
121
+ tz.transition 2023, 3, :o5, 1679785200
122
+ tz.transition 2023, 10, :o6, 1698534000
123
+ tz.transition 2024, 3, :o5, 1711839600
124
+ tz.transition 2024, 10, :o6, 1729983600
125
+ tz.transition 2025, 3, :o5, 1743289200
126
+ tz.transition 2025, 10, :o6, 1761433200
127
+ tz.transition 2026, 3, :o5, 1774738800
128
+ tz.transition 2026, 10, :o6, 1792882800
129
+ tz.transition 2027, 3, :o5, 1806188400
130
+ tz.transition 2027, 10, :o6, 1824937200
131
+ tz.transition 2028, 3, :o5, 1837638000
132
+ tz.transition 2028, 10, :o6, 1856386800
133
+ tz.transition 2029, 3, :o5, 1869087600
134
+ tz.transition 2029, 10, :o6, 1887836400
135
+ tz.transition 2030, 3, :o5, 1901142000
136
+ tz.transition 2030, 10, :o6, 1919286000
137
+ tz.transition 2031, 3, :o5, 1932591600
138
+ tz.transition 2031, 10, :o6, 1950735600
139
+ tz.transition 2032, 3, :o5, 1964041200
140
+ tz.transition 2032, 10, :o6, 1982790000
141
+ tz.transition 2033, 3, :o5, 1995490800
142
+ tz.transition 2033, 10, :o6, 2014239600
143
+ tz.transition 2034, 3, :o5, 2026940400
144
+ tz.transition 2034, 10, :o6, 2045689200
145
+ tz.transition 2035, 3, :o5, 2058390000
146
+ tz.transition 2035, 10, :o6, 2077138800
147
+ tz.transition 2036, 3, :o5, 2090444400
148
+ tz.transition 2036, 10, :o6, 2108588400
149
+ tz.transition 2037, 3, :o5, 2121894000
150
+ tz.transition 2037, 10, :o6, 2140038000
151
+ tz.transition 2038, 3, :o5, 59172251, 24
152
+ tz.transition 2038, 10, :o6, 59177459, 24
153
+ tz.transition 2039, 3, :o5, 59180987, 24
154
+ tz.transition 2039, 10, :o6, 59186195, 24
155
+ tz.transition 2040, 3, :o5, 59189723, 24
156
+ tz.transition 2040, 10, :o6, 59194931, 24
157
+ tz.transition 2041, 3, :o5, 59198627, 24
158
+ tz.transition 2041, 10, :o6, 59203667, 24
159
+ tz.transition 2042, 3, :o5, 59207363, 24
160
+ tz.transition 2042, 10, :o6, 59212403, 24
161
+ tz.transition 2043, 3, :o5, 59216099, 24
162
+ tz.transition 2043, 10, :o6, 59221139, 24
163
+ tz.transition 2044, 3, :o5, 59224835, 24
164
+ tz.transition 2044, 10, :o6, 59230043, 24
165
+ tz.transition 2045, 3, :o5, 59233571, 24
166
+ tz.transition 2045, 10, :o6, 59238779, 24
167
+ tz.transition 2046, 3, :o5, 59242307, 24
168
+ tz.transition 2046, 10, :o6, 59247515, 24
169
+ tz.transition 2047, 3, :o5, 59251211, 24
170
+ tz.transition 2047, 10, :o6, 59256251, 24
171
+ tz.transition 2048, 3, :o5, 59259947, 24
172
+ tz.transition 2048, 10, :o6, 59264987, 24
173
+ tz.transition 2049, 3, :o5, 59268683, 24
174
+ tz.transition 2049, 10, :o6, 59273891, 24
175
+ tz.transition 2050, 3, :o5, 59277419, 24
176
+ tz.transition 2050, 10, :o6, 59282627, 24
177
+ end
178
+ end
179
+ end
180
+ end
181
+ end