tokyo_cache_cow 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 10
3
2
  :major: 0
4
- :build:
5
3
  :minor: 0
4
+ :build:
5
+ :patch: 11
@@ -103,6 +103,7 @@ class TokyoCacheCow
103
103
  if @options[:daemonize]
104
104
  File.open(options[:pid], 'w') {|f| f << pid}
105
105
  Process.detach(pid)
106
+ Process.exit!(0)
106
107
  else
107
108
  trap("INT") { }
108
109
  Process.wait(pid)
@@ -188,7 +188,7 @@ class TokyoCacheCow
188
188
  send_data @cache.delete(key) ?
189
189
  DeletedReply : NotDeletedReply
190
190
  else
191
- send_data(@cache.delete_expire(key, timeout) ?
191
+ send_data(@cache.delete(key, :expires => timeout) ?
192
192
  DeletedReply : NotDeletedReply)
193
193
  end
194
194
  when 'delete_match'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 10
9
- version: 0.0.10
8
+ - 11
9
+ version: 0.0.11
10
10
  platform: ruby
11
11
  authors:
12
12
  - Joshua Hull
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-12 00:00:00 -04:00
17
+ date: 2010-04-22 00:00:00 -04:00
18
18
  default_executable: tokyo_cache_cow
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency