procore 0.7.0 → 0.7.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
  SHA256:
3
- metadata.gz: ba26de8f801db077402e6119b3d45bc04c097a6ac5f25c2a686c2ece6f1660f2
4
- data.tar.gz: 65020be1331a41550388c1ad39bee27b91d1a09bcc1ae346273d5b1a8f1034ca
3
+ metadata.gz: e0f86f56ddb0bdf75c831f76f515f2e67dd757ec9ba68e3b618b83487b0b1348
4
+ data.tar.gz: 3462df2033ace06a83e549bddc759f9b40b62f75539dee91539c2bef4ee8a2ba
5
5
  SHA512:
6
- metadata.gz: 17c3671f731c30b852a8daa6fe4fde8af9ccf19bdf52962485a06ac1182dc937d1a8737f23bb7254ab8244135efecc0432f9157311ff47b0d6d95a6da6252ca5
7
- data.tar.gz: 62a695f1b3f1f53c40182eb637ca59839b1f8045c260ab937abc2cae4d6d431b1ddda685d349fb3091f804ef851b88a65f33e8aaa313562f3dc5ecef67763d6a
6
+ metadata.gz: fc52f72df78d95a21dce709d015344572a71bfe96e6d712116a99eec930e51ce47c5fb5bfdb22be9d7a1c269d1dc272a024a898762f68c7113ea0de1448a84a9
7
+ data.tar.gz: 6e9f823921f9f595045a4df890a720af9c5b9fee16eb2c6c5d343a0932143e79f64dafb4d1c1a79576564987fc32be45166f57e137c03ea6c80fee7ce1088697
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 0.7.1 (February 22, 2018)
4
+
5
+ * Fix redis store guard clause
6
+
7
+ *Patrick Koperwas*
8
+
3
9
  ## 0.7.0 (February 21, 2018)
4
10
 
5
11
  * Add multipart request support
@@ -13,7 +13,7 @@ module Procore
13
13
  end
14
14
 
15
15
  def fetch
16
- return if redis.get(redis_key).empty?
16
+ return unless redis.exists(redis_key)
17
17
 
18
18
  token = JSON.parse(redis.get(redis_key))
19
19
  Procore::Auth::Token.new(
@@ -24,7 +24,7 @@ module Procore
24
24
  end
25
25
 
26
26
  def delete
27
- redis.set(redis_key, nil)
27
+ redis.del(redis_key)
28
28
  end
29
29
 
30
30
  def to_s
@@ -1,3 +1,3 @@
1
1
  module Procore
2
- VERSION = "0.7.0".freeze
2
+ VERSION = "0.7.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: procore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Procore Engineering
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-21 00:00:00.000000000 Z
11
+ date: 2018-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack