backports 3.11.0 → 3.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.irbrc +3 -1
- data/CHANGELOG.rdoc +66 -0
- data/lib/backports/2.5.0/dir/children.rb +1 -1
- data/lib/backports/2.5.0/dir/each_child.rb +1 -1
- data/lib/backports/2.5.0/struct/new.rb +0 -1
- data/lib/backports/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YmM4MTg3NWQzZjVkNjUxZTIzYWRlZDUyYjYwNTU1ZTRhMzc1MTM5MA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4a53e840dd9649161f1c89c30dc591a1086a6faf
|
4
|
+
data.tar.gz: fe88e1c4304bc7c2f24bc68bdf18838ca49d72e7
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
MjE2ZWVkYjI2NTZmYzJiOGE0N2UzMjk0Y2U4Yzg5MDI0NTk5MTlkNWNjMTZi
|
11
|
-
NmIzODk5MmRhYTcxYmNjNDlmNTdiOTkyMzczYjc5MjUyMmFjZmM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YjFkZWJhNzFlZjc0YjE5YWIzMDFmNmE1YmNhMGE1MGE3YjE4ODUwOTNlMjYz
|
14
|
-
NDc4YmQ1MmU0OTM5NDViMGFiZDk3MjY5M2I0NTMxN2Q0ZjVjNmEyYjgxNWUz
|
15
|
-
ZmY5OTlkYzU0MjM1ZmZhZTIyMjlkNWVlZWNjODBmMzAzMTdmMDE=
|
6
|
+
metadata.gz: bd11c4daa9fd6d95afeb22a6260a0cab569ac277522e47b32f5b1dd41b2395eb8f914e80a2a40feb862d42c964d3b2289ef1acfeb69e46f1ff65913839305ffc
|
7
|
+
data.tar.gz: 0fe9ec5fc708360fe0178c59e7bac01ab28cbd61d3dee8b188420fab6cbbf2017a2288035a08b07d71f3d16b5fa5affbb140be93e5719f9f3c1718bf9f41ac3e
|
data/.irbrc
CHANGED
data/CHANGELOG.rdoc
CHANGED
@@ -1,5 +1,71 @@
|
|
1
1
|
= Backports --- History
|
2
2
|
|
3
|
+
== Version 3.11.0 - December 25th, 2017
|
4
|
+
|
5
|
+
* New Ruby version 2.5.0
|
6
|
+
* Array
|
7
|
+
* +append+, +prepend+
|
8
|
+
* Dir
|
9
|
+
* +children+, +each_child+
|
10
|
+
* Enumerable
|
11
|
+
* +any?+, +all?+, +none?+, +one?+ (with pattern argument)
|
12
|
+
* Hash
|
13
|
+
* +slice+
|
14
|
+
* +transform_keys+
|
15
|
+
* Integer
|
16
|
+
* +sqrt+
|
17
|
+
* +allbits?+, +anybits?+ and +nobits?+
|
18
|
+
* Kernel
|
19
|
+
* +yield_self+
|
20
|
+
* Module
|
21
|
+
* +attr+, +attr_accessor+, +attr_reader+, +attr_writer+ (now public)
|
22
|
+
* +define_method+, +alias_method+, +undef_method+, +remove_method+ (now public)
|
23
|
+
* String
|
24
|
+
* +delete_prefix+, +delete_prefix!+
|
25
|
+
* +delete_suffix+, +delete_suffix!+
|
26
|
+
* Struct
|
27
|
+
* +new+ (with <code>keyword_init: true</code>)
|
28
|
+
* <tt>require 'backports/latest'</tt> is now the right way to require everything
|
29
|
+
|
30
|
+
== Version 3.10.0 - October 17, 2017
|
31
|
+
|
32
|
+
* Additional features of 2.4.0
|
33
|
+
* Enumerable
|
34
|
+
* +uniq+
|
35
|
+
* +sum+
|
36
|
+
* Hash
|
37
|
+
* +compact+
|
38
|
+
* +transform_values+
|
39
|
+
|
40
|
+
== Version 3.9.0 - October 07, 2017
|
41
|
+
|
42
|
+
* From 2.4.0: +dup+ for +true+, +false+, +nil+, Numeric
|
43
|
+
* From 2.2.0: <tt>Method#super_method</tt>
|
44
|
+
|
45
|
+
== Version 3.8.0 - April 26, 2017
|
46
|
+
|
47
|
+
* From 2.4.0: <tt>String#match?</tt>, <tt>Regexp#match?</tt>
|
48
|
+
* From 2.3.0:
|
49
|
+
* unary <tt>String#+</tt>, +-+
|
50
|
+
* Numeric: +positive?+, +negative?+
|
51
|
+
* Hash: +to_proc+, +fetch_values+, <tt>></tt>, <tt><</tt>, <tt>>=</tt>, <tt><=</tt>
|
52
|
+
* Enumerable: +chunk_while+, +grep_v+
|
53
|
+
* <tt>{Array|Hash|Struct}#dig</tt>
|
54
|
+
* <tt>Array#bsearch_index</tt>
|
55
|
+
* From 2.2.0:
|
56
|
+
* <tt>Method#curry</tt>
|
57
|
+
* <tt>String#unicode_normalize{|?|!}</tt>
|
58
|
+
* <tt>Kernel#itself</tt>
|
59
|
+
* Float: +next_float+, +prev_float+
|
60
|
+
|
61
|
+
== Version 3.7.0 - March 28, 2017
|
62
|
+
|
63
|
+
* Initiate work on backports of 2.2, 2.3, 2.4
|
64
|
+
* From 2.4.0:
|
65
|
+
* <tt>Comparable#clamp</tt>
|
66
|
+
* From 2.2.0:
|
67
|
+
* Enumerable: +slice_when+, +slice_after+
|
68
|
+
|
3
69
|
== Version 3.6.0 - February 14th, 2014
|
4
70
|
|
5
71
|
* Additional features of 2.1.0
|
@@ -1,5 +1,5 @@
|
|
1
1
|
class Dir
|
2
|
-
Backports::EXCLUDED_CHILDREN = ['.', '..'].freeze
|
2
|
+
Backports::EXCLUDED_CHILDREN = ['.', '..'].freeze unless Backports.const_defined?('EXCLUDED_CHILDREN')
|
3
3
|
def self.each_child(*args)
|
4
4
|
return to_enum(__method__, *args) unless block_given?
|
5
5
|
foreach(*args) { |f| yield f unless Backports::EXCLUDED_CHILDREN.include? f }
|
data/lib/backports/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backports
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.11.
|
4
|
+
version: 3.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc-André Lafortune
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Essential backports that enable many of the nice features of Ruby 1.8.7
|
14
14
|
up to 2.1.0 for earlier versions.
|
@@ -18,11 +18,11 @@ executables: []
|
|
18
18
|
extensions: []
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
|
-
- .document
|
22
|
-
- .gitignore
|
23
|
-
- .gitmodules
|
24
|
-
- .irbrc
|
25
|
-
- .travis.yml
|
21
|
+
- ".document"
|
22
|
+
- ".gitignore"
|
23
|
+
- ".gitmodules"
|
24
|
+
- ".irbrc"
|
25
|
+
- ".travis.yml"
|
26
26
|
- CHANGELOG.rdoc
|
27
27
|
- Gemfile
|
28
28
|
- LICENSE.txt
|
@@ -981,17 +981,17 @@ require_paths:
|
|
981
981
|
- lib
|
982
982
|
required_ruby_version: !ruby/object:Gem::Requirement
|
983
983
|
requirements:
|
984
|
-
- -
|
984
|
+
- - ">="
|
985
985
|
- !ruby/object:Gem::Version
|
986
986
|
version: '0'
|
987
987
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
988
988
|
requirements:
|
989
|
-
- -
|
989
|
+
- - ">="
|
990
990
|
- !ruby/object:Gem::Version
|
991
991
|
version: '0'
|
992
992
|
requirements: []
|
993
993
|
rubyforge_project:
|
994
|
-
rubygems_version: 2.
|
994
|
+
rubygems_version: 2.6.13
|
995
995
|
signing_key:
|
996
996
|
specification_version: 4
|
997
997
|
summary: Backports of Ruby features for older Ruby.
|