backports 1.11.1 → 1.11.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.
@@ -69,6 +69,7 @@ Additionally, the following Ruby 1.9 have been backported:
69
69
 
70
70
  * Enumerator
71
71
  * +new+ (with block)
72
+ * +flat_map+, +collect_concat+
72
73
 
73
74
  * File
74
75
  * +binread+
@@ -84,7 +85,6 @@ Additionally, the following Ruby 1.9 have been backported:
84
85
 
85
86
  * Object
86
87
  * +define_singleton_method+
87
- * +flat_map+, +collect_concat+
88
88
  * +public_method+
89
89
  * +public_send+
90
90
  * <tt>respond_to_missing?</tt>
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 11
4
- :patch: 1
4
+ :patch: 2
5
5
  :build:
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{backports}
8
- s.version = "1.11.1"
8
+ s.version = "1.11.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"]
12
- s.date = %q{2009-11-13}
12
+ s.date = %q{2009-12-01}
13
13
  s.description = %q{ Essential backports that enable some of the really nice features of ruby 1.8.7, ruby 1.9 and rails from ruby 1.8.6 and earlier.
14
14
  }
15
15
  s.email = %q{github@marc-andre.ca}
@@ -12,7 +12,7 @@ module Kernel
12
12
  end unless method_defined? :instance_exec
13
13
 
14
14
  # Loop. Standard in ruby 1.8.7+. See official documentation[http://ruby-doc.org/core-1.9/classes/Object.html]
15
- unless const_defined? :StopIteration
15
+ unless Object.const_defined? :StopIteration
16
16
  class StopIteration < IndexError; end
17
17
 
18
18
  def loop_with_stop_iteration(&block)
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.11.1
4
+ version: 1.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Marc-Andr\xC3\xA9 Lafortune"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-13 00:00:00 -05:00
12
+ date: 2009-12-01 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies: []
15
15