backports 3.10.0 → 3.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/lib/backports/2.4.0/hash/transform_values.rb +4 -1
- data/lib/backports/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5857d4ceeea11e877662a099241801ff7e8e922e
|
4
|
+
data.tar.gz: 540d8bab4f8f7721cff19975920f2246960b7954
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 408fe4d9d1fd49cbbac29bf983b444855a7835a4d0480241938e5cb814d8fb84049fa79463f4a00322f09847b5dc62ce872de8b08dad03c3f5091dba335790ea
|
7
|
+
data.tar.gz: 9c0f9616dd2ea8829a0ed08d1ee9ecb81c09bd7d49d19f7fd24c2577d0bb6a9ea167ca2bd79bc31ee633964dbc94eebc4bbe235f778c034360fa91fa1cedacf8
|
data/Gemfile
CHANGED
@@ -9,9 +9,9 @@ gemspec
|
|
9
9
|
group :test do
|
10
10
|
gem "rake"
|
11
11
|
gem 'mspec'
|
12
|
-
gem 'activesupport'
|
12
|
+
gem 'activesupport', '~>3.2.0'
|
13
13
|
gem 'minitest', '< 5.0.0', :require => false
|
14
|
-
gem 'test-unit'
|
14
|
+
gem 'test-unit', '~>2.1.1.0'
|
15
15
|
end
|
16
16
|
|
17
17
|
# Declare any dependencies that are still in development here instead of in
|
@@ -10,6 +10,9 @@ class Hash
|
|
10
10
|
|
11
11
|
def transform_values!
|
12
12
|
return to_enum(:transform_values!){ size } unless block_given?
|
13
|
-
|
13
|
+
reject!{} if frozen? # Force error triggerring if frozen, in case of empty array
|
14
|
+
each do |key, value|
|
15
|
+
self[key] = yield value
|
16
|
+
end
|
14
17
|
end unless method_defined? :transform_values!
|
15
18
|
end
|
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.10.
|
4
|
+
version: 3.10.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: 2017-10-
|
11
|
+
date: 2017-10-17 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
|
@@ -771,17 +771,17 @@ require_paths:
|
|
771
771
|
- lib
|
772
772
|
required_ruby_version: !ruby/object:Gem::Requirement
|
773
773
|
requirements:
|
774
|
-
- -
|
774
|
+
- - ">="
|
775
775
|
- !ruby/object:Gem::Version
|
776
776
|
version: '0'
|
777
777
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
778
778
|
requirements:
|
779
|
-
- -
|
779
|
+
- - ">="
|
780
780
|
- !ruby/object:Gem::Version
|
781
781
|
version: '0'
|
782
782
|
requirements: []
|
783
783
|
rubyforge_project:
|
784
|
-
rubygems_version: 2.
|
784
|
+
rubygems_version: 2.6.13
|
785
785
|
signing_key:
|
786
786
|
specification_version: 4
|
787
787
|
summary: Backports of Ruby features for older Ruby.
|