cachy 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/cachy.gemspec +1 -1
  3. data/lib/cachy.rb +2 -2
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.7
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cachy}
8
- s.version = "0.1.6"
8
+ s.version = "0.1.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
@@ -1,5 +1,5 @@
1
1
  class Cachy
2
- WHILE_RUNNING_TMEOUT = 5*60 #seconds
2
+ WHILE_RUNNING_TIMEOUT = 5*60 #seconds
3
3
  KEY_VERSION_TIMEOUT = 30 #seconds
4
4
  HEALTH_CHECK_KEY = 'cachy_healthy'
5
5
  KEY_VERSIONS_KEY = 'cachy_key_versions'
@@ -201,7 +201,7 @@ class Cachy
201
201
  def self.set_while_running(key, options)
202
202
  return unless options.key? :while_running
203
203
  warn "You cannot set while_running to nil" if options[:while_running] == nil
204
- cache_store.write key, options[:while_running], :expires_in=>WHILE_RUNNING_TMEOUT
204
+ cache_store.write key, options[:while_running], :expires_in=>WHILE_RUNNING_TIMEOUT
205
205
  end
206
206
 
207
207
  def self.meta_key_parts(key, options)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 6
9
- version: 0.1.6
8
+ - 7
9
+ version: 0.1.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Grosser