backports 3.16.0 → 3.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (441) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +691 -0
  3. data/Gemfile +6 -0
  4. data/README.md +529 -0
  5. data/SECURITY.md +5 -0
  6. data/backports.gemspec +5 -1
  7. data/lib/backports.rb +6 -0
  8. data/lib/backports/1.8.7.rb +10 -2
  9. data/lib/backports/1.9.1.rb +6 -1
  10. data/lib/backports/1.9.2.rb +6 -1
  11. data/lib/backports/1.9.2/stdlib/matrix.rb +5 -0
  12. data/lib/backports/1.9.3.rb +6 -1
  13. data/lib/backports/2.0.0.rb +6 -1
  14. data/lib/backports/2.0.0/range/size.rb +2 -0
  15. data/lib/backports/2.1.0.rb +1 -1
  16. data/lib/backports/2.2.0.rb +1 -1
  17. data/lib/backports/2.2.0/enumerable/slice_after.rb +1 -1
  18. data/lib/backports/2.2.0/float/next_float.rb +1 -1
  19. data/lib/backports/2.2.0/float/prev_float.rb +1 -1
  20. data/lib/backports/2.2.0/method/super_method.rb +2 -2
  21. data/lib/backports/2.3.0.rb +1 -1
  22. data/lib/backports/2.3.0/array/bsearch_index.rb +1 -1
  23. data/lib/backports/2.3.0/hash/lt.rb +1 -1
  24. data/lib/backports/2.3.0/hash/lte.rb +1 -1
  25. data/lib/backports/2.3.0/hash/to_proc.rb +1 -1
  26. data/lib/backports/2.3.0/struct/dig.rb +1 -2
  27. data/lib/backports/2.4.0.rb +1 -1
  28. data/lib/backports/2.4.0/hash/transform_values.rb +2 -2
  29. data/lib/backports/2.4.0/true_class/dup.rb +0 -1
  30. data/lib/backports/2.5.0.rb +1 -1
  31. data/lib/backports/2.5.0/hash/transform_keys.rb +1 -1
  32. data/lib/backports/2.5.0/integer/sqrt.rb +2 -2
  33. data/lib/backports/2.5.0/module/alias_method.rb +0 -1
  34. data/lib/backports/2.5.0/string/undump.rb +3 -7
  35. data/lib/backports/2.5.0/struct/new.rb +1 -1
  36. data/lib/backports/2.6.0.rb +1 -1
  37. data/lib/backports/2.6.0/enumerable/chain.rb +4 -1
  38. data/lib/backports/2.6.0/hash/to_h.rb +1 -1
  39. data/lib/backports/2.6.0/range.rb +3 -0
  40. data/lib/backports/2.6.0/range/cover.rb +22 -0
  41. data/lib/backports/2.7.0.rb +1 -1
  42. data/lib/backports/2.7.0/enumerable/filter_map.rb +2 -2
  43. data/lib/backports/rails/array.rb +4 -0
  44. data/lib/backports/rails/enumerable.rb +4 -0
  45. data/lib/backports/rails/hash.rb +4 -0
  46. data/lib/backports/rails/kernel.rb +4 -0
  47. data/lib/backports/rails/module.rb +4 -0
  48. data/lib/backports/rails/string.rb +4 -0
  49. data/lib/backports/std_lib.rb +3 -0
  50. data/lib/backports/tools/deprecation.rb +19 -0
  51. data/lib/backports/tools/require_relative_dir.rb +6 -1
  52. data/lib/backports/version.rb +1 -1
  53. metadata +10 -511
  54. data/.document +0 -6
  55. data/.gitignore +0 -9
  56. data/.gitmodules +0 -6
  57. data/.irbrc +0 -3
  58. data/.travis.yml +0 -19
  59. data/CHANGELOG.rdoc +0 -504
  60. data/README.rdoc +0 -445
  61. data/Rakefile +0 -192
  62. data/default.mspec +0 -14
  63. data/frozen_old_spec/tags/1.8.6/core/argf/each_line_spec.rb +0 -6
  64. data/frozen_old_spec/tags/1.8.6/core/argf/each_spec.rb +0 -6
  65. data/frozen_old_spec/tags/1.8.6/core/argf/lines_spec.rb +0 -6
  66. data/frozen_old_spec/tags/1.8.6/core/array/append_spec.rb +0 -1
  67. data/frozen_old_spec/tags/1.8.6/core/array/collect_spec.rb +0 -7
  68. data/frozen_old_spec/tags/1.8.6/core/array/rotate_spec.rb +0 -2
  69. data/frozen_old_spec/tags/1.8.6/core/array/uniq_spec.rb +0 -3
  70. data/frozen_old_spec/tags/1.8.6/core/complex/to_r_spec.rb +0 -3
  71. data/frozen_old_spec/tags/1.8.6/core/enumerable/all_spec.rb +0 -1
  72. data/frozen_old_spec/tags/1.8.6/core/enumerable/any_spec.rb +0 -2
  73. data/frozen_old_spec/tags/1.8.6/core/enumerable/each_entry_spec.rb +0 -1
  74. data/frozen_old_spec/tags/1.8.6/core/enumerable/none_spec.rb +0 -1
  75. data/frozen_old_spec/tags/1.8.6/core/enumerable/one_spec.rb +0 -1
  76. data/frozen_old_spec/tags/1.8.6/core/enumerator/next_spec.rb +0 -1
  77. data/frozen_old_spec/tags/1.8.6/core/env/to_h_spec.rb +0 -2
  78. data/frozen_old_spec/tags/1.8.6/core/file/join_spec.rb +0 -3
  79. data/frozen_old_spec/tags/1.8.6/core/file/lchmod_spec.rb +0 -2
  80. data/frozen_old_spec/tags/1.8.6/core/file/new_spec.rb +0 -2
  81. data/frozen_old_spec/tags/1.8.6/core/file/open_spec.rb +0 -13
  82. data/frozen_old_spec/tags/1.8.6/core/file/to_path_spec.rb +0 -1
  83. data/frozen_old_spec/tags/1.8.6/core/fixnum/fdiv_spec.rb +0 -1
  84. data/frozen_old_spec/tags/1.8.6/core/gc/stress_spec.rb +0 -2
  85. data/frozen_old_spec/tags/1.8.6/core/hash/assoc_spec.rb +0 -1
  86. data/frozen_old_spec/tags/1.8.6/core/hash/constructor_spec.rb +0 -3
  87. data/frozen_old_spec/tags/1.8.6/core/hash/default_proc_spec.rb +0 -3
  88. data/frozen_old_spec/tags/1.8.6/core/hash/delete_if_spec.rb +0 -1
  89. data/frozen_old_spec/tags/1.8.6/core/hash/each_pair_spec.rb +0 -1
  90. data/frozen_old_spec/tags/1.8.6/core/hash/eql_spec.rb +0 -3
  91. data/frozen_old_spec/tags/1.8.6/core/hash/hash_spec.rb +0 -3
  92. data/frozen_old_spec/tags/1.8.6/core/hash/keep_if_spec.rb +0 -2
  93. data/frozen_old_spec/tags/1.8.6/core/hash/rassoc_spec.rb +0 -1
  94. data/frozen_old_spec/tags/1.8.6/core/hash/reject_spec.rb +0 -2
  95. data/frozen_old_spec/tags/1.8.6/core/hash/select_spec.rb +0 -8
  96. data/frozen_old_spec/tags/1.8.6/core/integer/round_spec.rb +0 -2
  97. data/frozen_old_spec/tags/1.8.6/core/io/binread_spec.rb +0 -7
  98. data/frozen_old_spec/tags/1.8.6/core/io/chars_spec.rb +0 -1
  99. data/frozen_old_spec/tags/1.8.6/core/io/each_char_spec.rb +0 -1
  100. data/frozen_old_spec/tags/1.8.6/core/io/lines_spec.rb +0 -1
  101. data/frozen_old_spec/tags/1.8.6/core/io/open_spec.rb +0 -24
  102. data/frozen_old_spec/tags/1.8.6/core/io/ungetbyte_spec.rb +0 -4
  103. data/frozen_old_spec/tags/1.8.6/core/io/write_spec.rb +0 -5
  104. data/frozen_old_spec/tags/1.8.6/core/kernel/__callee___spec.rb +0 -6
  105. data/frozen_old_spec/tags/1.8.6/core/kernel/__method___spec.rb +0 -1
  106. data/frozen_old_spec/tags/1.8.6/core/kernel/define_singleton_method_spec.rb +0 -2
  107. data/frozen_old_spec/tags/1.8.6/core/kernel/public_method_spec.rb +0 -2
  108. data/frozen_old_spec/tags/1.8.6/core/kernel/require_relative_spec.rb +0 -3
  109. data/frozen_old_spec/tags/1.8.6/core/math/log2_spec.rb +0 -6
  110. data/frozen_old_spec/tags/1.8.6/core/math/log_spec.rb +0 -3
  111. data/frozen_old_spec/tags/1.8.6/core/module/alias_method_spec.rb +0 -1
  112. data/frozen_old_spec/tags/1.8.6/core/module/attr_accessor_spec.rb +0 -2
  113. data/frozen_old_spec/tags/1.8.6/core/module/attr_reader_spec.rb +0 -2
  114. data/frozen_old_spec/tags/1.8.6/core/module/attr_spec.rb +0 -1
  115. data/frozen_old_spec/tags/1.8.6/core/module/attr_writer_spec.rb +0 -2
  116. data/frozen_old_spec/tags/1.8.6/core/module/class_exec_spec.rb +0 -2
  117. data/frozen_old_spec/tags/1.8.6/core/module/define_method_spec.rb +0 -1
  118. data/frozen_old_spec/tags/1.8.6/core/module/module_exec_spec.rb +0 -2
  119. data/frozen_old_spec/tags/1.8.6/core/module/remove_method_spec.rb +0 -1
  120. data/frozen_old_spec/tags/1.8.6/core/module/undef_method_spec.rb +0 -1
  121. data/frozen_old_spec/tags/1.8.6/core/nil/dup_spec.rb +0 -1
  122. data/frozen_old_spec/tags/1.8.6/core/numeric/step_spec.rb +0 -12
  123. data/frozen_old_spec/tags/1.8.6/core/proc/curry_spec.rb +0 -4
  124. data/frozen_old_spec/tags/1.8.6/core/range/step_spec.rb +0 -12
  125. data/frozen_old_spec/tags/1.8.6/core/string/getbyte_spec.rb +0 -6
  126. data/frozen_old_spec/tags/1.8.6/core/string/partition_spec.rb +0 -1
  127. data/frozen_old_spec/tags/1.8.6/core/string/prepend_spec.rb +0 -1
  128. data/frozen_old_spec/tags/1.8.6/core/string/rpartition_spec.rb +0 -1
  129. data/frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb +0 -5
  130. data/frozen_old_spec/tags/1.8.6/core/string/upto_spec.rb +0 -1
  131. data/frozen_old_spec/tags/1.8.6/core/symbol/capitalize_spec.rb +0 -3
  132. data/frozen_old_spec/tags/1.8.6/core/symbol/comparison_spec.rb +0 -1
  133. data/frozen_old_spec/tags/1.8.6/core/symbol/downcase_spec.rb +0 -2
  134. data/frozen_old_spec/tags/1.8.6/core/symbol/element_reference_spec.rb +0 -4
  135. data/frozen_old_spec/tags/1.8.6/core/symbol/empty_spec.rb +0 -1
  136. data/frozen_old_spec/tags/1.8.6/core/symbol/match_spec.rb +0 -2
  137. data/frozen_old_spec/tags/1.8.6/core/symbol/swapcase_spec.rb +0 -2
  138. data/frozen_old_spec/tags/1.8.6/core/symbol/to_proc_spec.rb +0 -1
  139. data/frozen_old_spec/tags/1.8.6/core/symbol/upcase_spec.rb +0 -1
  140. data/frozen_old_spec/tags/1.8.7/core/array/append_spec.rb +0 -1
  141. data/frozen_old_spec/tags/1.8.7/core/array/keep_if_spec.rb +0 -2
  142. data/frozen_old_spec/tags/1.8.7/core/array/rotate_spec.rb +0 -2
  143. data/frozen_old_spec/tags/1.8.7/core/array/select_spec.rb +0 -2
  144. data/frozen_old_spec/tags/1.8.7/core/array/uniq_spec.rb +0 -3
  145. data/frozen_old_spec/tags/1.8.7/core/complex/to_r_spec.rb +0 -3
  146. data/frozen_old_spec/tags/1.8.7/core/enumerable/all_spec.rb +0 -1
  147. data/frozen_old_spec/tags/1.8.7/core/enumerable/any_spec.rb +0 -2
  148. data/frozen_old_spec/tags/1.8.7/core/enumerable/collect_concat_spec.rb +0 -1
  149. data/frozen_old_spec/tags/1.8.7/core/enumerable/flat_map_spec.rb +0 -1
  150. data/frozen_old_spec/tags/1.8.7/core/enumerable/none_spec.rb +0 -1
  151. data/frozen_old_spec/tags/1.8.7/core/enumerable/one_spec.rb +0 -1
  152. data/frozen_old_spec/tags/1.8.7/core/env/to_h_spec.rb +0 -2
  153. data/frozen_old_spec/tags/1.8.7/core/file/lchmod_spec.rb +0 -2
  154. data/frozen_old_spec/tags/1.8.7/core/file/new_spec.rb +0 -1
  155. data/frozen_old_spec/tags/1.8.7/core/file/open_spec.rb +0 -5
  156. data/frozen_old_spec/tags/1.8.7/core/file/readlink_spec.rb +0 -6
  157. data/frozen_old_spec/tags/1.8.7/core/file/to_path_spec.rb +0 -1
  158. data/frozen_old_spec/tags/1.8.7/core/hash/assoc_spec.rb +0 -1
  159. data/frozen_old_spec/tags/1.8.7/core/hash/default_proc_spec.rb +0 -3
  160. data/frozen_old_spec/tags/1.8.7/core/hash/keep_if_spec.rb +0 -2
  161. data/frozen_old_spec/tags/1.8.7/core/hash/merge_spec.rb +0 -3
  162. data/frozen_old_spec/tags/1.8.7/core/hash/rassoc_spec.rb +0 -1
  163. data/frozen_old_spec/tags/1.8.7/core/hash/select_spec.rb +0 -1
  164. data/frozen_old_spec/tags/1.8.7/core/hash/to_h_spec.rb +0 -1
  165. data/frozen_old_spec/tags/1.8.7/core/hash/update_spec.rb +0 -3
  166. data/frozen_old_spec/tags/1.8.7/core/integer/round_spec.rb +0 -2
  167. data/frozen_old_spec/tags/1.8.7/core/io/binread_spec.rb +0 -7
  168. data/frozen_old_spec/tags/1.8.7/core/io/open_spec.rb +0 -32
  169. data/frozen_old_spec/tags/1.8.7/core/io/ungetbyte_spec.rb +0 -4
  170. data/frozen_old_spec/tags/1.8.7/core/io/write_spec.rb +0 -5
  171. data/frozen_old_spec/tags/1.8.7/core/kernel/__callee___spec.rb +0 -6
  172. data/frozen_old_spec/tags/1.8.7/core/kernel/define_singleton_method_spec.rb +0 -2
  173. data/frozen_old_spec/tags/1.8.7/core/kernel/public_method_spec.rb +0 -1
  174. data/frozen_old_spec/tags/1.8.7/core/kernel/require_relative_spec.rb +0 -3
  175. data/frozen_old_spec/tags/1.8.7/core/math/log2_spec.rb +0 -6
  176. data/frozen_old_spec/tags/1.8.7/core/math/log_spec.rb +0 -3
  177. data/frozen_old_spec/tags/1.8.7/core/module/alias_method_spec.rb +0 -7
  178. data/frozen_old_spec/tags/1.8.7/core/module/attr_accessor_spec.rb +0 -2
  179. data/frozen_old_spec/tags/1.8.7/core/module/attr_reader_spec.rb +0 -2
  180. data/frozen_old_spec/tags/1.8.7/core/module/attr_spec.rb +0 -2
  181. data/frozen_old_spec/tags/1.8.7/core/module/attr_writer_spec.rb +0 -2
  182. data/frozen_old_spec/tags/1.8.7/core/module/define_method_spec.rb +0 -1
  183. data/frozen_old_spec/tags/1.8.7/core/module/include_spec.rb +0 -3
  184. data/frozen_old_spec/tags/1.8.7/core/module/remove_method_spec.rb +0 -3
  185. data/frozen_old_spec/tags/1.8.7/core/module/undef_method_spec.rb +0 -3
  186. data/frozen_old_spec/tags/1.8.7/core/nil/dup_spec.rb +0 -1
  187. data/frozen_old_spec/tags/1.8.7/core/proc/curry_spec.rb +0 -3
  188. data/frozen_old_spec/tags/1.8.7/core/proc/yield_spec.rb +0 -4
  189. data/frozen_old_spec/tags/1.8.7/core/range/size_spec.rb +0 -1
  190. data/frozen_old_spec/tags/1.8.7/core/string/getbyte_spec.rb +0 -5
  191. data/frozen_old_spec/tags/1.8.7/core/string/prepend_spec.rb +0 -1
  192. data/frozen_old_spec/tags/1.8.7/core/string/setbyte_spec.rb +0 -5
  193. data/frozen_old_spec/tags/1.8.7/core/struct/new_spec.rb +0 -3
  194. data/frozen_old_spec/tags/1.8.7/core/symbol/capitalize_spec.rb +0 -3
  195. data/frozen_old_spec/tags/1.8.7/core/symbol/comparison_spec.rb +0 -1
  196. data/frozen_old_spec/tags/1.8.7/core/symbol/downcase_spec.rb +0 -2
  197. data/frozen_old_spec/tags/1.8.7/core/symbol/element_reference_spec.rb +0 -4
  198. data/frozen_old_spec/tags/1.8.7/core/symbol/empty_spec.rb +0 -1
  199. data/frozen_old_spec/tags/1.8.7/core/symbol/match_spec.rb +0 -2
  200. data/frozen_old_spec/tags/1.8.7/core/symbol/swapcase_spec.rb +0 -2
  201. data/frozen_old_spec/tags/1.8.7/core/symbol/upcase_spec.rb +0 -1
  202. data/frozen_old_spec/tags/1.9.1/core/array/append_spec.rb +0 -1
  203. data/frozen_old_spec/tags/1.9.1/core/array/rotate_spec.rb +0 -1
  204. data/frozen_old_spec/tags/1.9.1/core/enumerable/all_spec.rb +0 -1
  205. data/frozen_old_spec/tags/1.9.1/core/enumerable/any_spec.rb +0 -2
  206. data/frozen_old_spec/tags/1.9.1/core/enumerable/none_spec.rb +0 -1
  207. data/frozen_old_spec/tags/1.9.1/core/enumerable/one_spec.rb +0 -1
  208. data/frozen_old_spec/tags/1.9.1/core/env/to_h_spec.rb +0 -2
  209. data/frozen_old_spec/tags/1.9.1/core/hash/default_proc_spec.rb +0 -1
  210. data/frozen_old_spec/tags/1.9.1/core/io/write_spec.rb +0 -2
  211. data/frozen_old_spec/tags/1.9.1/core/module/alias_method_spec.rb +0 -4
  212. data/frozen_old_spec/tags/1.9.1/core/module/attr_accessor_spec.rb +0 -2
  213. data/frozen_old_spec/tags/1.9.1/core/module/attr_reader_spec.rb +0 -2
  214. data/frozen_old_spec/tags/1.9.1/core/module/attr_spec.rb +0 -1
  215. data/frozen_old_spec/tags/1.9.1/core/module/attr_writer_spec.rb +0 -2
  216. data/frozen_old_spec/tags/1.9.1/core/module/define_method_spec.rb +0 -3
  217. data/frozen_old_spec/tags/1.9.1/core/module/remove_method_spec.rb +0 -1
  218. data/frozen_old_spec/tags/1.9.1/core/module/undef_method_spec.rb +0 -1
  219. data/frozen_old_spec/tags/1.9.1/core/nil/dup_spec.rb +0 -1
  220. data/frozen_old_spec/tags/1.9.2/core/array/append_spec.rb +0 -1
  221. data/frozen_old_spec/tags/1.9.2/core/enumerable/all_spec.rb +0 -1
  222. data/frozen_old_spec/tags/1.9.2/core/enumerable/any_spec.rb +0 -2
  223. data/frozen_old_spec/tags/1.9.2/core/enumerable/none_spec.rb +0 -1
  224. data/frozen_old_spec/tags/1.9.2/core/enumerable/one_spec.rb +0 -1
  225. data/frozen_old_spec/tags/1.9.2/core/io/write_spec.rb +0 -3
  226. data/frozen_old_spec/tags/1.9.2/core/module/alias_method_spec.rb +0 -4
  227. data/frozen_old_spec/tags/1.9.2/core/module/attr_accessor_spec.rb +0 -2
  228. data/frozen_old_spec/tags/1.9.2/core/module/attr_reader_spec.rb +0 -2
  229. data/frozen_old_spec/tags/1.9.2/core/module/attr_spec.rb +0 -1
  230. data/frozen_old_spec/tags/1.9.2/core/module/attr_writer_spec.rb +0 -2
  231. data/frozen_old_spec/tags/1.9.2/core/module/define_method_spec.rb +0 -3
  232. data/frozen_old_spec/tags/1.9.2/core/module/remove_method_spec.rb +0 -1
  233. data/frozen_old_spec/tags/1.9.2/core/module/undef_method_spec.rb +0 -1
  234. data/frozen_old_spec/tags/1.9.2/core/nil/dup_spec.rb +0 -1
  235. data/frozen_old_spec/tags/1.9.3/core/enumerable/any_spec.rb +0 -1
  236. data/frozen_old_spec/tags/1.9.3/core/module/alias_method_spec.rb +0 -4
  237. data/frozen_old_spec/tags/1.9.3/core/module/attr_accessor_spec.rb +0 -1
  238. data/frozen_old_spec/tags/1.9.3/core/module/attr_reader_spec.rb +0 -1
  239. data/frozen_old_spec/tags/1.9.3/core/module/attr_spec.rb +0 -1
  240. data/frozen_old_spec/tags/1.9.3/core/module/attr_writer_spec.rb +0 -1
  241. data/frozen_old_spec/tags/1.9.3/core/module/define_method_spec.rb +0 -3
  242. data/frozen_old_spec/tags/1.9.3/core/module/remove_method_spec.rb +0 -1
  243. data/frozen_old_spec/tags/1.9.3/core/module/undef_method_spec.rb +0 -1
  244. data/frozen_old_spec/tags/2.0.0/core/enumerable/any_spec.rb +0 -1
  245. data/frozen_old_spec/tags/2.0.0/core/module/alias_method_spec.rb +0 -1
  246. data/frozen_old_spec/tags/2.0.0/core/module/attr_accessor_spec.rb +0 -2
  247. data/frozen_old_spec/tags/2.0.0/core/module/attr_reader_spec.rb +0 -2
  248. data/frozen_old_spec/tags/2.0.0/core/module/attr_spec.rb +0 -1
  249. data/frozen_old_spec/tags/2.0.0/core/module/attr_writer_spec.rb +0 -2
  250. data/frozen_old_spec/tags/2.0.0/core/module/define_method_spec.rb +0 -2
  251. data/frozen_old_spec/tags/2.0.0/core/module/remove_method_spec.rb +0 -1
  252. data/frozen_old_spec/tags/2.0.0/core/module/undef_method_spec.rb +0 -1
  253. data/frozen_old_spec/tags/2.0.0/core/nil/dup_spec.rb +0 -1
  254. data/frozen_old_spec/tags/2.0.0/core/struct/new_spec.rb +0 -1
  255. data/frozen_old_spec/tags/2.1.0/core/enumerable/any_spec.rb +0 -1
  256. data/frozen_old_spec/tags/2.1.0/core/module/alias_method_spec.rb +0 -1
  257. data/frozen_old_spec/tags/2.1.0/core/module/attr_accessor_spec.rb +0 -2
  258. data/frozen_old_spec/tags/2.1.0/core/module/attr_reader_spec.rb +0 -2
  259. data/frozen_old_spec/tags/2.1.0/core/module/attr_spec.rb +0 -1
  260. data/frozen_old_spec/tags/2.1.0/core/module/attr_writer_spec.rb +0 -2
  261. data/frozen_old_spec/tags/2.1.0/core/module/define_method_spec.rb +0 -2
  262. data/frozen_old_spec/tags/2.1.0/core/module/remove_method_spec.rb +0 -1
  263. data/frozen_old_spec/tags/2.1.0/core/module/undef_method_spec.rb +0 -1
  264. data/frozen_old_spec/tags/2.1.0/core/nil/dup_spec.rb +0 -1
  265. data/frozen_old_spec/tags/2.1.0/core/struct/new_spec.rb +0 -1
  266. data/frozen_old_spec/tags/2.2.0/core/enumerable/any_spec.rb +0 -1
  267. data/frozen_old_spec/tags/2.2.0/core/module/alias_method_spec.rb +0 -1
  268. data/frozen_old_spec/tags/2.2.0/core/module/attr_accessor_spec.rb +0 -2
  269. data/frozen_old_spec/tags/2.2.0/core/module/attr_reader_spec.rb +0 -2
  270. data/frozen_old_spec/tags/2.2.0/core/module/attr_spec.rb +0 -1
  271. data/frozen_old_spec/tags/2.2.0/core/module/attr_writer_spec.rb +0 -2
  272. data/frozen_old_spec/tags/2.2.0/core/module/define_method_spec.rb +0 -1
  273. data/frozen_old_spec/tags/2.2.0/core/module/remove_method_spec.rb +0 -1
  274. data/frozen_old_spec/tags/2.2.0/core/module/undef_method_spec.rb +0 -1
  275. data/frozen_old_spec/tags/2.2.0/core/nil/dup_spec.rb +0 -1
  276. data/frozen_old_spec/tags/2.2.0/core/struct/new_spec.rb +0 -1
  277. data/frozen_old_spec/tags/2.3.0/core/enumerable/any_spec.rb +0 -1
  278. data/frozen_old_spec/tags/2.3.0/core/module/alias_method_spec.rb +0 -1
  279. data/frozen_old_spec/tags/2.3.0/core/module/attr_accessor_spec.rb +0 -2
  280. data/frozen_old_spec/tags/2.3.0/core/module/attr_reader_spec.rb +0 -2
  281. data/frozen_old_spec/tags/2.3.0/core/module/attr_spec.rb +0 -1
  282. data/frozen_old_spec/tags/2.3.0/core/module/attr_writer_spec.rb +0 -2
  283. data/frozen_old_spec/tags/2.3.0/core/module/define_method_spec.rb +0 -1
  284. data/frozen_old_spec/tags/2.3.0/core/module/remove_method_spec.rb +0 -1
  285. data/frozen_old_spec/tags/2.3.0/core/module/undef_method_spec.rb +0 -1
  286. data/frozen_old_spec/tags/2.3.0/core/nil/dup_spec.rb +0 -1
  287. data/frozen_old_spec/tags/2.3.0/core/struct/new_spec.rb +0 -1
  288. data/frozen_old_spec/tags/2.3.5/core/struct/new_spec.rb +0 -1
  289. data/frozen_old_spec/tags/2.4.0/core/enumerable/any_spec.rb +0 -1
  290. data/frozen_old_spec/tags/2.4.0/core/module/alias_method_spec.rb +0 -1
  291. data/frozen_old_spec/tags/2.4.0/core/module/attr_accessor_spec.rb +0 -2
  292. data/frozen_old_spec/tags/2.4.0/core/module/attr_reader_spec.rb +0 -2
  293. data/frozen_old_spec/tags/2.4.0/core/module/attr_spec.rb +0 -1
  294. data/frozen_old_spec/tags/2.4.0/core/module/attr_writer_spec.rb +0 -2
  295. data/frozen_old_spec/tags/2.4.0/core/module/define_method_spec.rb +0 -1
  296. data/frozen_old_spec/tags/2.4.0/core/module/remove_method_spec.rb +0 -1
  297. data/frozen_old_spec/tags/2.4.0/core/module/undef_method_spec.rb +0 -1
  298. data/frozen_old_spec/tags/2.4.0/core/nil/dup_spec.rb +0 -1
  299. data/frozen_old_spec/tags/2.4.0/core/struct/new_spec.rb +0 -1
  300. data/frozen_old_spec/tags/2.5.0/core/enumerable/any_spec.rb +0 -1
  301. data/frozen_old_spec/tags/2.5.0/core/module/alias_method_spec.rb +0 -1
  302. data/frozen_old_spec/tags/2.5.0/core/module/attr_accessor_spec.rb +0 -2
  303. data/frozen_old_spec/tags/2.5.0/core/module/attr_reader_spec.rb +0 -2
  304. data/frozen_old_spec/tags/2.5.0/core/module/attr_spec.rb +0 -1
  305. data/frozen_old_spec/tags/2.5.0/core/module/attr_writer_spec.rb +0 -2
  306. data/frozen_old_spec/tags/2.5.0/core/module/define_method_spec.rb +0 -1
  307. data/frozen_old_spec/tags/2.5.0/core/module/remove_method_spec.rb +0 -1
  308. data/frozen_old_spec/tags/2.5.0/core/module/undef_method_spec.rb +0 -1
  309. data/frozen_old_spec/tags/2.5.0/core/nil/dup_spec.rb +0 -1
  310. data/frozen_old_spec/tags/2.5.0/core/struct/new_spec.rb +0 -1
  311. data/set_version/1.8.7.rb +0 -1
  312. data/set_version/1.9.1.rb +0 -1
  313. data/set_version/1.9.2.rb +0 -1
  314. data/set_version/1.9.3.rb +0 -1
  315. data/set_version/2.0.0.rb +0 -1
  316. data/set_version/2.1.0.rb +0 -1
  317. data/set_version/2.2.0.rb +0 -1
  318. data/set_version/2.3.0.rb +0 -1
  319. data/set_version/2.4.0.rb +0 -1
  320. data/set_version/2.5.0.rb +0 -1
  321. data/set_version/2.6.0.rb +0 -1
  322. data/set_version/2.7.0.rb +0 -1
  323. data/set_version/setter.rb +0 -22
  324. data/spec/tags/1.8.7/core/array/to_h_spec.rb +0 -3
  325. data/spec/tags/1.8.7/core/enumerable/to_h_spec.rb +0 -2
  326. data/spec/tags/1.8.7/core/module/attr_spec.rb +0 -1
  327. data/spec/tags/1.8.7/core/module/include_spec.rb +0 -1
  328. data/spec/tags/1.9.1/core/array/bsearch_index_spec.rb +0 -1
  329. data/spec/tags/1.9.1/core/array/rotate_spec.rb +0 -1
  330. data/spec/tags/1.9.1/core/dir/each_child_spec.rb +0 -1
  331. data/spec/tags/1.9.1/core/env/to_h_spec.rb +0 -2
  332. data/spec/tags/1.9.1/core/hash/default_proc_spec.rb +0 -1
  333. data/spec/tags/1.9.1/core/hash/slice_spec.rb +0 -1
  334. data/spec/tags/1.9.1/core/hash/transform_keys_spec.rb +0 -2
  335. data/spec/tags/1.9.1/core/hash/transform_values_spec.rb +0 -2
  336. data/spec/tags/1.9.1/core/io/write_spec.rb +0 -3
  337. data/spec/tags/1.9.1/core/kernel/yield_self_spec.rb +0 -1
  338. data/spec/tags/1.9.1/core/method/curry_spec.rb +0 -1
  339. data/spec/tags/1.9.1/core/module/alias_method_spec.rb +0 -3
  340. data/spec/tags/1.9.1/core/module/attr_accessor_spec.rb +0 -1
  341. data/spec/tags/1.9.1/core/module/attr_reader_spec.rb +0 -1
  342. data/spec/tags/1.9.1/core/module/attr_spec.rb +0 -1
  343. data/spec/tags/1.9.1/core/module/attr_writer_spec.rb +0 -1
  344. data/spec/tags/1.9.1/core/module/define_method_spec.rb +0 -7
  345. data/spec/tags/1.9.1/core/string/uplus_spec.rb +0 -1
  346. data/spec/tags/1.9.1/core/struct/new_spec.rb +0 -2
  347. data/spec/tags/1.9.2/core/array/bsearch_index_spec.rb +0 -1
  348. data/spec/tags/1.9.2/core/array/to_h_spec.rb +0 -3
  349. data/spec/tags/1.9.2/core/dir/each_child_spec.rb +0 -1
  350. data/spec/tags/1.9.2/core/enumerable/to_h_spec.rb +0 -2
  351. data/spec/tags/1.9.2/core/hash/slice_spec.rb +0 -1
  352. data/spec/tags/1.9.2/core/hash/to_h_spec.rb +0 -3
  353. data/spec/tags/1.9.2/core/hash/transform_keys_spec.rb +0 -2
  354. data/spec/tags/1.9.2/core/hash/transform_values_spec.rb +0 -2
  355. data/spec/tags/1.9.2/core/io/write_spec.rb +0 -3
  356. data/spec/tags/1.9.2/core/kernel/then_spec.rb +0 -1
  357. data/spec/tags/1.9.2/core/kernel/yield_self_spec.rb +0 -1
  358. data/spec/tags/1.9.2/core/method/curry_spec.rb +0 -1
  359. data/spec/tags/1.9.2/core/module/alias_method_spec.rb +0 -3
  360. data/spec/tags/1.9.2/core/module/attr_accessor_spec.rb +0 -1
  361. data/spec/tags/1.9.2/core/module/attr_reader_spec.rb +0 -1
  362. data/spec/tags/1.9.2/core/module/attr_writer_spec.rb +0 -1
  363. data/spec/tags/1.9.2/core/module/define_method_spec.rb +0 -7
  364. data/spec/tags/1.9.2/core/module/include_spec.rb +0 -1
  365. data/spec/tags/1.9.2/core/string/uplus_spec.rb +0 -1
  366. data/spec/tags/1.9.2/core/struct/new_spec.rb +0 -2
  367. data/spec/tags/1.9.3/core/array/bsearch_index_spec.rb +0 -1
  368. data/spec/tags/1.9.3/core/array/to_h_spec.rb +0 -3
  369. data/spec/tags/1.9.3/core/dir/each_child_spec.rb +0 -1
  370. data/spec/tags/1.9.3/core/enumerable/grep_v_spec.rb +0 -2
  371. data/spec/tags/1.9.3/core/enumerable/to_h_spec.rb +0 -2
  372. data/spec/tags/1.9.3/core/enumerator/produce_spec.rb +0 -1
  373. data/spec/tags/1.9.3/core/hash/slice_spec.rb +0 -1
  374. data/spec/tags/1.9.3/core/hash/to_h_spec.rb +0 -3
  375. data/spec/tags/1.9.3/core/hash/transform_keys_spec.rb +0 -2
  376. data/spec/tags/1.9.3/core/hash/transform_values_spec.rb +0 -2
  377. data/spec/tags/1.9.3/core/io/write_spec.rb +0 -3
  378. data/spec/tags/1.9.3/core/kernel/then_spec.rb +0 -1
  379. data/spec/tags/1.9.3/core/kernel/yield_self_spec.rb +0 -1
  380. data/spec/tags/1.9.3/core/method/curry_spec.rb +0 -1
  381. data/spec/tags/1.9.3/core/module/alias_method_spec.rb +0 -3
  382. data/spec/tags/1.9.3/core/module/attr_accessor_spec.rb +0 -1
  383. data/spec/tags/1.9.3/core/module/attr_reader_spec.rb +0 -1
  384. data/spec/tags/1.9.3/core/module/attr_writer_spec.rb +0 -1
  385. data/spec/tags/1.9.3/core/module/define_method_spec.rb +0 -7
  386. data/spec/tags/1.9.3/core/module/include_spec.rb +0 -1
  387. data/spec/tags/1.9.3/core/string/uplus_spec.rb +0 -1
  388. data/spec/tags/1.9.3/core/struct/new_spec.rb +0 -2
  389. data/spec/tags/2.0.0/core/array/to_h_spec.rb +0 -3
  390. data/spec/tags/2.0.0/core/enumerable/grep_v_spec.rb +0 -2
  391. data/spec/tags/2.0.0/core/enumerable/to_h_spec.rb +0 -2
  392. data/spec/tags/2.0.0/core/hash/slice_spec.rb +0 -1
  393. data/spec/tags/2.0.0/core/hash/to_h_spec.rb +0 -3
  394. data/spec/tags/2.0.0/core/module/attr_accessor_spec.rb +0 -1
  395. data/spec/tags/2.0.0/core/module/attr_reader_spec.rb +0 -1
  396. data/spec/tags/2.0.0/core/module/attr_spec.rb +0 -1
  397. data/spec/tags/2.0.0/core/module/attr_writer_spec.rb +0 -1
  398. data/spec/tags/2.0.0/core/module/define_method_spec.rb +0 -5
  399. data/spec/tags/2.0.0/core/module/include_spec.rb +0 -1
  400. data/spec/tags/2.0.0/core/module/undef_method_spec.rb +0 -2
  401. data/spec/tags/2.0.0/core/string/uplus_spec.rb +0 -1
  402. data/spec/tags/2.0.0/core/struct/new_spec.rb +0 -3
  403. data/spec/tags/2.1.0/core/array/union_spec.rb +0 -1
  404. data/spec/tags/2.1.0/core/enumerable/grep_v_spec.rb +0 -2
  405. data/spec/tags/2.1.0/core/hash/slice_spec.rb +0 -1
  406. data/spec/tags/2.1.0/core/hash/to_h_spec.rb +0 -1
  407. data/spec/tags/2.1.0/core/module/attr_accessor_spec.rb +0 -1
  408. data/spec/tags/2.1.0/core/module/attr_reader_spec.rb +0 -1
  409. data/spec/tags/2.1.0/core/module/attr_spec.rb +0 -1
  410. data/spec/tags/2.1.0/core/module/attr_writer_spec.rb +0 -1
  411. data/spec/tags/2.1.0/core/module/define_method_spec.rb +0 -5
  412. data/spec/tags/2.1.0/core/module/undef_method_spec.rb +0 -2
  413. data/spec/tags/2.1.0/core/string/uplus_spec.rb +0 -1
  414. data/spec/tags/2.1.0/core/struct/new_spec.rb +0 -3
  415. data/spec/tags/2.2.0/core/enumerable/grep_v_spec.rb +0 -2
  416. data/spec/tags/2.2.0/core/hash/slice_spec.rb +0 -1
  417. data/spec/tags/2.2.0/core/hash/to_h_spec.rb +0 -1
  418. data/spec/tags/2.2.0/core/module/attr_accessor_spec.rb +0 -1
  419. data/spec/tags/2.2.0/core/module/attr_reader_spec.rb +0 -1
  420. data/spec/tags/2.2.0/core/module/attr_spec.rb +0 -1
  421. data/spec/tags/2.2.0/core/module/attr_writer_spec.rb +0 -1
  422. data/spec/tags/2.2.0/core/module/define_method_spec.rb +0 -5
  423. data/spec/tags/2.2.0/core/module/undef_method_spec.rb +0 -2
  424. data/spec/tags/2.2.0/core/string/uplus_spec.rb +0 -1
  425. data/spec/tags/2.2.0/core/struct/new_spec.rb +0 -3
  426. data/spec/tags/2.3.0/core/hash/slice_spec.rb +0 -1
  427. data/spec/tags/2.3.0/core/hash/to_h_spec.rb +0 -1
  428. data/spec/tags/2.3.0/core/module/attr_spec.rb +0 -1
  429. data/spec/tags/2.3.0/core/string/uplus_spec.rb +0 -1
  430. data/spec/tags/2.3.0/core/struct/new_spec.rb +0 -3
  431. data/spec/tags/2.4.0/core/hash/slice_spec.rb +0 -1
  432. data/spec/tags/2.4.0/core/hash/to_h_spec.rb +0 -1
  433. data/spec/tags/2.4.0/core/module/attr_spec.rb +0 -1
  434. data/spec/tags/2.4.0/core/struct/new_spec.rb +0 -1
  435. data/spec/tags/2.5.0/core/hash/to_h_spec.rb +0 -1
  436. data/test/README +0 -2
  437. data/test/_backport_guards_test.rb +0 -152
  438. data/test/bit_length_test.rb +0 -11
  439. data/test/lazy_test.rb +0 -487
  440. data/test/socket_interaction_test.rb +0 -9
  441. data/test/test_helper.rb +0 -1
@@ -2,6 +2,9 @@
2
2
  # and load additionally the updated libraries.
3
3
  require 'backports/tools/std_lib'
4
4
  require 'backports/tools/alias_method_chain'
5
+ require 'backports/tools/deprecation'
6
+
7
+ Backports.deprecate :require_std_lib, 'Requiring backports/std_lib is deprecated. Use gems instead'
5
8
 
6
9
  module Kernel
7
10
  def require_with_backports(lib)
@@ -0,0 +1,19 @@
1
+ module Backports
2
+ class << self
3
+ attr_accessor :warned # private
4
+ Backports.warned = {}
5
+
6
+ def frown_upon kind, msg
7
+ warn kind, msg if $VERBOSE
8
+ end
9
+
10
+ def warn kind, msg
11
+ return if warned[kind]
12
+ super msg
13
+ warned[kind] = msg
14
+ end
15
+
16
+ alias_method :deprecate, :warn
17
+
18
+ end
19
+ end
@@ -7,7 +7,12 @@ module Backports
7
7
  compact.
8
8
  sort.
9
9
  each do |f|
10
- require short_path + f
10
+ path = '../../' + short_path + f
11
+ if Kernel.private_method_defined?(:require_relative)
12
+ require_relative path
13
+ else
14
+ require File.expand_path(path)
15
+ end
11
16
  end
12
17
  end
13
18
  end
@@ -1,3 +1,3 @@
1
1
  module Backports
2
- VERSION = "3.16.0" unless Backports.constants.include? :VERSION # the guard is against a redefinition warning that happens on Travis
2
+ VERSION = "3.18.0" unless Backports.constants.include? :VERSION # the guard is against a redefinition warning that happens on Travis
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backports
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.16.0
4
+ version: 3.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc-André Lafortune
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-06 00:00:00.000000000 Z
11
+ date: 2020-06-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Essential backports that enable many of the nice features of Ruby for
14
14
  earlier versions.
@@ -18,266 +18,12 @@ executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
- - ".document"
22
- - ".gitignore"
23
- - ".gitmodules"
24
- - ".irbrc"
25
- - ".travis.yml"
26
- - CHANGELOG.rdoc
21
+ - CHANGELOG.md
27
22
  - Gemfile
28
23
  - LICENSE.txt
29
- - README.rdoc
30
- - Rakefile
24
+ - README.md
25
+ - SECURITY.md
31
26
  - backports.gemspec
32
- - default.mspec
33
- - frozen_old_spec/tags/1.8.6/core/argf/each_line_spec.rb
34
- - frozen_old_spec/tags/1.8.6/core/argf/each_spec.rb
35
- - frozen_old_spec/tags/1.8.6/core/argf/lines_spec.rb
36
- - frozen_old_spec/tags/1.8.6/core/array/append_spec.rb
37
- - frozen_old_spec/tags/1.8.6/core/array/collect_spec.rb
38
- - frozen_old_spec/tags/1.8.6/core/array/rotate_spec.rb
39
- - frozen_old_spec/tags/1.8.6/core/array/uniq_spec.rb
40
- - frozen_old_spec/tags/1.8.6/core/complex/to_r_spec.rb
41
- - frozen_old_spec/tags/1.8.6/core/enumerable/all_spec.rb
42
- - frozen_old_spec/tags/1.8.6/core/enumerable/any_spec.rb
43
- - frozen_old_spec/tags/1.8.6/core/enumerable/each_entry_spec.rb
44
- - frozen_old_spec/tags/1.8.6/core/enumerable/none_spec.rb
45
- - frozen_old_spec/tags/1.8.6/core/enumerable/one_spec.rb
46
- - frozen_old_spec/tags/1.8.6/core/enumerator/next_spec.rb
47
- - frozen_old_spec/tags/1.8.6/core/env/to_h_spec.rb
48
- - frozen_old_spec/tags/1.8.6/core/file/join_spec.rb
49
- - frozen_old_spec/tags/1.8.6/core/file/lchmod_spec.rb
50
- - frozen_old_spec/tags/1.8.6/core/file/new_spec.rb
51
- - frozen_old_spec/tags/1.8.6/core/file/open_spec.rb
52
- - frozen_old_spec/tags/1.8.6/core/file/to_path_spec.rb
53
- - frozen_old_spec/tags/1.8.6/core/fixnum/fdiv_spec.rb
54
- - frozen_old_spec/tags/1.8.6/core/gc/stress_spec.rb
55
- - frozen_old_spec/tags/1.8.6/core/hash/assoc_spec.rb
56
- - frozen_old_spec/tags/1.8.6/core/hash/constructor_spec.rb
57
- - frozen_old_spec/tags/1.8.6/core/hash/default_proc_spec.rb
58
- - frozen_old_spec/tags/1.8.6/core/hash/delete_if_spec.rb
59
- - frozen_old_spec/tags/1.8.6/core/hash/each_pair_spec.rb
60
- - frozen_old_spec/tags/1.8.6/core/hash/eql_spec.rb
61
- - frozen_old_spec/tags/1.8.6/core/hash/hash_spec.rb
62
- - frozen_old_spec/tags/1.8.6/core/hash/keep_if_spec.rb
63
- - frozen_old_spec/tags/1.8.6/core/hash/rassoc_spec.rb
64
- - frozen_old_spec/tags/1.8.6/core/hash/reject_spec.rb
65
- - frozen_old_spec/tags/1.8.6/core/hash/select_spec.rb
66
- - frozen_old_spec/tags/1.8.6/core/integer/round_spec.rb
67
- - frozen_old_spec/tags/1.8.6/core/io/binread_spec.rb
68
- - frozen_old_spec/tags/1.8.6/core/io/chars_spec.rb
69
- - frozen_old_spec/tags/1.8.6/core/io/each_char_spec.rb
70
- - frozen_old_spec/tags/1.8.6/core/io/lines_spec.rb
71
- - frozen_old_spec/tags/1.8.6/core/io/open_spec.rb
72
- - frozen_old_spec/tags/1.8.6/core/io/ungetbyte_spec.rb
73
- - frozen_old_spec/tags/1.8.6/core/io/write_spec.rb
74
- - frozen_old_spec/tags/1.8.6/core/kernel/__callee___spec.rb
75
- - frozen_old_spec/tags/1.8.6/core/kernel/__method___spec.rb
76
- - frozen_old_spec/tags/1.8.6/core/kernel/define_singleton_method_spec.rb
77
- - frozen_old_spec/tags/1.8.6/core/kernel/public_method_spec.rb
78
- - frozen_old_spec/tags/1.8.6/core/kernel/require_relative_spec.rb
79
- - frozen_old_spec/tags/1.8.6/core/math/log2_spec.rb
80
- - frozen_old_spec/tags/1.8.6/core/math/log_spec.rb
81
- - frozen_old_spec/tags/1.8.6/core/module/alias_method_spec.rb
82
- - frozen_old_spec/tags/1.8.6/core/module/attr_accessor_spec.rb
83
- - frozen_old_spec/tags/1.8.6/core/module/attr_reader_spec.rb
84
- - frozen_old_spec/tags/1.8.6/core/module/attr_spec.rb
85
- - frozen_old_spec/tags/1.8.6/core/module/attr_writer_spec.rb
86
- - frozen_old_spec/tags/1.8.6/core/module/class_exec_spec.rb
87
- - frozen_old_spec/tags/1.8.6/core/module/define_method_spec.rb
88
- - frozen_old_spec/tags/1.8.6/core/module/module_exec_spec.rb
89
- - frozen_old_spec/tags/1.8.6/core/module/remove_method_spec.rb
90
- - frozen_old_spec/tags/1.8.6/core/module/undef_method_spec.rb
91
- - frozen_old_spec/tags/1.8.6/core/nil/dup_spec.rb
92
- - frozen_old_spec/tags/1.8.6/core/numeric/step_spec.rb
93
- - frozen_old_spec/tags/1.8.6/core/proc/curry_spec.rb
94
- - frozen_old_spec/tags/1.8.6/core/range/step_spec.rb
95
- - frozen_old_spec/tags/1.8.6/core/string/getbyte_spec.rb
96
- - frozen_old_spec/tags/1.8.6/core/string/partition_spec.rb
97
- - frozen_old_spec/tags/1.8.6/core/string/prepend_spec.rb
98
- - frozen_old_spec/tags/1.8.6/core/string/rpartition_spec.rb
99
- - frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb
100
- - frozen_old_spec/tags/1.8.6/core/string/upto_spec.rb
101
- - frozen_old_spec/tags/1.8.6/core/symbol/capitalize_spec.rb
102
- - frozen_old_spec/tags/1.8.6/core/symbol/comparison_spec.rb
103
- - frozen_old_spec/tags/1.8.6/core/symbol/downcase_spec.rb
104
- - frozen_old_spec/tags/1.8.6/core/symbol/element_reference_spec.rb
105
- - frozen_old_spec/tags/1.8.6/core/symbol/empty_spec.rb
106
- - frozen_old_spec/tags/1.8.6/core/symbol/match_spec.rb
107
- - frozen_old_spec/tags/1.8.6/core/symbol/swapcase_spec.rb
108
- - frozen_old_spec/tags/1.8.6/core/symbol/to_proc_spec.rb
109
- - frozen_old_spec/tags/1.8.6/core/symbol/upcase_spec.rb
110
- - frozen_old_spec/tags/1.8.7/core/array/append_spec.rb
111
- - frozen_old_spec/tags/1.8.7/core/array/keep_if_spec.rb
112
- - frozen_old_spec/tags/1.8.7/core/array/rotate_spec.rb
113
- - frozen_old_spec/tags/1.8.7/core/array/select_spec.rb
114
- - frozen_old_spec/tags/1.8.7/core/array/uniq_spec.rb
115
- - frozen_old_spec/tags/1.8.7/core/complex/to_r_spec.rb
116
- - frozen_old_spec/tags/1.8.7/core/enumerable/all_spec.rb
117
- - frozen_old_spec/tags/1.8.7/core/enumerable/any_spec.rb
118
- - frozen_old_spec/tags/1.8.7/core/enumerable/collect_concat_spec.rb
119
- - frozen_old_spec/tags/1.8.7/core/enumerable/flat_map_spec.rb
120
- - frozen_old_spec/tags/1.8.7/core/enumerable/none_spec.rb
121
- - frozen_old_spec/tags/1.8.7/core/enumerable/one_spec.rb
122
- - frozen_old_spec/tags/1.8.7/core/env/to_h_spec.rb
123
- - frozen_old_spec/tags/1.8.7/core/file/lchmod_spec.rb
124
- - frozen_old_spec/tags/1.8.7/core/file/new_spec.rb
125
- - frozen_old_spec/tags/1.8.7/core/file/open_spec.rb
126
- - frozen_old_spec/tags/1.8.7/core/file/readlink_spec.rb
127
- - frozen_old_spec/tags/1.8.7/core/file/to_path_spec.rb
128
- - frozen_old_spec/tags/1.8.7/core/hash/assoc_spec.rb
129
- - frozen_old_spec/tags/1.8.7/core/hash/default_proc_spec.rb
130
- - frozen_old_spec/tags/1.8.7/core/hash/keep_if_spec.rb
131
- - frozen_old_spec/tags/1.8.7/core/hash/merge_spec.rb
132
- - frozen_old_spec/tags/1.8.7/core/hash/rassoc_spec.rb
133
- - frozen_old_spec/tags/1.8.7/core/hash/select_spec.rb
134
- - frozen_old_spec/tags/1.8.7/core/hash/to_h_spec.rb
135
- - frozen_old_spec/tags/1.8.7/core/hash/update_spec.rb
136
- - frozen_old_spec/tags/1.8.7/core/integer/round_spec.rb
137
- - frozen_old_spec/tags/1.8.7/core/io/binread_spec.rb
138
- - frozen_old_spec/tags/1.8.7/core/io/open_spec.rb
139
- - frozen_old_spec/tags/1.8.7/core/io/ungetbyte_spec.rb
140
- - frozen_old_spec/tags/1.8.7/core/io/write_spec.rb
141
- - frozen_old_spec/tags/1.8.7/core/kernel/__callee___spec.rb
142
- - frozen_old_spec/tags/1.8.7/core/kernel/define_singleton_method_spec.rb
143
- - frozen_old_spec/tags/1.8.7/core/kernel/public_method_spec.rb
144
- - frozen_old_spec/tags/1.8.7/core/kernel/require_relative_spec.rb
145
- - frozen_old_spec/tags/1.8.7/core/math/log2_spec.rb
146
- - frozen_old_spec/tags/1.8.7/core/math/log_spec.rb
147
- - frozen_old_spec/tags/1.8.7/core/module/alias_method_spec.rb
148
- - frozen_old_spec/tags/1.8.7/core/module/attr_accessor_spec.rb
149
- - frozen_old_spec/tags/1.8.7/core/module/attr_reader_spec.rb
150
- - frozen_old_spec/tags/1.8.7/core/module/attr_spec.rb
151
- - frozen_old_spec/tags/1.8.7/core/module/attr_writer_spec.rb
152
- - frozen_old_spec/tags/1.8.7/core/module/define_method_spec.rb
153
- - frozen_old_spec/tags/1.8.7/core/module/include_spec.rb
154
- - frozen_old_spec/tags/1.8.7/core/module/remove_method_spec.rb
155
- - frozen_old_spec/tags/1.8.7/core/module/undef_method_spec.rb
156
- - frozen_old_spec/tags/1.8.7/core/nil/dup_spec.rb
157
- - frozen_old_spec/tags/1.8.7/core/proc/curry_spec.rb
158
- - frozen_old_spec/tags/1.8.7/core/proc/yield_spec.rb
159
- - frozen_old_spec/tags/1.8.7/core/range/size_spec.rb
160
- - frozen_old_spec/tags/1.8.7/core/string/getbyte_spec.rb
161
- - frozen_old_spec/tags/1.8.7/core/string/prepend_spec.rb
162
- - frozen_old_spec/tags/1.8.7/core/string/setbyte_spec.rb
163
- - frozen_old_spec/tags/1.8.7/core/struct/new_spec.rb
164
- - frozen_old_spec/tags/1.8.7/core/symbol/capitalize_spec.rb
165
- - frozen_old_spec/tags/1.8.7/core/symbol/comparison_spec.rb
166
- - frozen_old_spec/tags/1.8.7/core/symbol/downcase_spec.rb
167
- - frozen_old_spec/tags/1.8.7/core/symbol/element_reference_spec.rb
168
- - frozen_old_spec/tags/1.8.7/core/symbol/empty_spec.rb
169
- - frozen_old_spec/tags/1.8.7/core/symbol/match_spec.rb
170
- - frozen_old_spec/tags/1.8.7/core/symbol/swapcase_spec.rb
171
- - frozen_old_spec/tags/1.8.7/core/symbol/upcase_spec.rb
172
- - frozen_old_spec/tags/1.9.1/core/array/append_spec.rb
173
- - frozen_old_spec/tags/1.9.1/core/array/rotate_spec.rb
174
- - frozen_old_spec/tags/1.9.1/core/enumerable/all_spec.rb
175
- - frozen_old_spec/tags/1.9.1/core/enumerable/any_spec.rb
176
- - frozen_old_spec/tags/1.9.1/core/enumerable/none_spec.rb
177
- - frozen_old_spec/tags/1.9.1/core/enumerable/one_spec.rb
178
- - frozen_old_spec/tags/1.9.1/core/env/to_h_spec.rb
179
- - frozen_old_spec/tags/1.9.1/core/hash/default_proc_spec.rb
180
- - frozen_old_spec/tags/1.9.1/core/io/write_spec.rb
181
- - frozen_old_spec/tags/1.9.1/core/module/alias_method_spec.rb
182
- - frozen_old_spec/tags/1.9.1/core/module/attr_accessor_spec.rb
183
- - frozen_old_spec/tags/1.9.1/core/module/attr_reader_spec.rb
184
- - frozen_old_spec/tags/1.9.1/core/module/attr_spec.rb
185
- - frozen_old_spec/tags/1.9.1/core/module/attr_writer_spec.rb
186
- - frozen_old_spec/tags/1.9.1/core/module/define_method_spec.rb
187
- - frozen_old_spec/tags/1.9.1/core/module/remove_method_spec.rb
188
- - frozen_old_spec/tags/1.9.1/core/module/undef_method_spec.rb
189
- - frozen_old_spec/tags/1.9.1/core/nil/dup_spec.rb
190
- - frozen_old_spec/tags/1.9.2/core/array/append_spec.rb
191
- - frozen_old_spec/tags/1.9.2/core/enumerable/all_spec.rb
192
- - frozen_old_spec/tags/1.9.2/core/enumerable/any_spec.rb
193
- - frozen_old_spec/tags/1.9.2/core/enumerable/none_spec.rb
194
- - frozen_old_spec/tags/1.9.2/core/enumerable/one_spec.rb
195
- - frozen_old_spec/tags/1.9.2/core/io/write_spec.rb
196
- - frozen_old_spec/tags/1.9.2/core/module/alias_method_spec.rb
197
- - frozen_old_spec/tags/1.9.2/core/module/attr_accessor_spec.rb
198
- - frozen_old_spec/tags/1.9.2/core/module/attr_reader_spec.rb
199
- - frozen_old_spec/tags/1.9.2/core/module/attr_spec.rb
200
- - frozen_old_spec/tags/1.9.2/core/module/attr_writer_spec.rb
201
- - frozen_old_spec/tags/1.9.2/core/module/define_method_spec.rb
202
- - frozen_old_spec/tags/1.9.2/core/module/remove_method_spec.rb
203
- - frozen_old_spec/tags/1.9.2/core/module/undef_method_spec.rb
204
- - frozen_old_spec/tags/1.9.2/core/nil/dup_spec.rb
205
- - frozen_old_spec/tags/1.9.3/core/enumerable/any_spec.rb
206
- - frozen_old_spec/tags/1.9.3/core/module/alias_method_spec.rb
207
- - frozen_old_spec/tags/1.9.3/core/module/attr_accessor_spec.rb
208
- - frozen_old_spec/tags/1.9.3/core/module/attr_reader_spec.rb
209
- - frozen_old_spec/tags/1.9.3/core/module/attr_spec.rb
210
- - frozen_old_spec/tags/1.9.3/core/module/attr_writer_spec.rb
211
- - frozen_old_spec/tags/1.9.3/core/module/define_method_spec.rb
212
- - frozen_old_spec/tags/1.9.3/core/module/remove_method_spec.rb
213
- - frozen_old_spec/tags/1.9.3/core/module/undef_method_spec.rb
214
- - frozen_old_spec/tags/2.0.0/core/enumerable/any_spec.rb
215
- - frozen_old_spec/tags/2.0.0/core/module/alias_method_spec.rb
216
- - frozen_old_spec/tags/2.0.0/core/module/attr_accessor_spec.rb
217
- - frozen_old_spec/tags/2.0.0/core/module/attr_reader_spec.rb
218
- - frozen_old_spec/tags/2.0.0/core/module/attr_spec.rb
219
- - frozen_old_spec/tags/2.0.0/core/module/attr_writer_spec.rb
220
- - frozen_old_spec/tags/2.0.0/core/module/define_method_spec.rb
221
- - frozen_old_spec/tags/2.0.0/core/module/remove_method_spec.rb
222
- - frozen_old_spec/tags/2.0.0/core/module/undef_method_spec.rb
223
- - frozen_old_spec/tags/2.0.0/core/nil/dup_spec.rb
224
- - frozen_old_spec/tags/2.0.0/core/struct/new_spec.rb
225
- - frozen_old_spec/tags/2.1.0/core/enumerable/any_spec.rb
226
- - frozen_old_spec/tags/2.1.0/core/module/alias_method_spec.rb
227
- - frozen_old_spec/tags/2.1.0/core/module/attr_accessor_spec.rb
228
- - frozen_old_spec/tags/2.1.0/core/module/attr_reader_spec.rb
229
- - frozen_old_spec/tags/2.1.0/core/module/attr_spec.rb
230
- - frozen_old_spec/tags/2.1.0/core/module/attr_writer_spec.rb
231
- - frozen_old_spec/tags/2.1.0/core/module/define_method_spec.rb
232
- - frozen_old_spec/tags/2.1.0/core/module/remove_method_spec.rb
233
- - frozen_old_spec/tags/2.1.0/core/module/undef_method_spec.rb
234
- - frozen_old_spec/tags/2.1.0/core/nil/dup_spec.rb
235
- - frozen_old_spec/tags/2.1.0/core/struct/new_spec.rb
236
- - frozen_old_spec/tags/2.2.0/core/enumerable/any_spec.rb
237
- - frozen_old_spec/tags/2.2.0/core/module/alias_method_spec.rb
238
- - frozen_old_spec/tags/2.2.0/core/module/attr_accessor_spec.rb
239
- - frozen_old_spec/tags/2.2.0/core/module/attr_reader_spec.rb
240
- - frozen_old_spec/tags/2.2.0/core/module/attr_spec.rb
241
- - frozen_old_spec/tags/2.2.0/core/module/attr_writer_spec.rb
242
- - frozen_old_spec/tags/2.2.0/core/module/define_method_spec.rb
243
- - frozen_old_spec/tags/2.2.0/core/module/remove_method_spec.rb
244
- - frozen_old_spec/tags/2.2.0/core/module/undef_method_spec.rb
245
- - frozen_old_spec/tags/2.2.0/core/nil/dup_spec.rb
246
- - frozen_old_spec/tags/2.2.0/core/struct/new_spec.rb
247
- - frozen_old_spec/tags/2.3.0/core/enumerable/any_spec.rb
248
- - frozen_old_spec/tags/2.3.0/core/module/alias_method_spec.rb
249
- - frozen_old_spec/tags/2.3.0/core/module/attr_accessor_spec.rb
250
- - frozen_old_spec/tags/2.3.0/core/module/attr_reader_spec.rb
251
- - frozen_old_spec/tags/2.3.0/core/module/attr_spec.rb
252
- - frozen_old_spec/tags/2.3.0/core/module/attr_writer_spec.rb
253
- - frozen_old_spec/tags/2.3.0/core/module/define_method_spec.rb
254
- - frozen_old_spec/tags/2.3.0/core/module/remove_method_spec.rb
255
- - frozen_old_spec/tags/2.3.0/core/module/undef_method_spec.rb
256
- - frozen_old_spec/tags/2.3.0/core/nil/dup_spec.rb
257
- - frozen_old_spec/tags/2.3.0/core/struct/new_spec.rb
258
- - frozen_old_spec/tags/2.3.5/core/struct/new_spec.rb
259
- - frozen_old_spec/tags/2.4.0/core/enumerable/any_spec.rb
260
- - frozen_old_spec/tags/2.4.0/core/module/alias_method_spec.rb
261
- - frozen_old_spec/tags/2.4.0/core/module/attr_accessor_spec.rb
262
- - frozen_old_spec/tags/2.4.0/core/module/attr_reader_spec.rb
263
- - frozen_old_spec/tags/2.4.0/core/module/attr_spec.rb
264
- - frozen_old_spec/tags/2.4.0/core/module/attr_writer_spec.rb
265
- - frozen_old_spec/tags/2.4.0/core/module/define_method_spec.rb
266
- - frozen_old_spec/tags/2.4.0/core/module/remove_method_spec.rb
267
- - frozen_old_spec/tags/2.4.0/core/module/undef_method_spec.rb
268
- - frozen_old_spec/tags/2.4.0/core/nil/dup_spec.rb
269
- - frozen_old_spec/tags/2.4.0/core/struct/new_spec.rb
270
- - frozen_old_spec/tags/2.5.0/core/enumerable/any_spec.rb
271
- - frozen_old_spec/tags/2.5.0/core/module/alias_method_spec.rb
272
- - frozen_old_spec/tags/2.5.0/core/module/attr_accessor_spec.rb
273
- - frozen_old_spec/tags/2.5.0/core/module/attr_reader_spec.rb
274
- - frozen_old_spec/tags/2.5.0/core/module/attr_spec.rb
275
- - frozen_old_spec/tags/2.5.0/core/module/attr_writer_spec.rb
276
- - frozen_old_spec/tags/2.5.0/core/module/define_method_spec.rb
277
- - frozen_old_spec/tags/2.5.0/core/module/remove_method_spec.rb
278
- - frozen_old_spec/tags/2.5.0/core/module/undef_method_spec.rb
279
- - frozen_old_spec/tags/2.5.0/core/nil/dup_spec.rb
280
- - frozen_old_spec/tags/2.5.0/core/struct/new_spec.rb
281
27
  - lib/backports.rb
282
28
  - lib/backports/1.8.7.rb
283
29
  - lib/backports/1.8.7/argf.rb
@@ -764,6 +510,8 @@ files:
764
510
  - lib/backports/2.6.0/method/compose.rb
765
511
  - lib/backports/2.6.0/proc.rb
766
512
  - lib/backports/2.6.0/proc/compose.rb
513
+ - lib/backports/2.6.0/range.rb
514
+ - lib/backports/2.6.0/range/cover.rb
767
515
  - lib/backports/2.6.rb
768
516
  - lib/backports/2.7.0.rb
769
517
  - lib/backports/2.7.0/array.rb
@@ -803,6 +551,7 @@ files:
803
551
  - lib/backports/tools/alias_method.rb
804
552
  - lib/backports/tools/alias_method_chain.rb
805
553
  - lib/backports/tools/arguments.rb
554
+ - lib/backports/tools/deprecation.rb
806
555
  - lib/backports/tools/extreme_object.rb
807
556
  - lib/backports/tools/float_integer_conversion.rb
808
557
  - lib/backports/tools/io.rb
@@ -813,137 +562,6 @@ files:
813
562
  - lib/backports/tools/std_lib.rb
814
563
  - lib/backports/tools/suppress_verbose_warnings.rb
815
564
  - lib/backports/version.rb
816
- - set_version/1.8.7.rb
817
- - set_version/1.9.1.rb
818
- - set_version/1.9.2.rb
819
- - set_version/1.9.3.rb
820
- - set_version/2.0.0.rb
821
- - set_version/2.1.0.rb
822
- - set_version/2.2.0.rb
823
- - set_version/2.3.0.rb
824
- - set_version/2.4.0.rb
825
- - set_version/2.5.0.rb
826
- - set_version/2.6.0.rb
827
- - set_version/2.7.0.rb
828
- - set_version/setter.rb
829
- - spec/tags/1.8.7/core/array/to_h_spec.rb
830
- - spec/tags/1.8.7/core/enumerable/to_h_spec.rb
831
- - spec/tags/1.8.7/core/module/attr_spec.rb
832
- - spec/tags/1.8.7/core/module/include_spec.rb
833
- - spec/tags/1.9.1/core/array/bsearch_index_spec.rb
834
- - spec/tags/1.9.1/core/array/rotate_spec.rb
835
- - spec/tags/1.9.1/core/dir/each_child_spec.rb
836
- - spec/tags/1.9.1/core/env/to_h_spec.rb
837
- - spec/tags/1.9.1/core/hash/default_proc_spec.rb
838
- - spec/tags/1.9.1/core/hash/slice_spec.rb
839
- - spec/tags/1.9.1/core/hash/transform_keys_spec.rb
840
- - spec/tags/1.9.1/core/hash/transform_values_spec.rb
841
- - spec/tags/1.9.1/core/io/write_spec.rb
842
- - spec/tags/1.9.1/core/kernel/yield_self_spec.rb
843
- - spec/tags/1.9.1/core/method/curry_spec.rb
844
- - spec/tags/1.9.1/core/module/alias_method_spec.rb
845
- - spec/tags/1.9.1/core/module/attr_accessor_spec.rb
846
- - spec/tags/1.9.1/core/module/attr_reader_spec.rb
847
- - spec/tags/1.9.1/core/module/attr_spec.rb
848
- - spec/tags/1.9.1/core/module/attr_writer_spec.rb
849
- - spec/tags/1.9.1/core/module/define_method_spec.rb
850
- - spec/tags/1.9.1/core/string/uplus_spec.rb
851
- - spec/tags/1.9.1/core/struct/new_spec.rb
852
- - spec/tags/1.9.2/core/array/bsearch_index_spec.rb
853
- - spec/tags/1.9.2/core/array/to_h_spec.rb
854
- - spec/tags/1.9.2/core/dir/each_child_spec.rb
855
- - spec/tags/1.9.2/core/enumerable/to_h_spec.rb
856
- - spec/tags/1.9.2/core/hash/slice_spec.rb
857
- - spec/tags/1.9.2/core/hash/to_h_spec.rb
858
- - spec/tags/1.9.2/core/hash/transform_keys_spec.rb
859
- - spec/tags/1.9.2/core/hash/transform_values_spec.rb
860
- - spec/tags/1.9.2/core/io/write_spec.rb
861
- - spec/tags/1.9.2/core/kernel/then_spec.rb
862
- - spec/tags/1.9.2/core/kernel/yield_self_spec.rb
863
- - spec/tags/1.9.2/core/method/curry_spec.rb
864
- - spec/tags/1.9.2/core/module/alias_method_spec.rb
865
- - spec/tags/1.9.2/core/module/attr_accessor_spec.rb
866
- - spec/tags/1.9.2/core/module/attr_reader_spec.rb
867
- - spec/tags/1.9.2/core/module/attr_writer_spec.rb
868
- - spec/tags/1.9.2/core/module/define_method_spec.rb
869
- - spec/tags/1.9.2/core/module/include_spec.rb
870
- - spec/tags/1.9.2/core/string/uplus_spec.rb
871
- - spec/tags/1.9.2/core/struct/new_spec.rb
872
- - spec/tags/1.9.3/core/array/bsearch_index_spec.rb
873
- - spec/tags/1.9.3/core/array/to_h_spec.rb
874
- - spec/tags/1.9.3/core/dir/each_child_spec.rb
875
- - spec/tags/1.9.3/core/enumerable/grep_v_spec.rb
876
- - spec/tags/1.9.3/core/enumerable/to_h_spec.rb
877
- - spec/tags/1.9.3/core/enumerator/produce_spec.rb
878
- - spec/tags/1.9.3/core/hash/slice_spec.rb
879
- - spec/tags/1.9.3/core/hash/to_h_spec.rb
880
- - spec/tags/1.9.3/core/hash/transform_keys_spec.rb
881
- - spec/tags/1.9.3/core/hash/transform_values_spec.rb
882
- - spec/tags/1.9.3/core/io/write_spec.rb
883
- - spec/tags/1.9.3/core/kernel/then_spec.rb
884
- - spec/tags/1.9.3/core/kernel/yield_self_spec.rb
885
- - spec/tags/1.9.3/core/method/curry_spec.rb
886
- - spec/tags/1.9.3/core/module/alias_method_spec.rb
887
- - spec/tags/1.9.3/core/module/attr_accessor_spec.rb
888
- - spec/tags/1.9.3/core/module/attr_reader_spec.rb
889
- - spec/tags/1.9.3/core/module/attr_writer_spec.rb
890
- - spec/tags/1.9.3/core/module/define_method_spec.rb
891
- - spec/tags/1.9.3/core/module/include_spec.rb
892
- - spec/tags/1.9.3/core/string/uplus_spec.rb
893
- - spec/tags/1.9.3/core/struct/new_spec.rb
894
- - spec/tags/2.0.0/core/array/to_h_spec.rb
895
- - spec/tags/2.0.0/core/enumerable/grep_v_spec.rb
896
- - spec/tags/2.0.0/core/enumerable/to_h_spec.rb
897
- - spec/tags/2.0.0/core/hash/slice_spec.rb
898
- - spec/tags/2.0.0/core/hash/to_h_spec.rb
899
- - spec/tags/2.0.0/core/module/attr_accessor_spec.rb
900
- - spec/tags/2.0.0/core/module/attr_reader_spec.rb
901
- - spec/tags/2.0.0/core/module/attr_spec.rb
902
- - spec/tags/2.0.0/core/module/attr_writer_spec.rb
903
- - spec/tags/2.0.0/core/module/define_method_spec.rb
904
- - spec/tags/2.0.0/core/module/include_spec.rb
905
- - spec/tags/2.0.0/core/module/undef_method_spec.rb
906
- - spec/tags/2.0.0/core/string/uplus_spec.rb
907
- - spec/tags/2.0.0/core/struct/new_spec.rb
908
- - spec/tags/2.1.0/core/array/union_spec.rb
909
- - spec/tags/2.1.0/core/enumerable/grep_v_spec.rb
910
- - spec/tags/2.1.0/core/hash/slice_spec.rb
911
- - spec/tags/2.1.0/core/hash/to_h_spec.rb
912
- - spec/tags/2.1.0/core/module/attr_accessor_spec.rb
913
- - spec/tags/2.1.0/core/module/attr_reader_spec.rb
914
- - spec/tags/2.1.0/core/module/attr_spec.rb
915
- - spec/tags/2.1.0/core/module/attr_writer_spec.rb
916
- - spec/tags/2.1.0/core/module/define_method_spec.rb
917
- - spec/tags/2.1.0/core/module/undef_method_spec.rb
918
- - spec/tags/2.1.0/core/string/uplus_spec.rb
919
- - spec/tags/2.1.0/core/struct/new_spec.rb
920
- - spec/tags/2.2.0/core/enumerable/grep_v_spec.rb
921
- - spec/tags/2.2.0/core/hash/slice_spec.rb
922
- - spec/tags/2.2.0/core/hash/to_h_spec.rb
923
- - spec/tags/2.2.0/core/module/attr_accessor_spec.rb
924
- - spec/tags/2.2.0/core/module/attr_reader_spec.rb
925
- - spec/tags/2.2.0/core/module/attr_spec.rb
926
- - spec/tags/2.2.0/core/module/attr_writer_spec.rb
927
- - spec/tags/2.2.0/core/module/define_method_spec.rb
928
- - spec/tags/2.2.0/core/module/undef_method_spec.rb
929
- - spec/tags/2.2.0/core/string/uplus_spec.rb
930
- - spec/tags/2.2.0/core/struct/new_spec.rb
931
- - spec/tags/2.3.0/core/hash/slice_spec.rb
932
- - spec/tags/2.3.0/core/hash/to_h_spec.rb
933
- - spec/tags/2.3.0/core/module/attr_spec.rb
934
- - spec/tags/2.3.0/core/string/uplus_spec.rb
935
- - spec/tags/2.3.0/core/struct/new_spec.rb
936
- - spec/tags/2.4.0/core/hash/slice_spec.rb
937
- - spec/tags/2.4.0/core/hash/to_h_spec.rb
938
- - spec/tags/2.4.0/core/module/attr_spec.rb
939
- - spec/tags/2.4.0/core/struct/new_spec.rb
940
- - spec/tags/2.5.0/core/hash/to_h_spec.rb
941
- - test/README
942
- - test/_backport_guards_test.rb
943
- - test/bit_length_test.rb
944
- - test/lazy_test.rb
945
- - test/socket_interaction_test.rb
946
- - test/test_helper.rb
947
565
  homepage: http://github.com/marcandre/backports
948
566
  licenses:
949
567
  - MIT
@@ -966,127 +584,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
966
584
  - !ruby/object:Gem::Version
967
585
  version: '0'
968
586
  requirements: []
969
- rubyforge_project:
970
- rubygems_version: 2.7.9
587
+ rubygems_version: 3.1.2
971
588
  signing_key:
972
589
  specification_version: 4
973
590
  summary: Backports of Ruby features for older Ruby.
974
- test_files:
975
- - spec/tags/1.8.7/core/array/to_h_spec.rb
976
- - spec/tags/1.8.7/core/enumerable/to_h_spec.rb
977
- - spec/tags/1.8.7/core/module/attr_spec.rb
978
- - spec/tags/1.8.7/core/module/include_spec.rb
979
- - spec/tags/1.9.1/core/array/bsearch_index_spec.rb
980
- - spec/tags/1.9.1/core/array/rotate_spec.rb
981
- - spec/tags/1.9.1/core/dir/each_child_spec.rb
982
- - spec/tags/1.9.1/core/env/to_h_spec.rb
983
- - spec/tags/1.9.1/core/hash/default_proc_spec.rb
984
- - spec/tags/1.9.1/core/hash/slice_spec.rb
985
- - spec/tags/1.9.1/core/hash/transform_keys_spec.rb
986
- - spec/tags/1.9.1/core/hash/transform_values_spec.rb
987
- - spec/tags/1.9.1/core/io/write_spec.rb
988
- - spec/tags/1.9.1/core/kernel/yield_self_spec.rb
989
- - spec/tags/1.9.1/core/method/curry_spec.rb
990
- - spec/tags/1.9.1/core/module/alias_method_spec.rb
991
- - spec/tags/1.9.1/core/module/attr_accessor_spec.rb
992
- - spec/tags/1.9.1/core/module/attr_reader_spec.rb
993
- - spec/tags/1.9.1/core/module/attr_spec.rb
994
- - spec/tags/1.9.1/core/module/attr_writer_spec.rb
995
- - spec/tags/1.9.1/core/module/define_method_spec.rb
996
- - spec/tags/1.9.1/core/string/uplus_spec.rb
997
- - spec/tags/1.9.1/core/struct/new_spec.rb
998
- - spec/tags/1.9.2/core/array/bsearch_index_spec.rb
999
- - spec/tags/1.9.2/core/array/to_h_spec.rb
1000
- - spec/tags/1.9.2/core/dir/each_child_spec.rb
1001
- - spec/tags/1.9.2/core/enumerable/to_h_spec.rb
1002
- - spec/tags/1.9.2/core/hash/slice_spec.rb
1003
- - spec/tags/1.9.2/core/hash/to_h_spec.rb
1004
- - spec/tags/1.9.2/core/hash/transform_keys_spec.rb
1005
- - spec/tags/1.9.2/core/hash/transform_values_spec.rb
1006
- - spec/tags/1.9.2/core/io/write_spec.rb
1007
- - spec/tags/1.9.2/core/kernel/then_spec.rb
1008
- - spec/tags/1.9.2/core/kernel/yield_self_spec.rb
1009
- - spec/tags/1.9.2/core/method/curry_spec.rb
1010
- - spec/tags/1.9.2/core/module/alias_method_spec.rb
1011
- - spec/tags/1.9.2/core/module/attr_accessor_spec.rb
1012
- - spec/tags/1.9.2/core/module/attr_reader_spec.rb
1013
- - spec/tags/1.9.2/core/module/attr_writer_spec.rb
1014
- - spec/tags/1.9.2/core/module/define_method_spec.rb
1015
- - spec/tags/1.9.2/core/module/include_spec.rb
1016
- - spec/tags/1.9.2/core/string/uplus_spec.rb
1017
- - spec/tags/1.9.2/core/struct/new_spec.rb
1018
- - spec/tags/1.9.3/core/array/bsearch_index_spec.rb
1019
- - spec/tags/1.9.3/core/array/to_h_spec.rb
1020
- - spec/tags/1.9.3/core/dir/each_child_spec.rb
1021
- - spec/tags/1.9.3/core/enumerable/grep_v_spec.rb
1022
- - spec/tags/1.9.3/core/enumerable/to_h_spec.rb
1023
- - spec/tags/1.9.3/core/enumerator/produce_spec.rb
1024
- - spec/tags/1.9.3/core/hash/slice_spec.rb
1025
- - spec/tags/1.9.3/core/hash/to_h_spec.rb
1026
- - spec/tags/1.9.3/core/hash/transform_keys_spec.rb
1027
- - spec/tags/1.9.3/core/hash/transform_values_spec.rb
1028
- - spec/tags/1.9.3/core/io/write_spec.rb
1029
- - spec/tags/1.9.3/core/kernel/then_spec.rb
1030
- - spec/tags/1.9.3/core/kernel/yield_self_spec.rb
1031
- - spec/tags/1.9.3/core/method/curry_spec.rb
1032
- - spec/tags/1.9.3/core/module/alias_method_spec.rb
1033
- - spec/tags/1.9.3/core/module/attr_accessor_spec.rb
1034
- - spec/tags/1.9.3/core/module/attr_reader_spec.rb
1035
- - spec/tags/1.9.3/core/module/attr_writer_spec.rb
1036
- - spec/tags/1.9.3/core/module/define_method_spec.rb
1037
- - spec/tags/1.9.3/core/module/include_spec.rb
1038
- - spec/tags/1.9.3/core/string/uplus_spec.rb
1039
- - spec/tags/1.9.3/core/struct/new_spec.rb
1040
- - spec/tags/2.0.0/core/array/to_h_spec.rb
1041
- - spec/tags/2.0.0/core/enumerable/grep_v_spec.rb
1042
- - spec/tags/2.0.0/core/enumerable/to_h_spec.rb
1043
- - spec/tags/2.0.0/core/hash/slice_spec.rb
1044
- - spec/tags/2.0.0/core/hash/to_h_spec.rb
1045
- - spec/tags/2.0.0/core/module/attr_accessor_spec.rb
1046
- - spec/tags/2.0.0/core/module/attr_reader_spec.rb
1047
- - spec/tags/2.0.0/core/module/attr_spec.rb
1048
- - spec/tags/2.0.0/core/module/attr_writer_spec.rb
1049
- - spec/tags/2.0.0/core/module/define_method_spec.rb
1050
- - spec/tags/2.0.0/core/module/include_spec.rb
1051
- - spec/tags/2.0.0/core/module/undef_method_spec.rb
1052
- - spec/tags/2.0.0/core/string/uplus_spec.rb
1053
- - spec/tags/2.0.0/core/struct/new_spec.rb
1054
- - spec/tags/2.1.0/core/array/union_spec.rb
1055
- - spec/tags/2.1.0/core/enumerable/grep_v_spec.rb
1056
- - spec/tags/2.1.0/core/hash/slice_spec.rb
1057
- - spec/tags/2.1.0/core/hash/to_h_spec.rb
1058
- - spec/tags/2.1.0/core/module/attr_accessor_spec.rb
1059
- - spec/tags/2.1.0/core/module/attr_reader_spec.rb
1060
- - spec/tags/2.1.0/core/module/attr_spec.rb
1061
- - spec/tags/2.1.0/core/module/attr_writer_spec.rb
1062
- - spec/tags/2.1.0/core/module/define_method_spec.rb
1063
- - spec/tags/2.1.0/core/module/undef_method_spec.rb
1064
- - spec/tags/2.1.0/core/string/uplus_spec.rb
1065
- - spec/tags/2.1.0/core/struct/new_spec.rb
1066
- - spec/tags/2.2.0/core/enumerable/grep_v_spec.rb
1067
- - spec/tags/2.2.0/core/hash/slice_spec.rb
1068
- - spec/tags/2.2.0/core/hash/to_h_spec.rb
1069
- - spec/tags/2.2.0/core/module/attr_accessor_spec.rb
1070
- - spec/tags/2.2.0/core/module/attr_reader_spec.rb
1071
- - spec/tags/2.2.0/core/module/attr_spec.rb
1072
- - spec/tags/2.2.0/core/module/attr_writer_spec.rb
1073
- - spec/tags/2.2.0/core/module/define_method_spec.rb
1074
- - spec/tags/2.2.0/core/module/undef_method_spec.rb
1075
- - spec/tags/2.2.0/core/string/uplus_spec.rb
1076
- - spec/tags/2.2.0/core/struct/new_spec.rb
1077
- - spec/tags/2.3.0/core/hash/slice_spec.rb
1078
- - spec/tags/2.3.0/core/hash/to_h_spec.rb
1079
- - spec/tags/2.3.0/core/module/attr_spec.rb
1080
- - spec/tags/2.3.0/core/string/uplus_spec.rb
1081
- - spec/tags/2.3.0/core/struct/new_spec.rb
1082
- - spec/tags/2.4.0/core/hash/slice_spec.rb
1083
- - spec/tags/2.4.0/core/hash/to_h_spec.rb
1084
- - spec/tags/2.4.0/core/module/attr_spec.rb
1085
- - spec/tags/2.4.0/core/struct/new_spec.rb
1086
- - spec/tags/2.5.0/core/hash/to_h_spec.rb
1087
- - test/README
1088
- - test/_backport_guards_test.rb
1089
- - test/bit_length_test.rb
1090
- - test/lazy_test.rb
1091
- - test/socket_interaction_test.rb
1092
- - test/test_helper.rb
591
+ test_files: []