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

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


Branch: CURRENT, Version: 3.11.1, Package name: ruby24-backports-3.11.1, 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/ruby24-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: a703d520583dcd8526efb3f12fb7615fe2827d5d
RMD160: 0462fc15dc02e1e11ab8a96332c36b3f480d0e41
Filesize: 154 KB

Version history: (Expand)


CVS history: (Expand)


   2018-02-28 16:39:31 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-backports: update to 3.11.1

Version 3.11.0 - December 25th, 2017

* New Ruby version 2.5.0

	o Array

		- append, prepend

	o Dir

		- children, each_child

	o Enumerable

		- any?, all?, none?, one? (with pattern argument)

	o Hash

		- slice
		- transform_keys

	o Integer

		- sqrt
		- allbits?, anybits? and nobits?

	o Kernel

		- yield_self

	o Module

		- attr, attr_accessor, attr_reader, attr_writer (now public)
		- define_method, alias_method, undef_method, remove_method
		  (now public)

	o String

		- delete_prefix, delete_prefix!
		- delete_suffix, delete_suffix!

	o Struct

		- new (with keyword_init: true)

* require 'backports/latest' is now the right way to require everything

Version 3.10.0 - October 17, 2017

* Additional features of 2.4.0

	o Enumerable

		- uniq
		- sum

	o Hash

		- compact
		- transform_values

Version 3.9.0 - October 07, 2017

* From 2.4.0: dup for true, false, nil, Numeric

* From 2.2.0: Method#super_method

Version 3.8.0 - April 26, 2017

* From 2.4.0: String#match?, Regexp#match?

* From 2.3.0:

	o unary String#+, -
	o Numeric: positive?, negative?
	o Hash: to_proc, fetch_values, >, <, >=, <=
	o Enumerable: chunk_while, grep_v
	o {Array|Hash|Struct}#dig
	o Array#bsearch_index

* From 2.2.0:

	o Method#curry
	o String#unicode_normalize{|?|!}
	o Kernel#itself
	o Float: next_float, prev_float

Version 3.7.0 - March 28, 2017

* Initiate work on backports of 2.2, 2.3, 2.4

* From 2.4.0:

	o Comparable#clamp

* From 2.2.0:

	o Enumerable: slice_when, slice_after
   2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229)
Log message:
Switch github HOMEPAGEs to https.
   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