backports 3.15.0 → 3.24.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (505) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +846 -0
  3. data/Gemfile +6 -13
  4. data/README.md +706 -0
  5. data/SECURITY.md +5 -0
  6. data/backports.gemspec +6 -2
  7. data/lib/backports/1.8.7.rb +10 -2
  8. data/lib/backports/1.9.1.rb +6 -1
  9. data/lib/backports/1.9.2/stdlib/matrix.rb +5 -0
  10. data/lib/backports/1.9.2.rb +6 -1
  11. data/lib/backports/1.9.3.rb +6 -1
  12. data/lib/backports/2.0.0/range/size.rb +2 -0
  13. data/lib/backports/2.0.0.rb +7 -2
  14. data/lib/backports/2.1.0/module/singleton_class.rb +8 -0
  15. data/lib/backports/2.1.0.rb +2 -2
  16. data/lib/backports/2.2.0/enumerable/slice_after.rb +1 -1
  17. data/lib/backports/2.2.0/float/next_float.rb +1 -1
  18. data/lib/backports/2.2.0/float/prev_float.rb +1 -1
  19. data/lib/backports/2.2.0/method/super_method.rb +2 -2
  20. data/lib/backports/2.2.0/string/unicode_normalize.rb +3 -3
  21. data/lib/backports/2.2.0.rb +2 -2
  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/queue/close.rb +48 -0
  27. data/lib/backports/2.3.0/string.rb +3 -0
  28. data/lib/backports/2.3.0/struct/dig.rb +3 -2
  29. data/lib/backports/2.3.0.rb +2 -2
  30. data/lib/backports/2.4.0/bignum/dup.rb +5 -0
  31. data/lib/backports/2.4.0/bignum.rb +3 -0
  32. data/lib/backports/2.4.0/enumerable/sum.rb +8 -4
  33. data/lib/backports/2.4.0/hash/transform_values.rb +2 -2
  34. data/lib/backports/2.4.0/string/unpack1.rb +7 -0
  35. data/lib/backports/2.4.0/true_class/dup.rb +0 -1
  36. data/lib/backports/2.4.0.rb +2 -2
  37. data/lib/backports/2.5.0/dir/children.rb +4 -0
  38. data/lib/backports/2.5.0/dir/each_child.rb +7 -0
  39. data/lib/backports/2.5.0/hash/transform_keys.rb +11 -4
  40. data/lib/backports/2.5.0/integer/sqrt.rb +2 -2
  41. data/lib/backports/2.5.0/module/alias_method.rb +0 -1
  42. data/lib/backports/2.5.0/string/undump.rb +5 -9
  43. data/lib/backports/2.5.0/struct/new.rb +1 -1
  44. data/lib/backports/2.5.0.rb +2 -2
  45. data/lib/backports/2.5.rb +1 -1
  46. data/lib/backports/2.6.0/array/difference.rb +7 -3
  47. data/lib/backports/2.6.0/enumerable/chain.rb +6 -1
  48. data/lib/backports/2.6.0/hash/to_h.rb +1 -1
  49. data/lib/backports/2.6.0/range/cover.rb +22 -0
  50. data/lib/backports/2.6.0/range.rb +3 -0
  51. data/lib/backports/2.6.0.rb +3 -3
  52. data/lib/backports/2.6.rb +1 -1
  53. data/lib/backports/2.7.0/array/intersection.rb +7 -0
  54. data/lib/backports/2.7.0/array.rb +3 -0
  55. data/lib/backports/2.7.0/comparable/clamp.rb +23 -0
  56. data/lib/backports/2.7.0/comparable.rb +3 -0
  57. data/lib/backports/2.7.0/complex/comparison.rb +13 -0
  58. data/lib/backports/2.7.0/complex.rb +3 -0
  59. data/lib/backports/2.7.0/enumerable/filter_map.rb +14 -0
  60. data/lib/backports/2.7.0/enumerable/tally.rb +11 -0
  61. data/lib/backports/2.7.0/enumerable.rb +3 -0
  62. data/lib/backports/2.7.0/enumerator/produce.rb +20 -0
  63. data/lib/backports/2.7.0/enumerator.rb +3 -0
  64. data/lib/backports/2.7.0/symbol/end_with.rb +9 -0
  65. data/lib/backports/2.7.0/symbol/start_with.rb +9 -0
  66. data/lib/backports/2.7.0/symbol.rb +3 -0
  67. data/lib/backports/2.7.0/time/ceil.rb +10 -0
  68. data/lib/backports/2.7.0/time/floor.rb +7 -0
  69. data/lib/backports/2.7.0.rb +3 -0
  70. data/lib/backports/2.7.rb +1 -0
  71. data/lib/backports/3.0.0/env/except.rb +10 -0
  72. data/lib/backports/3.0.0/env.rb +3 -0
  73. data/lib/backports/3.0.0/hash/except.rb +10 -0
  74. data/lib/backports/3.0.0/hash/transform_keys.rb +48 -0
  75. data/lib/backports/3.0.0/hash.rb +3 -0
  76. data/lib/backports/3.0.0/ractor.rb +19 -0
  77. data/lib/backports/3.0.0/symbol/name.rb +21 -0
  78. data/lib/backports/3.0.0/symbol.rb +3 -0
  79. data/lib/backports/3.0.0.rb +3 -0
  80. data/lib/backports/3.0.rb +1 -0
  81. data/lib/backports/3.1.0/array/intersect.rb +16 -0
  82. data/lib/backports/3.1.0/array.rb +3 -0
  83. data/lib/backports/3.1.0/class/subclasses.rb +11 -0
  84. data/lib/backports/3.1.0/enumerable/compact.rb +5 -0
  85. data/lib/backports/3.1.0/enumerable/tally.rb +18 -0
  86. data/lib/backports/3.1.0/enumerable.rb +3 -0
  87. data/lib/backports/3.1.0/file/dirname.rb +16 -0
  88. data/lib/backports/3.1.0/file.rb +3 -0
  89. data/lib/backports/3.1.0/integer/try_convert.rb +7 -0
  90. data/lib/backports/3.1.0/integer.rb +3 -0
  91. data/lib/backports/3.1.0/match_data/match.rb +5 -0
  92. data/lib/backports/3.1.0/match_data/match_length.rb +6 -0
  93. data/lib/backports/3.1.0/match_data.rb +3 -0
  94. data/lib/backports/3.1.0/struct/keyword_init.rb +5 -0
  95. data/lib/backports/3.1.0/struct.rb +3 -0
  96. data/lib/backports/3.1.0.rb +3 -0
  97. data/lib/backports/3.1.rb +1 -0
  98. data/lib/backports/3.2.0/class/attached_object.rb +10 -0
  99. data/lib/backports/3.2.0/class.rb +3 -0
  100. data/lib/backports/3.2.0/data.rb +144 -0
  101. data/lib/backports/3.2.0/enumerator/product.rb +64 -0
  102. data/lib/backports/3.2.0/enumerator.rb +3 -0
  103. data/lib/backports/3.2.0/hash/shift.rb +10 -0
  104. data/lib/backports/3.2.0/hash.rb +3 -0
  105. data/lib/backports/3.2.0/integer/ceildiv.rb +7 -0
  106. data/lib/backports/3.2.0/integer.rb +3 -0
  107. data/lib/backports/3.2.0/match_data/byteoffset.rb +12 -0
  108. data/lib/backports/3.2.0/match_data.rb +3 -0
  109. data/lib/backports/3.2.0.rb +3 -0
  110. data/lib/backports/3.2.rb +1 -0
  111. data/lib/backports/latest.rb +1 -1
  112. data/lib/backports/ractor/cloner.rb +103 -0
  113. data/lib/backports/ractor/errors.rb +20 -0
  114. data/lib/backports/ractor/filtered_queue.rb +205 -0
  115. data/lib/backports/ractor/queues.rb +66 -0
  116. data/lib/backports/ractor/ractor.rb +272 -0
  117. data/lib/backports/ractor/sharing.rb +97 -0
  118. data/lib/backports/rails/array.rb +4 -0
  119. data/lib/backports/rails/enumerable.rb +4 -0
  120. data/lib/backports/rails/hash.rb +4 -0
  121. data/lib/backports/rails/kernel.rb +4 -0
  122. data/lib/backports/rails/module.rb +4 -0
  123. data/lib/backports/rails/string.rb +4 -0
  124. data/lib/backports/std_lib.rb +3 -0
  125. data/lib/backports/tools/deprecation.rb +19 -0
  126. data/lib/backports/tools/require_relative_dir.rb +6 -1
  127. data/lib/backports/version.rb +1 -1
  128. data/lib/backports.rb +6 -0
  129. metadata +81 -488
  130. data/.document +0 -6
  131. data/.gitignore +0 -9
  132. data/.gitmodules +0 -6
  133. data/.irbrc +0 -3
  134. data/.travis.yml +0 -20
  135. data/CHANGELOG.rdoc +0 -479
  136. data/README.rdoc +0 -422
  137. data/Rakefile +0 -189
  138. data/default.mspec +0 -14
  139. data/frozen_old_spec/tags/1.8.6/core/argf/each_line_spec.rb +0 -6
  140. data/frozen_old_spec/tags/1.8.6/core/argf/each_spec.rb +0 -6
  141. data/frozen_old_spec/tags/1.8.6/core/argf/lines_spec.rb +0 -6
  142. data/frozen_old_spec/tags/1.8.6/core/array/append_spec.rb +0 -1
  143. data/frozen_old_spec/tags/1.8.6/core/array/collect_spec.rb +0 -7
  144. data/frozen_old_spec/tags/1.8.6/core/array/rotate_spec.rb +0 -2
  145. data/frozen_old_spec/tags/1.8.6/core/array/uniq_spec.rb +0 -3
  146. data/frozen_old_spec/tags/1.8.6/core/complex/to_r_spec.rb +0 -3
  147. data/frozen_old_spec/tags/1.8.6/core/enumerable/all_spec.rb +0 -1
  148. data/frozen_old_spec/tags/1.8.6/core/enumerable/any_spec.rb +0 -2
  149. data/frozen_old_spec/tags/1.8.6/core/enumerable/each_entry_spec.rb +0 -1
  150. data/frozen_old_spec/tags/1.8.6/core/enumerable/none_spec.rb +0 -1
  151. data/frozen_old_spec/tags/1.8.6/core/enumerable/one_spec.rb +0 -1
  152. data/frozen_old_spec/tags/1.8.6/core/enumerator/next_spec.rb +0 -1
  153. data/frozen_old_spec/tags/1.8.6/core/env/to_h_spec.rb +0 -2
  154. data/frozen_old_spec/tags/1.8.6/core/file/join_spec.rb +0 -3
  155. data/frozen_old_spec/tags/1.8.6/core/file/lchmod_spec.rb +0 -2
  156. data/frozen_old_spec/tags/1.8.6/core/file/new_spec.rb +0 -2
  157. data/frozen_old_spec/tags/1.8.6/core/file/open_spec.rb +0 -13
  158. data/frozen_old_spec/tags/1.8.6/core/file/to_path_spec.rb +0 -1
  159. data/frozen_old_spec/tags/1.8.6/core/fixnum/fdiv_spec.rb +0 -1
  160. data/frozen_old_spec/tags/1.8.6/core/gc/stress_spec.rb +0 -2
  161. data/frozen_old_spec/tags/1.8.6/core/hash/assoc_spec.rb +0 -1
  162. data/frozen_old_spec/tags/1.8.6/core/hash/constructor_spec.rb +0 -3
  163. data/frozen_old_spec/tags/1.8.6/core/hash/default_proc_spec.rb +0 -3
  164. data/frozen_old_spec/tags/1.8.6/core/hash/delete_if_spec.rb +0 -1
  165. data/frozen_old_spec/tags/1.8.6/core/hash/each_pair_spec.rb +0 -1
  166. data/frozen_old_spec/tags/1.8.6/core/hash/eql_spec.rb +0 -3
  167. data/frozen_old_spec/tags/1.8.6/core/hash/hash_spec.rb +0 -3
  168. data/frozen_old_spec/tags/1.8.6/core/hash/keep_if_spec.rb +0 -2
  169. data/frozen_old_spec/tags/1.8.6/core/hash/rassoc_spec.rb +0 -1
  170. data/frozen_old_spec/tags/1.8.6/core/hash/reject_spec.rb +0 -2
  171. data/frozen_old_spec/tags/1.8.6/core/hash/select_spec.rb +0 -8
  172. data/frozen_old_spec/tags/1.8.6/core/integer/round_spec.rb +0 -2
  173. data/frozen_old_spec/tags/1.8.6/core/io/binread_spec.rb +0 -7
  174. data/frozen_old_spec/tags/1.8.6/core/io/chars_spec.rb +0 -1
  175. data/frozen_old_spec/tags/1.8.6/core/io/each_char_spec.rb +0 -1
  176. data/frozen_old_spec/tags/1.8.6/core/io/lines_spec.rb +0 -1
  177. data/frozen_old_spec/tags/1.8.6/core/io/open_spec.rb +0 -24
  178. data/frozen_old_spec/tags/1.8.6/core/io/ungetbyte_spec.rb +0 -4
  179. data/frozen_old_spec/tags/1.8.6/core/io/write_spec.rb +0 -5
  180. data/frozen_old_spec/tags/1.8.6/core/kernel/__callee___spec.rb +0 -6
  181. data/frozen_old_spec/tags/1.8.6/core/kernel/__method___spec.rb +0 -1
  182. data/frozen_old_spec/tags/1.8.6/core/kernel/define_singleton_method_spec.rb +0 -2
  183. data/frozen_old_spec/tags/1.8.6/core/kernel/public_method_spec.rb +0 -2
  184. data/frozen_old_spec/tags/1.8.6/core/kernel/require_relative_spec.rb +0 -3
  185. data/frozen_old_spec/tags/1.8.6/core/math/log2_spec.rb +0 -6
  186. data/frozen_old_spec/tags/1.8.6/core/math/log_spec.rb +0 -3
  187. data/frozen_old_spec/tags/1.8.6/core/module/alias_method_spec.rb +0 -1
  188. data/frozen_old_spec/tags/1.8.6/core/module/attr_accessor_spec.rb +0 -2
  189. data/frozen_old_spec/tags/1.8.6/core/module/attr_reader_spec.rb +0 -2
  190. data/frozen_old_spec/tags/1.8.6/core/module/attr_spec.rb +0 -1
  191. data/frozen_old_spec/tags/1.8.6/core/module/attr_writer_spec.rb +0 -2
  192. data/frozen_old_spec/tags/1.8.6/core/module/class_exec_spec.rb +0 -2
  193. data/frozen_old_spec/tags/1.8.6/core/module/define_method_spec.rb +0 -1
  194. data/frozen_old_spec/tags/1.8.6/core/module/module_exec_spec.rb +0 -2
  195. data/frozen_old_spec/tags/1.8.6/core/module/remove_method_spec.rb +0 -1
  196. data/frozen_old_spec/tags/1.8.6/core/module/undef_method_spec.rb +0 -1
  197. data/frozen_old_spec/tags/1.8.6/core/nil/dup_spec.rb +0 -1
  198. data/frozen_old_spec/tags/1.8.6/core/numeric/step_spec.rb +0 -12
  199. data/frozen_old_spec/tags/1.8.6/core/proc/curry_spec.rb +0 -4
  200. data/frozen_old_spec/tags/1.8.6/core/range/step_spec.rb +0 -12
  201. data/frozen_old_spec/tags/1.8.6/core/string/getbyte_spec.rb +0 -6
  202. data/frozen_old_spec/tags/1.8.6/core/string/partition_spec.rb +0 -1
  203. data/frozen_old_spec/tags/1.8.6/core/string/prepend_spec.rb +0 -1
  204. data/frozen_old_spec/tags/1.8.6/core/string/rpartition_spec.rb +0 -1
  205. data/frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb +0 -5
  206. data/frozen_old_spec/tags/1.8.6/core/string/upto_spec.rb +0 -1
  207. data/frozen_old_spec/tags/1.8.6/core/symbol/capitalize_spec.rb +0 -3
  208. data/frozen_old_spec/tags/1.8.6/core/symbol/comparison_spec.rb +0 -1
  209. data/frozen_old_spec/tags/1.8.6/core/symbol/downcase_spec.rb +0 -2
  210. data/frozen_old_spec/tags/1.8.6/core/symbol/element_reference_spec.rb +0 -4
  211. data/frozen_old_spec/tags/1.8.6/core/symbol/empty_spec.rb +0 -1
  212. data/frozen_old_spec/tags/1.8.6/core/symbol/match_spec.rb +0 -2
  213. data/frozen_old_spec/tags/1.8.6/core/symbol/swapcase_spec.rb +0 -2
  214. data/frozen_old_spec/tags/1.8.6/core/symbol/to_proc_spec.rb +0 -1
  215. data/frozen_old_spec/tags/1.8.6/core/symbol/upcase_spec.rb +0 -1
  216. data/frozen_old_spec/tags/1.8.7/core/array/append_spec.rb +0 -1
  217. data/frozen_old_spec/tags/1.8.7/core/array/keep_if_spec.rb +0 -2
  218. data/frozen_old_spec/tags/1.8.7/core/array/rotate_spec.rb +0 -2
  219. data/frozen_old_spec/tags/1.8.7/core/array/select_spec.rb +0 -2
  220. data/frozen_old_spec/tags/1.8.7/core/array/uniq_spec.rb +0 -3
  221. data/frozen_old_spec/tags/1.8.7/core/complex/to_r_spec.rb +0 -3
  222. data/frozen_old_spec/tags/1.8.7/core/enumerable/all_spec.rb +0 -1
  223. data/frozen_old_spec/tags/1.8.7/core/enumerable/any_spec.rb +0 -2
  224. data/frozen_old_spec/tags/1.8.7/core/enumerable/collect_concat_spec.rb +0 -1
  225. data/frozen_old_spec/tags/1.8.7/core/enumerable/flat_map_spec.rb +0 -1
  226. data/frozen_old_spec/tags/1.8.7/core/enumerable/none_spec.rb +0 -1
  227. data/frozen_old_spec/tags/1.8.7/core/enumerable/one_spec.rb +0 -1
  228. data/frozen_old_spec/tags/1.8.7/core/env/to_h_spec.rb +0 -2
  229. data/frozen_old_spec/tags/1.8.7/core/file/lchmod_spec.rb +0 -2
  230. data/frozen_old_spec/tags/1.8.7/core/file/new_spec.rb +0 -1
  231. data/frozen_old_spec/tags/1.8.7/core/file/open_spec.rb +0 -5
  232. data/frozen_old_spec/tags/1.8.7/core/file/readlink_spec.rb +0 -6
  233. data/frozen_old_spec/tags/1.8.7/core/file/to_path_spec.rb +0 -1
  234. data/frozen_old_spec/tags/1.8.7/core/hash/assoc_spec.rb +0 -1
  235. data/frozen_old_spec/tags/1.8.7/core/hash/default_proc_spec.rb +0 -3
  236. data/frozen_old_spec/tags/1.8.7/core/hash/keep_if_spec.rb +0 -2
  237. data/frozen_old_spec/tags/1.8.7/core/hash/merge_spec.rb +0 -3
  238. data/frozen_old_spec/tags/1.8.7/core/hash/rassoc_spec.rb +0 -1
  239. data/frozen_old_spec/tags/1.8.7/core/hash/select_spec.rb +0 -1
  240. data/frozen_old_spec/tags/1.8.7/core/hash/to_h_spec.rb +0 -1
  241. data/frozen_old_spec/tags/1.8.7/core/hash/update_spec.rb +0 -3
  242. data/frozen_old_spec/tags/1.8.7/core/integer/round_spec.rb +0 -2
  243. data/frozen_old_spec/tags/1.8.7/core/io/binread_spec.rb +0 -7
  244. data/frozen_old_spec/tags/1.8.7/core/io/open_spec.rb +0 -32
  245. data/frozen_old_spec/tags/1.8.7/core/io/ungetbyte_spec.rb +0 -4
  246. data/frozen_old_spec/tags/1.8.7/core/io/write_spec.rb +0 -5
  247. data/frozen_old_spec/tags/1.8.7/core/kernel/__callee___spec.rb +0 -6
  248. data/frozen_old_spec/tags/1.8.7/core/kernel/define_singleton_method_spec.rb +0 -2
  249. data/frozen_old_spec/tags/1.8.7/core/kernel/public_method_spec.rb +0 -1
  250. data/frozen_old_spec/tags/1.8.7/core/kernel/require_relative_spec.rb +0 -3
  251. data/frozen_old_spec/tags/1.8.7/core/math/log2_spec.rb +0 -6
  252. data/frozen_old_spec/tags/1.8.7/core/math/log_spec.rb +0 -3
  253. data/frozen_old_spec/tags/1.8.7/core/module/alias_method_spec.rb +0 -7
  254. data/frozen_old_spec/tags/1.8.7/core/module/attr_accessor_spec.rb +0 -2
  255. data/frozen_old_spec/tags/1.8.7/core/module/attr_reader_spec.rb +0 -2
  256. data/frozen_old_spec/tags/1.8.7/core/module/attr_spec.rb +0 -2
  257. data/frozen_old_spec/tags/1.8.7/core/module/attr_writer_spec.rb +0 -2
  258. data/frozen_old_spec/tags/1.8.7/core/module/define_method_spec.rb +0 -1
  259. data/frozen_old_spec/tags/1.8.7/core/module/include_spec.rb +0 -3
  260. data/frozen_old_spec/tags/1.8.7/core/module/remove_method_spec.rb +0 -3
  261. data/frozen_old_spec/tags/1.8.7/core/module/undef_method_spec.rb +0 -3
  262. data/frozen_old_spec/tags/1.8.7/core/nil/dup_spec.rb +0 -1
  263. data/frozen_old_spec/tags/1.8.7/core/proc/curry_spec.rb +0 -3
  264. data/frozen_old_spec/tags/1.8.7/core/proc/yield_spec.rb +0 -4
  265. data/frozen_old_spec/tags/1.8.7/core/range/size_spec.rb +0 -1
  266. data/frozen_old_spec/tags/1.8.7/core/string/getbyte_spec.rb +0 -5
  267. data/frozen_old_spec/tags/1.8.7/core/string/prepend_spec.rb +0 -1
  268. data/frozen_old_spec/tags/1.8.7/core/string/setbyte_spec.rb +0 -5
  269. data/frozen_old_spec/tags/1.8.7/core/struct/new_spec.rb +0 -3
  270. data/frozen_old_spec/tags/1.8.7/core/symbol/capitalize_spec.rb +0 -3
  271. data/frozen_old_spec/tags/1.8.7/core/symbol/comparison_spec.rb +0 -1
  272. data/frozen_old_spec/tags/1.8.7/core/symbol/downcase_spec.rb +0 -2
  273. data/frozen_old_spec/tags/1.8.7/core/symbol/element_reference_spec.rb +0 -4
  274. data/frozen_old_spec/tags/1.8.7/core/symbol/empty_spec.rb +0 -1
  275. data/frozen_old_spec/tags/1.8.7/core/symbol/match_spec.rb +0 -2
  276. data/frozen_old_spec/tags/1.8.7/core/symbol/swapcase_spec.rb +0 -2
  277. data/frozen_old_spec/tags/1.8.7/core/symbol/upcase_spec.rb +0 -1
  278. data/frozen_old_spec/tags/1.9.1/core/array/append_spec.rb +0 -1
  279. data/frozen_old_spec/tags/1.9.1/core/array/rotate_spec.rb +0 -1
  280. data/frozen_old_spec/tags/1.9.1/core/enumerable/all_spec.rb +0 -1
  281. data/frozen_old_spec/tags/1.9.1/core/enumerable/any_spec.rb +0 -2
  282. data/frozen_old_spec/tags/1.9.1/core/enumerable/none_spec.rb +0 -1
  283. data/frozen_old_spec/tags/1.9.1/core/enumerable/one_spec.rb +0 -1
  284. data/frozen_old_spec/tags/1.9.1/core/env/to_h_spec.rb +0 -2
  285. data/frozen_old_spec/tags/1.9.1/core/hash/default_proc_spec.rb +0 -1
  286. data/frozen_old_spec/tags/1.9.1/core/io/write_spec.rb +0 -2
  287. data/frozen_old_spec/tags/1.9.1/core/module/alias_method_spec.rb +0 -4
  288. data/frozen_old_spec/tags/1.9.1/core/module/attr_accessor_spec.rb +0 -2
  289. data/frozen_old_spec/tags/1.9.1/core/module/attr_reader_spec.rb +0 -2
  290. data/frozen_old_spec/tags/1.9.1/core/module/attr_spec.rb +0 -1
  291. data/frozen_old_spec/tags/1.9.1/core/module/attr_writer_spec.rb +0 -2
  292. data/frozen_old_spec/tags/1.9.1/core/module/define_method_spec.rb +0 -3
  293. data/frozen_old_spec/tags/1.9.1/core/module/remove_method_spec.rb +0 -1
  294. data/frozen_old_spec/tags/1.9.1/core/module/undef_method_spec.rb +0 -1
  295. data/frozen_old_spec/tags/1.9.1/core/nil/dup_spec.rb +0 -1
  296. data/frozen_old_spec/tags/1.9.2/core/array/append_spec.rb +0 -1
  297. data/frozen_old_spec/tags/1.9.2/core/enumerable/all_spec.rb +0 -1
  298. data/frozen_old_spec/tags/1.9.2/core/enumerable/any_spec.rb +0 -2
  299. data/frozen_old_spec/tags/1.9.2/core/enumerable/none_spec.rb +0 -1
  300. data/frozen_old_spec/tags/1.9.2/core/enumerable/one_spec.rb +0 -1
  301. data/frozen_old_spec/tags/1.9.2/core/io/write_spec.rb +0 -3
  302. data/frozen_old_spec/tags/1.9.2/core/module/alias_method_spec.rb +0 -4
  303. data/frozen_old_spec/tags/1.9.2/core/module/attr_accessor_spec.rb +0 -2
  304. data/frozen_old_spec/tags/1.9.2/core/module/attr_reader_spec.rb +0 -2
  305. data/frozen_old_spec/tags/1.9.2/core/module/attr_spec.rb +0 -1
  306. data/frozen_old_spec/tags/1.9.2/core/module/attr_writer_spec.rb +0 -2
  307. data/frozen_old_spec/tags/1.9.2/core/module/define_method_spec.rb +0 -3
  308. data/frozen_old_spec/tags/1.9.2/core/module/remove_method_spec.rb +0 -1
  309. data/frozen_old_spec/tags/1.9.2/core/module/undef_method_spec.rb +0 -1
  310. data/frozen_old_spec/tags/1.9.2/core/nil/dup_spec.rb +0 -1
  311. data/frozen_old_spec/tags/1.9.3/core/enumerable/any_spec.rb +0 -1
  312. data/frozen_old_spec/tags/1.9.3/core/module/alias_method_spec.rb +0 -4
  313. data/frozen_old_spec/tags/1.9.3/core/module/attr_accessor_spec.rb +0 -1
  314. data/frozen_old_spec/tags/1.9.3/core/module/attr_reader_spec.rb +0 -1
  315. data/frozen_old_spec/tags/1.9.3/core/module/attr_spec.rb +0 -1
  316. data/frozen_old_spec/tags/1.9.3/core/module/attr_writer_spec.rb +0 -1
  317. data/frozen_old_spec/tags/1.9.3/core/module/define_method_spec.rb +0 -3
  318. data/frozen_old_spec/tags/1.9.3/core/module/remove_method_spec.rb +0 -1
  319. data/frozen_old_spec/tags/1.9.3/core/module/undef_method_spec.rb +0 -1
  320. data/frozen_old_spec/tags/2.0.0/core/enumerable/any_spec.rb +0 -1
  321. data/frozen_old_spec/tags/2.0.0/core/module/alias_method_spec.rb +0 -1
  322. data/frozen_old_spec/tags/2.0.0/core/module/attr_accessor_spec.rb +0 -2
  323. data/frozen_old_spec/tags/2.0.0/core/module/attr_reader_spec.rb +0 -2
  324. data/frozen_old_spec/tags/2.0.0/core/module/attr_spec.rb +0 -1
  325. data/frozen_old_spec/tags/2.0.0/core/module/attr_writer_spec.rb +0 -2
  326. data/frozen_old_spec/tags/2.0.0/core/module/define_method_spec.rb +0 -2
  327. data/frozen_old_spec/tags/2.0.0/core/module/remove_method_spec.rb +0 -1
  328. data/frozen_old_spec/tags/2.0.0/core/module/undef_method_spec.rb +0 -1
  329. data/frozen_old_spec/tags/2.0.0/core/nil/dup_spec.rb +0 -1
  330. data/frozen_old_spec/tags/2.0.0/core/struct/new_spec.rb +0 -1
  331. data/frozen_old_spec/tags/2.1.0/core/enumerable/any_spec.rb +0 -1
  332. data/frozen_old_spec/tags/2.1.0/core/module/alias_method_spec.rb +0 -1
  333. data/frozen_old_spec/tags/2.1.0/core/module/attr_accessor_spec.rb +0 -2
  334. data/frozen_old_spec/tags/2.1.0/core/module/attr_reader_spec.rb +0 -2
  335. data/frozen_old_spec/tags/2.1.0/core/module/attr_spec.rb +0 -1
  336. data/frozen_old_spec/tags/2.1.0/core/module/attr_writer_spec.rb +0 -2
  337. data/frozen_old_spec/tags/2.1.0/core/module/define_method_spec.rb +0 -2
  338. data/frozen_old_spec/tags/2.1.0/core/module/remove_method_spec.rb +0 -1
  339. data/frozen_old_spec/tags/2.1.0/core/module/undef_method_spec.rb +0 -1
  340. data/frozen_old_spec/tags/2.1.0/core/nil/dup_spec.rb +0 -1
  341. data/frozen_old_spec/tags/2.1.0/core/struct/new_spec.rb +0 -1
  342. data/frozen_old_spec/tags/2.2.0/core/enumerable/any_spec.rb +0 -1
  343. data/frozen_old_spec/tags/2.2.0/core/module/alias_method_spec.rb +0 -1
  344. data/frozen_old_spec/tags/2.2.0/core/module/attr_accessor_spec.rb +0 -2
  345. data/frozen_old_spec/tags/2.2.0/core/module/attr_reader_spec.rb +0 -2
  346. data/frozen_old_spec/tags/2.2.0/core/module/attr_spec.rb +0 -1
  347. data/frozen_old_spec/tags/2.2.0/core/module/attr_writer_spec.rb +0 -2
  348. data/frozen_old_spec/tags/2.2.0/core/module/define_method_spec.rb +0 -1
  349. data/frozen_old_spec/tags/2.2.0/core/module/remove_method_spec.rb +0 -1
  350. data/frozen_old_spec/tags/2.2.0/core/module/undef_method_spec.rb +0 -1
  351. data/frozen_old_spec/tags/2.2.0/core/nil/dup_spec.rb +0 -1
  352. data/frozen_old_spec/tags/2.2.0/core/struct/new_spec.rb +0 -1
  353. data/frozen_old_spec/tags/2.3.0/core/enumerable/any_spec.rb +0 -1
  354. data/frozen_old_spec/tags/2.3.0/core/module/alias_method_spec.rb +0 -1
  355. data/frozen_old_spec/tags/2.3.0/core/module/attr_accessor_spec.rb +0 -2
  356. data/frozen_old_spec/tags/2.3.0/core/module/attr_reader_spec.rb +0 -2
  357. data/frozen_old_spec/tags/2.3.0/core/module/attr_spec.rb +0 -1
  358. data/frozen_old_spec/tags/2.3.0/core/module/attr_writer_spec.rb +0 -2
  359. data/frozen_old_spec/tags/2.3.0/core/module/define_method_spec.rb +0 -1
  360. data/frozen_old_spec/tags/2.3.0/core/module/remove_method_spec.rb +0 -1
  361. data/frozen_old_spec/tags/2.3.0/core/module/undef_method_spec.rb +0 -1
  362. data/frozen_old_spec/tags/2.3.0/core/nil/dup_spec.rb +0 -1
  363. data/frozen_old_spec/tags/2.3.0/core/struct/new_spec.rb +0 -1
  364. data/frozen_old_spec/tags/2.3.5/core/struct/new_spec.rb +0 -1
  365. data/frozen_old_spec/tags/2.4.0/core/enumerable/any_spec.rb +0 -1
  366. data/frozen_old_spec/tags/2.4.0/core/module/alias_method_spec.rb +0 -1
  367. data/frozen_old_spec/tags/2.4.0/core/module/attr_accessor_spec.rb +0 -2
  368. data/frozen_old_spec/tags/2.4.0/core/module/attr_reader_spec.rb +0 -2
  369. data/frozen_old_spec/tags/2.4.0/core/module/attr_spec.rb +0 -1
  370. data/frozen_old_spec/tags/2.4.0/core/module/attr_writer_spec.rb +0 -2
  371. data/frozen_old_spec/tags/2.4.0/core/module/define_method_spec.rb +0 -1
  372. data/frozen_old_spec/tags/2.4.0/core/module/remove_method_spec.rb +0 -1
  373. data/frozen_old_spec/tags/2.4.0/core/module/undef_method_spec.rb +0 -1
  374. data/frozen_old_spec/tags/2.4.0/core/nil/dup_spec.rb +0 -1
  375. data/frozen_old_spec/tags/2.4.0/core/struct/new_spec.rb +0 -1
  376. data/frozen_old_spec/tags/2.5.0/core/enumerable/any_spec.rb +0 -1
  377. data/frozen_old_spec/tags/2.5.0/core/module/alias_method_spec.rb +0 -1
  378. data/frozen_old_spec/tags/2.5.0/core/module/attr_accessor_spec.rb +0 -2
  379. data/frozen_old_spec/tags/2.5.0/core/module/attr_reader_spec.rb +0 -2
  380. data/frozen_old_spec/tags/2.5.0/core/module/attr_spec.rb +0 -1
  381. data/frozen_old_spec/tags/2.5.0/core/module/attr_writer_spec.rb +0 -2
  382. data/frozen_old_spec/tags/2.5.0/core/module/define_method_spec.rb +0 -1
  383. data/frozen_old_spec/tags/2.5.0/core/module/remove_method_spec.rb +0 -1
  384. data/frozen_old_spec/tags/2.5.0/core/module/undef_method_spec.rb +0 -1
  385. data/frozen_old_spec/tags/2.5.0/core/nil/dup_spec.rb +0 -1
  386. data/frozen_old_spec/tags/2.5.0/core/struct/new_spec.rb +0 -1
  387. data/set_version/1.8.7.rb +0 -1
  388. data/set_version/1.9.1.rb +0 -1
  389. data/set_version/1.9.2.rb +0 -1
  390. data/set_version/1.9.3.rb +0 -1
  391. data/set_version/2.0.0.rb +0 -1
  392. data/set_version/2.1.0.rb +0 -1
  393. data/set_version/2.2.0.rb +0 -1
  394. data/set_version/2.3.0.rb +0 -1
  395. data/set_version/2.4.0.rb +0 -1
  396. data/set_version/2.5.0.rb +0 -1
  397. data/set_version/2.6.0.rb +0 -1
  398. data/set_version/setter.rb +0 -22
  399. data/spec/tags/1.8.7/core/array/to_h_spec.rb +0 -3
  400. data/spec/tags/1.8.7/core/enumerable/to_h_spec.rb +0 -2
  401. data/spec/tags/1.8.7/core/module/attr_spec.rb +0 -1
  402. data/spec/tags/1.8.7/core/module/include_spec.rb +0 -1
  403. data/spec/tags/1.9.1/core/array/bsearch_index_spec.rb +0 -1
  404. data/spec/tags/1.9.1/core/array/rotate_spec.rb +0 -1
  405. data/spec/tags/1.9.1/core/dir/each_child_spec.rb +0 -1
  406. data/spec/tags/1.9.1/core/env/to_h_spec.rb +0 -2
  407. data/spec/tags/1.9.1/core/hash/default_proc_spec.rb +0 -1
  408. data/spec/tags/1.9.1/core/hash/slice_spec.rb +0 -1
  409. data/spec/tags/1.9.1/core/hash/transform_keys_spec.rb +0 -2
  410. data/spec/tags/1.9.1/core/hash/transform_values_spec.rb +0 -2
  411. data/spec/tags/1.9.1/core/io/write_spec.rb +0 -3
  412. data/spec/tags/1.9.1/core/kernel/yield_self_spec.rb +0 -1
  413. data/spec/tags/1.9.1/core/method/curry_spec.rb +0 -1
  414. data/spec/tags/1.9.1/core/module/alias_method_spec.rb +0 -3
  415. data/spec/tags/1.9.1/core/module/attr_accessor_spec.rb +0 -1
  416. data/spec/tags/1.9.1/core/module/attr_reader_spec.rb +0 -1
  417. data/spec/tags/1.9.1/core/module/attr_spec.rb +0 -1
  418. data/spec/tags/1.9.1/core/module/attr_writer_spec.rb +0 -1
  419. data/spec/tags/1.9.1/core/module/define_method_spec.rb +0 -7
  420. data/spec/tags/1.9.1/core/string/uplus_spec.rb +0 -1
  421. data/spec/tags/1.9.1/core/struct/new_spec.rb +0 -2
  422. data/spec/tags/1.9.2/core/array/bsearch_index_spec.rb +0 -1
  423. data/spec/tags/1.9.2/core/array/to_h_spec.rb +0 -3
  424. data/spec/tags/1.9.2/core/dir/each_child_spec.rb +0 -1
  425. data/spec/tags/1.9.2/core/enumerable/to_h_spec.rb +0 -2
  426. data/spec/tags/1.9.2/core/hash/slice_spec.rb +0 -1
  427. data/spec/tags/1.9.2/core/hash/to_h_spec.rb +0 -3
  428. data/spec/tags/1.9.2/core/hash/transform_keys_spec.rb +0 -2
  429. data/spec/tags/1.9.2/core/hash/transform_values_spec.rb +0 -2
  430. data/spec/tags/1.9.2/core/io/write_spec.rb +0 -3
  431. data/spec/tags/1.9.2/core/kernel/then_spec.rb +0 -1
  432. data/spec/tags/1.9.2/core/kernel/yield_self_spec.rb +0 -1
  433. data/spec/tags/1.9.2/core/method/curry_spec.rb +0 -1
  434. data/spec/tags/1.9.2/core/module/alias_method_spec.rb +0 -3
  435. data/spec/tags/1.9.2/core/module/attr_accessor_spec.rb +0 -1
  436. data/spec/tags/1.9.2/core/module/attr_reader_spec.rb +0 -1
  437. data/spec/tags/1.9.2/core/module/attr_writer_spec.rb +0 -1
  438. data/spec/tags/1.9.2/core/module/define_method_spec.rb +0 -7
  439. data/spec/tags/1.9.2/core/module/include_spec.rb +0 -1
  440. data/spec/tags/1.9.2/core/string/uplus_spec.rb +0 -1
  441. data/spec/tags/1.9.2/core/struct/new_spec.rb +0 -2
  442. data/spec/tags/1.9.3/core/array/bsearch_index_spec.rb +0 -1
  443. data/spec/tags/1.9.3/core/dir/each_child_spec.rb +0 -1
  444. data/spec/tags/1.9.3/core/hash/slice_spec.rb +0 -1
  445. data/spec/tags/1.9.3/core/hash/to_h_spec.rb +0 -3
  446. data/spec/tags/1.9.3/core/hash/transform_keys_spec.rb +0 -2
  447. data/spec/tags/1.9.3/core/hash/transform_values_spec.rb +0 -2
  448. data/spec/tags/1.9.3/core/io/write_spec.rb +0 -3
  449. data/spec/tags/1.9.3/core/kernel/yield_self_spec.rb +0 -1
  450. data/spec/tags/1.9.3/core/method/curry_spec.rb +0 -1
  451. data/spec/tags/1.9.3/core/module/alias_method_spec.rb +0 -3
  452. data/spec/tags/1.9.3/core/module/attr_accessor_spec.rb +0 -1
  453. data/spec/tags/1.9.3/core/module/attr_reader_spec.rb +0 -1
  454. data/spec/tags/1.9.3/core/module/attr_writer_spec.rb +0 -1
  455. data/spec/tags/1.9.3/core/module/define_method_spec.rb +0 -7
  456. data/spec/tags/1.9.3/core/module/include_spec.rb +0 -1
  457. data/spec/tags/1.9.3/core/string/uplus_spec.rb +0 -1
  458. data/spec/tags/1.9.3/core/struct/new_spec.rb +0 -2
  459. data/spec/tags/2.0.0/core/array/to_h_spec.rb +0 -3
  460. data/spec/tags/2.0.0/core/enumerable/to_h_spec.rb +0 -2
  461. data/spec/tags/2.0.0/core/hash/slice_spec.rb +0 -1
  462. data/spec/tags/2.0.0/core/hash/to_h_spec.rb +0 -3
  463. data/spec/tags/2.0.0/core/module/attr_accessor_spec.rb +0 -1
  464. data/spec/tags/2.0.0/core/module/attr_reader_spec.rb +0 -1
  465. data/spec/tags/2.0.0/core/module/attr_spec.rb +0 -1
  466. data/spec/tags/2.0.0/core/module/attr_writer_spec.rb +0 -1
  467. data/spec/tags/2.0.0/core/module/define_method_spec.rb +0 -4
  468. data/spec/tags/2.0.0/core/module/include_spec.rb +0 -1
  469. data/spec/tags/2.0.0/core/string/uplus_spec.rb +0 -1
  470. data/spec/tags/2.0.0/core/struct/new_spec.rb +0 -1
  471. data/spec/tags/2.1.0/core/array/union_spec.rb +0 -1
  472. data/spec/tags/2.1.0/core/hash/slice_spec.rb +0 -1
  473. data/spec/tags/2.1.0/core/hash/to_h_spec.rb +0 -1
  474. data/spec/tags/2.1.0/core/module/attr_accessor_spec.rb +0 -1
  475. data/spec/tags/2.1.0/core/module/attr_reader_spec.rb +0 -1
  476. data/spec/tags/2.1.0/core/module/attr_spec.rb +0 -1
  477. data/spec/tags/2.1.0/core/module/attr_writer_spec.rb +0 -1
  478. data/spec/tags/2.1.0/core/module/define_method_spec.rb +0 -4
  479. data/spec/tags/2.1.0/core/string/uplus_spec.rb +0 -1
  480. data/spec/tags/2.1.0/core/struct/new_spec.rb +0 -1
  481. data/spec/tags/2.2.0/core/hash/slice_spec.rb +0 -1
  482. data/spec/tags/2.2.0/core/hash/to_h_spec.rb +0 -1
  483. data/spec/tags/2.2.0/core/module/attr_accessor_spec.rb +0 -1
  484. data/spec/tags/2.2.0/core/module/attr_reader_spec.rb +0 -1
  485. data/spec/tags/2.2.0/core/module/attr_spec.rb +0 -1
  486. data/spec/tags/2.2.0/core/module/attr_writer_spec.rb +0 -1
  487. data/spec/tags/2.2.0/core/module/define_method_spec.rb +0 -4
  488. data/spec/tags/2.2.0/core/string/uplus_spec.rb +0 -1
  489. data/spec/tags/2.2.0/core/struct/new_spec.rb +0 -1
  490. data/spec/tags/2.3.0/core/hash/slice_spec.rb +0 -1
  491. data/spec/tags/2.3.0/core/hash/to_h_spec.rb +0 -1
  492. data/spec/tags/2.3.0/core/module/attr_spec.rb +0 -1
  493. data/spec/tags/2.3.0/core/string/uplus_spec.rb +0 -1
  494. data/spec/tags/2.3.0/core/struct/new_spec.rb +0 -1
  495. data/spec/tags/2.4.0/core/hash/slice_spec.rb +0 -1
  496. data/spec/tags/2.4.0/core/hash/to_h_spec.rb +0 -1
  497. data/spec/tags/2.4.0/core/module/attr_spec.rb +0 -1
  498. data/spec/tags/2.4.0/core/struct/new_spec.rb +0 -1
  499. data/spec/tags/2.5.0/core/hash/to_h_spec.rb +0 -1
  500. data/test/README +0 -2
  501. data/test/_backport_guards_test.rb +0 -148
  502. data/test/bit_length_test.rb +0 -11
  503. data/test/lazy_test.rb +0 -487
  504. data/test/socket_interaction_test.rb +0 -9
  505. data/test/test_helper.rb +0 -1
@@ -1,2 +0,0 @@
1
- fails:ENV.to_hash uses the locale encoding for keys
2
- fails:ENV.to_hash uses the locale encoding for values
@@ -1,3 +0,0 @@
1
- fails:File.join flattens nested arrays
2
- fails:File.join inserts the separator in between empty strings and arrays
3
- fails:File.join raises an ArgumentError if passed a recursive array
@@ -1,2 +0,0 @@
1
- fails:File.lchmod returns false from #respond_to?
2
- fails:File.lchmod raises a NotImplementedError when called
@@ -1,2 +0,0 @@
1
- fails:File.new returns a new File when use File::APPEND mode
2
- fails:File.new returns a new File when use File::RDONLY|File::APPEND mode
@@ -1,13 +0,0 @@
1
- fails:File.open on a FIFO opens it as a normal file
2
- fails:File.open opens file when call with a block (basic case)
3
- fails:File.open opens a file with mode string and block
4
- fails:File.open opens a file with mode num and block
5
- fails:File.open opens the file when passed mode, num, permissions and block
6
- fails:File.open opens the file when call with fd
7
- fails:File.open opens a file with a file descriptor d and a block
8
- fails:File.open raises a SystemCallError if passed an invalid Integer type
9
- fails:File.open raises an IOError when read in a block opened with File::RDONLY|File::APPEND mode
10
- fails:File.open raises an IOError if the file exists when open with File::RDONLY|File::APPEND
11
- fails:File.open defaults external_encoding to ASCII-8BIT for binary modes
12
- fails:File.open when passed a file descriptor opens a file
13
- fails:File.open when passed a file descriptor opens a file when passed a block
@@ -1 +0,0 @@
1
- fails:File#to_path preserves the encoding of the path
@@ -1 +0,0 @@
1
- fails:Fixnum#fdiv follows the coercion protocol
@@ -1,2 +0,0 @@
1
- fails:GC.stress returns current status of GC stress mode
2
- fails:GC.stress= sets the stress mode
@@ -1 +0,0 @@
1
- fails:Hash#assoc only returns the first matching key-value pair for identity hashes
@@ -1,3 +0,0 @@
1
- fails:Hash.[] raises an ArgumentError for arrays of more than 2 elements
2
- fails:Hash.[] raises an ArgumentError when passed a list of value-invalid-pairs in an array
3
- fails:Hash.[] removes the default_proc
@@ -1,3 +0,0 @@
1
- fails:Hash#default_proc= raises an error if passed nil
2
- fails:Hash#default_proc= raises a TypeError if passed a lambda with an arity other than 2
3
- fails:Hash#default_proc= raises a RuntimeError if self is frozen
@@ -1 +0,0 @@
1
- fails:Hash#delete_if raises a RuntimeError if called on a frozen instance
@@ -1 +0,0 @@
1
- fails:Hash#each_pair yields a [[key, value]] Array for each pair to a block expecting |*args|
@@ -1,3 +0,0 @@
1
- fails:Hash#eql? computes equality for recursive hashes
2
- fails:Hash#eql? computes equality for complex recursive hashes
3
- fails:Hash#eql? computes equality for recursive hashes & arrays
@@ -1,3 +0,0 @@
1
- fails:Hash#hash generates a hash for recursive hash structures
2
- fails:Hash#hash returns the same hash for recursive hashes
3
- fails:Hash#hash returns the same hash for recursive hashes through arrays
@@ -1,2 +0,0 @@
1
- fails:Hash#keep_if raises an RuntimeError if called on a frozen instance
2
- fails:Hash#keep_if raises a RuntimeError if called on a frozen instance
@@ -1 +0,0 @@
1
- fails:Hash#rassoc only returns the first matching key-value pair
@@ -1,2 +0,0 @@
1
- fails:Hash#reject! raises a RuntimeError if called on a frozen instance that is modified
2
- fails:Hash#reject! raises a RuntimeError if called on a frozen instance that would not be modified
@@ -1,8 +0,0 @@
1
- fails:Hash#select returns a Hash of entries for which block is true
2
- fails:Hash#select! is equivalent to keep_if if changes are made
3
- fails:Hash#select! returns nil if no changes were made
4
- fails:Hash#select! raises a RuntimeError if called on an empty frozen instance
5
- fails:Hash#select! raises a RuntimeError if called on a frozen instance that would not be modified
6
- fails:Hash#select! returns an Enumerator if called on a non-empty hash without a block
7
- fails:Hash#select! returns an Enumerator if called on an empty hash without a block
8
- fails:Hash#select! returns an Enumerator if called on a frozen instance
@@ -1,2 +0,0 @@
1
- fails:Integer#round raises a RangeError when passed Float::INFINITY
2
- fails:Integer#round raises a RangeError when passed a big negative value
@@ -1,7 +0,0 @@
1
- fails:IO.binread reads the contents of a file
2
- fails:IO.binread reads the contents of a file up to a certain size when specified
3
- fails:IO.binread reads the contents of a file from an offset of a specific size when specified
4
- fails:IO.binread returns a String in ASCII-8BIT encoding
5
- fails:IO.binread returns a String in ASCII-8BIT encoding regardless of Encoding.default_internal
6
- fails:IO.binread raises an ArgumentError when not passed a valid length
7
- fails:IO.binread raises an Errno::EINVAL when not passed a valid offset
@@ -1 +0,0 @@
1
- fails:IO#chars yields each character
@@ -1 +0,0 @@
1
- fails:IO#each_char yields each character
@@ -1 +0,0 @@
1
- fails:IO#lines ignores a given block
@@ -1,24 +0,0 @@
1
- fails:IO.open uses the external encoding specified in the mode argument
2
- fails:IO.open uses the external and the internal encoding specified in the mode argument
3
- fails:IO.open uses the external encoding specified via the :external_encoding option
4
- fails:IO.open uses the internal encoding specified via the :internal_encoding option
5
- fails:IO.open uses the colon-separated encodings specified via the :encoding option
6
- fails:IO.open ingores the :encoding option when the :external_encoding option is present
7
- fails:IO.open ingores the :encoding option when the :internal_encoding option is present
8
- fails:IO.open uses the encoding specified via the :mode option hash
9
- fails:IO.open ignores the :internal_encoding option when the same as the external encoding
10
- fails:IO.open sets internal encoding to nil when passed '-'
11
- fails:IO.open sets binmode from mode string
12
- fails:IO.open does not set binmode without being asked
13
- fails:IO.open sets binmode from :binmode option
14
- fails:IO.open does not set binmode from false :binmode
15
- fails:IO.open raises an error if passed binary/text mode two ways
16
- fails:IO.open sets external encoding to binary with binmode in mode string
17
- fails:IO.open sets external encoding to binary with :binmode option
18
- fails:IO.open does not use binary encoding when mode encoding is specified
19
- fails:IO.open does not use binary encoding when :encoding option is specified
20
- fails:IO.open does not use binary encoding when :external_encoding option is specified
21
- fails:IO.open does not use binary encoding when :internal_encoding option is specified
22
- fails:IO.open coerces mode with #to_int
23
- fails:IO.open coerces options as second argument with #to_hash
24
- fails:IO.open raises ArgumentError if not passed a hash or nil for options
@@ -1,4 +0,0 @@
1
- fails:IO#ungetbyte does nothing when passed nil
2
- fails:IO#ungetbyte puts back each byte in a String argument
3
- fails:IO#ungetbyte calls #to_str to convert the argument
4
- fails:IO#ungetbyte puts back one byte for an Integer argument
@@ -1,5 +0,0 @@
1
- fails:IO.write uses encoding from given options, if provided
2
- fails:IO.write uses an :open_args option
3
- fails:IO.write disregards other options if :open_args is given
4
- fails:IO.write uses the given encoding and returns the number of bytes written
5
- fails:IO.write writes binary data if no encoding is given
@@ -1,6 +0,0 @@
1
- fails:Kernel.__callee__ returns the current method, even when aliased
2
- fails:Kernel.__callee__ returns the original name when aliased method
3
- fails:Kernel.__callee__ returns the caller from blocks too
4
- fails:Kernel.__callee__ returns nil when not called from a method
5
- fails:Kernel.__callee__ returns the caller when sent as a string
6
- fails:Kernel.__callee__ returns the aliased name when aliased method
@@ -1 +0,0 @@
1
- fails:Kernel.__method__ returns the original name when aliased method
@@ -1,2 +0,0 @@
1
- fails:Kernel#define_singleton_method when given an UnboundMethod defines any Child class method from any Parent's class methods
2
- fails:Kernel#define_singleton_method when given an UnboundMethod will raise when attempting to define an object's singleton method from another object's singleton method
@@ -1,2 +0,0 @@
1
- fails:Kernel#public_method returns a method object if we repond_to_missing? method
2
- fails:Kernel#public_method changes the method called for super on a target aliased method
@@ -1,3 +0,0 @@
1
- fails:Kernel#require_relative with a relative path stores the missing path in a LoadError object
2
- fails:Kernel#require_relative with a relative path when file is a symlink loads a path relative to current file
3
- fails:Kernel#require_relative with an absolute path stores the missing path in a LoadError object
@@ -1,6 +0,0 @@
1
- fails:Math.log2 raises an Errno::EDOM if the argument is less than 0
2
- fails:Math.log2 raises an TypeError if the argument cannot be coerced with Float()
3
- fails:Math.log2 raises an TypeError if passed a numerical argument as a string
4
- fails:Math.log2 returns NaN given NaN
5
- fails:Math.log2 raises a TypeError if the argument cannot be coerced with Float()
6
- fails:Math.log2 raises a TypeError if passed a numerical argument as a string
@@ -1,3 +0,0 @@
1
- fails:Math.log raises a TypeError if the argument cannot be coerced with Float()
2
- fails:Math.log raises a TypeError for numerical values passed as string
3
- fails:Math.log returns NaN given NaN
@@ -1 +0,0 @@
1
- fails:Module#alias_method is a private method
@@ -1,2 +0,0 @@
1
- fails:Module#attr_accessor allows creating an attr_accessor on an immediate class
2
- fails:Module#attr_accessor is a private method
@@ -1,2 +0,0 @@
1
- fails:Module#attr_reader allows for adding an attr_reader to an immediate
2
- fails:Module#attr_reader is a private method
@@ -1 +0,0 @@
1
- fails:Module#attr is a private method
@@ -1,2 +0,0 @@
1
- fails:Module#attr_writer allows for adding an attr_writer to an immediate
2
- fails:Module#attr_writer is a private method
@@ -1,2 +0,0 @@
1
- fails:Module#class_exec defines method in the receiver's scope
2
- fails:Module#class_exec raises an LocalJumpError when no block is given
@@ -1 +0,0 @@
1
- fails:Module#define_method is private
@@ -1,2 +0,0 @@
1
- fails:Module#module_exec defines method in the receiver's scope
2
- fails:Module#module_exec raises an LocalJumpError when no block is given
@@ -1 +0,0 @@
1
- fails:Module#remove_method is a private method
@@ -1 +0,0 @@
1
- fails:Module#undef_method is a private method
@@ -1 +0,0 @@
1
- fails:NilClass#dup raises a TypeError
@@ -1,12 +0,0 @@
1
- fails:Numeric#step Numeric#step with [stop, +step] when self, stop or step is a Float is careful about not yielding a value greater than limit
2
- fails:Numeric#step Numeric#step with [stop, -step] when self, stop or step is a Float is careful about not yielding a value smaller than limit
3
- fails:Numeric#step Numeric#step with [stop, +Infinity] yields once if self < stop
4
- fails:Numeric#step Numeric#step with [stop, +Infinity] yields once when stop is Infinity
5
- fails:Numeric#step Numeric#step with [stop, +Infinity] yields once when self equals stop
6
- fails:Numeric#step Numeric#step with [stop, +Infinity] yields once when self and stop are Infinity
7
- fails:Numeric#step Numeric#step with [stop, +Infinity] does not yield when self > stop
8
- fails:Numeric#step Numeric#step with [stop, -infinity] yields once if self > stop
9
- fails:Numeric#step Numeric#step with [stop, -infinity] yields once if stop is -Infinity
10
- fails:Numeric#step Numeric#step with [stop, -infinity] yields once when self equals stop
11
- fails:Numeric#step Numeric#step with [stop, -infinity] yields once when self and stop are Infinity
12
- fails:Numeric#step Numeric#step with [stop, -infinity] does not yield when self > stop
@@ -1,4 +0,0 @@
1
- fails:Proc#curry produces Procs that raise ArgumentError for #binding
2
- fails:Proc#curry produces Procs that return [[:rest]] for #parameters
3
- fails:Proc#curry produces Procs that return nil for #source_location
4
- fails:Proc#curry produces Procs that can be passed as the block for instance_exec
@@ -1,12 +0,0 @@
1
- fails:Range#step with inclusive end and Integer values yields Float values incremented by a Float step
2
- fails:Range#step with inclusive end and Float values returns Float values of 'step * n + begin <= end'
3
- fails:Range#step with inclusive end and Integer, Float values yields Float values incremented by 1 and less than or equal to end when not passed a step
4
- fails:Range#step with inclusive end and Integer, Float values yields Float values incremented by an Integer step
5
- fails:Range#step with inclusive end and Integer, Float values yields Float values incremented by a Float step
6
- fails:Range#step with inclusive end and String values raises a TypeError when passed a Float step
7
- fails:Range#step with exclusive end and Integer values yields Float values incremented by a Float step
8
- fails:Range#step with exclusive end and Float values returns Float values of 'step * n + begin < end'
9
- fails:Range#step with exclusive end and Integer, Float values yields Float values incremented by 1 and less than end when not passed a step
10
- fails:Range#step with exclusive end and Integer, Float values yields Float values incremented by an Integer step
11
- fails:Range#step with exclusive end and Integer, Float values yields an Float and then Float values incremented by a Float step
12
- fails:Range#step with exclusive end and String values raises a TypeError when passed a Float step
@@ -1,6 +0,0 @@
1
- fails:String#getbyte returns an Integer between 0 and 255
2
- fails:String#getbyte regards a multi-byte character as having multiple bytes
3
- fails:String#getbyte mirrors the output of #bytes
4
- fails:String#getbyte interprets bytes relative to the String's encoding
5
- fails:String#getbyte raises an ArgumentError unless given one argument
6
- fails:String#getbyte raises a TypeError unless its argument can be coerced into an Integer
@@ -1 +0,0 @@
1
- fails:String#partition with String sets global vars if regexp used
@@ -1 +0,0 @@
1
- fails:String#prepend raises a RuntimeError when self if frozen
@@ -1 +0,0 @@
1
- fails:String#rpartition with String affects $~
@@ -1,5 +0,0 @@
1
- fails:String#setbyte allows changing bytes in multi-byte characters
2
- fails:String#setbyte can invalidate a String's encoding
3
- fails:String#setbyte sets a byte at an index greater than String size
4
- fails:String#setbyte raises a RuntimeError if self is frozen
5
- fails:String#setbyte raises a TypeError unless the second argument is an Integer
@@ -1 +0,0 @@
1
- fails:String#upto raises a LocalJumpError if other is a string but no block was given
@@ -1,3 +0,0 @@
1
- fails:Symbol#capitalize leaves the first character alone if it is not an alphabetical ASCII character
2
- fails:Symbol#capitalize leaves uppercase Unicode characters as they were
3
- fails:Symbol#capitalize leaves lowercase Unicode characters as they were
@@ -1 +0,0 @@
1
- fails:Symbol#<=> with Symbol compares individual characters based on their ascii value
@@ -1,2 +0,0 @@
1
- fails:Symbol#downcase leaves lowercase Unicode characters as they were
2
- fails:Symbol#downcase leaves uppercase Unicode characters as they were
@@ -1,4 +0,0 @@
1
- fails:Symbol#[] with a Regex slice without a capture index sets $~ to the MatchData if there is a match
2
- fails:Symbol#[] with a Regex slice with a capture index sets $~ to the MatchData if there is a match
3
- fails:Symbol#[] with a Regex slice without a capture index returns an untrusted string if the regexp is untrusted
4
- fails:Symbol#[] with a Regex slice with a capture index returns an untrusted string if the regexp is untrusted
@@ -1 +0,0 @@
1
- fails:Symbol#empty? returns true if self is empty
@@ -1,2 +0,0 @@
1
- fails:Symbol#=~ sets the last match pseudo-variables
2
- fails:Symbol#match sets the last match pseudo-variables
@@ -1,2 +0,0 @@
1
- fails:Symbol#swapcase leaves uppercase Unicode characters as they were
2
- fails:Symbol#swapcase leaves lowercase Unicode characters as they were
@@ -1 +0,0 @@
1
- fails:Symbol#to_proc raises an ArgumentError when calling #call on the Proc without receiver
@@ -1 +0,0 @@
1
- fails:Symbol#upcase leaves lowercase Unicode characters as they were
@@ -1 +0,0 @@
1
- fails:Array#<< raises a RuntimeError on a frozen array
@@ -1,2 +0,0 @@
1
- fails:Array#keep_if on frozen objects with truthy block raises a RuntimeError
2
- fails:Array#keep_if on frozen objects with falsy block raises a RuntimeError
@@ -1,2 +0,0 @@
1
- fails:Array#rotate returns subclass instance for Array subclasses
2
- fails:Array#rotate! raises a RuntimeError on a frozen array
@@ -1,2 +0,0 @@
1
- fails:Array#select! on frozen objects with truthy block raises a RuntimeError
2
- fails:Array#select! on frozen objects with falsy block raises a RuntimeError
@@ -1,3 +0,0 @@
1
- fails:Array#uniq! raises a RuntimeError on a frozen array when the array is modified
2
- fails:Array#uniq! raises a RuntimeError on a frozen array when the array would not be modified
3
- fails:Array#uniq! doesn't yield to the block on a frozen array
@@ -1,3 +0,0 @@
1
- fails:Complex#to_r when the imaginary part is Fixnum 0 returns the result of sending #to_r to the real part
2
- fails:Complex#to_r when the imaginary part is Rational 0 returns the result of sending #to_r to the real part
3
- fails:Complex#to_r when the imaginary part responds to #== 0 with true returns the result of sending #to_r to the real part
@@ -1 +0,0 @@
1
- fails:Enumerable#all? with block gathers initial args as elements when each yields multiple
@@ -1,2 +0,0 @@
1
- fails:Enumerable#any? raises an ArgumentError when any arguments provided
2
- fails:Enumerable#any? with block gathers initial args as elements when each yields multiple
@@ -1 +0,0 @@
1
- fails:Enumerable#collect_concat calls to_ary but not to_a
@@ -1 +0,0 @@
1
- fails:Enumerable#flat_map calls to_ary but not to_a
@@ -1 +0,0 @@
1
- fails:Enumerable#none? with a block gathers initial args as elements when each yields multiple
@@ -1 +0,0 @@
1
- fails:Enumerable#one? when passed a block gathers initial args as elements when each yields multiple
@@ -1,2 +0,0 @@
1
- fails:ENV.to_hash uses the locale encoding for keys
2
- fails:ENV.to_hash uses the locale encoding for values
@@ -1,2 +0,0 @@
1
- fails:File.lchmod returns false from #respond_to?
2
- fails:File.lchmod raises a NotImplementedError when called
@@ -1 +0,0 @@
1
- fails:File.new raises an Errno::EBADF if the first parameter is an invalid file descriptor
@@ -1,5 +0,0 @@
1
- fails:File.open on a FIFO opens it as a normal file
2
- fails:File.open raises a SystemCallError if passed an invalid Integer type
3
- fails:File.open defaults external_encoding to ASCII-8BIT for binary modes
4
- fails:File.open when passed a file descriptor opens a file
5
- fails:File.open when passed a file descriptor opens a file when passed a block
@@ -1,6 +0,0 @@
1
- fails:File.readlink File.readlink with absolute paths return the name of the file referenced by the given link
2
- fails:File.readlink File.readlink with absolute paths returns the name of the file referenced by the given link when the file does not exist
3
- fails:File.readlink File.readlink with absolute paths raises an Errno::ENOENT if there is no such file
4
- fails:File.readlink File.readlink with absolute paths raises an Errno::EINVAL if called with a normal file
5
- fails:File.readlink File.readlink when changing the working directory returns the name of the file referenced by the given link
6
- fails:File.readlink File.readlink when changing the working directory returns the name of the file referenced by the given link when the file does not exist
@@ -1 +0,0 @@
1
- fails:File#to_path preserves the encoding of the path
@@ -1 +0,0 @@
1
- fails:Hash#assoc only returns the first matching key-value pair for identity hashes
@@ -1,3 +0,0 @@
1
- fails:Hash#default_proc= raises an error if passed nil
2
- fails:Hash#default_proc= raises a TypeError if passed a lambda with an arity other than 2
3
- fails:Hash#default_proc= raises a RuntimeError if self is frozen
@@ -1,2 +0,0 @@
1
- fails:Hash#keep_if raises an RuntimeError if called on a frozen instance
2
- fails:Hash#keep_if raises a RuntimeError if called on a frozen instance
@@ -1,3 +0,0 @@
1
- fails:Hash#merge! raises a RuntimeError on a frozen instance that is modified
2
- fails:Hash#merge! checks frozen status before coercing an object with #to_hash
3
- fails:Hash#merge! raises a RuntimeError on a frozen instance that would not be modified
@@ -1 +0,0 @@
1
- fails:Hash#rassoc only returns the first matching key-value pair
@@ -1 +0,0 @@
1
- fails:Hash#select returns a Hash of entries for which block is true
@@ -1 +0,0 @@
1
- fails:Hash#to_h when called on a subclass of Hash copies the default_proc
@@ -1,3 +0,0 @@
1
- fails:Hash#update raises a RuntimeError on a frozen instance that is modified
2
- fails:Hash#update checks frozen status before coercing an object with #to_hash
3
- fails:Hash#update raises a RuntimeError on a frozen instance that would not be modified
@@ -1,2 +0,0 @@
1
- fails:Integer#round raises a RangeError when passed Float::INFINITY
2
- fails:Integer#round raises a RangeError when passed a big negative value
@@ -1,7 +0,0 @@
1
- fails:IO.binread reads the contents of a file
2
- fails:IO.binread reads the contents of a file up to a certain size when specified
3
- fails:IO.binread reads the contents of a file from an offset of a specific size when specified
4
- fails:IO.binread returns a String in ASCII-8BIT encoding
5
- fails:IO.binread returns a String in ASCII-8BIT encoding regardless of Encoding.default_internal
6
- fails:IO.binread raises an ArgumentError when not passed a valid length
7
- fails:IO.binread raises an Errno::EINVAL when not passed a valid offset
@@ -1,32 +0,0 @@
1
- fails:IO.open uses the external encoding specified in the mode argument
2
- fails:IO.open uses the external and the internal encoding specified in the mode argument
3
- fails:IO.open uses the external encoding specified via the :external_encoding option
4
- fails:IO.open uses the internal encoding specified via the :internal_encoding option
5
- fails:IO.open uses the colon-separated encodings specified via the :encoding option
6
- fails:IO.open ingores the :encoding option when the :external_encoding option is present
7
- fails:IO.open ingores the :encoding option when the :internal_encoding option is present
8
- fails:IO.open uses the encoding specified via the :mode option hash
9
- fails:IO.open ignores the :internal_encoding option when the same as the external encoding
10
- fails:IO.open sets internal encoding to nil when passed '-'
11
- fails:IO.open raises an error if passed encodings two ways
12
- fails:IO.open sets binmode from mode string
13
- fails:IO.open does not set binmode without being asked
14
- fails:IO.open sets binmode from :binmode option
15
- fails:IO.open does not set binmode from false :binmode
16
- fails:IO.open sets external encoding to binary with binmode in mode string
17
- fails:IO.open does not use binary encoding when mode encoding is specified
18
- fails:IO.open does not use binary encoding when :encoding option is specified
19
- fails:IO.open does not use binary encoding when :external_encoding option is specified
20
- fails:IO.open does not use binary encoding when :internal_encoding option is specified
21
- fails:IO.open coerces mode with #to_int
22
- fails:IO.open coerces options as second argument with #to_hash
23
- fails:IO.open raises ArgumentError if not passed a hash or nil for options
24
- fails:IO.open sets external encoding to binary with :binmode option
25
- fails:IO.open raises an error if passed binary/text mode two ways
26
- fails:IO.open uses the :encoding option as the external encoding when only one is given
27
- fails:IO.open uses the :encoding options as the external encoding when it's an Encoding object
28
- fails:IO.open coerces :encoding option with #to_str
29
- fails:IO.open coerces :external_encoding option with #to_str
30
- fails:IO.open coerces :internal_encoding option with #to_str
31
- fails:IO.open accepts an :autoclose option
32
- fails:IO.open accepts any truthy option :autoclose
@@ -1,4 +0,0 @@
1
- fails:IO#ungetbyte does nothing when passed nil
2
- fails:IO#ungetbyte puts back each byte in a String argument
3
- fails:IO#ungetbyte calls #to_str to convert the argument
4
- fails:IO#ungetbyte puts back one byte for an Integer argument
@@ -1,5 +0,0 @@
1
- fails:IO.write uses encoding from given options, if provided
2
- fails:IO.write uses an :open_args option
3
- fails:IO.write disregards other options if :open_args is given
4
- fails:IO.write uses the given encoding and returns the number of bytes written
5
- fails:IO.write writes binary data if no encoding is given
@@ -1,6 +0,0 @@
1
- fails:Kernel.__callee__ returns the current method, even when aliased
2
- fails:Kernel.__callee__ returns the original name when aliased method
3
- fails:Kernel.__callee__ returns the caller from blocks too
4
- fails:Kernel.__callee__ returns nil when not called from a method
5
- fails:Kernel.__callee__ returns the caller when sent as a string
6
- fails:Kernel.__callee__ returns the aliased name when aliased method
@@ -1,2 +0,0 @@
1
- fails:Kernel#define_singleton_method when given an UnboundMethod defines any Child class method from any Parent's class methods
2
- fails:Kernel#define_singleton_method when given an UnboundMethod will raise when attempting to define an object's singleton method from another object's singleton method
@@ -1 +0,0 @@
1
- fails:Kernel#public_method returns a method object if we repond_to_missing? method
@@ -1,3 +0,0 @@
1
- fails:Kernel#require_relative with a relative path stores the missing path in a LoadError object
2
- fails:Kernel#require_relative with a relative path when file is a symlink loads a path relative to current file
3
- fails:Kernel#require_relative with an absolute path stores the missing path in a LoadError object
@@ -1,6 +0,0 @@
1
- fails:Math.log2 raises an Errno::EDOM if the argument is less than 0
2
- fails:Math.log2 raises an TypeError if the argument cannot be coerced with Float()
3
- fails:Math.log2 raises an TypeError if passed a numerical argument as a string
4
- fails:Math.log2 returns NaN given NaN
5
- fails:Math.log2 raises a TypeError if the argument cannot be coerced with Float()
6
- fails:Math.log2 raises a TypeError if passed a numerical argument as a string
@@ -1,3 +0,0 @@
1
- fails:Math.log raises a TypeError if the argument cannot be coerced with Float()
2
- fails:Math.log raises a TypeError for numerical values passed as string
3
- fails:Math.log returns NaN given NaN
@@ -1,7 +0,0 @@
1
- fails:Module#alias_method raises RuntimeError if frozen
2
- fails:Module#alias_method is a private method
3
- fails:Module#alias_method aliasing special methods keeps initialize private when aliasing
4
- fails:Module#alias_method aliasing special methods keeps initialize_copy private when aliasing
5
- fails:Module#alias_method aliasing special methods keeps initialize_clone private when aliasing
6
- fails:Module#alias_method aliasing special methods keeps initialize_dup private when aliasing
7
- fails:Module#alias_method aliasing special methods keeps respond_to_missing? private when aliasing
@@ -1,2 +0,0 @@
1
- fails:Module#attr_accessor allows creating an attr_accessor on an immediate class
2
- fails:Module#attr_accessor is a private method
@@ -1,2 +0,0 @@
1
- fails:Module#attr_reader allows for adding an attr_reader to an immediate
2
- fails:Module#attr_reader is a private method
@@ -1,2 +0,0 @@
1
- fails:Module#attr is a private method
2
- fails:Module#attr creates a getter but no setter for all given attribute names
@@ -1,2 +0,0 @@
1
- fails:Module#attr_writer allows for adding an attr_writer to an immediate
2
- fails:Module#attr_writer is a private method
@@ -1 +0,0 @@
1
- fails:Module#define_method is private