booking_locations 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c8a53989eeda1568bb2e9a6310d4b8015bb050c
4
- data.tar.gz: dd8c8d3ea6cd893dc6be0cf4ac4790c86bcf9a05
3
+ metadata.gz: 5f1d354c714f0cd4160637ca0e83a2f3a210f842
4
+ data.tar.gz: 7e5cb2f64e07122f7b77cb11a67e13efea9aea1c
5
5
  SHA512:
6
- metadata.gz: dfcf04ed7f33a6add04acff8af4b9fe0867acf2f78b06613bced983a964472767d209311f289dcdc7feec171bb396dcab73de42f101f7431400774faebef9231
7
- data.tar.gz: fed8c42c8579bd8517266e5b1bb43cab1c43aa00f466c11e55966d98c1e5b291d81c02f87ec41ff8324256cf0ed8c47b485baf122437cbdc90bd3d5308bbc4f7
6
+ metadata.gz: cc7af6bff06d5c3b1d22252c23aa76a3afd848033d0e7aa66f67c18b53115945df41636215593506ac6245510ba41f8d8bf3e3e57f69c2368da5e767be35f909
7
+ data.tar.gz: d94e73dbeacdb0d888ddfe505154674011ff9845c67b00aa59aa7ccd9196f7bfc617e00c7fa9567396323096d69d87b43e817531126f3dd3c63c6d24df9f7cc7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.9.1
2
+
3
+ * Respect TTL options
4
+
1
5
  ## 0.9.0
2
6
 
3
7
  * Restructured slot nesting for locations
@@ -1,3 +1,3 @@
1
1
  module BookingLocations
2
- VERSION = '0.9.0'.freeze
2
+ VERSION = '0.9.1'.freeze
3
3
  end
@@ -21,7 +21,7 @@ module BookingLocations
21
21
  end
22
22
 
23
23
  def self.find(id, expires = DEFAULT_TTL)
24
- cache.fetch(id, expires: expires) do
24
+ cache.fetch(id, expires_in: expires) do
25
25
  api.get(id) do |response_hash|
26
26
  Location.new(response_hash)
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: booking_locations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Lovell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-28 00:00:00.000000000 Z
11
+ date: 2017-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport