mrcr-cache 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b7da641b1029613733d14a8823c39bdbcb1abe7
4
- data.tar.gz: 6b7e4013b3074502cfbace458b58937d479a5a05
3
+ metadata.gz: 3d4c7cd90a77e5d8b61b3a373dacfe0dd435931d
4
+ data.tar.gz: 22c08104cbf745dcd164f0dbd391b92634720d37
5
5
  SHA512:
6
- metadata.gz: 5091c9e32958be89b49fe40c0928258476daefe273962c3598763dfdabee4904901b73afe5e96d4e155f6d826344c04c39dbc9e9bc20d9f30a25b49d3a09a892
7
- data.tar.gz: 6c7741baeca70826d5c7bc265819f929a234f46c2725141646dcb55ffa6e10a24f53cd650a641673e01fe14ef060c8385b427628c04ce2e84d4440e8d6d4b679
6
+ metadata.gz: f2c7cbee5a29fe7cba39b48d23a54f745ce7152b14b642c5d8f5c584fd851a4ecd4e292cdb52c4041e6f231c09db1913cbc6864127c280914c2283fef4b43fb2
7
+ data.tar.gz: 3a2f1785337fbdf6ae6ec2c139170daeeacbc21c7703b3b7737590dd355c801f21d27fa711221a576627bd036d92d78019238054ed09a5d4e3b2caaa2a17835d
@@ -38,7 +38,7 @@ module Mrcr
38
38
 
39
39
  # Caches a result of the block evaluation
40
40
  #
41
- # @param [Array<Object>] args List of hashable objects
41
+ # @param [Object] key Hashable object
42
42
  # @yield An arbitrary block
43
43
  #
44
44
  # @note beware Proc instance hashes are not equal, i.e. -> { 1 }.hash != -> { 1 }.hash,
@@ -52,7 +52,8 @@ module Mrcr
52
52
 
53
53
  # Caches a result of the block evaluation
54
54
  #
55
- # @param [Array<Object>] args List of hashable objects
55
+ # @param [Object] args Hashable object
56
+ # @param [Object] default Default value
56
57
  # @yield An arbitrary block
57
58
  #
58
59
  # @note beware Proc instance hashes are not equal, i.e. -> { 1 }.hash != -> { 1 }.hash,
@@ -68,7 +69,7 @@ module Mrcr
68
69
  module Methods
69
70
  # Delegates call to the class-level method
70
71
  #
71
- # @param [Array<Object>] args List of hashable objects
72
+ # @param [Array<Object>] key Hashable object
72
73
  # @yield An arbitrary block
73
74
  #
74
75
  # @return [Object] block's return value
@@ -78,8 +79,8 @@ module Mrcr
78
79
 
79
80
  # Delegates call to the class-level method
80
81
  #
81
- # @param [Object] value List of hashable objects
82
- # @param [Object] default List of hashable objects
82
+ # @param [Object] key Hashable object
83
+ # @param [Object] default Default value.
83
84
  # @yield An arbitrary block
84
85
  #
85
86
  # @return [Object] block's return value
@@ -1,5 +1,5 @@
1
1
  module Mrcr
2
2
  module Cache
3
- VERSION = '0.1.1'.freeze
3
+ VERSION = '0.1.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mrcr-cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Merkulov