hash-hooked 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,8 @@
|
|
1
1
|
|
2
2
|
module ::Hash::Hooked::HashInterface
|
3
3
|
|
4
|
+
include ::IdentifiesAs
|
5
|
+
|
4
6
|
instances_identify_as!( ::Hash::Hooked )
|
5
7
|
|
6
8
|
################
|
@@ -520,10 +522,8 @@ module ::Hash::Hooked::HashInterface
|
|
520
522
|
###########
|
521
523
|
|
522
524
|
def clear
|
523
|
-
|
524
|
-
|
525
|
-
delete( this_key )
|
526
|
-
end
|
525
|
+
|
526
|
+
delete_if { true }
|
527
527
|
|
528
528
|
return self
|
529
529
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hash-hooked
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
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-
|
12
|
+
date: 2012-07-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: identifies_as
|
@@ -39,8 +39,7 @@ files:
|
|
39
39
|
- lib/hash/namespaces.rb
|
40
40
|
- lib/hash/requires.rb
|
41
41
|
- lib/hash-hooked.rb
|
42
|
-
-
|
43
|
-
- spec/Hash/Hooked_spec.rb
|
42
|
+
- spec/hash/hooked_spec.rb
|
44
43
|
- README.md
|
45
44
|
- CHANGELOG.rdoc
|
46
45
|
homepage: http://rubygems.org/gems/hash-hooked
|
@@ -54,7 +53,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
54
53
|
requirements:
|
55
54
|
- - ! '>='
|
56
55
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
56
|
+
version: 1.9.1
|
58
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
58
|
none: false
|
60
59
|
requirements:
|
data/lib/hooked/hash.rb
DELETED