resque-reports 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ module Resque
20
20
  :table_block,
21
21
  :header_collecting
22
22
 
23
- alias_method :source_method, :source
23
+ alias_method :source, :source_method
24
24
 
25
25
  def table(&block)
26
26
  @table_block = block
@@ -3,7 +3,7 @@ module Resque
3
3
  module Reports
4
4
  class CacheFile
5
5
 
6
- DEFAULT_EXPIRE_TIME = 1.day
6
+ DEFAULT_EXPIRE_TIME = 86400
7
7
  DEFAULT_CODING = 'utf-8'
8
8
 
9
9
  # TODO: Description!
@@ -19,7 +19,7 @@ module Resque
19
19
  def exists?
20
20
  File.exists?(@filename)
21
21
  end
22
- alias_method :exists?, :ready?
22
+ alias_method :ready?, :exists?
23
23
 
24
24
  def filename
25
25
  raise "File doesn't exists, check for its existance before" unless exists?
@@ -1,5 +1,5 @@
1
1
  module Resque
2
2
  module Reports
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-reports
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: