memoizable 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/memoizable/version.rb +1 -1
- data/memoizable.gemspec +2 -2
- data/spec/spec_helper.rb +1 -0
- data/spec/unit/memoizable/module_methods/included_spec.rb +1 -1
- metadata +23 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55c83cd3e7d722fc6b6fbb0cf1b2c4d5e2734df7
|
4
|
+
data.tar.gz: 9d6e1b355fd6ec709c1acf9bf65ca6dd297f58e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b052810a416a31eb50148ac78295ddd61d875e1779dedf6dfd7ef588e82bee3d90c10a20c5d03fe0174759520fac13869374e6fb3081aaaf380ff74b178e855
|
7
|
+
data.tar.gz: c1e08e365dd8a59737876b8107b03d2de04c77d28fe6b7d80801ebe6a57058f846e0874500dcb9744ceddea02a50af1257d420adb969d90be8dea35c9abec5db
|
data/lib/memoizable/version.rb
CHANGED
data/memoizable.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = Dir.glob('spec/{unit,integration}/**/*.rb')
|
19
19
|
gem.extra_rdoc_files = Dir.glob('**/*.md')
|
20
20
|
|
21
|
-
gem.add_runtime_dependency('thread_safe', '~> 0.
|
21
|
+
gem.add_runtime_dependency('thread_safe', '~> 0.3', '>= 0.3.1')
|
22
22
|
|
23
|
-
gem.add_development_dependency('bundler', '~> 1.
|
23
|
+
gem.add_development_dependency('bundler', '~> 1.5', '>= 1.5.3')
|
24
24
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -11,7 +11,7 @@ describe Memoizable::ModuleMethods, '#included' do
|
|
11
11
|
|
12
12
|
before do
|
13
13
|
# Prevent Module.included from being called through inheritance
|
14
|
-
Memoizable.
|
14
|
+
allow(Memoizable).to receive(:included)
|
15
15
|
end
|
16
16
|
|
17
17
|
it_behaves_like 'it calls super', :included
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: memoizable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Kubb
|
@@ -9,42 +9,48 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-03-
|
12
|
+
date: 2014-03-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thread_safe
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.
|
20
|
+
version: '0.3'
|
21
|
+
- - '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.3.1
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
25
|
-
- -
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0.3'
|
31
|
+
- - '>='
|
26
32
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.
|
33
|
+
version: 0.3.1
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: bundler
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
31
37
|
requirements:
|
32
|
-
- -
|
38
|
+
- - ~>
|
33
39
|
- !ruby/object:Gem::Version
|
34
|
-
version: '1.
|
35
|
-
- -
|
40
|
+
version: '1.5'
|
41
|
+
- - '>='
|
36
42
|
- !ruby/object:Gem::Version
|
37
|
-
version: 1.3
|
43
|
+
version: 1.5.3
|
38
44
|
type: :development
|
39
45
|
prerelease: false
|
40
46
|
version_requirements: !ruby/object:Gem::Requirement
|
41
47
|
requirements:
|
42
|
-
- -
|
48
|
+
- - ~>
|
43
49
|
- !ruby/object:Gem::Version
|
44
|
-
version: '1.
|
45
|
-
- -
|
50
|
+
version: '1.5'
|
51
|
+
- - '>='
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.3
|
53
|
+
version: 1.5.3
|
48
54
|
description: Memoize method return values
|
49
55
|
email:
|
50
56
|
- dan.kubb@gmail.com
|
@@ -93,12 +99,12 @@ require_paths:
|
|
93
99
|
- lib
|
94
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
95
101
|
requirements:
|
96
|
-
- -
|
102
|
+
- - '>='
|
97
103
|
- !ruby/object:Gem::Version
|
98
104
|
version: '0'
|
99
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
106
|
requirements:
|
101
|
-
- -
|
107
|
+
- - '>='
|
102
108
|
- !ruby/object:Gem::Version
|
103
109
|
version: '0'
|
104
110
|
requirements: []
|
@@ -121,3 +127,4 @@ test_files:
|
|
121
127
|
- spec/unit/memoizable/module_methods/memoized_predicate_spec.rb
|
122
128
|
- spec/unit/memoizable/module_methods/unmemoized_instance_method_spec.rb
|
123
129
|
- spec/integration/serializable_spec.rb
|
130
|
+
has_rdoc:
|