reactive_extensions 0.5.1 → 0.5.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.
- checksums.yaml +4 -4
- data/lib/reactive_extensions/hash/sanitation.rb +15 -3
- data/reactive_extensions.gemspec +1 -1
- data/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c65556954947a9250165c02833f0acbed22ec356
|
4
|
+
data.tar.gz: ebf4fdfac46bde1313648e8e8e4662d699098d10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 810ee9b4a1201b902ce06aca25c6cccc9dc1e0c7d449bd32d11795eb7f780cf0d366ce133ee37a5aa849600306badbed98964bbe56d85a4c2f802c3daa622751
|
7
|
+
data.tar.gz: 6ac90330cd7d8d32daa474e6da5ba495e8d1fafc0bd83d9d306f83058b80cbfac9e3fc0c7e00f3463b3b8f1ca194c49ca1d3c9189712b127e31fae1469c42f66
|
@@ -16,9 +16,15 @@ class Hash
|
|
16
16
|
# specified +*bad_keys+, if present, removed. If none of the bad keys
|
17
17
|
# are present, +#clean+ will simply return a duplicate hash.
|
18
18
|
#
|
19
|
+
# The +#clean+ method takes an arbitrary number of parameters, designated
|
20
|
+
# +*bad_keys+. Any of these keys that are present in the hash calling
|
21
|
+
# the method will be removed in the duplicate that is returned.
|
22
|
+
#
|
19
23
|
# +#clean+ is a non-destructive method. The original hash will still be
|
20
24
|
# unchanged after it is called.
|
21
25
|
#
|
26
|
+
# +#clean+ returns the cleaned duplicate of the hash calling it.
|
27
|
+
#
|
22
28
|
# +#clean+ may also be called by the aliases +#not+ and +#except+.
|
23
29
|
#
|
24
30
|
# Examples:
|
@@ -39,10 +45,16 @@ class Hash
|
|
39
45
|
|
40
46
|
# The +#clean!+ method returns a duplicate of the calling hash with the
|
41
47
|
# specified +*bad_keys+, if present, removed. If none of the bad keys
|
42
|
-
# are present, +#clean!+ will simply return a duplicate hash.
|
48
|
+
# are present, +#clean!+ will simply return a duplicate hash.
|
43
49
|
#
|
44
|
-
# +#clean!+
|
45
|
-
#
|
50
|
+
# +#clean!+ returns +self+.
|
51
|
+
#
|
52
|
+
# The +#clean!+ method takes an arbitrary number of parameters, designated
|
53
|
+
# +*bad_keys+. Any of these keys that are present in the hash calling
|
54
|
+
# the method will be removed in the duplicate that is returned.
|
55
|
+
#
|
56
|
+
# +#clean!+ is a destructive method that modifies the hash that calls
|
57
|
+
# it in place. For an analogous non-destructive method, use +#clean+.
|
46
58
|
#
|
47
59
|
# +#clean!+ may also be called by the aliases +#not!+ and +#except!+.
|
48
60
|
#
|
data/reactive_extensions.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
|
9
9
|
s.name = 'reactive_extensions'
|
10
10
|
s.version = ReactiveExtensions.gem_version
|
11
|
-
s.date = '2015-
|
11
|
+
s.date = '2015-09-11'
|
12
12
|
|
13
13
|
s.description = 'Handy extensions to core Ruby classes'
|
14
14
|
s.summary = 'ReactiveExtensions, a spinoff of ReactiveSupport, adds a variety of useful methods to core Ruby classes.'
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reactive_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dana Scheider
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: reactive_support
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.
|
163
|
+
rubygems_version: 2.4.8
|
164
164
|
signing_key:
|
165
165
|
specification_version: 1
|
166
166
|
summary: ReactiveExtensions, a spinoff of ReactiveSupport, adds a variety of useful
|