Age | Commit message (Collapse) | Author | Files | Lines |
|
Several bug fixes.
|
|
== Version 3.6.0 - February 14th, 2014
* Additional features of 2.1.0
* Bignum#bit_length
* Fixnum#bit_length
* Module#include (now public)
== Version 3.5.0 - February 3rd, 2014
* Additional features of 2.0.0
* Range#size
== Version 3.4.0 - December 29th, 2013
* Additional features of 2.1.0
* Array#to_h, Enumerable#to_h
|
|
= Backports --- History
== Version 3.2.0 - April 3rd, 2013
* Moved `Proc#yield` & `Hash#key` from 1.8.7 to 1.9.1
== Version 3.2.0 - April 2nd, 2013
* Moved `Dir.mktmpdir` to the stdlib 'tmpdir' for Ruby 1.8.7
* Removed `returning` as it is no longer part of Rails.
== Version 3.1.0 - March 5th, 2013
* Backports can now be loaded separately!
* Small tweaks and fixes for many methods to pass more RubySpecs
== Version 3.0.0 - February 24th, 2013
* Features of 2.0.0 are now required when requiring 'backports'.
* Additional features of 2.0.0
* Struct#to_h, NilClass#to_h, Hash#to_h
* Hash#default_proc = nil
* OpenStruct lib
* 1.8.7's Enumerator#with_index (it wasn't in the 1.8.7 NEWS file...)
|
|
== Version 2.8.0 - February 3rd, 2013
* Added some features of 2.0.0 (must be required explicitly until official
release):
* Array#bsearch
* Range#bsearch
|
|
= Backports Library
* Yearning to use some of the new cool features in Ruby 2.0.0 while using
1.8.6?
* One of your client is stuck with Ruby 1.8.6 but you want to use a gem using
some features of 1.8.7?
* Can't remember if you can use Array#sample or String#each_char on a friend's
box?
This gem is for you!
The goal of 'backports' is to make it easier to write ruby code that runs
across different versions of Ruby. All you need to bring any version of Ruby
up to today's standards:
require 'backports'
This will bring in all the features of 1.8.7 (for Ruby 1.8.6) and many
features of Ruby 1.9.1 (for Ruby 1.8.x), Ruby 1.9.2 and Ruby 1.9.3 (for all
earlier versions)!
+Note+: Although I am a Ruby committer, this gem is a personal project and is
not endorsed by ruby-core.
|