pseudocephalopod 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -72,7 +72,7 @@ module Pseudocephalopod
72
72
  expiry = Pseudocephalopod::Caching.cache_expires_in
73
73
  hash[:expires_in] = expiry.to_i if expiry.present?
74
74
  end
75
- record.nil? ? cache.delete(key) : cache.write(key, record.id, hash)
75
+ record.nil? ? cache.delete(key) : cache.write(key, record.id, caching_options)
76
76
  end
77
77
 
78
78
  protected
@@ -84,4 +84,4 @@ module Pseudocephalopod
84
84
  end
85
85
 
86
86
  end
87
- end
87
+ end
@@ -2,7 +2,7 @@ module Pseudocephalopod
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- PATCH = 3
5
+ PATCH = 4
6
6
  STRING = [MAJOR, MINOR, PATCH].join(".")
7
7
  end
8
8
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pseudocephalopod}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Darcy Laycock"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pseudocephalopod
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Darcy Laycock