./devel/ruby-backports, Backports of Ruby features for older ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.6.8, Package name: ruby200-backports-3.6.8, Maintainer: pkgsrc-users

= 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.


Required to run:
[lang/ruby200-base]

Master sites:

SHA1: 5c9dd0d5552d242ee6bb338a9097e85f0a0a45d5
RMD160: dde35eb52bbcae670eb358ae12d0d6ca8857472d
Filesize: 86 KB

Version history: (Expand)


CVS history: (Expand)


   2016-02-16 15:47:26 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-backports to 3.6.8.

* Rename internal method to avoid strange error in ruby 2.3.
* Update lib/prime.
   2015-11-29 13:36:44 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-backports to 3.6.7.

* Fix pledgie image markup.
* Fix embarassing bug with bsearch for floats.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-13 06:57:44 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-backports to 3.6.6.

* Explicitly set license to MIT in backports.gemspec.
* Fix Bignum#bit_length.
* Fix Bignum#bit_length correctly.
   2015-02-01 14:56:35 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-backports to 3.6.4.

Several bug fixes.
   2014-03-14 16:21:25 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-backports to 3.6.0.

== 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
   2013-09-13 16:02:03 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-backports to 3.3.3.

= 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...)
   2013-02-13 16:19:47 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-backports to 2.8.2.

== 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