opsb-ziggy 0.1.4 → 0.1.5

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.yml +1 -1
  2. data/lib/ziggy.rb +1 -1
  3. data/ziggy.gemspec +1 -1
  4. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 4
3
+ :patch: 5
4
4
  :major: 0
data/lib/ziggy.rb CHANGED
@@ -48,7 +48,7 @@ module Ziggy
48
48
  key = self.class.build_key(self, method, args)
49
49
  return Rails.cache.read(key) if Rails.cache.exist?(key)
50
50
  result = send(method_without_cache, *args)
51
- Rails.cache.write(key, result, :expires_in => expire_after(method))
51
+ Rails.cache.write(key, result, :expires_in => self.class.expire_after(method))
52
52
  result
53
53
  end
54
54
  end
data/ziggy.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ziggy}
5
- s.version = "0.1.4"
5
+ s.version = "0.1.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Oliver Searle-Barnes"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opsb-ziggy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Searle-Barnes