lazy_record 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1338) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/lazy_record.gemspec +6 -5
  4. data/lib/lazy_record/associations.rb +19 -15
  5. data/lib/lazy_record/base_module.rb +8 -10
  6. data/lib/lazy_record/relation.rb +15 -8
  7. data/lib/lazy_record/version.rb +1 -1
  8. metadata +2 -1332
  9. data/example/cat.rb +0 -5
  10. data/example/dog.rb +0 -12
  11. data/example/friend.rb +0 -5
  12. data/example/person.rb +0 -84
  13. data/vendor/bundle/bin/coderay +0 -22
  14. data/vendor/bundle/bin/htmldiff +0 -24
  15. data/vendor/bundle/bin/ldiff +0 -24
  16. data/vendor/bundle/bin/pry +0 -22
  17. data/vendor/bundle/bin/rake +0 -22
  18. data/vendor/bundle/bin/rspec +0 -22
  19. data/vendor/bundle/cache/activesupport-5.0.2.gem +0 -0
  20. data/vendor/bundle/cache/coderay-1.1.1.gem +0 -0
  21. data/vendor/bundle/cache/concurrent-ruby-1.0.5.gem +0 -0
  22. data/vendor/bundle/cache/diff-lcs-1.3.gem +0 -0
  23. data/vendor/bundle/cache/i18n-0.8.1.gem +0 -0
  24. data/vendor/bundle/cache/method_source-0.8.2.gem +0 -0
  25. data/vendor/bundle/cache/minitest-5.10.1.gem +0 -0
  26. data/vendor/bundle/cache/pry-0.10.4.gem +0 -0
  27. data/vendor/bundle/cache/rake-10.5.0.gem +0 -0
  28. data/vendor/bundle/cache/rspec-3.5.0.gem +0 -0
  29. data/vendor/bundle/cache/rspec-core-3.5.4.gem +0 -0
  30. data/vendor/bundle/cache/rspec-expectations-3.5.0.gem +0 -0
  31. data/vendor/bundle/cache/rspec-mocks-3.5.0.gem +0 -0
  32. data/vendor/bundle/cache/rspec-support-3.5.0.gem +0 -0
  33. data/vendor/bundle/cache/slop-3.6.0.gem +0 -0
  34. data/vendor/bundle/cache/thread_safe-0.3.6.gem +0 -0
  35. data/vendor/bundle/cache/tzinfo-1.2.2.gem +0 -0
  36. data/vendor/bundle/gems/activesupport-5.0.2/CHANGELOG.md +0 -922
  37. data/vendor/bundle/gems/activesupport-5.0.2/MIT-LICENSE +0 -20
  38. data/vendor/bundle/gems/activesupport-5.0.2/README.rdoc +0 -39
  39. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support.rb +0 -99
  40. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/all.rb +0 -3
  41. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/array_inquirer.rb +0 -44
  42. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/backtrace_cleaner.rb +0 -103
  43. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/benchmarkable.rb +0 -49
  44. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/builder.rb +0 -6
  45. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache.rb +0 -701
  46. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/file_store.rb +0 -204
  47. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/mem_cache_store.rb +0 -207
  48. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/memory_store.rb +0 -167
  49. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/null_store.rb +0 -41
  50. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/strategy/local_cache.rb +0 -172
  51. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/cache/strategy/local_cache_middleware.rb +0 -44
  52. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/callbacks.rb +0 -791
  53. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/concern.rb +0 -142
  54. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/concurrency/latch.rb +0 -26
  55. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/concurrency/share_lock.rb +0 -226
  56. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/configurable.rb +0 -148
  57. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext.rb +0 -4
  58. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array.rb +0 -7
  59. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/access.rb +0 -90
  60. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/conversions.rb +0 -211
  61. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/extract_options.rb +0 -29
  62. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/grouping.rb +0 -107
  63. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/inquiry.rb +0 -17
  64. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/prepend_and_append.rb +0 -7
  65. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/array/wrap.rb +0 -46
  66. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/benchmark.rb +0 -14
  67. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/big_decimal.rb +0 -1
  68. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/big_decimal/conversions.rb +0 -14
  69. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/class.rb +0 -2
  70. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/class/attribute.rb +0 -128
  71. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/class/attribute_accessors.rb +0 -4
  72. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/class/subclasses.rb +0 -41
  73. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date.rb +0 -5
  74. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/acts_like.rb +0 -8
  75. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/blank.rb +0 -12
  76. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/calculations.rb +0 -143
  77. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/conversions.rb +0 -95
  78. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date/zones.rb +0 -6
  79. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_and_time/calculations.rb +0 -335
  80. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_and_time/compatibility.rb +0 -22
  81. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_and_time/zones.rb +0 -40
  82. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time.rb +0 -5
  83. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/acts_like.rb +0 -14
  84. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/blank.rb +0 -12
  85. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/calculations.rb +0 -199
  86. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/compatibility.rb +0 -5
  87. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/date_time/conversions.rb +0 -105
  88. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/digest/uuid.rb +0 -51
  89. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/enumerable.rb +0 -124
  90. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/file.rb +0 -1
  91. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/file/atomic.rb +0 -68
  92. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash.rb +0 -9
  93. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/compact.rb +0 -24
  94. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/conversions.rb +0 -262
  95. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/deep_merge.rb +0 -38
  96. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/except.rb +0 -22
  97. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/indifferent_access.rb +0 -23
  98. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/keys.rb +0 -170
  99. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/reverse_merge.rb +0 -22
  100. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/slice.rb +0 -48
  101. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/hash/transform_values.rb +0 -29
  102. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/integer.rb +0 -3
  103. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/integer/inflections.rb +0 -29
  104. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/integer/multiple.rb +0 -10
  105. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/integer/time.rb +0 -29
  106. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel.rb +0 -4
  107. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
  108. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/concern.rb +0 -12
  109. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/debugger.rb +0 -3
  110. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/reporting.rb +0 -43
  111. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/singleton_class.rb +0 -6
  112. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/load_error.rb +0 -31
  113. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/marshal.rb +0 -22
  114. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module.rb +0 -12
  115. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/aliasing.rb +0 -74
  116. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/anonymous.rb +0 -28
  117. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/attr_internal.rb +0 -36
  118. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/attribute_accessors.rb +0 -212
  119. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +0 -141
  120. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/concerning.rb +0 -135
  121. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/delegation.rb +0 -216
  122. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/deprecation.rb +0 -23
  123. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/introspection.rb +0 -68
  124. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/method_transplanting.rb +0 -3
  125. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/qualified_const.rb +0 -70
  126. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/reachable.rb +0 -8
  127. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/module/remove_method.rb +0 -35
  128. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/name_error.rb +0 -31
  129. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric.rb +0 -4
  130. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric/bytes.rb +0 -64
  131. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric/conversions.rb +0 -144
  132. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric/inquiry.rb +0 -26
  133. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/numeric/time.rb +0 -74
  134. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object.rb +0 -14
  135. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/acts_like.rb +0 -10
  136. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/blank.rb +0 -143
  137. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/conversions.rb +0 -4
  138. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/deep_dup.rb +0 -53
  139. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/duplicable.rb +0 -124
  140. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/inclusion.rb +0 -27
  141. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/instance_variables.rb +0 -28
  142. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/json.rb +0 -205
  143. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/to_param.rb +0 -1
  144. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/to_query.rb +0 -84
  145. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/try.rb +0 -146
  146. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/object/with_options.rb +0 -69
  147. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range.rb +0 -4
  148. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range/conversions.rb +0 -31
  149. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range/each.rb +0 -21
  150. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range/include_range.rb +0 -23
  151. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/range/overlaps.rb +0 -8
  152. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/regexp.rb +0 -5
  153. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/securerandom.rb +0 -23
  154. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string.rb +0 -13
  155. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/access.rb +0 -104
  156. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/behavior.rb +0 -6
  157. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/conversions.rb +0 -57
  158. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/exclude.rb +0 -11
  159. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/filters.rb +0 -102
  160. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/indent.rb +0 -43
  161. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/inflections.rb +0 -244
  162. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/inquiry.rb +0 -13
  163. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/multibyte.rb +0 -53
  164. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/output_safety.rb +0 -260
  165. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/starts_ends_with.rb +0 -4
  166. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/strip.rb +0 -23
  167. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/string/zones.rb +0 -14
  168. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/struct.rb +0 -3
  169. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time.rb +0 -5
  170. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/acts_like.rb +0 -8
  171. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/calculations.rb +0 -290
  172. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/compatibility.rb +0 -5
  173. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/conversions.rb +0 -67
  174. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/marshal.rb +0 -3
  175. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/time/zones.rb +0 -111
  176. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/uri.rb +0 -24
  177. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies.rb +0 -754
  178. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies/autoload.rb +0 -77
  179. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/dependencies/interlock.rb +0 -55
  180. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation.rb +0 -43
  181. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/behaviors.rb +0 -90
  182. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/instance_delegator.rb +0 -37
  183. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/method_wrappers.rb +0 -70
  184. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/proxy_wrappers.rb +0 -149
  185. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/deprecation/reporting.rb +0 -112
  186. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/descendants_tracker.rb +0 -60
  187. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/duration.rb +0 -182
  188. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/duration/iso8601_parser.rb +0 -122
  189. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/duration/iso8601_serializer.rb +0 -51
  190. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/evented_file_update_checker.rb +0 -194
  191. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/execution_wrapper.rb +0 -126
  192. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/executor.rb +0 -6
  193. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/file_update_checker.rb +0 -157
  194. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/gem_version.rb +0 -15
  195. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/gzip.rb +0 -36
  196. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/hash_with_indifferent_access.rb +0 -329
  197. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/i18n.rb +0 -13
  198. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/i18n_railtie.rb +0 -115
  199. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflections.rb +0 -70
  200. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflector.rb +0 -7
  201. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflector/inflections.rb +0 -242
  202. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflector/methods.rb +0 -390
  203. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/inflector/transliterate.rb +0 -112
  204. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/json.rb +0 -2
  205. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/json/decoding.rb +0 -74
  206. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/json/encoding.rb +0 -127
  207. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/key_generator.rb +0 -71
  208. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/lazy_load_hooks.rb +0 -56
  209. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/locale/en.yml +0 -135
  210. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/log_subscriber.rb +0 -109
  211. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/log_subscriber/test_helper.rb +0 -104
  212. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/logger.rb +0 -106
  213. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/logger_silence.rb +0 -28
  214. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/logger_thread_safe_level.rb +0 -31
  215. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/message_encryptor.rb +0 -114
  216. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/message_verifier.rb +0 -134
  217. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte.rb +0 -21
  218. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte/chars.rb +0 -231
  219. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/multibyte/unicode.rb +0 -413
  220. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/notifications.rb +0 -212
  221. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/notifications/fanout.rb +0 -157
  222. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/notifications/instrumenter.rb +0 -91
  223. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper.rb +0 -368
  224. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_converter.rb +0 -182
  225. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_currency_converter.rb +0 -44
  226. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_delimited_converter.rb +0 -28
  227. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_human_converter.rb +0 -68
  228. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_human_size_converter.rb +0 -62
  229. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_percentage_converter.rb +0 -12
  230. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_phone_converter.rb +0 -58
  231. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/number_helper/number_to_rounded_converter.rb +0 -92
  232. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/option_merger.rb +0 -25
  233. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/ordered_hash.rb +0 -48
  234. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/ordered_options.rb +0 -81
  235. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/per_thread_registry.rb +0 -58
  236. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/proxy_object.rb +0 -13
  237. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/rails.rb +0 -27
  238. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/railtie.rb +0 -51
  239. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/reloader.rb +0 -129
  240. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/rescuable.rb +0 -167
  241. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/security_utils.rb +0 -27
  242. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/string_inquirer.rb +0 -26
  243. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/subscriber.rb +0 -120
  244. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/tagged_logging.rb +0 -77
  245. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/test_case.rb +0 -88
  246. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/assertions.rb +0 -99
  247. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/autorun.rb +0 -9
  248. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/constant_lookup.rb +0 -50
  249. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/declarative.rb +0 -26
  250. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/deprecation.rb +0 -36
  251. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/file_fixtures.rb +0 -34
  252. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/isolation.rb +0 -115
  253. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/method_call_assertions.rb +0 -41
  254. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/setup_and_teardown.rb +0 -50
  255. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/stream.rb +0 -42
  256. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/tagged_logging.rb +0 -25
  257. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/testing/time_helpers.rb +0 -134
  258. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/time.rb +0 -18
  259. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/time_with_zone.rb +0 -500
  260. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/values/time_zone.rb +0 -474
  261. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/values/unicode_tables.dat +0 -0
  262. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/version.rb +0 -8
  263. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini.rb +0 -209
  264. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/jdom.rb +0 -181
  265. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/libxml.rb +0 -79
  266. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/libxmlsax.rb +0 -85
  267. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/nokogiri.rb +0 -83
  268. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/nokogirisax.rb +0 -87
  269. data/vendor/bundle/gems/activesupport-5.0.2/lib/active_support/xml_mini/rexml.rb +0 -128
  270. data/vendor/bundle/gems/coderay-1.1.1/README_INDEX.rdoc +0 -123
  271. data/vendor/bundle/gems/coderay-1.1.1/Rakefile +0 -37
  272. data/vendor/bundle/gems/coderay-1.1.1/bin/coderay +0 -215
  273. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay.rb +0 -284
  274. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/duo.rb +0 -81
  275. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders.rb +0 -18
  276. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/_map.rb +0 -17
  277. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/comment_filter.rb +0 -25
  278. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/count.rb +0 -39
  279. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/debug.rb +0 -49
  280. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/debug_lint.rb +0 -63
  281. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/div.rb +0 -23
  282. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/encoder.rb +0 -190
  283. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/filter.rb +0 -58
  284. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html.rb +0 -333
  285. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html/css.rb +0 -65
  286. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html/numbering.rb +0 -108
  287. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/html/output.rb +0 -166
  288. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/json.rb +0 -83
  289. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/lines_of_code.rb +0 -45
  290. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/lint.rb +0 -59
  291. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/null.rb +0 -18
  292. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/page.rb +0 -24
  293. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/span.rb +0 -23
  294. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/statistic.rb +0 -95
  295. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/terminal.rb +0 -195
  296. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/text.rb +0 -46
  297. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/token_kind_filter.rb +0 -111
  298. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/xml.rb +0 -72
  299. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/encoders/yaml.rb +0 -50
  300. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/for_redcloth.rb +0 -95
  301. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/file_type.rb +0 -151
  302. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/plugin.rb +0 -55
  303. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/plugin_host.rb +0 -221
  304. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/word_list.rb +0 -72
  305. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners.rb +0 -27
  306. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/_map.rb +0 -24
  307. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/c.rb +0 -189
  308. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/clojure.rb +0 -217
  309. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/cpp.rb +0 -215
  310. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/css.rb +0 -196
  311. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/debug.rb +0 -75
  312. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/delphi.rb +0 -144
  313. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/diff.rb +0 -221
  314. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/erb.rb +0 -81
  315. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/go.rb +0 -208
  316. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/groovy.rb +0 -268
  317. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/haml.rb +0 -168
  318. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/html.rb +0 -275
  319. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/java.rb +0 -174
  320. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/java/builtin_types.rb +0 -421
  321. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/java_script.rb +0 -237
  322. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/json.rb +0 -98
  323. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/lua.rb +0 -280
  324. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/php.rb +0 -527
  325. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/python.rb +0 -287
  326. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/raydebug.rb +0 -75
  327. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/ruby.rb +0 -477
  328. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/ruby/patterns.rb +0 -178
  329. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/ruby/string_state.rb +0 -79
  330. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/sass.rb +0 -232
  331. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/scanner.rb +0 -337
  332. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/sql.rb +0 -169
  333. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/taskpaper.rb +0 -36
  334. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/text.rb +0 -26
  335. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/xml.rb +0 -17
  336. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/scanners/yaml.rb +0 -140
  337. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles.rb +0 -15
  338. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles/_map.rb +0 -7
  339. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles/alpha.rb +0 -153
  340. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/styles/style.rb +0 -18
  341. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/token_kinds.rb +0 -85
  342. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/tokens.rb +0 -161
  343. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/tokens_proxy.rb +0 -55
  344. data/vendor/bundle/gems/coderay-1.1.1/lib/coderay/version.rb +0 -3
  345. data/vendor/bundle/gems/coderay-1.1.1/test/functional/basic.rb +0 -318
  346. data/vendor/bundle/gems/coderay-1.1.1/test/functional/examples.rb +0 -129
  347. data/vendor/bundle/gems/coderay-1.1.1/test/functional/for_redcloth.rb +0 -78
  348. data/vendor/bundle/gems/coderay-1.1.1/test/functional/suite.rb +0 -15
  349. data/vendor/bundle/gems/concurrent-ruby-1.0.5/CHANGELOG.md +0 -387
  350. data/vendor/bundle/gems/concurrent-ruby-1.0.5/LICENSE.txt +0 -21
  351. data/vendor/bundle/gems/concurrent-ruby-1.0.5/README.md +0 -247
  352. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent.rb +0 -130
  353. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/agent.rb +0 -587
  354. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/array.rb +0 -39
  355. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/async.rb +0 -445
  356. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atom.rb +0 -222
  357. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/abstract_thread_local_var.rb +0 -66
  358. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_boolean.rb +0 -122
  359. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_fixnum.rb +0 -139
  360. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_reference.rb +0 -51
  361. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/count_down_latch.rb +0 -100
  362. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/cyclic_barrier.rb +0 -128
  363. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/event.rb +0 -109
  364. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_count_down_latch.rb +0 -39
  365. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_thread_local_var.rb +0 -37
  366. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_boolean.rb +0 -60
  367. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_fixnum.rb +0 -75
  368. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_count_down_latch.rb +0 -43
  369. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_semaphore.rb +0 -115
  370. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/read_write_lock.rb +0 -253
  371. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/reentrant_read_write_lock.rb +0 -377
  372. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/ruby_thread_local_var.rb +0 -161
  373. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/semaphore.rb +0 -145
  374. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/thread_local_var.rb +0 -104
  375. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/concurrent_update_error.rb +0 -8
  376. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/direct_update.rb +0 -81
  377. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby+truffle.rb +0 -2
  378. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby.rb +0 -16
  379. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/mutex_atomic.rb +0 -61
  380. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +0 -28
  381. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/rbx.rb +0 -22
  382. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/ruby.rb +0 -32
  383. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/atomics.rb +0 -53
  384. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_notify_observer_set.rb +0 -107
  385. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_write_observer_set.rb +0 -111
  386. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +0 -84
  387. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/atomic_reference_map_backend.rb +0 -927
  388. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/mri_map_backend.rb +0 -66
  389. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/non_concurrent_map_backend.rb +0 -141
  390. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/synchronized_map_backend.rb +0 -82
  391. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/non_concurrent_priority_queue.rb +0 -143
  392. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +0 -150
  393. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/deprecation.rb +0 -34
  394. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/dereferenceable.rb +0 -73
  395. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/logging.rb +0 -27
  396. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/obligation.rb +0 -220
  397. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/observable.rb +0 -110
  398. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/configuration.rb +0 -188
  399. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/constants.rb +0 -8
  400. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/dataflow.rb +0 -80
  401. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/delay.rb +0 -197
  402. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/edge.rb +0 -26
  403. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/errors.rb +0 -69
  404. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/exchanger.rb +0 -356
  405. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/abstract_executor_service.rb +0 -134
  406. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/cached_thread_pool.rb +0 -62
  407. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/executor_service.rb +0 -185
  408. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/fixed_thread_pool.rb +0 -206
  409. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/immediate_executor.rb +0 -66
  410. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/indirect_immediate_executor.rb +0 -44
  411. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_executor_service.rb +0 -100
  412. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_single_thread_executor.rb +0 -29
  413. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_thread_pool_executor.rb +0 -120
  414. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_executor_service.rb +0 -78
  415. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_single_thread_executor.rb +0 -22
  416. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb +0 -362
  417. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/safe_task_executor.rb +0 -35
  418. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb +0 -34
  419. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb +0 -107
  420. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution_delegator.rb +0 -28
  421. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/simple_executor_service.rb +0 -100
  422. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/single_thread_executor.rb +0 -56
  423. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/thread_pool_executor.rb +0 -87
  424. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/timer_set.rb +0 -175
  425. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/executors.rb +0 -20
  426. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/future.rb +0 -138
  427. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/hash.rb +0 -36
  428. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/immutable_struct.rb +0 -93
  429. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/ivar.rb +0 -208
  430. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/lazy_register.rb +0 -81
  431. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/map.rb +0 -240
  432. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/maybe.rb +0 -229
  433. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/mutable_struct.rb +0 -228
  434. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/mvar.rb +0 -242
  435. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/options.rb +0 -42
  436. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/promise.rb +0 -547
  437. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/scheduled_task.rb +0 -318
  438. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/settable_struct.rb +0 -128
  439. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization.rb +0 -31
  440. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_lockable_object.rb +0 -98
  441. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_object.rb +0 -24
  442. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_struct.rb +0 -157
  443. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/condition.rb +0 -58
  444. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_lockable_object.rb +0 -13
  445. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_object.rb +0 -44
  446. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lock.rb +0 -34
  447. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lockable_object.rb +0 -74
  448. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb +0 -71
  449. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_object.rb +0 -43
  450. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/object.rb +0 -153
  451. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_lockable_object.rb +0 -65
  452. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_object.rb +0 -48
  453. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_lockable_object.rb +0 -9
  454. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_object.rb +0 -31
  455. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/volatile.rb +0 -34
  456. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/synchronized_delegator.rb +0 -50
  457. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util.rb +0 -16
  458. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/adder.rb +0 -74
  459. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/array_hash_rbx.rb +0 -30
  460. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/cheap_lockable.rb +0 -118
  461. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +0 -38
  462. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/striped64.rb +0 -241
  463. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/volatile.rb +0 -75
  464. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/xor_shift_random.rb +0 -50
  465. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/timer_task.rb +0 -331
  466. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/tuple.rb +0 -86
  467. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/tvar.rb +0 -258
  468. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/at_exit.rb +0 -97
  469. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/engine.rb +0 -56
  470. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/monotonic_time.rb +0 -58
  471. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_extension_loader.rb +0 -73
  472. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_integer.rb +0 -53
  473. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/processor_counter.rb +0 -160
  474. data/vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/version.rb +0 -4
  475. data/vendor/bundle/gems/diff-lcs-1.3/.rspec +0 -1
  476. data/vendor/bundle/gems/diff-lcs-1.3/Code-of-Conduct.md +0 -74
  477. data/vendor/bundle/gems/diff-lcs-1.3/Contributing.md +0 -83
  478. data/vendor/bundle/gems/diff-lcs-1.3/History.md +0 -220
  479. data/vendor/bundle/gems/diff-lcs-1.3/License.md +0 -39
  480. data/vendor/bundle/gems/diff-lcs-1.3/Manifest.txt +0 -37
  481. data/vendor/bundle/gems/diff-lcs-1.3/README.rdoc +0 -84
  482. data/vendor/bundle/gems/diff-lcs-1.3/Rakefile +0 -57
  483. data/vendor/bundle/gems/diff-lcs-1.3/autotest/discover.rb +0 -1
  484. data/vendor/bundle/gems/diff-lcs-1.3/bin/htmldiff +0 -32
  485. data/vendor/bundle/gems/diff-lcs-1.3/bin/ldiff +0 -6
  486. data/vendor/bundle/gems/diff-lcs-1.3/docs/COPYING.txt +0 -339
  487. data/vendor/bundle/gems/diff-lcs-1.3/docs/artistic.txt +0 -127
  488. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff-lcs.rb +0 -3
  489. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs.rb +0 -725
  490. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +0 -7
  491. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +0 -37
  492. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +0 -322
  493. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +0 -181
  494. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +0 -149
  495. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +0 -276
  496. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +0 -307
  497. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +0 -167
  498. data/vendor/bundle/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +0 -5
  499. data/vendor/bundle/gems/diff-lcs-1.3/spec/change_spec.rb +0 -65
  500. data/vendor/bundle/gems/diff-lcs-1.3/spec/diff_spec.rb +0 -47
  501. data/vendor/bundle/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +0 -50
  502. data/vendor/bundle/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +0 -51
  503. data/vendor/bundle/gems/diff-lcs-1.3/spec/hunk_spec.rb +0 -72
  504. data/vendor/bundle/gems/diff-lcs-1.3/spec/issues_spec.rb +0 -49
  505. data/vendor/bundle/gems/diff-lcs-1.3/spec/lcs_spec.rb +0 -56
  506. data/vendor/bundle/gems/diff-lcs-1.3/spec/ldiff_spec.rb +0 -47
  507. data/vendor/bundle/gems/diff-lcs-1.3/spec/patch_spec.rb +0 -422
  508. data/vendor/bundle/gems/diff-lcs-1.3/spec/sdiff_spec.rb +0 -214
  509. data/vendor/bundle/gems/diff-lcs-1.3/spec/spec_helper.rb +0 -321
  510. data/vendor/bundle/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +0 -310
  511. data/vendor/bundle/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +0 -139
  512. data/vendor/bundle/gems/i18n-0.8.1/MIT-LICENSE +0 -20
  513. data/vendor/bundle/gems/i18n-0.8.1/README.md +0 -84
  514. data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-3.2.x +0 -9
  515. data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-4.0.x +0 -9
  516. data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-4.1.x +0 -9
  517. data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-4.2.x +0 -9
  518. data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-5.0.x +0 -9
  519. data/vendor/bundle/gems/i18n-0.8.1/gemfiles/Gemfile.rails-master +0 -9
  520. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n.rb +0 -343
  521. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend.rb +0 -18
  522. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/base.rb +0 -230
  523. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/cache.rb +0 -114
  524. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/cascade.rb +0 -54
  525. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/chain.rb +0 -97
  526. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/fallbacks.rb +0 -84
  527. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/flatten.rb +0 -113
  528. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/gettext.rb +0 -81
  529. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/interpolation_compiler.rb +0 -121
  530. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/key_value.rb +0 -100
  531. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/memoize.rb +0 -46
  532. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/metadata.rb +0 -69
  533. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/pluralization.rb +0 -53
  534. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/simple.rb +0 -87
  535. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/backend/transliterator.rb +0 -106
  536. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/config.rb +0 -142
  537. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/core_ext/hash.rb +0 -29
  538. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/core_ext/kernel/suppress_warnings.rb +0 -8
  539. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/core_ext/string/interpolate.rb +0 -9
  540. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/exceptions.rb +0 -104
  541. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/gettext.rb +0 -25
  542. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/gettext/helpers.rb +0 -73
  543. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/gettext/po_parser.rb +0 -329
  544. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/interpolate/ruby.rb +0 -37
  545. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale.rb +0 -6
  546. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/fallbacks.rb +0 -96
  547. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/tag.rb +0 -28
  548. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/tag/parents.rb +0 -22
  549. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/tag/rfc4646.rb +0 -74
  550. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/locale/tag/simple.rb +0 -39
  551. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests.rb +0 -12
  552. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/basics.rb +0 -60
  553. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/defaults.rb +0 -48
  554. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/interpolation.rb +0 -153
  555. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/link.rb +0 -56
  556. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization.rb +0 -19
  557. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization/date.rb +0 -95
  558. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization/date_time.rb +0 -82
  559. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization/procs.rb +0 -116
  560. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/localization/time.rb +0 -81
  561. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/lookup.rb +0 -81
  562. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/pluralization.rb +0 -35
  563. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/tests/procs.rb +0 -55
  564. data/vendor/bundle/gems/i18n-0.8.1/lib/i18n/version.rb +0 -3
  565. data/vendor/bundle/gems/i18n-0.8.1/test/api/all_features_test.rb +0 -58
  566. data/vendor/bundle/gems/i18n-0.8.1/test/api/cascade_test.rb +0 -28
  567. data/vendor/bundle/gems/i18n-0.8.1/test/api/chain_test.rb +0 -24
  568. data/vendor/bundle/gems/i18n-0.8.1/test/api/fallbacks_test.rb +0 -30
  569. data/vendor/bundle/gems/i18n-0.8.1/test/api/key_value_test.rb +0 -24
  570. data/vendor/bundle/gems/i18n-0.8.1/test/api/memoize_test.rb +0 -56
  571. data/vendor/bundle/gems/i18n-0.8.1/test/api/override_test.rb +0 -42
  572. data/vendor/bundle/gems/i18n-0.8.1/test/api/pluralization_test.rb +0 -30
  573. data/vendor/bundle/gems/i18n-0.8.1/test/api/simple_test.rb +0 -28
  574. data/vendor/bundle/gems/i18n-0.8.1/test/backend/cache_test.rb +0 -108
  575. data/vendor/bundle/gems/i18n-0.8.1/test/backend/cascade_test.rb +0 -86
  576. data/vendor/bundle/gems/i18n-0.8.1/test/backend/chain_test.rb +0 -91
  577. data/vendor/bundle/gems/i18n-0.8.1/test/backend/exceptions_test.rb +0 -36
  578. data/vendor/bundle/gems/i18n-0.8.1/test/backend/fallbacks_test.rb +0 -206
  579. data/vendor/bundle/gems/i18n-0.8.1/test/backend/interpolation_compiler_test.rb +0 -118
  580. data/vendor/bundle/gems/i18n-0.8.1/test/backend/key_value_test.rb +0 -43
  581. data/vendor/bundle/gems/i18n-0.8.1/test/backend/memoize_test.rb +0 -47
  582. data/vendor/bundle/gems/i18n-0.8.1/test/backend/metadata_test.rb +0 -48
  583. data/vendor/bundle/gems/i18n-0.8.1/test/backend/pluralization_test.rb +0 -45
  584. data/vendor/bundle/gems/i18n-0.8.1/test/backend/simple_test.rb +0 -84
  585. data/vendor/bundle/gems/i18n-0.8.1/test/backend/transliterator_test.rb +0 -84
  586. data/vendor/bundle/gems/i18n-0.8.1/test/core_ext/hash_test.rb +0 -42
  587. data/vendor/bundle/gems/i18n-0.8.1/test/gettext/api_test.rb +0 -214
  588. data/vendor/bundle/gems/i18n-0.8.1/test/gettext/backend_test.rb +0 -92
  589. data/vendor/bundle/gems/i18n-0.8.1/test/i18n/exceptions_test.rb +0 -114
  590. data/vendor/bundle/gems/i18n-0.8.1/test/i18n/interpolate_test.rb +0 -91
  591. data/vendor/bundle/gems/i18n-0.8.1/test/i18n/load_path_test.rb +0 -34
  592. data/vendor/bundle/gems/i18n-0.8.1/test/i18n_test.rb +0 -437
  593. data/vendor/bundle/gems/i18n-0.8.1/test/locale/fallbacks_test.rb +0 -133
  594. data/vendor/bundle/gems/i18n-0.8.1/test/locale/tag/rfc4646_test.rb +0 -143
  595. data/vendor/bundle/gems/i18n-0.8.1/test/locale/tag/simple_test.rb +0 -32
  596. data/vendor/bundle/gems/i18n-0.8.1/test/run_all.rb +0 -20
  597. data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/de.po +0 -82
  598. data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/en.rb +0 -3
  599. data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/en.yml +0 -3
  600. data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/invalid/empty.yml +0 -0
  601. data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/invalid/syntax.yml +0 -4
  602. data/vendor/bundle/gems/i18n-0.8.1/test/test_data/locales/plurals.rb +0 -113
  603. data/vendor/bundle/gems/i18n-0.8.1/test/test_helper.rb +0 -55
  604. data/vendor/bundle/gems/method_source-0.8.2/.gemtest +0 -0
  605. data/vendor/bundle/gems/method_source-0.8.2/.travis.yml +0 -13
  606. data/vendor/bundle/gems/method_source-0.8.2/.yardopts +0 -1
  607. data/vendor/bundle/gems/method_source-0.8.2/Gemfile +0 -2
  608. data/vendor/bundle/gems/method_source-0.8.2/LICENSE +0 -25
  609. data/vendor/bundle/gems/method_source-0.8.2/README.markdown +0 -91
  610. data/vendor/bundle/gems/method_source-0.8.2/Rakefile +0 -79
  611. data/vendor/bundle/gems/method_source-0.8.2/lib/method_source.rb +0 -141
  612. data/vendor/bundle/gems/method_source-0.8.2/lib/method_source/code_helpers.rb +0 -154
  613. data/vendor/bundle/gems/method_source-0.8.2/lib/method_source/source_location.rb +0 -138
  614. data/vendor/bundle/gems/method_source-0.8.2/lib/method_source/version.rb +0 -3
  615. data/vendor/bundle/gems/method_source-0.8.2/method_source.gemspec +0 -33
  616. data/vendor/bundle/gems/method_source-0.8.2/test/test.rb +0 -138
  617. data/vendor/bundle/gems/method_source-0.8.2/test/test_code_helpers.rb +0 -41
  618. data/vendor/bundle/gems/method_source-0.8.2/test/test_helper.rb +0 -98
  619. data/vendor/bundle/gems/minitest-5.10.1/.autotest +0 -34
  620. data/vendor/bundle/gems/minitest-5.10.1/History.rdoc +0 -1207
  621. data/vendor/bundle/gems/minitest-5.10.1/Manifest.txt +0 -26
  622. data/vendor/bundle/gems/minitest-5.10.1/README.rdoc +0 -660
  623. data/vendor/bundle/gems/minitest-5.10.1/Rakefile +0 -86
  624. data/vendor/bundle/gems/minitest-5.10.1/design_rationale.rb +0 -52
  625. data/vendor/bundle/gems/minitest-5.10.1/lib/hoe/minitest.rb +0 -32
  626. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest.rb +0 -842
  627. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/assertions.rb +0 -688
  628. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/autorun.rb +0 -13
  629. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/benchmark.rb +0 -424
  630. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/expectations.rb +0 -284
  631. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/hell.rb +0 -17
  632. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/mock.rb +0 -232
  633. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/parallel.rb +0 -69
  634. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/pride.rb +0 -4
  635. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/pride_plugin.rb +0 -142
  636. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/spec.rb +0 -331
  637. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/test.rb +0 -282
  638. data/vendor/bundle/gems/minitest-5.10.1/lib/minitest/unit.rb +0 -45
  639. data/vendor/bundle/gems/minitest-5.10.1/test/minitest/metametameta.rb +0 -101
  640. data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_benchmark.rb +0 -137
  641. data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_mock.rb +0 -512
  642. data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_reporter.rb +0 -281
  643. data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_spec.rb +0 -970
  644. data/vendor/bundle/gems/minitest-5.10.1/test/minitest/test_minitest_test.rb +0 -2058
  645. data/vendor/bundle/gems/pry-0.10.4/CHANGELOG.md +0 -718
  646. data/vendor/bundle/gems/pry-0.10.4/LICENSE +0 -25
  647. data/vendor/bundle/gems/pry-0.10.4/README.md +0 -406
  648. data/vendor/bundle/gems/pry-0.10.4/bin/pry +0 -16
  649. data/vendor/bundle/gems/pry-0.10.4/lib/pry.rb +0 -161
  650. data/vendor/bundle/gems/pry-0.10.4/lib/pry/cli.rb +0 -220
  651. data/vendor/bundle/gems/pry-0.10.4/lib/pry/code.rb +0 -348
  652. data/vendor/bundle/gems/pry-0.10.4/lib/pry/code/code_file.rb +0 -103
  653. data/vendor/bundle/gems/pry-0.10.4/lib/pry/code/code_range.rb +0 -71
  654. data/vendor/bundle/gems/pry-0.10.4/lib/pry/code/loc.rb +0 -92
  655. data/vendor/bundle/gems/pry-0.10.4/lib/pry/code_object.rb +0 -172
  656. data/vendor/bundle/gems/pry-0.10.4/lib/pry/color_printer.rb +0 -55
  657. data/vendor/bundle/gems/pry-0.10.4/lib/pry/command.rb +0 -692
  658. data/vendor/bundle/gems/pry-0.10.4/lib/pry/command_set.rb +0 -443
  659. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands.rb +0 -6
  660. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/amend_line.rb +0 -99
  661. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/bang.rb +0 -20
  662. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/bang_pry.rb +0 -17
  663. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat.rb +0 -62
  664. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/abstract_formatter.rb +0 -27
  665. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/exception_formatter.rb +0 -77
  666. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/file_formatter.rb +0 -67
  667. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cat/input_expression_formatter.rb +0 -43
  668. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/cd.rb +0 -41
  669. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/change_inspector.rb +0 -27
  670. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/change_prompt.rb +0 -26
  671. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/code_collector.rb +0 -165
  672. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/disable_pry.rb +0 -27
  673. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/disabled_commands.rb +0 -2
  674. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/easter_eggs.rb +0 -112
  675. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/edit.rb +0 -195
  676. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/edit/exception_patcher.rb +0 -25
  677. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/edit/file_and_line_locator.rb +0 -36
  678. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/exit.rb +0 -42
  679. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/exit_all.rb +0 -29
  680. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/exit_program.rb +0 -23
  681. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/find_method.rb +0 -193
  682. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/fix_indent.rb +0 -19
  683. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_cd.rb +0 -26
  684. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_install.rb +0 -32
  685. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_list.rb +0 -33
  686. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gem_open.rb +0 -29
  687. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/gist.rb +0 -101
  688. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/help.rb +0 -164
  689. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/hist.rb +0 -180
  690. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/import_set.rb +0 -22
  691. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/install_command.rb +0 -53
  692. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/jump_to.rb +0 -29
  693. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/list_inspectors.rb +0 -35
  694. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/list_prompts.rb +0 -35
  695. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls.rb +0 -114
  696. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/constants.rb +0 -47
  697. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/formatter.rb +0 -49
  698. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/globals.rb +0 -48
  699. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/grep.rb +0 -21
  700. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/instance_vars.rb +0 -39
  701. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/interrogatable.rb +0 -18
  702. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/jruby_hacks.rb +0 -49
  703. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/local_names.rb +0 -35
  704. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/local_vars.rb +0 -39
  705. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/ls_entity.rb +0 -70
  706. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/methods.rb +0 -57
  707. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/methods_helper.rb +0 -46
  708. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ls/self_methods.rb +0 -32
  709. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/nesting.rb +0 -25
  710. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/play.rb +0 -103
  711. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/pry_backtrace.rb +0 -25
  712. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/pry_version.rb +0 -17
  713. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/raise_up.rb +0 -32
  714. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/reload_code.rb +0 -62
  715. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/reset.rb +0 -18
  716. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/ri.rb +0 -60
  717. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/save_file.rb +0 -61
  718. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/shell_command.rb +0 -48
  719. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/shell_mode.rb +0 -25
  720. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_doc.rb +0 -83
  721. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_info.rb +0 -201
  722. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_input.rb +0 -17
  723. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/show_source.rb +0 -50
  724. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/simple_prompt.rb +0 -22
  725. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/stat.rb +0 -40
  726. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/switch_to.rb +0 -23
  727. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/toggle_color.rb +0 -24
  728. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/watch_expression.rb +0 -105
  729. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/watch_expression/expression.rb +0 -38
  730. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/whereami.rb +0 -196
  731. data/vendor/bundle/gems/pry-0.10.4/lib/pry/commands/wtf.rb +0 -57
  732. data/vendor/bundle/gems/pry-0.10.4/lib/pry/config.rb +0 -24
  733. data/vendor/bundle/gems/pry-0.10.4/lib/pry/config/behavior.rb +0 -139
  734. data/vendor/bundle/gems/pry-0.10.4/lib/pry/config/convenience.rb +0 -25
  735. data/vendor/bundle/gems/pry-0.10.4/lib/pry/config/default.rb +0 -161
  736. data/vendor/bundle/gems/pry-0.10.4/lib/pry/core_extensions.rb +0 -131
  737. data/vendor/bundle/gems/pry-0.10.4/lib/pry/editor.rb +0 -135
  738. data/vendor/bundle/gems/pry-0.10.4/lib/pry/exceptions.rb +0 -78
  739. data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers.rb +0 -5
  740. data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/base_helpers.rb +0 -113
  741. data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/command_helpers.rb +0 -156
  742. data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/documentation_helpers.rb +0 -75
  743. data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/options_helpers.rb +0 -27
  744. data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/table.rb +0 -109
  745. data/vendor/bundle/gems/pry-0.10.4/lib/pry/helpers/text.rb +0 -107
  746. data/vendor/bundle/gems/pry-0.10.4/lib/pry/history.rb +0 -127
  747. data/vendor/bundle/gems/pry-0.10.4/lib/pry/history_array.rb +0 -121
  748. data/vendor/bundle/gems/pry-0.10.4/lib/pry/hooks.rb +0 -230
  749. data/vendor/bundle/gems/pry-0.10.4/lib/pry/indent.rb +0 -406
  750. data/vendor/bundle/gems/pry-0.10.4/lib/pry/input_completer.rb +0 -242
  751. data/vendor/bundle/gems/pry-0.10.4/lib/pry/input_lock.rb +0 -132
  752. data/vendor/bundle/gems/pry-0.10.4/lib/pry/inspector.rb +0 -27
  753. data/vendor/bundle/gems/pry-0.10.4/lib/pry/last_exception.rb +0 -61
  754. data/vendor/bundle/gems/pry-0.10.4/lib/pry/method.rb +0 -546
  755. data/vendor/bundle/gems/pry-0.10.4/lib/pry/method/disowned.rb +0 -53
  756. data/vendor/bundle/gems/pry-0.10.4/lib/pry/method/patcher.rb +0 -125
  757. data/vendor/bundle/gems/pry-0.10.4/lib/pry/method/weird_method_locator.rb +0 -188
  758. data/vendor/bundle/gems/pry-0.10.4/lib/pry/module_candidate.rb +0 -137
  759. data/vendor/bundle/gems/pry-0.10.4/lib/pry/object_path.rb +0 -82
  760. data/vendor/bundle/gems/pry-0.10.4/lib/pry/output.rb +0 -50
  761. data/vendor/bundle/gems/pry-0.10.4/lib/pry/pager.rb +0 -239
  762. data/vendor/bundle/gems/pry-0.10.4/lib/pry/plugins.rb +0 -103
  763. data/vendor/bundle/gems/pry-0.10.4/lib/pry/prompt.rb +0 -26
  764. data/vendor/bundle/gems/pry-0.10.4/lib/pry/pry_class.rb +0 -375
  765. data/vendor/bundle/gems/pry-0.10.4/lib/pry/pry_instance.rb +0 -664
  766. data/vendor/bundle/gems/pry-0.10.4/lib/pry/rbx_path.rb +0 -22
  767. data/vendor/bundle/gems/pry-0.10.4/lib/pry/repl.rb +0 -202
  768. data/vendor/bundle/gems/pry-0.10.4/lib/pry/repl_file_loader.rb +0 -74
  769. data/vendor/bundle/gems/pry-0.10.4/lib/pry/rubygem.rb +0 -82
  770. data/vendor/bundle/gems/pry-0.10.4/lib/pry/terminal.rb +0 -79
  771. data/vendor/bundle/gems/pry-0.10.4/lib/pry/test/helper.rb +0 -170
  772. data/vendor/bundle/gems/pry-0.10.4/lib/pry/version.rb +0 -3
  773. data/vendor/bundle/gems/pry-0.10.4/lib/pry/wrapped_module.rb +0 -378
  774. data/vendor/bundle/gems/rake-10.5.0/.autotest +0 -7
  775. data/vendor/bundle/gems/rake-10.5.0/.rubocop.yml +0 -27
  776. data/vendor/bundle/gems/rake-10.5.0/.togglerc +0 -7
  777. data/vendor/bundle/gems/rake-10.5.0/CONTRIBUTING.rdoc +0 -38
  778. data/vendor/bundle/gems/rake-10.5.0/History.rdoc +0 -659
  779. data/vendor/bundle/gems/rake-10.5.0/MIT-LICENSE +0 -21
  780. data/vendor/bundle/gems/rake-10.5.0/Manifest.txt +0 -166
  781. data/vendor/bundle/gems/rake-10.5.0/README.rdoc +0 -139
  782. data/vendor/bundle/gems/rake-10.5.0/Rakefile +0 -81
  783. data/vendor/bundle/gems/rake-10.5.0/bin/rake +0 -33
  784. data/vendor/bundle/gems/rake-10.5.0/doc/command_line_usage.rdoc +0 -158
  785. data/vendor/bundle/gems/rake-10.5.0/doc/example/Rakefile1 +0 -38
  786. data/vendor/bundle/gems/rake-10.5.0/doc/example/Rakefile2 +0 -35
  787. data/vendor/bundle/gems/rake-10.5.0/doc/example/a.c +0 -6
  788. data/vendor/bundle/gems/rake-10.5.0/doc/example/b.c +0 -6
  789. data/vendor/bundle/gems/rake-10.5.0/doc/example/main.c +0 -11
  790. data/vendor/bundle/gems/rake-10.5.0/doc/glossary.rdoc +0 -42
  791. data/vendor/bundle/gems/rake-10.5.0/doc/jamis.rb +0 -591
  792. data/vendor/bundle/gems/rake-10.5.0/doc/proto_rake.rdoc +0 -127
  793. data/vendor/bundle/gems/rake-10.5.0/doc/rake.1 +0 -141
  794. data/vendor/bundle/gems/rake-10.5.0/doc/rakefile.rdoc +0 -624
  795. data/vendor/bundle/gems/rake-10.5.0/doc/rational.rdoc +0 -151
  796. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.4.14.rdoc +0 -23
  797. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.4.15.rdoc +0 -35
  798. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.0.rdoc +0 -53
  799. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.3.rdoc +0 -78
  800. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.4.rdoc +0 -46
  801. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.6.0.rdoc +0 -141
  802. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.0.rdoc +0 -119
  803. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.1.rdoc +0 -59
  804. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.2.rdoc +0 -121
  805. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.3.rdoc +0 -47
  806. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.0.rdoc +0 -114
  807. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.2.rdoc +0 -165
  808. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.3.rdoc +0 -112
  809. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.4.rdoc +0 -147
  810. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.5.rdoc +0 -53
  811. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.6.rdoc +0 -37
  812. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.7.rdoc +0 -55
  813. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.0.rdoc +0 -112
  814. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.1.rdoc +0 -52
  815. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.2.rdoc +0 -55
  816. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.rdoc +0 -49
  817. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.3.rdoc +0 -102
  818. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.4.rdoc +0 -60
  819. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.5.rdoc +0 -55
  820. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.6.rdoc +0 -64
  821. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.0.rdoc +0 -178
  822. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.1.rdoc +0 -58
  823. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.2.rdoc +0 -53
  824. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.3.rdoc +0 -191
  825. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.1.0.rdoc +0 -61
  826. data/vendor/bundle/gems/rake-10.5.0/lib/rake.rb +0 -79
  827. data/vendor/bundle/gems/rake-10.5.0/lib/rake/alt_system.rb +0 -110
  828. data/vendor/bundle/gems/rake-10.5.0/lib/rake/application.rb +0 -790
  829. data/vendor/bundle/gems/rake-10.5.0/lib/rake/backtrace.rb +0 -23
  830. data/vendor/bundle/gems/rake-10.5.0/lib/rake/clean.rb +0 -76
  831. data/vendor/bundle/gems/rake-10.5.0/lib/rake/cloneable.rb +0 -16
  832. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/.document +0 -1
  833. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +0 -21
  834. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +0 -137
  835. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +0 -81
  836. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +0 -18
  837. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +0 -61
  838. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/sys.rb +0 -4
  839. data/vendor/bundle/gems/rake-10.5.0/lib/rake/cpu_counter.rb +0 -125
  840. data/vendor/bundle/gems/rake-10.5.0/lib/rake/default_loader.rb +0 -14
  841. data/vendor/bundle/gems/rake-10.5.0/lib/rake/dsl_definition.rb +0 -201
  842. data/vendor/bundle/gems/rake-10.5.0/lib/rake/early_time.rb +0 -21
  843. data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/core.rb +0 -25
  844. data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/module.rb +0 -2
  845. data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/pathname.rb +0 -25
  846. data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/string.rb +0 -175
  847. data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/time.rb +0 -18
  848. data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_creation_task.rb +0 -24
  849. data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_list.rb +0 -428
  850. data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_task.rb +0 -46
  851. data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_utils.rb +0 -128
  852. data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +0 -144
  853. data/vendor/bundle/gems/rake-10.5.0/lib/rake/gempackagetask.rb +0 -4
  854. data/vendor/bundle/gems/rake-10.5.0/lib/rake/invocation_chain.rb +0 -56
  855. data/vendor/bundle/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +0 -16
  856. data/vendor/bundle/gems/rake-10.5.0/lib/rake/late_time.rb +0 -17
  857. data/vendor/bundle/gems/rake-10.5.0/lib/rake/linked_list.rb +0 -103
  858. data/vendor/bundle/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +0 -53
  859. data/vendor/bundle/gems/rake-10.5.0/lib/rake/multi_task.rb +0 -13
  860. data/vendor/bundle/gems/rake-10.5.0/lib/rake/name_space.rb +0 -38
  861. data/vendor/bundle/gems/rake-10.5.0/lib/rake/packagetask.rb +0 -199
  862. data/vendor/bundle/gems/rake-10.5.0/lib/rake/pathmap.rb +0 -3
  863. data/vendor/bundle/gems/rake-10.5.0/lib/rake/phony.rb +0 -15
  864. data/vendor/bundle/gems/rake-10.5.0/lib/rake/private_reader.rb +0 -20
  865. data/vendor/bundle/gems/rake-10.5.0/lib/rake/promise.rb +0 -99
  866. data/vendor/bundle/gems/rake-10.5.0/lib/rake/pseudo_status.rb +0 -29
  867. data/vendor/bundle/gems/rake-10.5.0/lib/rake/rake_module.rb +0 -38
  868. data/vendor/bundle/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +0 -22
  869. data/vendor/bundle/gems/rake-10.5.0/lib/rake/rdoctask.rb +0 -4
  870. data/vendor/bundle/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +0 -29
  871. data/vendor/bundle/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +0 -20
  872. data/vendor/bundle/gems/rake-10.5.0/lib/rake/runtest.rb +0 -27
  873. data/vendor/bundle/gems/rake-10.5.0/lib/rake/scope.rb +0 -42
  874. data/vendor/bundle/gems/rake-10.5.0/lib/rake/task.rb +0 -383
  875. data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_argument_error.rb +0 -7
  876. data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_arguments.rb +0 -98
  877. data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_manager.rb +0 -307
  878. data/vendor/bundle/gems/rake-10.5.0/lib/rake/tasklib.rb +0 -24
  879. data/vendor/bundle/gems/rake-10.5.0/lib/rake/testtask.rb +0 -213
  880. data/vendor/bundle/gems/rake-10.5.0/lib/rake/thread_history_display.rb +0 -48
  881. data/vendor/bundle/gems/rake-10.5.0/lib/rake/thread_pool.rb +0 -164
  882. data/vendor/bundle/gems/rake-10.5.0/lib/rake/trace_output.rb +0 -22
  883. data/vendor/bundle/gems/rake-10.5.0/lib/rake/version.rb +0 -7
  884. data/vendor/bundle/gems/rake-10.5.0/lib/rake/win32.rb +0 -56
  885. data/vendor/bundle/gems/rake-10.5.0/rakelib/publish.rake +0 -20
  886. data/vendor/bundle/gems/rake-10.5.0/rakelib/test_times.rake +0 -25
  887. data/vendor/bundle/gems/rake-10.5.0/test/file_creation.rb +0 -34
  888. data/vendor/bundle/gems/rake-10.5.0/test/helper.rb +0 -129
  889. data/vendor/bundle/gems/rake-10.5.0/test/support/rakefile_definitions.rb +0 -478
  890. data/vendor/bundle/gems/rake-10.5.0/test/support/ruby_runner.rb +0 -34
  891. data/vendor/bundle/gems/rake-10.5.0/test/test_private_reader.rb +0 -42
  892. data/vendor/bundle/gems/rake-10.5.0/test/test_rake.rb +0 -40
  893. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_application.rb +0 -643
  894. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_application_options.rb +0 -468
  895. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_backtrace.rb +0 -119
  896. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_clean.rb +0 -61
  897. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +0 -68
  898. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_definitions.rb +0 -84
  899. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_directory_task.rb +0 -76
  900. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_dsl.rb +0 -40
  901. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_early_time.rb +0 -31
  902. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_extension.rb +0 -59
  903. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +0 -56
  904. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_list.rb +0 -670
  905. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +0 -8
  906. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_task.rb +0 -197
  907. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_utils.rb +0 -314
  908. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_ftp_file.rb +0 -74
  909. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_functional.rb +0 -482
  910. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +0 -64
  911. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_late_time.rb +0 -18
  912. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_linked_list.rb +0 -84
  913. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +0 -46
  914. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_multi_task.rb +0 -64
  915. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_name_space.rb +0 -57
  916. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_package_task.rb +0 -79
  917. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map.rb +0 -168
  918. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +0 -34
  919. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +0 -18
  920. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +0 -15
  921. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +0 -21
  922. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +0 -20
  923. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +0 -26
  924. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_require.rb +0 -40
  925. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_rules.rb +0 -388
  926. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_scope.rb +0 -44
  927. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task.rb +0 -393
  928. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +0 -119
  929. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_arguments.rb +0 -127
  930. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_lib.rb +0 -9
  931. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_manager.rb +0 -178
  932. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +0 -19
  933. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +0 -172
  934. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_test_task.rb +0 -146
  935. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_thread_pool.rb +0 -145
  936. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +0 -71
  937. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_win32.rb +0 -72
  938. data/vendor/bundle/gems/rake-10.5.0/test/test_thread_history_display.rb +0 -101
  939. data/vendor/bundle/gems/rake-10.5.0/test/test_trace_output.rb +0 -52
  940. data/vendor/bundle/gems/rspec-3.5.0/LICENSE.md +0 -27
  941. data/vendor/bundle/gems/rspec-3.5.0/README.md +0 -39
  942. data/vendor/bundle/gems/rspec-3.5.0/lib/rspec.rb +0 -3
  943. data/vendor/bundle/gems/rspec-3.5.0/lib/rspec/version.rb +0 -5
  944. data/vendor/bundle/gems/rspec-core-3.5.4/.document +0 -5
  945. data/vendor/bundle/gems/rspec-core-3.5.4/.yardopts +0 -8
  946. data/vendor/bundle/gems/rspec-core-3.5.4/Changelog.md +0 -2102
  947. data/vendor/bundle/gems/rspec-core-3.5.4/LICENSE.md +0 -26
  948. data/vendor/bundle/gems/rspec-core-3.5.4/README.md +0 -384
  949. data/vendor/bundle/gems/rspec-core-3.5.4/exe/rspec +0 -4
  950. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/autorun.rb +0 -3
  951. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core.rb +0 -185
  952. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/backtrace_formatter.rb +0 -65
  953. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/coordinator.rb +0 -66
  954. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/example_minimizer.rb +0 -169
  955. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/runner.rb +0 -169
  956. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/bisect/server.rb +0 -65
  957. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb +0 -2100
  958. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/configuration_options.rb +0 -194
  959. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/drb.rb +0 -111
  960. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/dsl.rb +0 -98
  961. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/example.rb +0 -649
  962. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb +0 -879
  963. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/example_status_persister.rb +0 -235
  964. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/filter_manager.rb +0 -231
  965. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/flat_map.rb +0 -20
  966. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters.rb +0 -255
  967. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/base_formatter.rb +0 -70
  968. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/base_text_formatter.rb +0 -77
  969. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/bisect_formatter.rb +0 -69
  970. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -144
  971. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/console_codes.rb +0 -65
  972. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/deprecation_formatter.rb +0 -223
  973. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/documentation_formatter.rb +0 -69
  974. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/exception_presenter.rb +0 -491
  975. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -28
  976. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/helpers.rb +0 -110
  977. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_formatter.rb +0 -151
  978. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_printer.rb +0 -414
  979. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -116
  980. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/json_formatter.rb +0 -96
  981. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/profile_formatter.rb +0 -68
  982. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/progress_formatter.rb +0 -28
  983. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/protocol.rb +0 -181
  984. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/formatters/snippet_extractor.rb +0 -136
  985. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb +0 -624
  986. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/invocations.rb +0 -67
  987. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/memoized_helpers.rb +0 -532
  988. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/metadata.rb +0 -499
  989. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/metadata_filter.rb +0 -243
  990. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/minitest_assertions_adapter.rb +0 -31
  991. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/flexmock.rb +0 -31
  992. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/mocha.rb +0 -57
  993. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/null.rb +0 -14
  994. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/rr.rb +0 -31
  995. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/mocking_adapters/rspec.rb +0 -32
  996. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/notifications.rb +0 -498
  997. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/option_parser.rb +0 -289
  998. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/ordering.rb +0 -158
  999. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/pending.rb +0 -165
  1000. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/profiler.rb +0 -32
  1001. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer.rb +0 -48
  1002. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer/.rspec +0 -2
  1003. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -103
  1004. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/rake_task.rb +0 -168
  1005. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb +0 -248
  1006. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/ruby_project.rb +0 -53
  1007. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb +0 -188
  1008. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/sandbox.rb +0 -37
  1009. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/set.rb +0 -49
  1010. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/shared_context.rb +0 -55
  1011. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/shared_example_group.rb +0 -247
  1012. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/shell_escape.rb +0 -49
  1013. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source.rb +0 -86
  1014. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/location.rb +0 -13
  1015. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/node.rb +0 -93
  1016. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/syntax_highlighter.rb +0 -71
  1017. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/source/token.rb +0 -87
  1018. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
  1019. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/version.rb +0 -9
  1020. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/warnings.rb +0 -40
  1021. data/vendor/bundle/gems/rspec-core-3.5.4/lib/rspec/core/world.rb +0 -256
  1022. data/vendor/bundle/gems/rspec-expectations-3.5.0/.document +0 -5
  1023. data/vendor/bundle/gems/rspec-expectations-3.5.0/.yardopts +0 -6
  1024. data/vendor/bundle/gems/rspec-expectations-3.5.0/Changelog.md +0 -1034
  1025. data/vendor/bundle/gems/rspec-expectations-3.5.0/LICENSE.md +0 -25
  1026. data/vendor/bundle/gems/rspec-expectations-3.5.0/README.md +0 -303
  1027. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations.rb +0 -81
  1028. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/configuration.rb +0 -201
  1029. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/expectation_target.rb +0 -127
  1030. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/fail_with.rb +0 -31
  1031. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/failure_aggregator.rb +0 -194
  1032. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/handler.rb +0 -170
  1033. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/minitest_integration.rb +0 -58
  1034. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/syntax.rb +0 -132
  1035. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/expectations/version.rb +0 -8
  1036. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers.rb +0 -1038
  1037. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/aliased_matcher.rb +0 -116
  1038. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in.rb +0 -52
  1039. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/all.rb +0 -85
  1040. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/base_matcher.rb +0 -181
  1041. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be.rb +0 -288
  1042. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_between.rb +0 -77
  1043. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_instance_of.rb +0 -22
  1044. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_kind_of.rb +0 -16
  1045. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/be_within.rb +0 -72
  1046. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/change.rb +0 -354
  1047. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/compound.rb +0 -272
  1048. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/contain_exactly.rb +0 -286
  1049. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/cover.rb +0 -24
  1050. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eq.rb +0 -40
  1051. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/eql.rb +0 -34
  1052. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/equal.rb +0 -81
  1053. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/exist.rb +0 -86
  1054. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/has.rb +0 -103
  1055. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/have_attributes.rb +0 -114
  1056. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/include.rb +0 -143
  1057. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/match.rb +0 -106
  1058. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/operators.rb +0 -128
  1059. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/output.rb +0 -200
  1060. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/raise_error.rb +0 -230
  1061. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/respond_to.rb +0 -165
  1062. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/satisfy.rb +0 -37
  1063. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -94
  1064. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/throw_symbol.rb +0 -132
  1065. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/built_in/yield.rb +0 -419
  1066. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/composable.rb +0 -185
  1067. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/dsl.rb +0 -466
  1068. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/english_phrasing.rb +0 -58
  1069. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -73
  1070. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/fail_matchers.rb +0 -42
  1071. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/generated_descriptions.rb +0 -42
  1072. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_delegator.rb +0 -35
  1073. data/vendor/bundle/gems/rspec-expectations-3.5.0/lib/rspec/matchers/matcher_protocol.rb +0 -99
  1074. data/vendor/bundle/gems/rspec-mocks-3.5.0/.document +0 -5
  1075. data/vendor/bundle/gems/rspec-mocks-3.5.0/.yardopts +0 -6
  1076. data/vendor/bundle/gems/rspec-mocks-3.5.0/Changelog.md +0 -1043
  1077. data/vendor/bundle/gems/rspec-mocks-3.5.0/LICENSE.md +0 -25
  1078. data/vendor/bundle/gems/rspec-mocks-3.5.0/README.md +0 -445
  1079. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks.rb +0 -130
  1080. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance.rb +0 -11
  1081. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/chain.rb +0 -110
  1082. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/error_generator.rb +0 -31
  1083. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -35
  1084. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -48
  1085. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/message_chains.rb +0 -83
  1086. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/proxy.rb +0 -116
  1087. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/recorder.rb +0 -289
  1088. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain.rb +0 -47
  1089. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -28
  1090. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_list_matcher.rb +0 -100
  1091. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/argument_matchers.rb +0 -320
  1092. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/configuration.rb +0 -205
  1093. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/error_generator.rb +0 -369
  1094. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/example_methods.rb +0 -422
  1095. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/instance_method_stasher.rb +0 -135
  1096. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/marshal_extension.rb +0 -41
  1097. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/expectation_customization.rb +0 -20
  1098. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/have_received.rb +0 -130
  1099. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive.rb +0 -132
  1100. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
  1101. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/matchers/receive_messages.rb +0 -77
  1102. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_chain.rb +0 -87
  1103. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/message_expectation.rb +0 -740
  1104. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_double.rb +0 -287
  1105. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/method_reference.rb +0 -202
  1106. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/minitest_integration.rb +0 -68
  1107. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/mutate_const.rb +0 -335
  1108. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/object_reference.rb +0 -149
  1109. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/order_group.rb +0 -81
  1110. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/proxy.rb +0 -489
  1111. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/space.rb +0 -238
  1112. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/standalone.rb +0 -3
  1113. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/syntax.rb +0 -325
  1114. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/targets.rb +0 -124
  1115. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/test_double.rb +0 -170
  1116. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_double.rb +0 -129
  1117. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
  1118. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/verifying_proxy.rb +0 -213
  1119. data/vendor/bundle/gems/rspec-mocks-3.5.0/lib/rspec/mocks/version.rb +0 -9
  1120. data/vendor/bundle/gems/rspec-support-3.5.0/Changelog.md +0 -192
  1121. data/vendor/bundle/gems/rspec-support-3.5.0/LICENSE.md +0 -23
  1122. data/vendor/bundle/gems/rspec-support-3.5.0/README.md +0 -40
  1123. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support.rb +0 -139
  1124. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/caller_filter.rb +0 -83
  1125. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/comparable_version.rb +0 -46
  1126. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/differ.rb +0 -215
  1127. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/directory_maker.rb +0 -63
  1128. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/encoded_string.rb +0 -165
  1129. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/fuzzy_matcher.rb +0 -48
  1130. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/hunk_generator.rb +0 -47
  1131. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/matcher_definition.rb +0 -42
  1132. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/method_signature_verifier.rb +0 -392
  1133. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/mutex.rb +0 -73
  1134. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/object_formatter.rb +0 -249
  1135. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/recursive_const_methods.rb +0 -76
  1136. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/reentrant_mutex.rb +0 -53
  1137. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/ruby_features.rb +0 -149
  1138. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec.rb +0 -81
  1139. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/deprecation_helpers.rb +0 -64
  1140. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/formatting_support.rb +0 -9
  1141. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/in_sub_process.rb +0 -52
  1142. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/library_wide_checks.rb +0 -150
  1143. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/shell_out.rb +0 -82
  1144. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/stderr_splitter.rb +0 -63
  1145. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/string_matcher.rb +0 -46
  1146. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_directory.rb +0 -13
  1147. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/spec/with_isolated_stderr.rb +0 -13
  1148. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/version.rb +0 -7
  1149. data/vendor/bundle/gems/rspec-support-3.5.0/lib/rspec/support/warnings.rb +0 -39
  1150. data/vendor/bundle/gems/slop-3.6.0/.gitignore +0 -7
  1151. data/vendor/bundle/gems/slop-3.6.0/.travis.yml +0 -9
  1152. data/vendor/bundle/gems/slop-3.6.0/CHANGES.md +0 -309
  1153. data/vendor/bundle/gems/slop-3.6.0/Gemfile +0 -3
  1154. data/vendor/bundle/gems/slop-3.6.0/LICENSE +0 -20
  1155. data/vendor/bundle/gems/slop-3.6.0/README.md +0 -202
  1156. data/vendor/bundle/gems/slop-3.6.0/Rakefile +0 -29
  1157. data/vendor/bundle/gems/slop-3.6.0/lib/slop.rb +0 -687
  1158. data/vendor/bundle/gems/slop-3.6.0/lib/slop/commands.rb +0 -196
  1159. data/vendor/bundle/gems/slop-3.6.0/lib/slop/option.rb +0 -214
  1160. data/vendor/bundle/gems/slop-3.6.0/slop.gemspec +0 -17
  1161. data/vendor/bundle/gems/slop-3.6.0/test/commands_test.rb +0 -26
  1162. data/vendor/bundle/gems/slop-3.6.0/test/helper.rb +0 -12
  1163. data/vendor/bundle/gems/slop-3.6.0/test/option_test.rb +0 -145
  1164. data/vendor/bundle/gems/slop-3.6.0/test/slop_test.rb +0 -518
  1165. data/vendor/bundle/gems/thread_safe-0.3.6/.rspec +0 -2
  1166. data/vendor/bundle/gems/thread_safe-0.3.6/.travis.yml +0 -46
  1167. data/vendor/bundle/gems/thread_safe-0.3.6/.yardopts +0 -13
  1168. data/vendor/bundle/gems/thread_safe-0.3.6/Gemfile +0 -20
  1169. data/vendor/bundle/gems/thread_safe-0.3.6/LICENSE +0 -144
  1170. data/vendor/bundle/gems/thread_safe-0.3.6/README.md +0 -60
  1171. data/vendor/bundle/gems/thread_safe-0.3.6/Rakefile +0 -62
  1172. data/vendor/bundle/gems/thread_safe-0.3.6/examples/bench_cache.rb +0 -35
  1173. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +0 -245
  1174. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +0 -31
  1175. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +0 -3863
  1176. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +0 -203
  1177. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +0 -342
  1178. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +0 -3800
  1179. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +0 -204
  1180. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +0 -291
  1181. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +0 -199
  1182. data/vendor/bundle/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +0 -15
  1183. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe.rb +0 -65
  1184. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +0 -908
  1185. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +0 -161
  1186. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +0 -60
  1187. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +0 -135
  1188. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +0 -77
  1189. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +0 -43
  1190. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +0 -16
  1191. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +0 -62
  1192. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +0 -44
  1193. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +0 -106
  1194. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +0 -26
  1195. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +0 -222
  1196. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +0 -64
  1197. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +0 -46
  1198. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +0 -41
  1199. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +0 -21
  1200. data/vendor/bundle/gems/thread_safe-0.3.6/spec/.gitignore +0 -0
  1201. data/vendor/bundle/gems/thread_safe-0.3.6/spec/spec_helper.rb +0 -31
  1202. data/vendor/bundle/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +0 -21
  1203. data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/.gitignore +0 -0
  1204. data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/threads.rb +0 -1
  1205. data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +0 -75
  1206. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/.gitignore +0 -0
  1207. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +0 -18
  1208. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +0 -507
  1209. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +0 -943
  1210. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +0 -17
  1211. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +0 -27
  1212. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +0 -85
  1213. data/vendor/bundle/gems/thread_safe-0.3.6/tasks/update_doc.rake +0 -45
  1214. data/vendor/bundle/gems/thread_safe-0.3.6/thread_safe.gemspec +0 -26
  1215. data/vendor/bundle/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +0 -125
  1216. data/vendor/bundle/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +0 -16
  1217. data/vendor/bundle/gems/tzinfo-1.2.2/.yardopts +0 -6
  1218. data/vendor/bundle/gems/tzinfo-1.2.2/CHANGES.md +0 -649
  1219. data/vendor/bundle/gems/tzinfo-1.2.2/LICENSE +0 -19
  1220. data/vendor/bundle/gems/tzinfo-1.2.2/README.md +0 -151
  1221. data/vendor/bundle/gems/tzinfo-1.2.2/Rakefile +0 -104
  1222. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo.rb +0 -40
  1223. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country.rb +0 -196
  1224. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country_index_definition.rb +0 -31
  1225. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country_info.rb +0 -42
  1226. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/country_timezone.rb +0 -123
  1227. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/data_source.rb +0 -190
  1228. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/data_timezone.rb +0 -58
  1229. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/data_timezone_info.rb +0 -55
  1230. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/info_timezone.rb +0 -30
  1231. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/linked_timezone.rb +0 -63
  1232. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/linked_timezone_info.rb +0 -26
  1233. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/offset_rationals.rb +0 -77
  1234. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/ruby_core_support.rb +0 -146
  1235. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/ruby_country_info.rb +0 -70
  1236. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/ruby_data_source.rb +0 -136
  1237. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/time_or_datetime.rb +0 -333
  1238. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone.rb +0 -637
  1239. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_definition.rb +0 -36
  1240. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_index_definition.rb +0 -54
  1241. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_info.rb +0 -30
  1242. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_offset.rb +0 -74
  1243. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_period.rb +0 -204
  1244. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_proxy.rb +0 -70
  1245. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_transition.rb +0 -120
  1246. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/timezone_transition_definition.rb +0 -101
  1247. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/transition_data_timezone_info.rb +0 -274
  1248. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_country_info.rb +0 -35
  1249. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_data_source.rb +0 -487
  1250. data/vendor/bundle/gems/tzinfo-1.2.2/lib/tzinfo/zoneinfo_timezone_info.rb +0 -245
  1251. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country.rb +0 -236
  1252. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country_index_definition.rb +0 -69
  1253. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country_info.rb +0 -16
  1254. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_country_timezone.rb +0 -161
  1255. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_source.rb +0 -218
  1256. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_timezone.rb +0 -99
  1257. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_data_timezone_info.rb +0 -18
  1258. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_info_timezone.rb +0 -34
  1259. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_linked_timezone.rb +0 -155
  1260. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_linked_timezone_info.rb +0 -23
  1261. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_offset_rationals.rb +0 -23
  1262. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_ruby_core_support.rb +0 -168
  1263. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_ruby_country_info.rb +0 -80
  1264. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_ruby_data_source.rb +0 -143
  1265. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_time_or_datetime.rb +0 -639
  1266. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone.rb +0 -1334
  1267. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_definition.rb +0 -113
  1268. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_index_definition.rb +0 -73
  1269. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_info.rb +0 -11
  1270. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_london.rb +0 -143
  1271. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_melbourne.rb +0 -142
  1272. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_new_york.rb +0 -142
  1273. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_offset.rb +0 -126
  1274. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_period.rb +0 -548
  1275. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_proxy.rb +0 -113
  1276. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_transition.rb +0 -352
  1277. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_transition_definition.rb +0 -284
  1278. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_timezone_utc.rb +0 -27
  1279. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_transition_data_timezone_info.rb +0 -423
  1280. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_zoneinfo_country_info.rb +0 -64
  1281. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_zoneinfo_data_source.rb +0 -1122
  1282. data/vendor/bundle/gems/tzinfo-1.2.2/test/tc_zoneinfo_timezone_info.rb +0 -814
  1283. data/vendor/bundle/gems/tzinfo-1.2.2/test/test_utils.rb +0 -132
  1284. data/vendor/bundle/gems/tzinfo-1.2.2/test/ts_all.rb +0 -7
  1285. data/vendor/bundle/gems/tzinfo-1.2.2/test/ts_all_ruby.rb +0 -5
  1286. data/vendor/bundle/gems/tzinfo-1.2.2/test/ts_all_zoneinfo.rb +0 -7
  1287. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data.rb +0 -8
  1288. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +0 -89
  1289. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +0 -315
  1290. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +0 -218
  1291. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/EST.rb +0 -19
  1292. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +0 -21
  1293. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +0 -21
  1294. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +0 -21
  1295. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +0 -261
  1296. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +0 -186
  1297. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +0 -321
  1298. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +0 -265
  1299. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +0 -220
  1300. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +0 -16
  1301. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/indexes/countries.rb +0 -927
  1302. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +0 -596
  1303. data/vendor/bundle/gems/tzinfo-1.2.2/test/tzinfo-data/tzinfo/data/version.rb +0 -14
  1304. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
  1305. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/America/New_York +0 -0
  1306. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Australia/Melbourne +0 -0
  1307. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/EST +0 -0
  1308. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Etc/UTC +0 -0
  1309. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Amsterdam +0 -0
  1310. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Andorra +0 -0
  1311. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/London +0 -0
  1312. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Paris +0 -0
  1313. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Europe/Prague +0 -0
  1314. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/Factory +0 -0
  1315. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/iso3166.tab +0 -275
  1316. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/posix/Europe/London +0 -0
  1317. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/posixrules +0 -0
  1318. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/right/Europe/London +0 -0
  1319. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/zone.tab +0 -439
  1320. data/vendor/bundle/gems/tzinfo-1.2.2/test/zoneinfo/zone1970.tab +0 -369
  1321. data/vendor/bundle/gems/tzinfo-1.2.2/tzinfo.gemspec +0 -21
  1322. data/vendor/bundle/specifications/activesupport-5.0.2.gemspec +0 -43
  1323. data/vendor/bundle/specifications/coderay-1.1.1.gemspec +0 -26
  1324. data/vendor/bundle/specifications/concurrent-ruby-1.0.5.gemspec +0 -23
  1325. data/vendor/bundle/specifications/diff-lcs-1.3.gemspec +0 -61
  1326. data/vendor/bundle/specifications/i18n-0.8.1.gemspec +0 -22
  1327. data/vendor/bundle/specifications/method_source-0.8.2.gemspec +0 -34
  1328. data/vendor/bundle/specifications/minitest-5.10.1.gemspec +0 -39
  1329. data/vendor/bundle/specifications/pry-0.10.4.gemspec +0 -43
  1330. data/vendor/bundle/specifications/rake-10.5.0.gemspec +0 -43
  1331. data/vendor/bundle/specifications/rspec-3.5.0.gemspec +0 -42
  1332. data/vendor/bundle/specifications/rspec-core-3.5.4.gemspec +0 -62
  1333. data/vendor/bundle/specifications/rspec-expectations-3.5.0.gemspec +0 -50
  1334. data/vendor/bundle/specifications/rspec-mocks-3.5.0.gemspec +0 -50
  1335. data/vendor/bundle/specifications/rspec-support-3.5.0.gemspec +0 -41
  1336. data/vendor/bundle/specifications/slop-3.6.0.gemspec +0 -36
  1337. data/vendor/bundle/specifications/thread_safe-0.3.6.gemspec +0 -38
  1338. data/vendor/bundle/specifications/tzinfo-1.2.2.gemspec +0 -37
@@ -1,1334 +0,0 @@
1
- require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils')
2
-
3
- include TZInfo
4
-
5
- class TCTimezone < Minitest::Test
6
-
7
- class BlockCalled < StandardError
8
- end
9
-
10
- class TestTimezone < Timezone
11
- def self.new(identifier, period_for_utc = nil, periods_for_local = nil, expected = nil)
12
- t = super()
13
- t.send(:setup, identifier, period_for_utc, periods_for_local, expected)
14
- t
15
- end
16
-
17
- def identifier
18
- @identifier
19
- end
20
-
21
- def period_for_utc(utc)
22
- utc = TimeOrDateTime.wrap(utc)
23
- raise "Unexpected utc #{utc} in period_for_utc" unless @expected.eql?(utc)
24
- @period_for_utc
25
- end
26
-
27
- def periods_for_local(local)
28
- local = TimeOrDateTime.wrap(local)
29
- raise "Unexpected local #{local} in periods_for_local" unless @expected.eql?(local)
30
- @periods_for_local.clone
31
- end
32
-
33
- def transitions_up_to(utc_to, utc_from = nil)
34
- raise 'transitions_up_to called'
35
- end
36
-
37
- private
38
- def setup(identifier, period_for_utc, periods_for_local, expected)
39
- @identifier = identifier
40
- @period_for_utc = period_for_utc
41
- @periods_for_local = periods_for_local || []
42
- @expected = TimeOrDateTime.wrap(expected)
43
- end
44
- end
45
-
46
- class OffsetsUpToTestTimezone < Timezone
47
- def self.new(identifier, expected_utc_to, expected_utc_from, transitions_up_to)
48
- t = super()
49
- t.send(:setup, identifier, expected_utc_to, expected_utc_from, transitions_up_to)
50
- t
51
- end
52
-
53
- def identifier
54
- @identifier
55
- end
56
-
57
- def period_for_utc(utc)
58
- raise 'period_for_utc called'
59
- end
60
-
61
- def periods_for_local(local)
62
- raise 'periods_for_local called'
63
- end
64
-
65
- def transitions_up_to(utc_to, utc_from = nil)
66
- utc_to = TimeOrDateTime.wrap(utc_to)
67
- raise "Unexpected utc_to #{utc_to || 'nil'} in transitions_up_to" unless @expected_utc_to.eql?(utc_to)
68
-
69
- utc_from = utc_from ? TimeOrDateTime.wrap(utc_from) : nil
70
- raise "Unexpected utc_from #{utc_from || 'nil'} in transitions_up_to" unless @expected_utc_from.eql?(utc_from)
71
-
72
- if utc_from && utc_to <= utc_from
73
- raise ArgumentError, 'utc_to must be greater than utc_from'
74
- end
75
-
76
- @transitions_up_to
77
- end
78
-
79
- private
80
-
81
- def setup(identifier, expected_utc_to, expected_utc_from, transitions_up_to)
82
- @identifier = identifier
83
- @expected_utc_to = TimeOrDateTime.wrap(expected_utc_to)
84
- @expected_utc_from = expected_utc_from ? TimeOrDateTime.wrap(expected_utc_from) : nil
85
- @transitions_up_to = transitions_up_to
86
- end
87
- end
88
-
89
- class OffsetsUpToNoTransitionsTestTimezone < Timezone
90
- def self.new(identifier, expected_utc_to, expected_utc_from, period_for_utc)
91
- t = super()
92
- t.send(:setup, identifier, expected_utc_to, expected_utc_from, period_for_utc)
93
- t
94
- end
95
-
96
- def identifier
97
- @identifier
98
- end
99
-
100
- def period_for_utc(utc)
101
- utc = TimeOrDateTime.wrap(utc)
102
-
103
- raise "Unexpected utc #{utc} in period_for_utc (should be utc_from)" if @expected_utc_from && !@expected_utc_from.eql?(utc)
104
- raise "Unexpected utc #{utc} in period_for_utc (should be < utc_to)" if !@expected_utc_from && @expected_utc_to <= utc
105
-
106
- @period_for_utc
107
- end
108
-
109
- def periods_for_local(local)
110
- raise 'periods_for_local called'
111
- end
112
-
113
- def transitions_up_to(utc_to, utc_from = nil)
114
- utc_to = TimeOrDateTime.wrap(utc_to)
115
- raise "Unexpected utc_to #{utc_to || 'nil'} in transitions_up_to" unless @expected_utc_to.eql?(utc_to)
116
-
117
- utc_from = utc_from ? TimeOrDateTime.wrap(utc_from) : nil
118
- raise "Unexpected utc_from #{utc_from || 'nil'} in transitions_up_to" unless @expected_utc_from.eql?(utc_from)
119
-
120
- if utc_from && utc_to <= utc_from
121
- raise ArgumentError, 'utc_to must be greater than utc_from'
122
- end
123
-
124
- []
125
- end
126
-
127
- private
128
-
129
- def setup(identifier, expected_utc_to, expected_utc_from, period_for_utc)
130
- @identifier = identifier
131
- @expected_utc_to = TimeOrDateTime.wrap(expected_utc_to)
132
- @expected_utc_from = expected_utc_from ? TimeOrDateTime.wrap(expected_utc_from) : nil
133
- @period_for_utc = period_for_utc
134
- end
135
- end
136
-
137
- class TestTimezoneTransition < TimezoneTransition
138
- def initialize(offset, previous_offset, at)
139
- super(offset, previous_offset)
140
- @at = TimeOrDateTime.wrap(at)
141
- end
142
-
143
- def at
144
- @at
145
- end
146
- end
147
-
148
- def setup
149
- @orig_default_dst = Timezone.default_dst
150
- @orig_data_source = DataSource.get
151
- Timezone.send :init_loaded_zones
152
- end
153
-
154
- def teardown
155
- Timezone.default_dst = @orig_default_dst
156
- DataSource.set(@orig_data_source)
157
- end
158
-
159
- def test_default_dst_initial_value
160
- assert_nil(Timezone.default_dst)
161
- end
162
-
163
- def test_set_default_dst
164
- Timezone.default_dst = true
165
- assert_equal(true, Timezone.default_dst)
166
- Timezone.default_dst = false
167
- assert_equal(false, Timezone.default_dst)
168
- Timezone.default_dst = nil
169
- assert_nil(Timezone.default_dst)
170
- Timezone.default_dst = 0
171
- assert_equal(true, Timezone.default_dst)
172
- end
173
-
174
- def test_get_valid_1
175
- tz = Timezone.get('Europe/London')
176
-
177
- assert_kind_of(DataTimezone, tz)
178
- assert_equal('Europe/London', tz.identifier)
179
- end
180
-
181
- def test_get_valid_2
182
- tz = Timezone.get('UTC')
183
-
184
- # ZoneinfoDataSource doesn't return LinkedTimezoneInfo for any timezone.
185
- if DataSource.get.load_timezone_info('UTC').kind_of?(LinkedTimezoneInfo)
186
- assert_kind_of(LinkedTimezone, tz)
187
- else
188
- assert_kind_of(DataTimezone, tz)
189
- end
190
-
191
- assert_equal('UTC', tz.identifier)
192
- end
193
-
194
- def test_get_valid_3
195
- tz = Timezone.get('America/Argentina/Buenos_Aires')
196
-
197
- assert_kind_of(DataTimezone, tz)
198
- assert_equal('America/Argentina/Buenos_Aires', tz.identifier)
199
- end
200
-
201
- def test_get_same_instance
202
- tz1 = Timezone.get('Europe/London')
203
- tz2 = Timezone.get('Europe/London')
204
- assert_same(tz1, tz2)
205
- end
206
-
207
- def test_get_not_exist
208
- assert_raises(InvalidTimezoneIdentifier) { Timezone.get('Nowhere/Special') }
209
- end
210
-
211
- def test_get_invalid
212
- assert_raises(InvalidTimezoneIdentifier) { Timezone.get('../Definitions/UTC') }
213
- end
214
-
215
- def test_get_nil
216
- assert_raises(InvalidTimezoneIdentifier) { Timezone.get(nil) }
217
- end
218
-
219
- def test_get_case
220
- Timezone.get('Europe/Prague')
221
- assert_raises(InvalidTimezoneIdentifier) { Timezone.get('Europe/prague') }
222
- end
223
-
224
- def test_get_proxy_valid
225
- proxy = Timezone.get_proxy('Europe/London')
226
- assert_kind_of(TimezoneProxy, proxy)
227
- assert_equal('Europe/London', proxy.identifier)
228
- end
229
-
230
- def test_get_proxy_not_exist
231
- proxy = Timezone.get_proxy('Not/There')
232
- assert_kind_of(TimezoneProxy, proxy)
233
- assert_equal('Not/There', proxy.identifier)
234
- end
235
-
236
- def test_get_proxy_invalid
237
- proxy = Timezone.get_proxy('../Invalid/Identifier')
238
- assert_kind_of(TimezoneProxy, proxy)
239
- assert_equal('../Invalid/Identifier', proxy.identifier)
240
- end
241
-
242
- def test_get_tainted_loaded
243
- Timezone.get('Europe/Andorra')
244
-
245
- safe_test do
246
- identifier = 'Europe/Andorra'.taint
247
- assert(identifier.tainted?)
248
- tz = Timezone.get(identifier)
249
- assert_equal('Europe/Andorra', tz.identifier)
250
- assert(identifier.tainted?)
251
- end
252
- end
253
-
254
- def test_get_tainted_and_frozen_loaded
255
- Timezone.get('Europe/Andorra')
256
-
257
- safe_test do
258
- tz = Timezone.get('Europe/Andorra'.taint.freeze)
259
- assert_equal('Europe/Andorra', tz.identifier)
260
- end
261
- end
262
-
263
- def test_get_tainted_not_previously_loaded
264
- safe_test do
265
- identifier = 'Europe/Andorra'.taint
266
- assert(identifier.tainted?)
267
- tz = Timezone.get(identifier)
268
- assert_equal('Europe/Andorra', tz.identifier)
269
- assert(identifier.tainted?)
270
- end
271
- end
272
-
273
- def test_get_tainted_and_frozen_not_previously_loaded
274
- safe_test do
275
- tz = Timezone.get('Europe/Amsterdam'.taint.freeze)
276
- assert_equal('Europe/Amsterdam', tz.identifier)
277
- end
278
- end
279
-
280
- def test_new_no_args
281
- tz = Timezone.new
282
-
283
- assert_raises(UnknownTimezone) { tz.identifier }
284
- assert_raises(UnknownTimezone) { tz.friendly_identifier }
285
- assert_raises(UnknownTimezone) { tz.utc_to_local(DateTime.new(2006,1,1,1,0,0)) }
286
- assert_raises(UnknownTimezone) { tz.local_to_utc(DateTime.new(2006,1,1,1,0,0)) }
287
- assert_raises(UnknownTimezone) { tz.period_for_utc(DateTime.new(2006,1,1,1,0,0)) }
288
- assert_raises(UnknownTimezone) { tz.periods_for_local(DateTime.new(2006,1,1,1,0,0)) }
289
- assert_raises(UnknownTimezone) { tz.period_for_local(DateTime.new(2006,1,1,1,0,0)) }
290
- assert_raises(UnknownTimezone) { tz.now }
291
- assert_raises(UnknownTimezone) { tz.current_period_and_time }
292
- assert_raises(UnknownTimezone) { tz.transitions_up_to(DateTime.new(2006,1,1,1,0,0)) }
293
- assert_raises(UnknownTimezone) { tz.canonical_identifier }
294
- assert_raises(UnknownTimezone) { tz.canonical_zone }
295
- end
296
-
297
- def test_new_nil
298
- tz = Timezone.new(nil)
299
-
300
- assert_raises(UnknownTimezone) { tz.identifier }
301
- assert_raises(UnknownTimezone) { tz.friendly_identifier }
302
- assert_raises(UnknownTimezone) { tz.utc_to_local(DateTime.new(2006,1,1,1,0,0)) }
303
- assert_raises(UnknownTimezone) { tz.local_to_utc(DateTime.new(2006,1,1,1,0,0)) }
304
- assert_raises(UnknownTimezone) { tz.period_for_utc(DateTime.new(2006,1,1,1,0,0)) }
305
- assert_raises(UnknownTimezone) { tz.periods_for_local(DateTime.new(2006,1,1,1,0,0)) }
306
- assert_raises(UnknownTimezone) { tz.period_for_local(DateTime.new(2006,1,1,1,0,0)) }
307
- assert_raises(UnknownTimezone) { tz.now }
308
- assert_raises(UnknownTimezone) { tz.current_period_and_time }
309
- assert_raises(UnknownTimezone) { tz.transitions_up_to(DateTime.new(2006,1,1,1,0,0)) }
310
- assert_raises(UnknownTimezone) { tz.canonical_identifier }
311
- assert_raises(UnknownTimezone) { tz.canonical_zone }
312
- end
313
-
314
- def test_new_arg
315
- tz = Timezone.new('Europe/London')
316
- assert_same(Timezone.get('Europe/London'), tz)
317
- end
318
-
319
- def test_new_arg_not_exist
320
- assert_raises(InvalidTimezoneIdentifier) { Timezone.new('Nowhere/Special') }
321
- end
322
-
323
- def test_all
324
- all = Timezone.all
325
- expected = DataSource.get.timezone_identifiers.collect {|identifier| Timezone.get_proxy(identifier)}
326
- assert_equal(expected, all)
327
- end
328
-
329
- def test_all_identifiers
330
- all = Timezone.all_identifiers
331
- assert_equal(DataSource.get.timezone_identifiers, all)
332
- end
333
-
334
- def test_all_data_zones
335
- all_data = Timezone.all_data_zones
336
- expected = DataSource.get.data_timezone_identifiers.collect {|identifier| Timezone.get_proxy(identifier)}
337
- assert_equal(expected, all_data)
338
- end
339
-
340
- def test_all_data_zone_identifiers
341
- all_data = Timezone.all_data_zone_identifiers
342
- assert_equal(DataSource.get.data_timezone_identifiers, all_data)
343
- end
344
-
345
- def test_all_linked_zones
346
- all_linked = Timezone.all_linked_zones
347
- expected = DataSource.get.linked_timezone_identifiers.collect {|identifier| Timezone.get_proxy(identifier)}
348
- assert_equal(expected, all_linked)
349
- end
350
-
351
- def test_all_linked_zone_identifiers
352
- all_linked = Timezone.all_linked_zone_identifiers
353
- assert_equal(DataSource.get.linked_timezone_identifiers, all_linked)
354
- end
355
-
356
- def test_all_country_zones
357
- # Probably should relax this test - just need all the zones, don't care
358
- # about order.
359
- expected = Country.all.inject([]) {|result,country|
360
- result += country.zones
361
- }
362
- expected.uniq!
363
-
364
- all_country_zones = Timezone.all_country_zones
365
- assert_equal(expected, all_country_zones)
366
-
367
- all_country_zone_identifiers = Timezone.all_country_zone_identifiers
368
- assert_equal(all_country_zone_identifiers.length, all_country_zones.length)
369
-
370
- all_country_zones.each {|zone|
371
- assert_kind_of(TimezoneProxy, zone)
372
- assert(all_country_zone_identifiers.include?(zone.identifier))
373
- }
374
- end
375
-
376
- def test_all_country_zone_identifiers
377
- # Probably should relax this test - just need all the zones, don't care
378
- # about order.
379
- expected = Country.all.inject([]) {|result,country|
380
- result += country.zone_identifiers
381
- }
382
- expected.uniq!
383
-
384
- assert_equal(expected, Timezone.all_country_zone_identifiers)
385
- end
386
-
387
- def test_us_zones
388
- # Probably should relax this test - just need all the zones, don't care
389
- # about order.
390
- us_zones = Timezone.us_zones
391
- assert_equal(Country.get('US').zones.uniq, us_zones)
392
-
393
- us_zone_identifiers = Timezone.us_zone_identifiers
394
- assert_equal(us_zone_identifiers.length, us_zones.length)
395
-
396
- us_zones.each {|zone|
397
- assert_kind_of(TimezoneProxy, zone)
398
- assert(us_zone_identifiers.include?(zone.identifier))
399
- }
400
- end
401
-
402
- def test_us_zone_identifiers
403
- # Probably should relax this test - just need all the zones, don't care
404
- # about order.
405
- assert_equal(Country.get('US').zone_identifiers.uniq, Timezone.us_zone_identifiers)
406
- end
407
-
408
- def test_identifier
409
- assert_raises(UnknownTimezone) { Timezone.new.identifier }
410
- assert_equal('Europe/Paris', TestTimezone.new('Europe/Paris').identifier)
411
- end
412
-
413
- def test_name
414
- assert_raises(UnknownTimezone) { Timezone.new.name }
415
- assert_equal('Europe/Paris', TestTimezone.new('Europe/Paris').name)
416
- end
417
-
418
- def test_friendly_identifier
419
- assert_equal('Paris', TestTimezone.new('Europe/Paris').friendly_identifier(true))
420
- assert_equal('Europe - Paris', TestTimezone.new('Europe/Paris').friendly_identifier(false))
421
- assert_equal('Europe - Paris', TestTimezone.new('Europe/Paris').friendly_identifier)
422
- assert_equal('Knox, Indiana', TestTimezone.new('America/Indiana/Knox').friendly_identifier(true))
423
- assert_equal('America - Knox, Indiana', TestTimezone.new('America/Indiana/Knox').friendly_identifier(false))
424
- assert_equal('America - Knox, Indiana', TestTimezone.new('America/Indiana/Knox').friendly_identifier)
425
- assert_equal('Dumont D\'Urville', TestTimezone.new('Antarctica/DumontDUrville').friendly_identifier(true))
426
- assert_equal('Antarctica - Dumont D\'Urville', TestTimezone.new('Antarctica/DumontDUrville').friendly_identifier(false))
427
- assert_equal('Antarctica - Dumont D\'Urville', TestTimezone.new('Antarctica/DumontDUrville').friendly_identifier)
428
- assert_equal('McMurdo', TestTimezone.new('Antarctica/McMurdo').friendly_identifier(true))
429
- assert_equal('Antarctica - McMurdo', TestTimezone.new('Antarctica/McMurdo').friendly_identifier(false))
430
- assert_equal('Antarctica - McMurdo', TestTimezone.new('Antarctica/McMurdo').friendly_identifier)
431
- assert_equal('GMT+1', TestTimezone.new('Etc/GMT+1').friendly_identifier(true))
432
- assert_equal('Etc - GMT+1', TestTimezone.new('Etc/GMT+1').friendly_identifier(false))
433
- assert_equal('Etc - GMT+1', TestTimezone.new('Etc/GMT+1').friendly_identifier)
434
- assert_equal('UTC', TestTimezone.new('UTC').friendly_identifier(true))
435
- assert_equal('UTC', TestTimezone.new('UTC').friendly_identifier(false))
436
- assert_equal('UTC', TestTimezone.new('UTC').friendly_identifier)
437
- end
438
-
439
- def test_to_s
440
- assert_equal('Europe - Paris', TestTimezone.new('Europe/Paris').to_s)
441
- assert_equal('America - Knox, Indiana', TestTimezone.new('America/Indiana/Knox').to_s)
442
- assert_equal('Antarctica - Dumont D\'Urville', TestTimezone.new('Antarctica/DumontDUrville').to_s)
443
- assert_equal('Antarctica - McMurdo', TestTimezone.new('Antarctica/McMurdo').to_s)
444
- assert_equal('Etc - GMT+1', TestTimezone.new('Etc/GMT+1').to_s)
445
- assert_equal('UTC', TestTimezone.new('UTC').to_s)
446
- end
447
-
448
- def test_period_for_local
449
- dt = DateTime.new(2005,2,18,16,24,23)
450
- dt2 = DateTime.new(2005,2,18,16,24,23).new_offset(Rational(5,24))
451
- dt3 = DateTime.new(2005,2,18,16,24,23 + Rational(789, 1000))
452
- t = Time.utc(2005,2,18,16,24,23)
453
- t2 = Time.local(2005,2,18,16,24,23)
454
- t3 = Time.utc(2005,2,18,16,24,23,789000)
455
- ts = t.to_i
456
-
457
- o1 = TimezoneOffset.new(0, 0, :GMT)
458
- o2 = TimezoneOffset.new(0, 3600, :BST)
459
-
460
- period = TimezonePeriod.new(
461
- TestTimezoneTransition.new(o1, o2, 1099184400),
462
- TestTimezoneTransition.new(o2, o1, 1111885200))
463
-
464
- dt_period = TestTimezone.new('Europe/London', nil, [period], dt).period_for_local(dt)
465
- dt2_period = TestTimezone.new('Europe/London', nil, [period], dt2).period_for_local(dt2)
466
- dt3_period = TestTimezone.new('Europe/London', nil, [period], dt3).period_for_local(dt3)
467
- t_period = TestTimezone.new('Europe/London', nil, [period], t).period_for_local(t)
468
- t2_period = TestTimezone.new('Europe/London', nil, [period], t2).period_for_local(t2)
469
- t3_period = TestTimezone.new('Europe/London', nil, [period], t3).period_for_local(t3)
470
- ts_period = TestTimezone.new('Europe/London', nil, [period], ts).period_for_local(ts)
471
-
472
- assert_equal(period, dt_period)
473
- assert_equal(period, dt2_period)
474
- assert_equal(period, dt3_period)
475
- assert_equal(period, t_period)
476
- assert_equal(period, t2_period)
477
- assert_equal(period, t3_period)
478
- assert_equal(period, ts_period)
479
- end
480
-
481
- def test_period_for_local_invalid
482
- dt = DateTime.new(2004,4,4,2,30,0)
483
- tz = TestTimezone.new('America/New_York', nil, [], dt)
484
-
485
- assert_raises(PeriodNotFound) do
486
- tz.period_for_local(dt)
487
- end
488
- end
489
-
490
- def test_period_for_local_ambiguous
491
- o1 = TimezoneOffset.new(-18000, 0, :EST)
492
- o2 = TimezoneOffset.new(-18000, 3600, :EDT)
493
-
494
- t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
495
- t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
496
- t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
497
-
498
- p1 = TimezonePeriod.new(t1, t2)
499
- p2 = TimezonePeriod.new(t2, t3)
500
-
501
- dt = DateTime.new(2004,10,31,1,0,0)
502
- dt2 = DateTime.new(2004,10,31,1,0,Rational(555,1000))
503
- t = Time.utc(2004,10,31,1,30,0)
504
- t2 = Time.utc(2004,10,31,1,30,0,555000)
505
- i = Time.utc(2004,10,31,1,59,59).to_i
506
-
507
- dt_tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
508
- dt2_tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt2)
509
- t_tz = TestTimezone.new('America/New_York', nil, [p1, p2], t)
510
- t2_tz = TestTimezone.new('America/New_York', nil, [p1, p2], t2)
511
- i_tz = TestTimezone.new('America/New_York', nil, [p1, p2], i)
512
-
513
- assert_raises(AmbiguousTime) { dt_tz.period_for_local(dt) }
514
- assert_raises(AmbiguousTime) { dt2_tz.period_for_local(dt2) }
515
- assert_raises(AmbiguousTime) { t_tz.period_for_local(t) }
516
- assert_raises(AmbiguousTime) { t2_tz.period_for_local(t2) }
517
- assert_raises(AmbiguousTime) { i_tz.period_for_local(i) }
518
- end
519
-
520
- def test_period_for_local_not_found
521
- dt = DateTime.new(2004,4,4,2,0,0)
522
- dt2 = DateTime.new(2004,4,4,2,0,Rational(987,1000))
523
- t = Time.utc(2004,4,4,2,30,0)
524
- t2 = Time.utc(2004,4,4,2,30,0,987000)
525
- i = Time.utc(2004,4,4,2,59,59).to_i
526
-
527
- dt_tz = TestTimezone.new('America/New_York', nil, [], dt)
528
- dt2_tz = TestTimezone.new('America/New_York', nil, [], dt2)
529
- t_tz = TestTimezone.new('America/New_York', nil, [], t)
530
- t2_tz = TestTimezone.new('America/New_York', nil, [], t2)
531
- i_tz = TestTimezone.new('America/New_York', nil, [], i)
532
-
533
- assert_raises(PeriodNotFound) { dt_tz.period_for_local(dt) }
534
- assert_raises(PeriodNotFound) { dt2_tz.period_for_local(dt2) }
535
- assert_raises(PeriodNotFound) { t_tz.period_for_local(t) }
536
- assert_raises(PeriodNotFound) { t2_tz.period_for_local(t2) }
537
- assert_raises(PeriodNotFound) { i_tz.period_for_local(i) }
538
- end
539
-
540
- def test_period_for_local_default_dst_set_true
541
- Timezone.default_dst = true
542
-
543
- o1 = TimezoneOffset.new(-18000, 0, :EST)
544
- o2 = TimezoneOffset.new(-18000, 3600, :EDT)
545
-
546
- t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
547
- t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
548
- t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
549
-
550
- p1 = TimezonePeriod.new(t1, t2)
551
- p2 = TimezonePeriod.new(t2, t3)
552
-
553
- dt = DateTime.new(2004,10,31,1,30,0)
554
-
555
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
556
-
557
- assert_equal(p1, tz.period_for_local(dt))
558
- assert_equal(p1, tz.period_for_local(dt, true))
559
- assert_equal(p2, tz.period_for_local(dt, false))
560
- assert_raises(AmbiguousTime) { tz.period_for_local(dt, nil) }
561
- end
562
-
563
- def test_period_for_local_default_dst_set_false
564
- Timezone.default_dst = false
565
-
566
- o1 = TimezoneOffset.new(-18000, 0, :EST)
567
- o2 = TimezoneOffset.new(-18000, 3600, :EDT)
568
-
569
- t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
570
- t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
571
- t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
572
-
573
- p1 = TimezonePeriod.new(t1, t2)
574
- p2 = TimezonePeriod.new(t2, t3)
575
-
576
- dt = DateTime.new(2004,10,31,1,30,0)
577
-
578
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
579
-
580
- assert_equal(p2, tz.period_for_local(dt))
581
- assert_equal(p1, tz.period_for_local(dt, true))
582
- assert_equal(p2, tz.period_for_local(dt, false))
583
- assert_raises(AmbiguousTime) { tz.period_for_local(dt, nil) }
584
- end
585
-
586
- def test_period_for_local_dst_flag_resolved
587
- o1 = TimezoneOffset.new(-18000, 0, :EST)
588
- o2 = TimezoneOffset.new(-18000, 3600, :EDT)
589
-
590
- t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
591
- t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
592
- t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
593
-
594
- p1 = TimezonePeriod.new(t1, t2)
595
- p2 = TimezonePeriod.new(t2, t3)
596
-
597
- dt = DateTime.new(2004,10,31,1,30,0)
598
-
599
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
600
-
601
- assert_equal(p1, tz.period_for_local(dt, true))
602
- assert_equal(p2, tz.period_for_local(dt, false))
603
- assert_equal(p1, tz.period_for_local(dt, true) {|periods| raise BlockCalled, 'should not be called' })
604
- assert_equal(p2, tz.period_for_local(dt, false) {|periods| raise BlockCalled, 'should not be called' })
605
- end
606
-
607
- def test_period_for_local_dst_block_called
608
- o1 = TimezoneOffset.new(-18000, 0, :EST)
609
- o2 = TimezoneOffset.new(-18000, 3600, :EDT)
610
-
611
- t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
612
- t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
613
- t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
614
-
615
- p1 = TimezonePeriod.new(t1, t2)
616
- p2 = TimezonePeriod.new(t2, t3)
617
-
618
- dt = DateTime.new(2004,10,31,1,30,0)
619
-
620
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
621
-
622
- assert_raises(BlockCalled) {
623
- tz.period_for_local(dt) {|periods|
624
- assert_equal([p1, p2], periods)
625
-
626
- # raise exception to test that the block was called
627
- raise BlockCalled, 'should be raised'
628
- }
629
- }
630
-
631
- assert_equal(p1, tz.period_for_local(dt) {|periods| periods.first})
632
- assert_equal(p2, tz.period_for_local(dt) {|periods| periods.last})
633
- assert_equal(p1, tz.period_for_local(dt) {|periods| [periods.first]})
634
- assert_equal(p2, tz.period_for_local(dt) {|periods| [periods.last]})
635
- end
636
-
637
- def test_period_for_local_dst_cannot_resolve
638
- # At midnight local time on Aug 5 1915 in Warsaw, the clocks were put back
639
- # 24 minutes and both periods were non-DST. Hence the block should be
640
- # called regardless of the value of the Boolean dst parameter.
641
-
642
- o0 = TimezoneOffset.new(5040, 0, :LMT)
643
- o1 = TimezoneOffset.new(5040, 0, :WMT)
644
- o2 = TimezoneOffset.new(3600, 0, :CET)
645
- o3 = TimezoneOffset.new(3600, 3600, :CEST)
646
-
647
- t1 = TestTimezoneTransition.new(o1, o0, DateTime.new(1879, 12, 31, 22, 36, 0))
648
- t2 = TestTimezoneTransition.new(o2, o1, DateTime.new(1915, 8, 4, 22, 36, 0))
649
- t3 = TestTimezoneTransition.new(o3, o2, DateTime.new(1916, 4, 30, 22, 0, 0))
650
-
651
- p1 = TimezonePeriod.new(t1, t2)
652
- p2 = TimezonePeriod.new(t2, t3)
653
-
654
- dt = DateTime.new(1915,8,4,23,40,0)
655
-
656
- tz = TestTimezone.new('Europe/Warsaw', nil, [p1, p2], dt)
657
-
658
- assert_raises(BlockCalled) {
659
- tz.period_for_local(dt, true) {|periods|
660
- assert_equal([p1, p2], periods)
661
- raise BlockCalled, 'should be raised'
662
- }
663
- }
664
-
665
- assert_raises(BlockCalled) {
666
- tz.period_for_local(dt, false) {|periods|
667
- assert_equal([p1, p2], periods)
668
- raise BlockCalled, 'should be raised'
669
- }
670
- }
671
- end
672
-
673
- def test_period_for_local_block_ambiguous
674
- o1 = TimezoneOffset.new(-18000, 0, :EST)
675
- o2 = TimezoneOffset.new(-18000, 3600, :EDT)
676
-
677
- t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
678
- t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
679
- t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
680
-
681
- p1 = TimezonePeriod.new(t1, t2)
682
- p2 = TimezonePeriod.new(t2, t3)
683
-
684
- dt = DateTime.new(2004,10,31,1,30,0)
685
-
686
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
687
-
688
- assert_raises(AmbiguousTime) do
689
- tz.period_for_local(dt) {|periods| nil}
690
- end
691
-
692
- assert_raises(AmbiguousTime) do
693
- tz.period_for_local(dt) {|periods| periods}
694
- end
695
-
696
- assert_raises(AmbiguousTime) do
697
- tz.period_for_local(dt) {|periods| []}
698
- end
699
-
700
- assert_raises(AmbiguousTime) do
701
- tz.period_for_local(dt) {|periods| raise AmbiguousTime, 'Ambiguous time'}
702
- end
703
- end
704
-
705
- def test_utc_to_local
706
- dt = DateTime.new(2005,6,18,16,24,23)
707
- dt2 = DateTime.new(2005,6,18,16,24,23).new_offset(Rational(5,24))
708
- dtu = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000))
709
- dtu2 = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000)).new_offset(Rational(5,24))
710
- t = Time.utc(2005,6,18,16,24,23)
711
- t2 = Time.local(2005,6,18,16,24,23)
712
- tu = Time.utc(2005,6,18,16,24,23,567000)
713
- tu2 = Time.local(2005,6,18,16,24,23,567000)
714
- ts = t.to_i
715
-
716
- o1 = TimezoneOffset.new(0, 0, :GMT)
717
- o2 = TimezoneOffset.new(0, 3600, :BST)
718
-
719
- period = TimezonePeriod.new(
720
- TestTimezoneTransition.new(o2, o1, 1111885200),
721
- TestTimezoneTransition.new(o1, o2, 1130634000))
722
-
723
- assert_equal(DateTime.new(2005,6,18,17,24,23), TestTimezone.new('Europe/London', period, [], dt).utc_to_local(dt))
724
- assert_equal(DateTime.new(2005,6,18,17,24,23), TestTimezone.new('Europe/London', period, [], dt2).utc_to_local(dt2))
725
- assert_equal(DateTime.new(2005,6,18,17,24,23 + Rational(567,1000)), TestTimezone.new('Europe/London', period, [], dtu).utc_to_local(dtu))
726
- assert_equal(DateTime.new(2005,6,18,17,24,23 + Rational(567,1000)), TestTimezone.new('Europe/London', period, [], dtu2).utc_to_local(dtu2))
727
- assert_equal(Time.utc(2005,6,18,17,24,23), TestTimezone.new('Europe/London', period, [], t).utc_to_local(t))
728
- assert_equal(Time.utc(2005,6,18,17,24,23), TestTimezone.new('Europe/London', period, [], t2).utc_to_local(t2))
729
- assert_equal(Time.utc(2005,6,18,17,24,23,567000), TestTimezone.new('Europe/London', period, [], tu).utc_to_local(tu))
730
- assert_equal(Time.utc(2005,6,18,17,24,23,567000), TestTimezone.new('Europe/London', period, [], tu2).utc_to_local(tu2))
731
- assert_equal(Time.utc(2005,6,18,17,24,23).to_i, TestTimezone.new('Europe/London', period, [], ts).utc_to_local(ts))
732
- end
733
-
734
- def test_utc_to_local_offset
735
- dt = DateTime.new(2005,6,18,16,24,23)
736
- dt2 = DateTime.new(2005,6,18,16,24,23).new_offset(Rational(5,24))
737
- dtu = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000))
738
- dtu2 = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000)).new_offset(Rational(5,24))
739
- t = Time.utc(2005,6,18,16,24,23)
740
- t2 = Time.local(2005,6,18,16,24,23)
741
- tu = Time.utc(2005,6,18,16,24,23,567000)
742
- tu2 = Time.local(2005,6,18,16,24,23,567000)
743
-
744
- o1 = TimezoneOffset.new(0, 0, :GMT)
745
- o2 = TimezoneOffset.new(0, 3600, :BST)
746
-
747
- period = TimezonePeriod.new(
748
- TestTimezoneTransition.new(o2, o1, 1111885200),
749
- TestTimezoneTransition.new(o1, o2, 1130634000))
750
-
751
- assert_equal(0, TestTimezone.new('Europe/London', period, [], dt).utc_to_local(dt).offset)
752
- assert_equal(0, TestTimezone.new('Europe/London', period, [], dt2).utc_to_local(dt2).offset)
753
- assert_equal(0, TestTimezone.new('Europe/London', period, [], dtu).utc_to_local(dtu).offset)
754
- assert_equal(0, TestTimezone.new('Europe/London', period, [], dtu2).utc_to_local(dtu2).offset)
755
- assert_equal(0, TestTimezone.new('Europe/London', period, [], t).utc_to_local(t).utc_offset)
756
- assert(TestTimezone.new('Europe/London', period, [], t).utc_to_local(t).utc?)
757
- assert_equal(0, TestTimezone.new('Europe/London', period, [], t2).utc_to_local(t2).utc_offset)
758
- assert(TestTimezone.new('Europe/London', period, [], t2).utc_to_local(t2).utc?)
759
- assert_equal(0, TestTimezone.new('Europe/London', period, [], tu).utc_to_local(tu).utc_offset)
760
- assert(TestTimezone.new('Europe/London', period, [], tu).utc_to_local(tu).utc?)
761
- assert_equal(0, TestTimezone.new('Europe/London', period, [], tu2).utc_to_local(tu2).utc_offset)
762
- assert(TestTimezone.new('Europe/London', period, [], tu2).utc_to_local(tu2).utc?)
763
- end
764
-
765
- def test_local_to_utc
766
- dt = DateTime.new(2005,6,18,16,24,23)
767
- dt2 = DateTime.new(2005,6,18,16,24,23).new_offset(Rational(5, 24))
768
- dtu = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000))
769
- dtu2 = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000)).new_offset(Rational(5, 24))
770
- t = Time.utc(2005,6,18,16,24,23)
771
- t2 = Time.local(2005,6,18,16,24,23)
772
- tu = Time.utc(2005,6,18,16,24,23,567000)
773
- tu2 = Time.local(2005,6,18,16,24,23,567000)
774
- ts = t.to_i
775
-
776
- o1 = TimezoneOffset.new(0, 0, :GMT)
777
- o2 = TimezoneOffset.new(0, 3600, :BST)
778
-
779
- period = TimezonePeriod.new(
780
- TestTimezoneTransition.new(o2, o1, 1111885200),
781
- TestTimezoneTransition.new(o1, o2, 1130634000))
782
-
783
- assert_equal(DateTime.new(2005,6,18,15,24,23), TestTimezone.new('Europe/London', nil, [period], dt).local_to_utc(dt))
784
- assert_equal(DateTime.new(2005,6,18,15,24,23), TestTimezone.new('Europe/London', nil, [period], dt2).local_to_utc(dt2))
785
- assert_equal(DateTime.new(2005,6,18,15,24,23 + Rational(567,1000)), TestTimezone.new('Europe/London', nil, [period], dtu).local_to_utc(dtu))
786
- assert_equal(DateTime.new(2005,6,18,15,24,23 + Rational(567,1000)), TestTimezone.new('Europe/London', nil, [period], dtu2).local_to_utc(dtu2))
787
- assert_equal(Time.utc(2005,6,18,15,24,23), TestTimezone.new('Europe/London', nil, [period], t).local_to_utc(t))
788
- assert_equal(Time.utc(2005,6,18,15,24,23), TestTimezone.new('Europe/London', nil, [period], t2).local_to_utc(t2))
789
- assert_equal(Time.utc(2005,6,18,15,24,23,567000), TestTimezone.new('Europe/London', nil, [period], tu).local_to_utc(tu))
790
- assert_equal(Time.utc(2005,6,18,15,24,23,567000), TestTimezone.new('Europe/London', nil, [period], tu2).local_to_utc(tu2))
791
- assert_equal(Time.utc(2005,6,18,15,24,23).to_i, TestTimezone.new('Europe/London', nil, [period], ts).local_to_utc(ts))
792
- end
793
-
794
- def test_local_to_utc_offset
795
- dt = DateTime.new(2005,6,18,16,24,23)
796
- dt2 = DateTime.new(2005,6,18,16,24,23).new_offset(Rational(5, 24))
797
- dtu = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000))
798
- dtu2 = DateTime.new(2005,6,18,16,24,23 + Rational(567,1000)).new_offset(Rational(5, 24))
799
- t = Time.utc(2005,6,18,16,24,23)
800
- t2 = Time.local(2005,6,18,16,24,23)
801
- tu = Time.utc(2005,6,18,16,24,23,567000)
802
- tu2 = Time.local(2005,6,18,16,24,23,567000)
803
-
804
- o1 = TimezoneOffset.new(0, 0, :GMT)
805
- o2 = TimezoneOffset.new(0, 3600, :BST)
806
-
807
- period = TimezonePeriod.new(
808
- TestTimezoneTransition.new(o2, o1, 1111885200),
809
- TestTimezoneTransition.new(o1, o2, 1130634000))
810
-
811
- assert_equal(0, TestTimezone.new('Europe/London', nil, [period], dt).local_to_utc(dt).offset)
812
- assert_equal(0, TestTimezone.new('Europe/London', nil, [period], dt2).local_to_utc(dt2).offset)
813
- assert_equal(0, TestTimezone.new('Europe/London', nil, [period], dtu).local_to_utc(dtu).offset)
814
- assert_equal(0, TestTimezone.new('Europe/London', nil, [period], dtu2).local_to_utc(dtu2).offset)
815
- assert_equal(0, TestTimezone.new('Europe/London', nil, [period], t).local_to_utc(t).utc_offset)
816
- assert(TestTimezone.new('Europe/London', nil, [period], t).local_to_utc(t).utc?)
817
- assert_equal(0, TestTimezone.new('Europe/London', nil, [period], t2).local_to_utc(t2).utc_offset)
818
- assert(TestTimezone.new('Europe/London', nil, [period], t2).local_to_utc(t2).utc?)
819
- assert_equal(0, TestTimezone.new('Europe/London', nil, [period], tu).local_to_utc(tu).utc_offset)
820
- assert(TestTimezone.new('Europe/London', nil, [period], tu).local_to_utc(tu).utc?)
821
- assert_equal(0, TestTimezone.new('Europe/London', nil, [period], tu2).local_to_utc(tu2).utc_offset)
822
- assert(TestTimezone.new('Europe/London', nil, [period], tu2).local_to_utc(tu2).utc?)
823
- end
824
-
825
- def test_local_to_utc_utc_local_returns_utc
826
- # Check that UTC time instances are always returned even if the system
827
- # is using UTC as the time zone.
828
-
829
- # Note that this will only test will only work correctly on platforms where
830
- # setting the TZ environment variable has an effect. If setting TZ has no
831
- # effect, then this test will still pass.
832
-
833
- old_tz = ENV['TZ']
834
- begin
835
- ENV['TZ'] = 'UTC'
836
-
837
- tz = Timezone.get('America/New_York')
838
-
839
- t = tz.local_to_utc(Time.local(2014, 1, 11, 17, 18, 41))
840
- assert_equal(Time.utc(2014, 1, 11, 22, 18, 41), t)
841
- assert(t.utc?)
842
- ensure
843
- ENV['TZ'] = old_tz
844
- end
845
- end
846
-
847
- def test_local_to_utc_invalid
848
- dt = DateTime.new(2004,4,4,2,30,0)
849
- tz = TestTimezone.new('America/New_York', nil, [], dt)
850
- assert_raises(PeriodNotFound) { tz.local_to_utc(dt) }
851
-
852
- t = Time.utc(2004,4,4,2,30,0)
853
- tz = TestTimezone.new('America/New_York', nil, [], t)
854
- assert_raises(PeriodNotFound) { tz.local_to_utc(t) }
855
-
856
- i = Time.utc(2004,4,4,2,30,0).to_i
857
- tz = TestTimezone.new('America/New_York', nil, [], i)
858
- assert_raises(PeriodNotFound) { tz.local_to_utc(i) }
859
- end
860
-
861
- def test_local_to_utc_ambiguous
862
- o1 = TimezoneOffset.new(-18000, 0, :EST)
863
- o2 = TimezoneOffset.new(-18000, 3600, :EDT)
864
-
865
- t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
866
- t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
867
- t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
868
-
869
- p1 = TimezonePeriod.new(t1, t2)
870
- p2 = TimezonePeriod.new(t2, t3)
871
-
872
- dt = DateTime.new(2004,10,31,1,30,0)
873
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
874
- assert_raises(AmbiguousTime) { tz.local_to_utc(dt) }
875
-
876
- t = Time.utc(2004,10,31,1,30,0)
877
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], t)
878
- assert_raises(AmbiguousTime) { tz.local_to_utc(t) }
879
-
880
- i = Time.utc(2004,10,31,1,30,0).to_i
881
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], i)
882
- assert_raises(AmbiguousTime) { tz.local_to_utc(i) }
883
-
884
- f = Time.utc(2004,10,31,1,30,0,501).to_i
885
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], f)
886
- assert_raises(AmbiguousTime) { tz.local_to_utc(f) }
887
- end
888
-
889
- def test_local_to_utc_not_found
890
- dt = DateTime.new(2004,4,4,2,0,0)
891
- t = Time.utc(2004,4,4,2,30,0)
892
- i = Time.utc(2004,4,4,2,59,59).to_i
893
-
894
- dt_tz = TestTimezone.new('America/New_York', nil, [], dt)
895
- t_tz = TestTimezone.new('America/New_York', nil, [], t)
896
- i_tz = TestTimezone.new('America/New_York', nil, [], i)
897
-
898
- assert_raises(PeriodNotFound) { dt_tz.local_to_utc(dt) }
899
- assert_raises(PeriodNotFound) { t_tz.local_to_utc(t) }
900
- assert_raises(PeriodNotFound) { i_tz.local_to_utc(i) }
901
- end
902
-
903
- def test_local_to_utc_default_dst_set_true
904
- Timezone.default_dst = true
905
-
906
- o1 = TimezoneOffset.new(-18000, 0, :EST)
907
- o2 = TimezoneOffset.new(-18000, 3600, :EDT)
908
-
909
- t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
910
- t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
911
- t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
912
-
913
- p1 = TimezonePeriod.new(t1, t2)
914
- p2 = TimezonePeriod.new(t2, t3)
915
-
916
- dt = DateTime.new(2004,10,31,1,30,0)
917
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
918
-
919
- assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt))
920
- assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt, true))
921
- assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt, false))
922
- assert_raises(AmbiguousTime) { tz.local_to_utc(dt, nil) }
923
- assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt) {|periods| raise BlockCalled, 'should not be called' })
924
- end
925
-
926
- def test_local_to_utc_default_dst_set_false
927
- Timezone.default_dst = false
928
-
929
- o1 = TimezoneOffset.new(-18000, 0, :EST)
930
- o2 = TimezoneOffset.new(-18000, 3600, :EDT)
931
-
932
- t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
933
- t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
934
- t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
935
-
936
- p1 = TimezonePeriod.new(t1, t2)
937
- p2 = TimezonePeriod.new(t2, t3)
938
-
939
- dt = DateTime.new(2004,10,31,1,30,0)
940
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
941
-
942
- assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt))
943
- assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt, false))
944
- assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt, true))
945
- assert_raises(AmbiguousTime) { tz.local_to_utc(dt, nil) }
946
- assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt) {|periods| raise BlockCalled, 'should not be called' })
947
- end
948
-
949
- def test_local_to_utc_dst_flag_resolved
950
- o1 = TimezoneOffset.new(-18000, 0, :EST)
951
- o2 = TimezoneOffset.new(-18000, 3600, :EDT)
952
-
953
- t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
954
- t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
955
- t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
956
-
957
- p1 = TimezonePeriod.new(t1, t2)
958
- p2 = TimezonePeriod.new(t2, t3)
959
-
960
- dt = DateTime.new(2004,10,31,1,30,0)
961
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
962
-
963
- assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt, true))
964
- assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt, false))
965
- assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt, true) {|periods| raise BlockCalled, 'should not be called' })
966
- assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt, false) {|periods| raise BlockCalled, 'should not be called' })
967
- end
968
-
969
- def test_local_to_utc_dst_block_called
970
- o1 = TimezoneOffset.new(-18000, 0, :EST)
971
- o2 = TimezoneOffset.new(-18000, 3600, :EDT)
972
-
973
- t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
974
- t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
975
- t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
976
-
977
- p1 = TimezonePeriod.new(t1, t2)
978
- p2 = TimezonePeriod.new(t2, t3)
979
-
980
- dt = DateTime.new(2004,10,31,1,30,0)
981
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
982
-
983
- assert_raises(BlockCalled) {
984
- tz.local_to_utc(dt) {|periods|
985
- assert_equal([p1, p2], periods)
986
-
987
- # raise exception to test that the block was called
988
- raise BlockCalled, 'should be raised'
989
- }
990
- }
991
-
992
- assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt) {|periods| periods.first})
993
- assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt) {|periods| periods.last})
994
- assert_equal(DateTime.new(2004,10,31,5,30,0), tz.local_to_utc(dt) {|periods| [periods.first]})
995
- assert_equal(DateTime.new(2004,10,31,6,30,0), tz.local_to_utc(dt) {|periods| [periods.last]})
996
- end
997
-
998
- def test_local_to_utc_dst_cannot_resolve
999
- # At midnight local time on Aug 5 1915 in Warsaw, the clocks were put back
1000
- # 24 minutes and both periods were non-DST. Hence the block should be
1001
- # called regardless of the value of the Boolean dst parameter.
1002
-
1003
- o0 = TimezoneOffset.new(5040, 0, :LMT)
1004
- o1 = TimezoneOffset.new(5040, 0, :WMT)
1005
- o2 = TimezoneOffset.new(3600, 0, :CET)
1006
- o3 = TimezoneOffset.new(3600, 3600, :CEST)
1007
-
1008
- t1 = TestTimezoneTransition.new(o1, o0, DateTime.new(1879, 12, 31, 22, 36, 0))
1009
- t2 = TestTimezoneTransition.new(o2, o1, DateTime.new(1915, 8, 4, 22, 36, 0))
1010
- t3 = TestTimezoneTransition.new(o3, o2, DateTime.new(1916, 4, 30, 22, 0, 0))
1011
-
1012
- p1 = TimezonePeriod.new(t1, t2)
1013
- p2 = TimezonePeriod.new(t2, t3)
1014
-
1015
- dt = DateTime.new(1915,8,4,23,40,0)
1016
-
1017
- tz = TestTimezone.new('Europe/Warsaw', nil, [p1, p2], dt)
1018
-
1019
- assert_raises(BlockCalled) do
1020
- tz.local_to_utc(dt, true) do |periods|
1021
- assert_equal([p1, p2], periods)
1022
- raise BlockCalled, 'should be raised'
1023
- end
1024
- end
1025
-
1026
- assert_raises(BlockCalled) do
1027
- tz.local_to_utc(dt, false) do |periods|
1028
- assert_equal([p1, p2], periods)
1029
- raise BlockCalled, 'should be raised'
1030
- end
1031
- end
1032
-
1033
- assert_equal(DateTime.new(1915,8,4,22,16,0), tz.local_to_utc(dt) {|periods| periods.first})
1034
- assert_equal(DateTime.new(1915,8,4,22,40,0), tz.local_to_utc(dt) {|periods| periods.last})
1035
- assert_equal(DateTime.new(1915,8,4,22,16,0), tz.local_to_utc(dt) {|periods| [periods.first]})
1036
- assert_equal(DateTime.new(1915,8,4,22,40,0), tz.local_to_utc(dt) {|periods| [periods.last]})
1037
- end
1038
-
1039
- def test_local_to_utc_block_ambiguous
1040
- o1 = TimezoneOffset.new(-18000, 0, :EST)
1041
- o2 = TimezoneOffset.new(-18000, 3600, :EDT)
1042
-
1043
- t1 = TestTimezoneTransition.new(o2, o1, 1081062000)
1044
- t2 = TestTimezoneTransition.new(o1, o2, 1099202400)
1045
- t3 = TestTimezoneTransition.new(o2, o1, 1112511600)
1046
-
1047
- p1 = TimezonePeriod.new(t1, t2)
1048
- p2 = TimezonePeriod.new(t2, t3)
1049
-
1050
- dt = DateTime.new(2004,10,31,1,30,0)
1051
- tz = TestTimezone.new('America/New_York', nil, [p1, p2], dt)
1052
-
1053
- assert_raises(AmbiguousTime) { tz.local_to_utc(dt) {|periods| nil} }
1054
- assert_raises(AmbiguousTime) { tz.local_to_utc(dt) {|periods| periods} }
1055
- assert_raises(AmbiguousTime) { tz.local_to_utc(dt) {|periods| []} }
1056
- assert_raises(AmbiguousTime) { tz.local_to_utc(dt) {|periods| raise AmbiguousTime, 'Ambiguous time'} }
1057
- end
1058
-
1059
- def test_offsets_up_to
1060
- o1 = TimezoneOffset.new(-17900, 0, :TESTLMT)
1061
- o2 = TimezoneOffset.new(-18000, 3600, :TESTD)
1062
- o3 = TimezoneOffset.new(-18000, 0, :TESTS)
1063
- o4 = TimezoneOffset.new(-21600, 3600, :TESTD)
1064
- o5 = TimezoneOffset.new(-21600, 0, :TESTS)
1065
-
1066
- t1 = TestTimezoneTransition.new(o2, o1, Time.utc(2010, 4,1,1,0,0).to_i)
1067
- t2 = TestTimezoneTransition.new(o3, o2, Time.utc(2010,10,1,1,0,0).to_i)
1068
- t3 = TestTimezoneTransition.new(o2, o3, Time.utc(2011, 3,1,1,0,0).to_i)
1069
- t4 = TestTimezoneTransition.new(o4, o2, Time.utc(2011, 4,1,1,0,0).to_i)
1070
- t5 = TestTimezoneTransition.new(o3, o4, Time.utc(2011,10,1,1,0,0).to_i)
1071
- t6 = TestTimezoneTransition.new(o5, o3, Time.utc(2012, 3,1,1,0,0).to_i)
1072
-
1073
- assert_array_same_items([o1, o2, o3, o4, o5],
1074
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,1), nil, [t1, t2, t3, t4, t5, t6]).
1075
- offsets_up_to(Time.utc(2012,3,1,1,0,1)))
1076
- assert_array_same_items([o2, o3, o4, o5],
1077
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,1), Time.utc(2010,4,1,1,0,0), [t1, t2, t3, t4, t5, t6]).
1078
- offsets_up_to(Time.utc(2012,3,1,1,0,1), Time.utc(2010,4,1,1,0,0)))
1079
- assert_array_same_items([o1, o2, o3, o4],
1080
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,0), nil, [t1, t2, t3, t4, t5]).
1081
- offsets_up_to(Time.utc(2012,3,1,1,0,0)))
1082
- assert_array_same_items([o2, o3, o4, o5],
1083
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,1), Time.utc(2010,4,1,1,0,1), [t2, t3, t4, t5, t6]).
1084
- offsets_up_to(Time.utc(2012,3,1,1,0,1), Time.utc(2010,4,1,1,0,1)))
1085
- assert_array_same_items([o2, o3],
1086
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2011,3,1,2,0,0), Time.utc(2011,3,1,0,0,0), [t3]).
1087
- offsets_up_to(Time.utc(2011,3,1,2,0,0), Time.utc(2011,3,1,0,0,0)))
1088
- assert_array_same_items([o3, o4],
1089
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,0), Time.utc(2011,4,1,1,0,0), [t4, t5]).
1090
- offsets_up_to(Time.utc(2012,3,1,1,0,0), Time.utc(2011,4,1,1,0,0)))
1091
-
1092
- assert_array_same_items([o1, o2, o3, o4, o5],
1093
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,1).to_i, nil, [t1, t2, t3, t4, t5, t6]).
1094
- offsets_up_to(Time.utc(2012,3,1,1,0,1).to_i))
1095
- assert_array_same_items([o2, o3, o4, o5],
1096
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,1).to_i, Time.utc(2010,4,1,1,0,0).to_i, [t1, t2, t3, t4, t5, t6]).
1097
- offsets_up_to(Time.utc(2012,3,1,1,0,1).to_i, Time.utc(2010,4,1,1,0,0).to_i))
1098
- assert_array_same_items([o1, o2, o3, o4],
1099
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,0).to_i, nil, [t1, t2, t3, t4, t5]).
1100
- offsets_up_to(Time.utc(2012,3,1,1,0,0).to_i))
1101
- assert_array_same_items([o2, o3, o4, o5],
1102
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,1).to_i, Time.utc(2010,4,1,1,0,1).to_i, [t2, t3, t4, t5, t6]).
1103
- offsets_up_to(Time.utc(2012,3,1,1,0,1).to_i, Time.utc(2010,4,1,1,0,1).to_i))
1104
- assert_array_same_items([o2, o3],
1105
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2011,3,1,2,0,0).to_i, Time.utc(2011,3,1,0,0,0).to_i, [t3]).
1106
- offsets_up_to(Time.utc(2011,3,1,2,0,0).to_i, Time.utc(2011,3,1,0,0,0).to_i))
1107
- assert_array_same_items([o3, o4],
1108
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,3,1,1,0,0).to_i, Time.utc(2011,4,1,1,0,0).to_i, [t4, t5]).
1109
- offsets_up_to(Time.utc(2012,3,1,1,0,0).to_i, Time.utc(2011,4,1,1,0,0).to_i))
1110
-
1111
- assert_array_same_items([o1, o2, o3, o4, o5],
1112
- OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2012,3,1,1,0,1), nil, [t1, t2, t3, t4, t5, t6]).
1113
- offsets_up_to(DateTime.new(2012,3,1,1,0,1)))
1114
- assert_array_same_items([o2, o3, o4, o5],
1115
- OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2012,3,1,1,0,1), DateTime.new(2010,4,1,1,0,0), [t1, t2, t3, t4, t5, t6]).
1116
- offsets_up_to(DateTime.new(2012,3,1,1,0,1), DateTime.new(2010,4,1,1,0,0)))
1117
- assert_array_same_items([o1, o2, o3, o4],
1118
- OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2012,3,1,1,0,0), nil, [t1, t2, t3, t4, t5]).
1119
- offsets_up_to(DateTime.new(2012,3,1,1,0,0)))
1120
- assert_array_same_items([o2, o3, o4, o5],
1121
- OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2012,3,1,1,0,1), DateTime.new(2010,4,1,1,0,1), [t2, t3, t4, t5, t6]).
1122
- offsets_up_to(DateTime.new(2012,3,1,1,0,1), DateTime.new(2010,4,1,1,0,1)))
1123
- assert_array_same_items([o2, o3],
1124
- OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2011,3,1,2,0,0), DateTime.new(2011,3,1,0,0,0), [t3]).
1125
- offsets_up_to(DateTime.new(2011,3,1,2,0,0), DateTime.new(2011,3,1,0,0,0)))
1126
- assert_array_same_items([o3, o4],
1127
- OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2012,3,1,1,0,0), DateTime.new(2011,4,1,1,0,0), [t4, t5]).
1128
- offsets_up_to(DateTime.new(2012,3,1,1,0,0), DateTime.new(2011,4,1,1,0,0)))
1129
- end
1130
-
1131
- def test_offsets_up_to_no_transitions
1132
- o = TimezoneOffset.new(600, 0, :LMT)
1133
- p = TimezonePeriod.new(nil, nil, o)
1134
-
1135
- assert_array_same_items([o],
1136
- OffsetsUpToNoTransitionsTestTimezone.new('Test/Zone', Time.utc(2000,1,1,1,0,0), nil, p).
1137
- offsets_up_to(Time.utc(2000,1,1,1,0,0)))
1138
- assert_array_same_items([o],
1139
- OffsetsUpToNoTransitionsTestTimezone.new('Test/Zone', Time.utc(2000,1,1,1,0,0), Time.utc(1990,1,1,1,0,0), p).
1140
- offsets_up_to(Time.utc(2000,1,1,1,0,0), Time.utc(1990,1,1,1,0,0)))
1141
-
1142
- assert_array_same_items([o],
1143
- OffsetsUpToNoTransitionsTestTimezone.new('Test/Zone', Time.utc(2000,1,1,1,0,0).to_i, nil, p).
1144
- offsets_up_to(Time.utc(2000,1,1,1,0,0).to_i))
1145
- assert_array_same_items([o],
1146
- OffsetsUpToNoTransitionsTestTimezone.new('Test/Zone', Time.utc(2000,1,1,1,0,0).to_i, Time.utc(1990,1,1,1,0,0).to_i, p).
1147
- offsets_up_to(Time.utc(2000,1,1,1,0,0).to_i, Time.utc(1990,1,1,1,0,0).to_i))
1148
-
1149
- assert_array_same_items([o],
1150
- OffsetsUpToNoTransitionsTestTimezone.new('Test/Zone', DateTime.new(2000,1,1,1,0,0), nil, p).
1151
- offsets_up_to(DateTime.new(2000,1,1,1,0,0)))
1152
- assert_array_same_items([o],
1153
- OffsetsUpToNoTransitionsTestTimezone.new('Test/Zone', DateTime.new(2000,1,1,1,0,0), DateTime.new(1990,1,1,1,0,0), p).
1154
- offsets_up_to(DateTime.new(2000,1,1,1,0,0), DateTime.new(1990,1,1,1,0,0)))
1155
- end
1156
-
1157
- def test_offsets_up_to_utc_to_not_greater_than_utc_from
1158
- assert_raises(ArgumentError) do
1159
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,8,1,0,0,0), Time.utc(2012,8,1,0,0,0), []).
1160
- offsets_up_to(Time.utc(2012,8,1,0,0,0), Time.utc(2012,8,1,0,0,0))
1161
- end
1162
-
1163
- assert_raises(ArgumentError) do
1164
- OffsetsUpToTestTimezone.new('Test/Zone', Time.utc(2012,8,1,0,0,0).to_i, Time.utc(2012,8,1,0,0,0).to_i, []).
1165
- offsets_up_to(Time.utc(2012,8,1,0,0,0).to_i, Time.utc(2012,8,1,0,0,0).to_i)
1166
- end
1167
-
1168
- assert_raises(ArgumentError) do
1169
- OffsetsUpToTestTimezone.new('Test/Zone', DateTime.new(2012,8,1,0,0,0), DateTime.new(2012,8,1,0,0,0), []).
1170
- offsets_up_to(DateTime.new(2012,8,1,0,0,0), DateTime.new(2012,8,1,0,0,0))
1171
- end
1172
- end
1173
-
1174
- def test_now
1175
- assert_kind_of(Time, Timezone.get('Europe/London').now)
1176
- end
1177
-
1178
- def test_current_period
1179
- assert_kind_of(TimezonePeriod, Timezone.get('Europe/London').current_period)
1180
- end
1181
-
1182
- def test_current_period_and_time
1183
- current = Timezone.get('Europe/London').current_period_and_time
1184
- assert_equal(2, current.length)
1185
- assert_kind_of(Time, current[0])
1186
- assert_kind_of(TimezonePeriod, current[1])
1187
- end
1188
-
1189
- def test_current_time_and_period
1190
- current = Timezone.get('Europe/London').current_time_and_period
1191
- assert_equal(2, current.length)
1192
- assert_kind_of(Time, current[0])
1193
- assert_kind_of(TimezonePeriod, current[1])
1194
- end
1195
-
1196
- def test_compare
1197
- assert_equal(0, TestTimezone.new('Europe/London') <=> TestTimezone.new('Europe/London'))
1198
- assert_equal(-1, TestTimezone.new('Europe/London') <=> TestTimezone.new('Europe/london'))
1199
- assert_equal(-1, TestTimezone.new('Europe/London') <=> TestTimezone.new('Europe/Paris'))
1200
- assert_equal(1, TestTimezone.new('Europe/Paris') <=> TestTimezone.new('Europe/London'))
1201
- assert_equal(-1, TestTimezone.new('America/New_York') <=> TestTimezone.new('Europe/Paris'))
1202
- assert_equal(1, TestTimezone.new('Europe/Paris') <=> TestTimezone.new('America/New_York'))
1203
- end
1204
-
1205
- def test_compare_non_comparable
1206
- assert_nil(TestTimezone.new('Europe/London') <=> Object.new)
1207
- end
1208
-
1209
- def test_equality
1210
- assert_equal(true, TestTimezone.new('Europe/London') == TestTimezone.new('Europe/London'))
1211
- assert_equal(false, TestTimezone.new('Europe/London') == TestTimezone.new('Europe/london'))
1212
- assert_equal(false, TestTimezone.new('Europe/London') == TestTimezone.new('Europe/Paris'))
1213
- assert(!(TestTimezone.new('Europe/London') == Object.new))
1214
- end
1215
-
1216
- def test_eql
1217
- assert_equal(true, TestTimezone.new('Europe/London').eql?(TestTimezone.new('Europe/London')))
1218
- assert_equal(false, TestTimezone.new('Europe/London').eql?(TestTimezone.new('Europe/london')))
1219
- assert_equal(false, TestTimezone.new('Europe/London').eql?(TestTimezone.new('Europe/Paris')))
1220
- assert(!TestTimezone.new('Europe/London').eql?(Object.new))
1221
- end
1222
-
1223
- def test_hash
1224
- assert_equal('Europe/London'.hash, TestTimezone.new('Europe/London').hash)
1225
- assert_equal('America/New_York'.hash, TestTimezone.new('America/New_York').hash)
1226
- end
1227
-
1228
- def test_marshal_data
1229
- tz = Timezone.get('Europe/London')
1230
- assert_kind_of(DataTimezone, tz)
1231
- assert_same(tz, Marshal.load(Marshal.dump(tz)))
1232
- end
1233
-
1234
- def test_marshal_linked
1235
- tz = Timezone.get('UTC')
1236
-
1237
- # ZoneinfoDataSource doesn't return LinkedTimezoneInfo for any timezone.
1238
- if DataSource.get.load_timezone_info('UTC').kind_of?(LinkedTimezoneInfo)
1239
- assert_kind_of(LinkedTimezone, tz)
1240
- else
1241
- assert_kind_of(DataTimezone, tz)
1242
- end
1243
-
1244
- assert_same(tz, Marshal.load(Marshal.dump(tz)))
1245
- end
1246
-
1247
- def test_strftime_datetime
1248
- tz = Timezone.get('Europe/London')
1249
- assert_equal('23:12:02 BST', tz.strftime('%H:%M:%S %Z', DateTime.new(2006, 7, 15, 22, 12, 2)))
1250
- assert_equal('BST', tz.strftime('%Z', DateTime.new(2006, 7, 15, 22, 12, 2)))
1251
- assert_equal('%ZBST', tz.strftime('%%Z%Z', DateTime.new(2006, 7, 15, 22, 12, 2)))
1252
- assert_equal('BST BST', tz.strftime('%Z %Z', DateTime.new(2006, 7, 15, 22, 12, 2)))
1253
- end
1254
-
1255
- def test_strftime_time
1256
- tz = Timezone.get('Europe/London')
1257
- assert_equal('23:12:02 BST', tz.strftime('%H:%M:%S %Z', Time.utc(2006, 7, 15, 22, 12, 2)))
1258
- assert_equal('BST', tz.strftime('%Z', Time.utc(2006, 7, 15, 22, 12, 2)))
1259
- assert_equal('%ZBST', tz.strftime('%%Z%Z', Time.utc(2006, 7, 15, 22, 12, 2)))
1260
- assert_equal('BST BST', tz.strftime('%Z %Z', Time.utc(2006, 7, 15, 22, 12, 2)))
1261
- end
1262
-
1263
- def test_strftime_int
1264
- tz = Timezone.get('Europe/London')
1265
- assert_equal('23:12:02 BST', tz.strftime('%H:%M:%S %Z', Time.utc(2006, 7, 15, 22, 12, 2).to_i))
1266
- assert_equal('BST', tz.strftime('%Z', Time.utc(2006, 7, 15, 22, 12, 2).to_i))
1267
- assert_equal('%ZBST', tz.strftime('%%Z%Z', Time.utc(2006, 7, 15, 22, 12, 2).to_i))
1268
- assert_equal('BST BST', tz.strftime('%Z %Z', Time.utc(2006, 7, 15, 22, 12, 2).to_i))
1269
- end
1270
-
1271
- def test_get_missing_data_source
1272
- DataSource.set(DataSource.new)
1273
-
1274
- assert_raises(InvalidDataSource) do
1275
- Timezone.get('Europe/London')
1276
- end
1277
- end
1278
-
1279
- def test_new_missing_data_source
1280
- DataSource.set(DataSource.new)
1281
-
1282
- assert_raises(InvalidDataSource) do
1283
- Timezone.new('Europe/London')
1284
- end
1285
- end
1286
-
1287
- def test_all_missing_data_source
1288
- DataSource.set(DataSource.new)
1289
-
1290
- assert_raises(InvalidDataSource) do
1291
- Timezone.all
1292
- end
1293
- end
1294
-
1295
- def test_all_identifiers_missing_data_source
1296
- DataSource.set(DataSource.new)
1297
-
1298
- assert_raises(InvalidDataSource) do
1299
- Timezone.all_identifiers
1300
- end
1301
- end
1302
-
1303
- def test_all_data_zones_missing_data_source
1304
- DataSource.set(DataSource.new)
1305
-
1306
- assert_raises(InvalidDataSource) do
1307
- Timezone.all_data_zones
1308
- end
1309
- end
1310
-
1311
- def test_all_data_zone_identifiers_missing_data_source
1312
- DataSource.set(DataSource.new)
1313
-
1314
- assert_raises(InvalidDataSource) do
1315
- Timezone.all_data_zone_identifiers
1316
- end
1317
- end
1318
-
1319
- def test_all_linked_zones_missing_data_source
1320
- DataSource.set(DataSource.new)
1321
-
1322
- assert_raises(InvalidDataSource) do
1323
- Timezone.all_linked_zones
1324
- end
1325
- end
1326
-
1327
- def test_all_linked_zone_identifiers_missing_data_source
1328
- DataSource.set(DataSource.new)
1329
-
1330
- assert_raises(InvalidDataSource) do
1331
- Timezone.all_linked_zone_identifiers
1332
- end
1333
- end
1334
- end