backports 1.10.1 → 1.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  = Packable --- History
2
2
 
3
- == Version 1.9.1 - September 29th, 2009
3
+ == Version 1.10.0 - September 29th, 2009
4
4
 
5
5
  * Added Enumerable#chunk (Ruby 1.9)
6
6
 
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 10
4
- :patch: 1
4
+ :patch: 2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{backports}
8
- s.version = "1.10.1"
8
+ s.version = "1.10.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marc-Andr\303\251 Lafortune"]
@@ -1,4 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + "/tools")
2
- %w(module kernel array enumerable enumerator string symbol integer numeric fixnum hash proc binding dir io method regexp struct float object_space argf gc env process).each do |lib|
2
+ %w(module kernel array enumerable enumerator string symbol integer numeric fixnum hash proc binding dir io method range regexp struct float object_space argf gc env process).each do |lib|
3
3
  Backports.require_relative "1.8.7/#{lib}"
4
4
  end
@@ -45,10 +45,10 @@ class << ARGF
45
45
  end unless method_defined? :each_char
46
46
 
47
47
  # No official documentation...
48
- alias_method :getbyte, :getc
48
+ alias_method :getbyte, :getc unless method_defined? :getbyte
49
49
 
50
50
  # No official documentation...
51
- alias_method :readbyte, :readchar
51
+ alias_method :readbyte, :readchar unless method_defined? :readbyte
52
52
 
53
53
  # No official documentation...
54
54
  def lines(*args)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backports
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1
4
+ version: 1.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Marc-Andr\xC3\xA9 Lafortune"