memoizable 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +8 -7
- data/lib/memoizable/version.rb +1 -1
- data/memoizable.gemspec +1 -1
- metadata +17 -29
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 52f96afbe10c6933ec55bedc8651f82d139973ef
|
4
|
+
data.tar.gz: 5d58b63d4c60c5b36e43b4ff0b54fc85e99bbce7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f55779f1f1c4a4bcf7414e93ffb3026835effb12c96e5c3551ed03262f7d9f3b876bd96ef36f06412ee16c9e6337b66606199e790903470cf1340161b337b2d9
|
7
|
+
data.tar.gz: 89f74377d9561f723d17d3cc7d85b5d2c932b3162f47a14f9a10c668d8de1ad9629ecd46ac3bf82782d0e1bd2d225c5ba9c3160187030820ace7f25d5080b518
|
data/README.md
CHANGED
@@ -1,12 +1,10 @@
|
|
1
1
|
# Memoizable
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
[![
|
6
|
-
[![
|
7
|
-
[![
|
8
|
-
[![Code Climate](https://codeclimate.com/github/dkubb/memoizable.png)][codeclimate]
|
9
|
-
[![Coverage Status](https://coveralls.io/repos/dkubb/memoizable/badge.png?branch=master)][coveralls]
|
3
|
+
[![Gem Version](http://img.shields.io/gem/v/memoizable.svg)][gem]
|
4
|
+
[![Build Status](http://img.shields.io/travis/dkubb/memoizable.svg)][travis]
|
5
|
+
[![Dependency Status](http://img.shields.io/gemnasium/dkubb/memoizable.svg)][gemnasium]
|
6
|
+
[![Code Climate](http://img.shields.io/codeclimate/github/dkubb/memoizable.svg)][codeclimate]
|
7
|
+
[![Coverage Status](http://img.shields.io/coveralls/dkubb/memoizable.svg)][coveralls]
|
10
8
|
|
11
9
|
[gem]: https://rubygems.org/gems/memoizable
|
12
10
|
[travis]: https://travis-ci.org/dkubb/memoizable
|
@@ -14,6 +12,8 @@ Memoize method return values
|
|
14
12
|
[codeclimate]: https://codeclimate.com/github/dkubb/memoizable
|
15
13
|
[coveralls]: https://coveralls.io/r/dkubb/memoizable
|
16
14
|
|
15
|
+
Memoize method return values
|
16
|
+
|
17
17
|
## Contributing
|
18
18
|
|
19
19
|
See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
|
@@ -83,6 +83,7 @@ implementations:
|
|
83
83
|
* Ruby 1.9.2
|
84
84
|
* Ruby 1.9.3
|
85
85
|
* Ruby 2.0.0
|
86
|
+
* Ruby 2.1.0
|
86
87
|
* [JRuby][]
|
87
88
|
* [Rubinius][]
|
88
89
|
* [Ruby Enterprise Edition][ree]
|
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.2.0')
|
22
22
|
|
23
23
|
gem.add_development_dependency('bundler', '~> 1.3', '>= 1.3.5')
|
24
24
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: memoizable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Dan Kubb
|
@@ -10,44 +9,40 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2014-03-04 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: thread_safe
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- - ~>
|
18
|
+
- - "~>"
|
21
19
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.
|
20
|
+
version: 0.2.0
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- - ~>
|
25
|
+
- - "~>"
|
29
26
|
- !ruby/object:Gem::Version
|
30
|
-
version: 0.
|
27
|
+
version: 0.2.0
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: bundler
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- - ~>
|
32
|
+
- - "~>"
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: '1.3'
|
39
|
-
- -
|
35
|
+
- - ">="
|
40
36
|
- !ruby/object:Gem::Version
|
41
37
|
version: 1.3.5
|
42
38
|
type: :development
|
43
39
|
prerelease: false
|
44
40
|
version_requirements: !ruby/object:Gem::Requirement
|
45
|
-
none: false
|
46
41
|
requirements:
|
47
|
-
- - ~>
|
42
|
+
- - "~>"
|
48
43
|
- !ruby/object:Gem::Version
|
49
44
|
version: '1.3'
|
50
|
-
- -
|
45
|
+
- - ">="
|
51
46
|
- !ruby/object:Gem::Version
|
52
47
|
version: 1.3.5
|
53
48
|
description: Memoize method return values
|
@@ -65,13 +60,13 @@ files:
|
|
65
60
|
- LICENSE.md
|
66
61
|
- README.md
|
67
62
|
- Rakefile
|
68
|
-
- memoizable.
|
63
|
+
- lib/memoizable.rb
|
69
64
|
- lib/memoizable/instance_methods.rb
|
70
65
|
- lib/memoizable/memory.rb
|
71
66
|
- lib/memoizable/method_builder.rb
|
72
67
|
- lib/memoizable/module_methods.rb
|
73
68
|
- lib/memoizable/version.rb
|
74
|
-
-
|
69
|
+
- memoizable.gemspec
|
75
70
|
- spec/integration/serializable_spec.rb
|
76
71
|
- spec/shared/call_super_shared_spec.rb
|
77
72
|
- spec/shared/command_method_behavior.rb
|
@@ -91,33 +86,26 @@ files:
|
|
91
86
|
homepage: https://github.com/dkubb/memoizable
|
92
87
|
licenses:
|
93
88
|
- MIT
|
89
|
+
metadata: {}
|
94
90
|
post_install_message:
|
95
91
|
rdoc_options: []
|
96
92
|
require_paths:
|
97
93
|
- lib
|
98
94
|
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
-
none: false
|
100
95
|
requirements:
|
101
|
-
- -
|
96
|
+
- - ">="
|
102
97
|
- !ruby/object:Gem::Version
|
103
98
|
version: '0'
|
104
|
-
segments:
|
105
|
-
- 0
|
106
|
-
hash: 1369072694341033356
|
107
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
100
|
requirements:
|
110
|
-
- -
|
101
|
+
- - ">="
|
111
102
|
- !ruby/object:Gem::Version
|
112
103
|
version: '0'
|
113
|
-
segments:
|
114
|
-
- 0
|
115
|
-
hash: 1369072694341033356
|
116
104
|
requirements: []
|
117
105
|
rubyforge_project:
|
118
|
-
rubygems_version:
|
106
|
+
rubygems_version: 2.2.2
|
119
107
|
signing_key:
|
120
|
-
specification_version:
|
108
|
+
specification_version: 4
|
121
109
|
summary: Memoize method return values
|
122
110
|
test_files:
|
123
111
|
- spec/unit/memoizable/class_methods/included_spec.rb
|