resque-stats 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -90,7 +90,8 @@ module Resque # :nodoc:
90
90
  # expiration.
91
91
  def self.increx(key, seconds)
92
92
  tmp = Resque.redis.get key
93
- Resque.redis.setex key, seconds, (tmp.to_i + 1)
93
+ Resque.redis.set key, (tmp.to_i + 1)
94
+ Resque.redis.expire key, seconds
94
95
  end
95
96
  end
96
97
  end
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "resque-stats"
5
- s.version = "0.1.0"
5
+ s.version = "0.1.1"
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.authors = ["Jordi Romero"]
8
8
  s.email = ["jordi@jrom.net"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-stats
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jordi Romero
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-06 00:00:00 +01:00
18
+ date: 2010-12-07 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency