backports 2.5.3 → 2.6.0
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.
- data/CHANGELOG.rdoc +7 -3
- data/VERSION.yml +2 -2
- data/backports.gemspec +2 -2
- data/lib/backports/1.9.2/enumerable.rb +1 -5
- metadata +2 -2
data/CHANGELOG.rdoc
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
= Packable --- History
|
2
2
|
|
3
|
+
== Version 2.6.0 - May 29th, 2012
|
4
|
+
|
5
|
+
* Removed Enumerable#join
|
6
|
+
|
3
7
|
== Version 2.5.0 - March 25th, 2012
|
4
8
|
|
5
9
|
* Added some features of 1.9.3:
|
@@ -281,7 +285,7 @@ Completed backport to 1.8.7.
|
|
281
285
|
|
282
286
|
* Enumerable
|
283
287
|
* <tt>none?</tt>
|
284
|
-
|
288
|
+
|
285
289
|
* Array
|
286
290
|
* +sample+, +shuffle+, +shuffle!+
|
287
291
|
|
@@ -303,7 +307,7 @@ Tests and fixes for <tt>String#start_with?</tt> and <tt>String#end_with?</tt>
|
|
303
307
|
* +count+
|
304
308
|
* +cycle+
|
305
309
|
* +group_by+
|
306
|
-
|
310
|
+
|
307
311
|
* Hash
|
308
312
|
* <tt>default_proc=</tt>
|
309
313
|
|
@@ -312,7 +316,7 @@ Tests and fixes for <tt>String#start_with?</tt> and <tt>String#end_with?</tt>
|
|
312
316
|
* Array
|
313
317
|
* +flatten+, <tt>flatten!</tt>
|
314
318
|
* +find_index+, +index+
|
315
|
-
|
319
|
+
|
316
320
|
* Hash
|
317
321
|
* +reverse_merge+, <tt>reverse_merge!</tt>
|
318
322
|
|
data/VERSION.yml
CHANGED
data/backports.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "backports"
|
8
|
-
s.version = "2.
|
8
|
+
s.version = "2.6.0"
|
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\u{e9} Lafortune"]
|
12
|
-
s.date = "2012-05-
|
12
|
+
s.date = "2012-05-30"
|
13
13
|
s.description = " 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.\n"
|
14
14
|
s.email = "github@marc-andre.ca"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -48,10 +48,6 @@ module Enumerable
|
|
48
48
|
end unless method_defined? :flat_map
|
49
49
|
Backports.alias_method self, :collect_concat, :flat_map
|
50
50
|
|
51
|
-
def join(*args)
|
52
|
-
to_a.join(*args)
|
53
|
-
end unless method_defined? :join
|
54
|
-
|
55
51
|
def slice_before(arg = Backports::Undefined, &block)
|
56
52
|
if block_given?
|
57
53
|
has_init = !(arg.equal? Backports::Undefined)
|
@@ -75,4 +71,4 @@ module Enumerable
|
|
75
71
|
yielder.yield accumulator if accumulator
|
76
72
|
end
|
77
73
|
end unless method_defined? :slice_before
|
78
|
-
end
|
74
|
+
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.
|
4
|
+
version: 2.6.0
|
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: 2012-05-
|
12
|
+
date: 2012-05-30 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! ' Essential backports that enable some of the really nice features
|
15
15
|
of ruby 1.8.7, ruby 1.9 and rails from ruby 1.8.6 and earlier.
|