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