call-me 0.0.2.1 → 0.0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/call-me/memoize.rb +3 -3
- metadata +9 -9
data/lib/call-me/memoize.rb
CHANGED
@@ -81,7 +81,7 @@ class Object
|
|
81
81
|
end
|
82
82
|
|
83
83
|
nil
|
84
|
-
end
|
84
|
+
end
|
85
85
|
|
86
86
|
# Clear the memoize cache completely or only for the method +name+
|
87
87
|
def memoize_clear (name = nil)
|
@@ -90,12 +90,12 @@ class Object
|
|
90
90
|
else
|
91
91
|
memoize_cache.clear
|
92
92
|
end
|
93
|
-
end
|
93
|
+
end
|
94
94
|
|
95
95
|
# Get the memoization cache
|
96
96
|
def memoize_cache
|
97
97
|
@__memoize_cache__ ||= Hash.new { |h, k| h[k] = {} }
|
98
|
-
end
|
98
|
+
end
|
99
99
|
|
100
100
|
private
|
101
101
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: call-me
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.2.
|
4
|
+
version: 0.0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-02-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: refining
|
16
|
-
requirement: &
|
16
|
+
requirement: &16697000 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *16697000
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &16696360 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *16696360
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec
|
38
|
-
requirement: &
|
38
|
+
requirement: &16695720 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *16695720
|
47
47
|
description:
|
48
48
|
email: meh@paranoici.org
|
49
49
|
executables: []
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project:
|
77
|
-
rubygems_version: 1.8.
|
77
|
+
rubygems_version: 1.8.15
|
78
78
|
signing_key:
|
79
79
|
specification_version: 3
|
80
80
|
summary: Various calling things, overload, pattern matching, memoization and such.
|