backports 3.15.0 → 3.24.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +846 -0
- data/Gemfile +6 -13
- data/README.md +706 -0
- data/SECURITY.md +5 -0
- data/backports.gemspec +6 -2
- data/lib/backports/1.8.7.rb +10 -2
- data/lib/backports/1.9.1.rb +6 -1
- data/lib/backports/1.9.2/stdlib/matrix.rb +5 -0
- data/lib/backports/1.9.2.rb +6 -1
- data/lib/backports/1.9.3.rb +6 -1
- data/lib/backports/2.0.0/range/size.rb +2 -0
- data/lib/backports/2.0.0.rb +7 -2
- data/lib/backports/2.1.0/module/singleton_class.rb +8 -0
- data/lib/backports/2.1.0.rb +2 -2
- data/lib/backports/2.2.0/enumerable/slice_after.rb +1 -1
- data/lib/backports/2.2.0/float/next_float.rb +1 -1
- data/lib/backports/2.2.0/float/prev_float.rb +1 -1
- data/lib/backports/2.2.0/method/super_method.rb +2 -2
- data/lib/backports/2.2.0/string/unicode_normalize.rb +3 -3
- data/lib/backports/2.2.0.rb +2 -2
- data/lib/backports/2.3.0/array/bsearch_index.rb +1 -1
- data/lib/backports/2.3.0/hash/lt.rb +1 -1
- data/lib/backports/2.3.0/hash/lte.rb +1 -1
- data/lib/backports/2.3.0/hash/to_proc.rb +1 -1
- data/lib/backports/2.3.0/queue/close.rb +48 -0
- data/lib/backports/2.3.0/string.rb +3 -0
- data/lib/backports/2.3.0/struct/dig.rb +3 -2
- data/lib/backports/2.3.0.rb +2 -2
- data/lib/backports/2.4.0/bignum/dup.rb +5 -0
- data/lib/backports/2.4.0/bignum.rb +3 -0
- data/lib/backports/2.4.0/enumerable/sum.rb +8 -4
- data/lib/backports/2.4.0/hash/transform_values.rb +2 -2
- data/lib/backports/2.4.0/string/unpack1.rb +7 -0
- data/lib/backports/2.4.0/true_class/dup.rb +0 -1
- data/lib/backports/2.4.0.rb +2 -2
- data/lib/backports/2.5.0/dir/children.rb +4 -0
- data/lib/backports/2.5.0/dir/each_child.rb +7 -0
- data/lib/backports/2.5.0/hash/transform_keys.rb +11 -4
- data/lib/backports/2.5.0/integer/sqrt.rb +2 -2
- data/lib/backports/2.5.0/module/alias_method.rb +0 -1
- data/lib/backports/2.5.0/string/undump.rb +5 -9
- data/lib/backports/2.5.0/struct/new.rb +1 -1
- data/lib/backports/2.5.0.rb +2 -2
- data/lib/backports/2.5.rb +1 -1
- data/lib/backports/2.6.0/array/difference.rb +7 -3
- data/lib/backports/2.6.0/enumerable/chain.rb +6 -1
- data/lib/backports/2.6.0/hash/to_h.rb +1 -1
- data/lib/backports/2.6.0/range/cover.rb +22 -0
- data/lib/backports/2.6.0/range.rb +3 -0
- data/lib/backports/2.6.0.rb +3 -3
- data/lib/backports/2.6.rb +1 -1
- data/lib/backports/2.7.0/array/intersection.rb +7 -0
- data/lib/backports/2.7.0/array.rb +3 -0
- data/lib/backports/2.7.0/comparable/clamp.rb +23 -0
- data/lib/backports/2.7.0/comparable.rb +3 -0
- data/lib/backports/2.7.0/complex/comparison.rb +13 -0
- data/lib/backports/2.7.0/complex.rb +3 -0
- data/lib/backports/2.7.0/enumerable/filter_map.rb +14 -0
- data/lib/backports/2.7.0/enumerable/tally.rb +11 -0
- data/lib/backports/2.7.0/enumerable.rb +3 -0
- data/lib/backports/2.7.0/enumerator/produce.rb +20 -0
- data/lib/backports/2.7.0/enumerator.rb +3 -0
- data/lib/backports/2.7.0/symbol/end_with.rb +9 -0
- data/lib/backports/2.7.0/symbol/start_with.rb +9 -0
- data/lib/backports/2.7.0/symbol.rb +3 -0
- data/lib/backports/2.7.0/time/ceil.rb +10 -0
- data/lib/backports/2.7.0/time/floor.rb +7 -0
- data/lib/backports/2.7.0.rb +3 -0
- data/lib/backports/2.7.rb +1 -0
- data/lib/backports/3.0.0/env/except.rb +10 -0
- data/lib/backports/3.0.0/env.rb +3 -0
- data/lib/backports/3.0.0/hash/except.rb +10 -0
- data/lib/backports/3.0.0/hash/transform_keys.rb +48 -0
- data/lib/backports/3.0.0/hash.rb +3 -0
- data/lib/backports/3.0.0/ractor.rb +19 -0
- data/lib/backports/3.0.0/symbol/name.rb +21 -0
- data/lib/backports/3.0.0/symbol.rb +3 -0
- data/lib/backports/3.0.0.rb +3 -0
- data/lib/backports/3.0.rb +1 -0
- data/lib/backports/3.1.0/array/intersect.rb +16 -0
- data/lib/backports/3.1.0/array.rb +3 -0
- data/lib/backports/3.1.0/class/subclasses.rb +11 -0
- data/lib/backports/3.1.0/enumerable/compact.rb +5 -0
- data/lib/backports/3.1.0/enumerable/tally.rb +18 -0
- data/lib/backports/3.1.0/enumerable.rb +3 -0
- data/lib/backports/3.1.0/file/dirname.rb +16 -0
- data/lib/backports/3.1.0/file.rb +3 -0
- data/lib/backports/3.1.0/integer/try_convert.rb +7 -0
- data/lib/backports/3.1.0/integer.rb +3 -0
- data/lib/backports/3.1.0/match_data/match.rb +5 -0
- data/lib/backports/3.1.0/match_data/match_length.rb +6 -0
- data/lib/backports/3.1.0/match_data.rb +3 -0
- data/lib/backports/3.1.0/struct/keyword_init.rb +5 -0
- data/lib/backports/3.1.0/struct.rb +3 -0
- data/lib/backports/3.1.0.rb +3 -0
- data/lib/backports/3.1.rb +1 -0
- data/lib/backports/3.2.0/class/attached_object.rb +10 -0
- data/lib/backports/3.2.0/class.rb +3 -0
- data/lib/backports/3.2.0/data.rb +144 -0
- data/lib/backports/3.2.0/enumerator/product.rb +64 -0
- data/lib/backports/3.2.0/enumerator.rb +3 -0
- data/lib/backports/3.2.0/hash/shift.rb +10 -0
- data/lib/backports/3.2.0/hash.rb +3 -0
- data/lib/backports/3.2.0/integer/ceildiv.rb +7 -0
- data/lib/backports/3.2.0/integer.rb +3 -0
- data/lib/backports/3.2.0/match_data/byteoffset.rb +12 -0
- data/lib/backports/3.2.0/match_data.rb +3 -0
- data/lib/backports/3.2.0.rb +3 -0
- data/lib/backports/3.2.rb +1 -0
- data/lib/backports/latest.rb +1 -1
- data/lib/backports/ractor/cloner.rb +103 -0
- data/lib/backports/ractor/errors.rb +20 -0
- data/lib/backports/ractor/filtered_queue.rb +205 -0
- data/lib/backports/ractor/queues.rb +66 -0
- data/lib/backports/ractor/ractor.rb +272 -0
- data/lib/backports/ractor/sharing.rb +97 -0
- data/lib/backports/rails/array.rb +4 -0
- data/lib/backports/rails/enumerable.rb +4 -0
- data/lib/backports/rails/hash.rb +4 -0
- data/lib/backports/rails/kernel.rb +4 -0
- data/lib/backports/rails/module.rb +4 -0
- data/lib/backports/rails/string.rb +4 -0
- data/lib/backports/std_lib.rb +3 -0
- data/lib/backports/tools/deprecation.rb +19 -0
- data/lib/backports/tools/require_relative_dir.rb +6 -1
- data/lib/backports/version.rb +1 -1
- data/lib/backports.rb +6 -0
- metadata +81 -488
- data/.document +0 -6
- data/.gitignore +0 -9
- data/.gitmodules +0 -6
- data/.irbrc +0 -3
- data/.travis.yml +0 -20
- data/CHANGELOG.rdoc +0 -479
- data/README.rdoc +0 -422
- data/Rakefile +0 -189
- data/default.mspec +0 -14
- data/frozen_old_spec/tags/1.8.6/core/argf/each_line_spec.rb +0 -6
- data/frozen_old_spec/tags/1.8.6/core/argf/each_spec.rb +0 -6
- data/frozen_old_spec/tags/1.8.6/core/argf/lines_spec.rb +0 -6
- data/frozen_old_spec/tags/1.8.6/core/array/append_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/array/collect_spec.rb +0 -7
- data/frozen_old_spec/tags/1.8.6/core/array/rotate_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/array/uniq_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.6/core/complex/to_r_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.6/core/enumerable/all_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/enumerable/any_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/enumerable/each_entry_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/enumerable/none_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/enumerable/one_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/enumerator/next_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/env/to_h_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/file/join_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.6/core/file/lchmod_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/file/new_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/file/open_spec.rb +0 -13
- data/frozen_old_spec/tags/1.8.6/core/file/to_path_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/fixnum/fdiv_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/gc/stress_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/hash/assoc_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/hash/constructor_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.6/core/hash/default_proc_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.6/core/hash/delete_if_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/hash/each_pair_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/hash/eql_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.6/core/hash/hash_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.6/core/hash/keep_if_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/hash/rassoc_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/hash/reject_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/hash/select_spec.rb +0 -8
- data/frozen_old_spec/tags/1.8.6/core/integer/round_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/io/binread_spec.rb +0 -7
- data/frozen_old_spec/tags/1.8.6/core/io/chars_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/io/each_char_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/io/lines_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/io/open_spec.rb +0 -24
- data/frozen_old_spec/tags/1.8.6/core/io/ungetbyte_spec.rb +0 -4
- data/frozen_old_spec/tags/1.8.6/core/io/write_spec.rb +0 -5
- data/frozen_old_spec/tags/1.8.6/core/kernel/__callee___spec.rb +0 -6
- data/frozen_old_spec/tags/1.8.6/core/kernel/__method___spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/kernel/define_singleton_method_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/kernel/public_method_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/kernel/require_relative_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.6/core/math/log2_spec.rb +0 -6
- data/frozen_old_spec/tags/1.8.6/core/math/log_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.6/core/module/alias_method_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/module/attr_accessor_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/module/attr_reader_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/module/attr_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/module/attr_writer_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/module/class_exec_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/module/define_method_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/module/module_exec_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/module/remove_method_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/module/undef_method_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/nil/dup_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/numeric/step_spec.rb +0 -12
- data/frozen_old_spec/tags/1.8.6/core/proc/curry_spec.rb +0 -4
- data/frozen_old_spec/tags/1.8.6/core/range/step_spec.rb +0 -12
- data/frozen_old_spec/tags/1.8.6/core/string/getbyte_spec.rb +0 -6
- data/frozen_old_spec/tags/1.8.6/core/string/partition_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/string/prepend_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/string/rpartition_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/string/setbyte_spec.rb +0 -5
- data/frozen_old_spec/tags/1.8.6/core/string/upto_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/symbol/capitalize_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.6/core/symbol/comparison_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/symbol/downcase_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/symbol/element_reference_spec.rb +0 -4
- data/frozen_old_spec/tags/1.8.6/core/symbol/empty_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/symbol/match_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/symbol/swapcase_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.6/core/symbol/to_proc_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.6/core/symbol/upcase_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/array/append_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/array/keep_if_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/array/rotate_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/array/select_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/array/uniq_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/complex/to_r_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/enumerable/all_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/enumerable/any_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/enumerable/collect_concat_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/enumerable/flat_map_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/enumerable/none_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/enumerable/one_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/env/to_h_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/file/lchmod_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/file/new_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/file/open_spec.rb +0 -5
- data/frozen_old_spec/tags/1.8.7/core/file/readlink_spec.rb +0 -6
- data/frozen_old_spec/tags/1.8.7/core/file/to_path_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/hash/assoc_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/hash/default_proc_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/hash/keep_if_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/hash/merge_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/hash/rassoc_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/hash/select_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/hash/to_h_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/hash/update_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/integer/round_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/io/binread_spec.rb +0 -7
- data/frozen_old_spec/tags/1.8.7/core/io/open_spec.rb +0 -32
- data/frozen_old_spec/tags/1.8.7/core/io/ungetbyte_spec.rb +0 -4
- data/frozen_old_spec/tags/1.8.7/core/io/write_spec.rb +0 -5
- data/frozen_old_spec/tags/1.8.7/core/kernel/__callee___spec.rb +0 -6
- data/frozen_old_spec/tags/1.8.7/core/kernel/define_singleton_method_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/kernel/public_method_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/kernel/require_relative_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/math/log2_spec.rb +0 -6
- data/frozen_old_spec/tags/1.8.7/core/math/log_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/module/alias_method_spec.rb +0 -7
- data/frozen_old_spec/tags/1.8.7/core/module/attr_accessor_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/module/attr_reader_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/module/attr_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/module/attr_writer_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/module/define_method_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/module/include_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/module/remove_method_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/module/undef_method_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/nil/dup_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/proc/curry_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/proc/yield_spec.rb +0 -4
- data/frozen_old_spec/tags/1.8.7/core/range/size_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/string/getbyte_spec.rb +0 -5
- data/frozen_old_spec/tags/1.8.7/core/string/prepend_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/string/setbyte_spec.rb +0 -5
- data/frozen_old_spec/tags/1.8.7/core/struct/new_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/symbol/capitalize_spec.rb +0 -3
- data/frozen_old_spec/tags/1.8.7/core/symbol/comparison_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/symbol/downcase_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/symbol/element_reference_spec.rb +0 -4
- data/frozen_old_spec/tags/1.8.7/core/symbol/empty_spec.rb +0 -1
- data/frozen_old_spec/tags/1.8.7/core/symbol/match_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/symbol/swapcase_spec.rb +0 -2
- data/frozen_old_spec/tags/1.8.7/core/symbol/upcase_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.1/core/array/append_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.1/core/array/rotate_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.1/core/enumerable/all_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.1/core/enumerable/any_spec.rb +0 -2
- data/frozen_old_spec/tags/1.9.1/core/enumerable/none_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.1/core/enumerable/one_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.1/core/env/to_h_spec.rb +0 -2
- data/frozen_old_spec/tags/1.9.1/core/hash/default_proc_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.1/core/io/write_spec.rb +0 -2
- data/frozen_old_spec/tags/1.9.1/core/module/alias_method_spec.rb +0 -4
- data/frozen_old_spec/tags/1.9.1/core/module/attr_accessor_spec.rb +0 -2
- data/frozen_old_spec/tags/1.9.1/core/module/attr_reader_spec.rb +0 -2
- data/frozen_old_spec/tags/1.9.1/core/module/attr_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.1/core/module/attr_writer_spec.rb +0 -2
- data/frozen_old_spec/tags/1.9.1/core/module/define_method_spec.rb +0 -3
- data/frozen_old_spec/tags/1.9.1/core/module/remove_method_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.1/core/module/undef_method_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.1/core/nil/dup_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.2/core/array/append_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.2/core/enumerable/all_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.2/core/enumerable/any_spec.rb +0 -2
- data/frozen_old_spec/tags/1.9.2/core/enumerable/none_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.2/core/enumerable/one_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.2/core/io/write_spec.rb +0 -3
- data/frozen_old_spec/tags/1.9.2/core/module/alias_method_spec.rb +0 -4
- data/frozen_old_spec/tags/1.9.2/core/module/attr_accessor_spec.rb +0 -2
- data/frozen_old_spec/tags/1.9.2/core/module/attr_reader_spec.rb +0 -2
- data/frozen_old_spec/tags/1.9.2/core/module/attr_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.2/core/module/attr_writer_spec.rb +0 -2
- data/frozen_old_spec/tags/1.9.2/core/module/define_method_spec.rb +0 -3
- data/frozen_old_spec/tags/1.9.2/core/module/remove_method_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.2/core/module/undef_method_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.2/core/nil/dup_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.3/core/enumerable/any_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.3/core/module/alias_method_spec.rb +0 -4
- data/frozen_old_spec/tags/1.9.3/core/module/attr_accessor_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.3/core/module/attr_reader_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.3/core/module/attr_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.3/core/module/attr_writer_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.3/core/module/define_method_spec.rb +0 -3
- data/frozen_old_spec/tags/1.9.3/core/module/remove_method_spec.rb +0 -1
- data/frozen_old_spec/tags/1.9.3/core/module/undef_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.0.0/core/enumerable/any_spec.rb +0 -1
- data/frozen_old_spec/tags/2.0.0/core/module/alias_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.0.0/core/module/attr_accessor_spec.rb +0 -2
- data/frozen_old_spec/tags/2.0.0/core/module/attr_reader_spec.rb +0 -2
- data/frozen_old_spec/tags/2.0.0/core/module/attr_spec.rb +0 -1
- data/frozen_old_spec/tags/2.0.0/core/module/attr_writer_spec.rb +0 -2
- data/frozen_old_spec/tags/2.0.0/core/module/define_method_spec.rb +0 -2
- data/frozen_old_spec/tags/2.0.0/core/module/remove_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.0.0/core/module/undef_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.0.0/core/nil/dup_spec.rb +0 -1
- data/frozen_old_spec/tags/2.0.0/core/struct/new_spec.rb +0 -1
- data/frozen_old_spec/tags/2.1.0/core/enumerable/any_spec.rb +0 -1
- data/frozen_old_spec/tags/2.1.0/core/module/alias_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.1.0/core/module/attr_accessor_spec.rb +0 -2
- data/frozen_old_spec/tags/2.1.0/core/module/attr_reader_spec.rb +0 -2
- data/frozen_old_spec/tags/2.1.0/core/module/attr_spec.rb +0 -1
- data/frozen_old_spec/tags/2.1.0/core/module/attr_writer_spec.rb +0 -2
- data/frozen_old_spec/tags/2.1.0/core/module/define_method_spec.rb +0 -2
- data/frozen_old_spec/tags/2.1.0/core/module/remove_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.1.0/core/module/undef_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.1.0/core/nil/dup_spec.rb +0 -1
- data/frozen_old_spec/tags/2.1.0/core/struct/new_spec.rb +0 -1
- data/frozen_old_spec/tags/2.2.0/core/enumerable/any_spec.rb +0 -1
- data/frozen_old_spec/tags/2.2.0/core/module/alias_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.2.0/core/module/attr_accessor_spec.rb +0 -2
- data/frozen_old_spec/tags/2.2.0/core/module/attr_reader_spec.rb +0 -2
- data/frozen_old_spec/tags/2.2.0/core/module/attr_spec.rb +0 -1
- data/frozen_old_spec/tags/2.2.0/core/module/attr_writer_spec.rb +0 -2
- data/frozen_old_spec/tags/2.2.0/core/module/define_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.2.0/core/module/remove_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.2.0/core/module/undef_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.2.0/core/nil/dup_spec.rb +0 -1
- data/frozen_old_spec/tags/2.2.0/core/struct/new_spec.rb +0 -1
- data/frozen_old_spec/tags/2.3.0/core/enumerable/any_spec.rb +0 -1
- data/frozen_old_spec/tags/2.3.0/core/module/alias_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.3.0/core/module/attr_accessor_spec.rb +0 -2
- data/frozen_old_spec/tags/2.3.0/core/module/attr_reader_spec.rb +0 -2
- data/frozen_old_spec/tags/2.3.0/core/module/attr_spec.rb +0 -1
- data/frozen_old_spec/tags/2.3.0/core/module/attr_writer_spec.rb +0 -2
- data/frozen_old_spec/tags/2.3.0/core/module/define_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.3.0/core/module/remove_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.3.0/core/module/undef_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.3.0/core/nil/dup_spec.rb +0 -1
- data/frozen_old_spec/tags/2.3.0/core/struct/new_spec.rb +0 -1
- data/frozen_old_spec/tags/2.3.5/core/struct/new_spec.rb +0 -1
- data/frozen_old_spec/tags/2.4.0/core/enumerable/any_spec.rb +0 -1
- data/frozen_old_spec/tags/2.4.0/core/module/alias_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.4.0/core/module/attr_accessor_spec.rb +0 -2
- data/frozen_old_spec/tags/2.4.0/core/module/attr_reader_spec.rb +0 -2
- data/frozen_old_spec/tags/2.4.0/core/module/attr_spec.rb +0 -1
- data/frozen_old_spec/tags/2.4.0/core/module/attr_writer_spec.rb +0 -2
- data/frozen_old_spec/tags/2.4.0/core/module/define_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.4.0/core/module/remove_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.4.0/core/module/undef_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.4.0/core/nil/dup_spec.rb +0 -1
- data/frozen_old_spec/tags/2.4.0/core/struct/new_spec.rb +0 -1
- data/frozen_old_spec/tags/2.5.0/core/enumerable/any_spec.rb +0 -1
- data/frozen_old_spec/tags/2.5.0/core/module/alias_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.5.0/core/module/attr_accessor_spec.rb +0 -2
- data/frozen_old_spec/tags/2.5.0/core/module/attr_reader_spec.rb +0 -2
- data/frozen_old_spec/tags/2.5.0/core/module/attr_spec.rb +0 -1
- data/frozen_old_spec/tags/2.5.0/core/module/attr_writer_spec.rb +0 -2
- data/frozen_old_spec/tags/2.5.0/core/module/define_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.5.0/core/module/remove_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.5.0/core/module/undef_method_spec.rb +0 -1
- data/frozen_old_spec/tags/2.5.0/core/nil/dup_spec.rb +0 -1
- data/frozen_old_spec/tags/2.5.0/core/struct/new_spec.rb +0 -1
- data/set_version/1.8.7.rb +0 -1
- data/set_version/1.9.1.rb +0 -1
- data/set_version/1.9.2.rb +0 -1
- data/set_version/1.9.3.rb +0 -1
- data/set_version/2.0.0.rb +0 -1
- data/set_version/2.1.0.rb +0 -1
- data/set_version/2.2.0.rb +0 -1
- data/set_version/2.3.0.rb +0 -1
- data/set_version/2.4.0.rb +0 -1
- data/set_version/2.5.0.rb +0 -1
- data/set_version/2.6.0.rb +0 -1
- data/set_version/setter.rb +0 -22
- data/spec/tags/1.8.7/core/array/to_h_spec.rb +0 -3
- data/spec/tags/1.8.7/core/enumerable/to_h_spec.rb +0 -2
- data/spec/tags/1.8.7/core/module/attr_spec.rb +0 -1
- data/spec/tags/1.8.7/core/module/include_spec.rb +0 -1
- data/spec/tags/1.9.1/core/array/bsearch_index_spec.rb +0 -1
- data/spec/tags/1.9.1/core/array/rotate_spec.rb +0 -1
- data/spec/tags/1.9.1/core/dir/each_child_spec.rb +0 -1
- data/spec/tags/1.9.1/core/env/to_h_spec.rb +0 -2
- data/spec/tags/1.9.1/core/hash/default_proc_spec.rb +0 -1
- data/spec/tags/1.9.1/core/hash/slice_spec.rb +0 -1
- data/spec/tags/1.9.1/core/hash/transform_keys_spec.rb +0 -2
- data/spec/tags/1.9.1/core/hash/transform_values_spec.rb +0 -2
- data/spec/tags/1.9.1/core/io/write_spec.rb +0 -3
- data/spec/tags/1.9.1/core/kernel/yield_self_spec.rb +0 -1
- data/spec/tags/1.9.1/core/method/curry_spec.rb +0 -1
- data/spec/tags/1.9.1/core/module/alias_method_spec.rb +0 -3
- data/spec/tags/1.9.1/core/module/attr_accessor_spec.rb +0 -1
- data/spec/tags/1.9.1/core/module/attr_reader_spec.rb +0 -1
- data/spec/tags/1.9.1/core/module/attr_spec.rb +0 -1
- data/spec/tags/1.9.1/core/module/attr_writer_spec.rb +0 -1
- data/spec/tags/1.9.1/core/module/define_method_spec.rb +0 -7
- data/spec/tags/1.9.1/core/string/uplus_spec.rb +0 -1
- data/spec/tags/1.9.1/core/struct/new_spec.rb +0 -2
- data/spec/tags/1.9.2/core/array/bsearch_index_spec.rb +0 -1
- data/spec/tags/1.9.2/core/array/to_h_spec.rb +0 -3
- data/spec/tags/1.9.2/core/dir/each_child_spec.rb +0 -1
- data/spec/tags/1.9.2/core/enumerable/to_h_spec.rb +0 -2
- data/spec/tags/1.9.2/core/hash/slice_spec.rb +0 -1
- data/spec/tags/1.9.2/core/hash/to_h_spec.rb +0 -3
- data/spec/tags/1.9.2/core/hash/transform_keys_spec.rb +0 -2
- data/spec/tags/1.9.2/core/hash/transform_values_spec.rb +0 -2
- data/spec/tags/1.9.2/core/io/write_spec.rb +0 -3
- data/spec/tags/1.9.2/core/kernel/then_spec.rb +0 -1
- data/spec/tags/1.9.2/core/kernel/yield_self_spec.rb +0 -1
- data/spec/tags/1.9.2/core/method/curry_spec.rb +0 -1
- data/spec/tags/1.9.2/core/module/alias_method_spec.rb +0 -3
- data/spec/tags/1.9.2/core/module/attr_accessor_spec.rb +0 -1
- data/spec/tags/1.9.2/core/module/attr_reader_spec.rb +0 -1
- data/spec/tags/1.9.2/core/module/attr_writer_spec.rb +0 -1
- data/spec/tags/1.9.2/core/module/define_method_spec.rb +0 -7
- data/spec/tags/1.9.2/core/module/include_spec.rb +0 -1
- data/spec/tags/1.9.2/core/string/uplus_spec.rb +0 -1
- data/spec/tags/1.9.2/core/struct/new_spec.rb +0 -2
- data/spec/tags/1.9.3/core/array/bsearch_index_spec.rb +0 -1
- data/spec/tags/1.9.3/core/dir/each_child_spec.rb +0 -1
- data/spec/tags/1.9.3/core/hash/slice_spec.rb +0 -1
- data/spec/tags/1.9.3/core/hash/to_h_spec.rb +0 -3
- data/spec/tags/1.9.3/core/hash/transform_keys_spec.rb +0 -2
- data/spec/tags/1.9.3/core/hash/transform_values_spec.rb +0 -2
- data/spec/tags/1.9.3/core/io/write_spec.rb +0 -3
- data/spec/tags/1.9.3/core/kernel/yield_self_spec.rb +0 -1
- data/spec/tags/1.9.3/core/method/curry_spec.rb +0 -1
- data/spec/tags/1.9.3/core/module/alias_method_spec.rb +0 -3
- data/spec/tags/1.9.3/core/module/attr_accessor_spec.rb +0 -1
- data/spec/tags/1.9.3/core/module/attr_reader_spec.rb +0 -1
- data/spec/tags/1.9.3/core/module/attr_writer_spec.rb +0 -1
- data/spec/tags/1.9.3/core/module/define_method_spec.rb +0 -7
- data/spec/tags/1.9.3/core/module/include_spec.rb +0 -1
- data/spec/tags/1.9.3/core/string/uplus_spec.rb +0 -1
- data/spec/tags/1.9.3/core/struct/new_spec.rb +0 -2
- data/spec/tags/2.0.0/core/array/to_h_spec.rb +0 -3
- data/spec/tags/2.0.0/core/enumerable/to_h_spec.rb +0 -2
- data/spec/tags/2.0.0/core/hash/slice_spec.rb +0 -1
- data/spec/tags/2.0.0/core/hash/to_h_spec.rb +0 -3
- data/spec/tags/2.0.0/core/module/attr_accessor_spec.rb +0 -1
- data/spec/tags/2.0.0/core/module/attr_reader_spec.rb +0 -1
- data/spec/tags/2.0.0/core/module/attr_spec.rb +0 -1
- data/spec/tags/2.0.0/core/module/attr_writer_spec.rb +0 -1
- data/spec/tags/2.0.0/core/module/define_method_spec.rb +0 -4
- data/spec/tags/2.0.0/core/module/include_spec.rb +0 -1
- data/spec/tags/2.0.0/core/string/uplus_spec.rb +0 -1
- data/spec/tags/2.0.0/core/struct/new_spec.rb +0 -1
- data/spec/tags/2.1.0/core/array/union_spec.rb +0 -1
- data/spec/tags/2.1.0/core/hash/slice_spec.rb +0 -1
- data/spec/tags/2.1.0/core/hash/to_h_spec.rb +0 -1
- data/spec/tags/2.1.0/core/module/attr_accessor_spec.rb +0 -1
- data/spec/tags/2.1.0/core/module/attr_reader_spec.rb +0 -1
- data/spec/tags/2.1.0/core/module/attr_spec.rb +0 -1
- data/spec/tags/2.1.0/core/module/attr_writer_spec.rb +0 -1
- data/spec/tags/2.1.0/core/module/define_method_spec.rb +0 -4
- data/spec/tags/2.1.0/core/string/uplus_spec.rb +0 -1
- data/spec/tags/2.1.0/core/struct/new_spec.rb +0 -1
- data/spec/tags/2.2.0/core/hash/slice_spec.rb +0 -1
- data/spec/tags/2.2.0/core/hash/to_h_spec.rb +0 -1
- data/spec/tags/2.2.0/core/module/attr_accessor_spec.rb +0 -1
- data/spec/tags/2.2.0/core/module/attr_reader_spec.rb +0 -1
- data/spec/tags/2.2.0/core/module/attr_spec.rb +0 -1
- data/spec/tags/2.2.0/core/module/attr_writer_spec.rb +0 -1
- data/spec/tags/2.2.0/core/module/define_method_spec.rb +0 -4
- data/spec/tags/2.2.0/core/string/uplus_spec.rb +0 -1
- data/spec/tags/2.2.0/core/struct/new_spec.rb +0 -1
- data/spec/tags/2.3.0/core/hash/slice_spec.rb +0 -1
- data/spec/tags/2.3.0/core/hash/to_h_spec.rb +0 -1
- data/spec/tags/2.3.0/core/module/attr_spec.rb +0 -1
- data/spec/tags/2.3.0/core/string/uplus_spec.rb +0 -1
- data/spec/tags/2.3.0/core/struct/new_spec.rb +0 -1
- data/spec/tags/2.4.0/core/hash/slice_spec.rb +0 -1
- data/spec/tags/2.4.0/core/hash/to_h_spec.rb +0 -1
- data/spec/tags/2.4.0/core/module/attr_spec.rb +0 -1
- data/spec/tags/2.4.0/core/struct/new_spec.rb +0 -1
- data/spec/tags/2.5.0/core/hash/to_h_spec.rb +0 -1
- data/test/README +0 -2
- data/test/_backport_guards_test.rb +0 -148
- data/test/bit_length_test.rb +0 -11
- data/test/lazy_test.rb +0 -487
- data/test/socket_interaction_test.rb +0 -9
- data/test/test_helper.rb +0 -1
data/.document
DELETED
data/.gitignore
DELETED
data/.gitmodules
DELETED
data/.irbrc
DELETED
data/.travis.yml
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- "1.8.7"
|
5
|
-
- "1.9.2"
|
6
|
-
- "2.0.0"
|
7
|
-
- "2.1.0"
|
8
|
-
- "2.2.0"
|
9
|
-
- "2.3.0"
|
10
|
-
- "2.4.0"
|
11
|
-
- "2.5.0"
|
12
|
-
- "2.6.0"
|
13
|
-
- ruby-head
|
14
|
-
|
15
|
-
# matrix:
|
16
|
-
# allow_failures:
|
17
|
-
# - rvm: "2.2.0" # Travis suddenly fails to `bundle install`, no idea why
|
18
|
-
|
19
|
-
before_install:
|
20
|
-
- git submodule update --init --recursive
|
data/CHANGELOG.rdoc
DELETED
@@ -1,479 +0,0 @@
|
|
1
|
-
= Backports --- History
|
2
|
-
|
3
|
-
== Version 3.15.0 - May 15th, 2019
|
4
|
-
|
5
|
-
* Proc / Method
|
6
|
-
* +<<+, +>>+
|
7
|
-
|
8
|
-
== Version 3.14.0 - April 29th, 2019
|
9
|
-
|
10
|
-
* Hash
|
11
|
-
* +to_h+ (with block)
|
12
|
-
|
13
|
-
== Version 3.13.0 - April 5th, 2019
|
14
|
-
|
15
|
-
* Hash
|
16
|
-
* +merge+, +merge!+/+update+ (with multiple arguments)
|
17
|
-
|
18
|
-
== Version 3.12.0 - February 20th, 2019
|
19
|
-
|
20
|
-
* New Ruby version 2.6.0
|
21
|
-
* Array
|
22
|
-
* +difference+, +union+
|
23
|
-
* +to_h+ (with block)
|
24
|
-
* Enumerable
|
25
|
-
* +chain+
|
26
|
-
* +to_h+ (with block)
|
27
|
-
* Enumerator::Chain (use Enumerable#chain)
|
28
|
-
* Kernel
|
29
|
-
* +then+
|
30
|
-
|
31
|
-
* Additional backports for 2.5.0:
|
32
|
-
* String
|
33
|
-
* +undump+
|
34
|
-
|
35
|
-
== Version 3.11.0 - December 25th, 2017
|
36
|
-
|
37
|
-
* New Ruby version 2.5.0
|
38
|
-
* Array
|
39
|
-
* +append+, +prepend+
|
40
|
-
* Dir
|
41
|
-
* +children+, +each_child+
|
42
|
-
* Enumerable
|
43
|
-
* +any?+, +all?+, +none?+, +one?+ (with pattern argument)
|
44
|
-
* Hash
|
45
|
-
* +slice+
|
46
|
-
* +transform_keys+
|
47
|
-
* Integer
|
48
|
-
* +sqrt+
|
49
|
-
* +allbits?+, +anybits?+ and +nobits?+
|
50
|
-
* Kernel
|
51
|
-
* +yield_self+
|
52
|
-
* Module
|
53
|
-
* +attr+, +attr_accessor+, +attr_reader+, +attr_writer+ (now public)
|
54
|
-
* +define_method+, +alias_method+, +undef_method+, +remove_method+ (now public)
|
55
|
-
* String
|
56
|
-
* +delete_prefix+, +delete_prefix!+
|
57
|
-
* +delete_suffix+, +delete_suffix!+
|
58
|
-
* Struct
|
59
|
-
* +new+ (with <code>keyword_init: true</code>)
|
60
|
-
* <tt>require 'backports/latest'</tt> is now the way to require everything, but is discouraged
|
61
|
-
|
62
|
-
== Version 3.10.0 - October 17, 2017
|
63
|
-
|
64
|
-
* Additional features of 2.4.0
|
65
|
-
* Enumerable
|
66
|
-
* +uniq+
|
67
|
-
* +sum+
|
68
|
-
* Hash
|
69
|
-
* +compact+
|
70
|
-
* +transform_values+
|
71
|
-
|
72
|
-
== Version 3.9.0 - October 07, 2017
|
73
|
-
|
74
|
-
* From 2.4.0: +dup+ for +true+, +false+, +nil+, Numeric
|
75
|
-
* From 2.2.0: <tt>Method#super_method</tt>
|
76
|
-
|
77
|
-
== Version 3.8.0 - April 26, 2017
|
78
|
-
|
79
|
-
* From 2.4.0: <tt>String#match?</tt>, <tt>Regexp#match?</tt>
|
80
|
-
* From 2.3.0:
|
81
|
-
* unary <tt>String#+</tt>, +-+
|
82
|
-
* Numeric: +positive?+, +negative?+
|
83
|
-
* Hash: +to_proc+, +fetch_values+, <tt>></tt>, <tt><</tt>, <tt>>=</tt>, <tt><=</tt>
|
84
|
-
* Enumerable: +chunk_while+, +grep_v+
|
85
|
-
* <tt>{Array|Hash|Struct}#dig</tt>
|
86
|
-
* <tt>Array#bsearch_index</tt>
|
87
|
-
* From 2.2.0:
|
88
|
-
* <tt>Method#curry</tt>
|
89
|
-
* <tt>String#unicode_normalize{|?|!}</tt>
|
90
|
-
* <tt>Kernel#itself</tt>
|
91
|
-
* Float: +next_float+, +prev_float+
|
92
|
-
|
93
|
-
== Version 3.7.0 - March 28, 2017
|
94
|
-
|
95
|
-
* Initiate work on backports of 2.2, 2.3, 2.4
|
96
|
-
* From 2.4.0:
|
97
|
-
* <tt>Comparable#clamp</tt>
|
98
|
-
* From 2.2.0:
|
99
|
-
* Enumerable: +slice_when+, +slice_after+
|
100
|
-
|
101
|
-
== Version 3.6.0 - February 14th, 2014
|
102
|
-
|
103
|
-
* Additional features of 2.1.0
|
104
|
-
* Bignum#bit_length
|
105
|
-
* Fixnum#bit_length
|
106
|
-
* Module#include (now public)
|
107
|
-
|
108
|
-
== Version 3.5.0 - February 3rd, 2014
|
109
|
-
|
110
|
-
* Additional features of 2.0.0
|
111
|
-
* Range#size
|
112
|
-
|
113
|
-
== Version 3.4.0 - December 29th, 2013
|
114
|
-
|
115
|
-
* Additional features of 2.1.0
|
116
|
-
* Array#to_h, Enumerable#to_h
|
117
|
-
|
118
|
-
== Version 3.3.0 - April 3rd, 2013
|
119
|
-
|
120
|
-
* Moved `Proc#yield` & `Hash#key` from 1.8.7 to 1.9.1
|
121
|
-
|
122
|
-
== Version 3.2.0 - April 2nd, 2013
|
123
|
-
|
124
|
-
* Moved `Dir.mktmpdir` to the stdlib 'tmpdir' for Ruby 1.8.7
|
125
|
-
|
126
|
-
* Removed `returning` as it is no longer part of Rails.
|
127
|
-
|
128
|
-
== Version 3.1.0 - March 5th, 2013
|
129
|
-
|
130
|
-
* Backports can now be loaded separately!
|
131
|
-
|
132
|
-
* Small tweaks and fixes for many methods to pass more RubySpecs
|
133
|
-
|
134
|
-
== Version 3.0.0 - February 24th, 2013
|
135
|
-
|
136
|
-
* Features of 2.0.0 are now required when requiring 'backports'.
|
137
|
-
|
138
|
-
* Additional features of 2.0.0
|
139
|
-
* Struct#to_h, NilClass#to_h, Hash#to_h
|
140
|
-
* Hash#default_proc = nil
|
141
|
-
* OpenStruct lib
|
142
|
-
|
143
|
-
* 1.8.7's Enumerator#with_index (it wasn't in the 1.8.7 NEWS file...)
|
144
|
-
|
145
|
-
== Version 2.8.0 - February 3rd, 2013
|
146
|
-
|
147
|
-
* Added some features of 2.0.0 (must be required explicitly until official release):
|
148
|
-
* Array#bsearch
|
149
|
-
* Range#bsearch
|
150
|
-
|
151
|
-
== Version 2.7.0 - January 14th, 2013
|
152
|
-
|
153
|
-
* Added some features of 2.0.0 (must be required explicitly until official release):
|
154
|
-
* Enumerable#lazy
|
155
|
-
* Enumerator::Lazy
|
156
|
-
|
157
|
-
== Version 2.6.0 - May 29th, 2012
|
158
|
-
|
159
|
-
* Removed Enumerable#join
|
160
|
-
|
161
|
-
== Version 2.5.0 - March 25th, 2012
|
162
|
-
|
163
|
-
* Added some features of 1.9.3:
|
164
|
-
* IO::NULL
|
165
|
-
* IO#advise
|
166
|
-
* String#byteslice
|
167
|
-
* String#prepend
|
168
|
-
|
169
|
-
== Version 2.4.0 - March 24th, 2012
|
170
|
-
|
171
|
-
* Add backporting for libraries
|
172
|
-
|
173
|
-
* Bring libraries up to date:
|
174
|
-
* Matrix
|
175
|
-
* Prime
|
176
|
-
* Set
|
177
|
-
|
178
|
-
* Added some features of 1.9.3:
|
179
|
-
* IO.write, IO.binwrite
|
180
|
-
|
181
|
-
* Add forcing backports (must be required explicitly):
|
182
|
-
* Hash#select (returns a Hash instead of an Array)
|
183
|
-
* Enumerable / Array#map (returns an enumerator when called without a block)
|
184
|
-
* String#length, size (for UTF-8 support)
|
185
|
-
|
186
|
-
== Version 2.3.0 - May 13th, 2011
|
187
|
-
|
188
|
-
* Added Enumerator::Yielder#<<
|
189
|
-
|
190
|
-
== Version 2.2.0 - May 13th, 2011
|
191
|
-
|
192
|
-
* Ruby 1.8.8 was officially cancelled; code was moved to Ruby 1.9.1 and README updated.
|
193
|
-
|
194
|
-
* <tt>"".ord</tt> now raises an error.
|
195
|
-
|
196
|
-
== Version 2.1.0 - April 16th, 2011
|
197
|
-
|
198
|
-
* Proc#curry, #lambda (thanks Konstantine Haase)
|
199
|
-
|
200
|
-
== Version 2.0.0 - December 5th, 2010
|
201
|
-
|
202
|
-
Change of major version because of two small changes that are not quite compatible and because the minor version was getting quite high!
|
203
|
-
|
204
|
-
* Remove attempt at faking the new method missing. Unless you used `respond_to_missing` *and* `method(:some_method_handled_with_method_missing)`, you won't see a difference, except better performance (see issue #32) and this fixes some errors (see issue #34)
|
205
|
-
|
206
|
-
* Change behavior of array.flatten(0) to match Ruby 1.9 (i.e. return a dup of array, instead of array itself)
|
207
|
-
|
208
|
-
== Version 1.18.0 - June 19th, 2010
|
209
|
-
|
210
|
-
* Added some features of 1.9.1:
|
211
|
-
|
212
|
-
* Math#log2, Math#log with base
|
213
|
-
|
214
|
-
* Also fixed Enumerator#each in 1.8.6.
|
215
|
-
|
216
|
-
== Version 1.17.0 - May 17th, 2010
|
217
|
-
|
218
|
-
* Added some features of 1.9.2:
|
219
|
-
|
220
|
-
* Array#repeated_combination, #repeated_permutation
|
221
|
-
|
222
|
-
== Version 1.16.2 - April 11th, 2010
|
223
|
-
|
224
|
-
* Added some features of 1.9.2:
|
225
|
-
|
226
|
-
* Array#uniq, #uniq! (with block)
|
227
|
-
* Array#product (with block)
|
228
|
-
* Dir.home
|
229
|
-
* Hash#keep_if, select!
|
230
|
-
* Random (new class)
|
231
|
-
|
232
|
-
== Version 1.15.0 - March 23rd, 2010
|
233
|
-
|
234
|
-
* Added a features of 1.9.2:
|
235
|
-
|
236
|
-
* Object#singleton_class
|
237
|
-
|
238
|
-
== Version 1.14.0 - March 3rd, 2010
|
239
|
-
|
240
|
-
* Added some features of 1.9.2:
|
241
|
-
|
242
|
-
* Array#rotate, rotate!
|
243
|
-
* Array#keep_if, select!
|
244
|
-
* Array#sort_by!
|
245
|
-
* Enumerable#join
|
246
|
-
* Enumerable#slice_before
|
247
|
-
* Float::INFINITY, NAN
|
248
|
-
* MatchData#==
|
249
|
-
|
250
|
-
== Version 1.13.0 - January 20th, 2010
|
251
|
-
|
252
|
-
* Missing for 1.8.7 were
|
253
|
-
* Array#permutation
|
254
|
-
* Hash#hash (was only inherited)
|
255
|
-
* Hash#eql? (was only inherited)
|
256
|
-
|
257
|
-
== Version 1.12.0 - December 4th, 2009
|
258
|
-
|
259
|
-
* Finer grain includes (see README)
|
260
|
-
require "backports/1.9" # requires all ruby backports
|
261
|
-
require "backports/1.9.1" # requires all ruby backports up to 1.9.1 (but not 1.9.2)
|
262
|
-
|
263
|
-
* Backported all builtin methods of 1.8.8 (most of which where moved from the 1.9 backports)
|
264
|
-
|
265
|
-
* Refreshed README
|
266
|
-
|
267
|
-
== Version 1.11.0 - November 4th, 2009
|
268
|
-
|
269
|
-
* Added Enumerable#flat_map / collect_concat (Ruby 1.9)
|
270
|
-
|
271
|
-
* Added Object#public_send (Ruby 1.9)
|
272
|
-
|
273
|
-
* Added Object#public_method (Ruby 1.9)
|
274
|
-
|
275
|
-
* bug fixes
|
276
|
-
|
277
|
-
== Version 1.10.0 - September 29th, 2009
|
278
|
-
|
279
|
-
* Added Enumerable#chunk (Ruby 1.9)
|
280
|
-
|
281
|
-
* Added Kernel#respond_to_missing? (Ruby 1.9)
|
282
|
-
|
283
|
-
* Completed Process.exec (Ruby 1.8.7)
|
284
|
-
|
285
|
-
== Version 1.9.0 - September 4th, 2009
|
286
|
-
|
287
|
-
* In Ruby 1.9, most class methods of File accept filenames as String, or convertible via #to_str or #to_path.
|
288
|
-
File#to_path is also an alias to File#path. These have been backported.
|
289
|
-
|
290
|
-
* File.binread (actually IO.binread)
|
291
|
-
|
292
|
-
* BasicObject available via "require 'backports/basic_object"
|
293
|
-
|
294
|
-
== Version 1.8.4 - September 3rd, 2009
|
295
|
-
|
296
|
-
Added Dir.mktmpdir for older version of 1.8.6
|
297
|
-
|
298
|
-
== Version 1.8.1 - September 1st, 2009
|
299
|
-
|
300
|
-
Added the alias String#lines (Ruby 1.8.7)
|
301
|
-
|
302
|
-
== Version 1.8 - August 30, 2009
|
303
|
-
|
304
|
-
Backports can be required selectively:
|
305
|
-
* backports/1.8.7
|
306
|
-
* backports/1.9 (which include 1.8.7)
|
307
|
-
* rails
|
308
|
-
|
309
|
-
== Version 1.8 - August 30, 2009
|
310
|
-
|
311
|
-
Backports can be required selectively:
|
312
|
-
* backports/1.8.7
|
313
|
-
* backports/1.9 (which include 1.8.7)
|
314
|
-
* rails
|
315
|
-
|
316
|
-
== Version 1.7.1 - August 20, 2009
|
317
|
-
|
318
|
-
Enumerable#take and Enumerable#first(n) are now returning as soon as possible. Previously, #each was yielding one element too many. See redmine issue #1554.
|
319
|
-
|
320
|
-
== Version 1.7 - May 27, 2009
|
321
|
-
|
322
|
-
Porting all 1.8.7 features to rubinius was quite enlightening (http://blog.marc-andre.ca/2009/05/schizo-ruby-puzzle.html ).
|
323
|
-
Many improvements were made to be consistent with MRI, e.g. converting arguments using to_int if needed, etc...
|
324
|
-
The changes are now reflected in 'backports'.
|
325
|
-
|
326
|
-
Some IO and ARGF methods were missing and are now complete.
|
327
|
-
|
328
|
-
== Version 1.6.6 - April 30, 2009
|
329
|
-
|
330
|
-
Important bug fix. String#gsub is left alone until I find a good way to modify it.
|
331
|
-
|
332
|
-
== Version 1.6 - April 29, 2009
|
333
|
-
|
334
|
-
Completed backport to 1.8.7.
|
335
|
-
|
336
|
-
* Array
|
337
|
-
* <tt>extract_options!</tt>
|
338
|
-
|
339
|
-
* Binding
|
340
|
-
* +eval+
|
341
|
-
|
342
|
-
* Dir
|
343
|
-
* +each+, +foreach+
|
344
|
-
|
345
|
-
* Enumerator
|
346
|
-
* +new+
|
347
|
-
* +with_object+
|
348
|
-
* +next+, +rewind+
|
349
|
-
|
350
|
-
* Hash
|
351
|
-
* Optional block for <tt>delete_if, each, each_key, each_pair, each_value, reject!, select</tt> (and ENV)
|
352
|
-
|
353
|
-
* Integer
|
354
|
-
* moved stuff out of Fixnum
|
355
|
-
* Optional block for +downto+, +times+, +upto+
|
356
|
-
|
357
|
-
* IO
|
358
|
-
* Optional block for +each+, +each_line+, +each_byte+, +foreach+ (and ARGF)
|
359
|
-
|
360
|
-
* Kernel
|
361
|
-
* +loop+, +StopIteration+
|
362
|
-
* +__method__+, +__callee__+
|
363
|
-
|
364
|
-
* Method
|
365
|
-
* +name+, +owner+, +receiver+
|
366
|
-
|
367
|
-
* Module
|
368
|
-
* +class_exec+, +module_exec+
|
369
|
-
|
370
|
-
* Numeric
|
371
|
-
* +step+
|
372
|
-
|
373
|
-
* Object
|
374
|
-
* +define_singleton_method+
|
375
|
-
* +instance_exec+
|
376
|
-
|
377
|
-
* ObjectSpace
|
378
|
-
* +each_object+
|
379
|
-
|
380
|
-
* Range
|
381
|
-
* Optional block for +each+, +step+
|
382
|
-
|
383
|
-
* Regexp
|
384
|
-
* +union+
|
385
|
-
|
386
|
-
* String
|
387
|
-
* +try_convert+
|
388
|
-
* <tt>ascii_only?</tt>
|
389
|
-
* +bytesize+
|
390
|
-
* +chr+
|
391
|
-
* +clear+
|
392
|
-
* +codepoints+, +each_codepoint+
|
393
|
-
* +stringify_keys+, +stringify_keys!+
|
394
|
-
* +each+, +each_line+, +each_byte+
|
395
|
-
* +gsub+
|
396
|
-
* +upto+
|
397
|
-
|
398
|
-
* Struct
|
399
|
-
* +each+, +each_pair+
|
400
|
-
|
401
|
-
* Symbol
|
402
|
-
* <tt><=></tt>, +casecmp+
|
403
|
-
* +capitalize+, +downcase+, +next+, +succ+, +swapcase+, +upcase+
|
404
|
-
* <tt>=~, [], empty?, length, match, size</tt>
|
405
|
-
|
406
|
-
* UnboundMethod
|
407
|
-
* +name+, +owner+
|
408
|
-
|
409
|
-
== Version 1.5 - April 24, 2009
|
410
|
-
|
411
|
-
* Array (completed)
|
412
|
-
* +combination+
|
413
|
-
* +try_convert+
|
414
|
-
* Optional block for <tt>collect!, :map!, :each, :each_index, :reject, :reject!, :delete_if</tt>
|
415
|
-
* +pop+, +shift+
|
416
|
-
* +product+
|
417
|
-
|
418
|
-
* Fixnum (completed)
|
419
|
-
* +div+, +fdiv+
|
420
|
-
* +succ+
|
421
|
-
* +magnitude+
|
422
|
-
|
423
|
-
* Enumerable (completed)
|
424
|
-
* +each_with_object+
|
425
|
-
* +inject+
|
426
|
-
* +max_by+, +min_by+, +minmax+, +minmax_by+
|
427
|
-
* +reduce+
|
428
|
-
* +to_a+
|
429
|
-
|
430
|
-
== Version 1.4 - April 21, 2009
|
431
|
-
|
432
|
-
* String
|
433
|
-
* +rpartition+
|
434
|
-
|
435
|
-
* Proc
|
436
|
-
* +yield+
|
437
|
-
|
438
|
-
== Version 1.3 - April 17, 2009
|
439
|
-
|
440
|
-
* Enumerable
|
441
|
-
* <tt>none?</tt>
|
442
|
-
|
443
|
-
* Array
|
444
|
-
* +sample+, +shuffle+, +shuffle!+
|
445
|
-
|
446
|
-
* String
|
447
|
-
* +each_char+, +chars+
|
448
|
-
* +partition+
|
449
|
-
|
450
|
-
Tests and fixes for <tt>String#start_with?</tt> and <tt>String#end_with?</tt>
|
451
|
-
|
452
|
-
== Version 1.2 - April 12, 2009
|
453
|
-
|
454
|
-
* Array
|
455
|
-
* +reverse_each+
|
456
|
-
* +cycle+
|
457
|
-
|
458
|
-
* Enumerable
|
459
|
-
* +reverse_each+
|
460
|
-
* +each_slice+, +each_cons+
|
461
|
-
* +count+
|
462
|
-
* +cycle+
|
463
|
-
* +group_by+
|
464
|
-
|
465
|
-
* Hash
|
466
|
-
* <tt>default_proc=</tt>
|
467
|
-
|
468
|
-
== Version 1.1 - April 11, 2009
|
469
|
-
|
470
|
-
* Array
|
471
|
-
* +flatten+, <tt>flatten!</tt>
|
472
|
-
* +find_index+, +index+
|
473
|
-
|
474
|
-
* Hash
|
475
|
-
* +reverse_merge+, <tt>reverse_merge!</tt>
|
476
|
-
|
477
|
-
== Version 1.0 - April 2nd, 2009
|
478
|
-
|
479
|
-
=== Initial release.
|