kv_cache 0.0.3 → 0.0.4

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: 07bcbff9052f9d411d0fd517ac6792d8156bda03
4
- data.tar.gz: 5c5ee3df4b68ec5a91a9ff0b8b0038c8cd146e8e
3
+ metadata.gz: c1abe9c73aeb7d30a2a76c952d00f875eedac338
4
+ data.tar.gz: 66044f7a0f8b5f738a245020b047417ab641c699
5
5
  SHA512:
6
- metadata.gz: ade0ae3863fcae43c520d752da49b70a2c99336b2531b9b7632e96fd7ef66c0d4fb2bd3f80d2d6c35aa4c956c221a7258396905000da3a3a45efcdb30c216ead
7
- data.tar.gz: 470eb49e7459fe054879f4ec60904906857ae0d39599d14bb2d4936762ab4b3cb4cb0e0696c69c1e4a905b90fae8102aede04a047575bc924d10887dc3f85307
6
+ metadata.gz: 63ff14096f9cd6cc4e993afaedae01ef3965bf1bc8daff3c145176be4982b43f4b11f95bbbdc30e22aa9da1babd1e6a6ccb4d344af089f5998954bd1e5d99ffd
7
+ data.tar.gz: d52de527aceedf7d28f7ca8f40c309507de546d535d1fab59ca95124c2da629f9bcdf929dcb7e066c5b6352da02920d6b87527ca67c79a127683c9e441710dc7
@@ -5,7 +5,7 @@ module KvCache
5
5
  class Store
6
6
  class << self
7
7
  # call yield if key is not exist
8
- def call(key,expire_time)
8
+ def call(key,expire_time = 60)
9
9
  res = storer.get(key)
10
10
  return res if res
11
11
 
@@ -1,3 +1,3 @@
1
1
  module KvCache
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kv_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - azhao1981
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-21 00:00:00.000000000 Z
11
+ date: 2014-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.1.11
94
+ rubygems_version: 2.2.2
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: cache your data that you don't need to fetch from db.