backports 2.7.0 → 2.7.1

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,4 +1,5 @@
1
1
  # require this file to load all the backports up to Ruby 2.0.0
2
2
 
3
+ require File.expand_path(File.dirname(__FILE__) + "/tools")
3
4
  Backports.require_relative "1.9"
4
5
  Backports.require_relative_dir "2.0.0"
@@ -143,7 +143,7 @@ class Enumerator
143
143
  end
144
144
  else
145
145
  Lazy.new(self) do |yielder, *values|
146
- enums = yielder.backports_memo ||= args.map(&:each)
146
+ enums = yielder.backports_memo ||= args.map(&:to_enum)
147
147
  values = values.first unless values.size > 1
148
148
  others = enums.map do |arg|
149
149
  begin
@@ -1,3 +1,3 @@
1
1
  module Backports
2
- VERSION = "2.7.0"
2
+ VERSION = "2.7.1"
3
3
  end
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: 2.7.0
4
+ version: 2.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-18 00:00:00.000000000 Z
12
+ date: 2013-01-21 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Essential backports that enable some of the really nice features of ruby
15
15
  1.8.7, ruby 1.9 and rails from ruby 1.8.6 and earlier.