procore 1.1.2 → 1.1.3

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: 49f3e1daa62e1998646029758f63b21f973a9851
4
- data.tar.gz: a2613a7ea2ddd4aa4ce6cbb7531a267af94dc195
3
+ metadata.gz: dd1eb304ce63c6fc2163b5dc0fbb5e98f02e2172
4
+ data.tar.gz: 7f616999b991a439f252ecee53a73c2e63d3fda0
5
5
  SHA512:
6
- metadata.gz: 92474ea3b4e4ac1c4658ed192e929e9ac6b203dead4b1b5e0e424fc545d723197a606e906e224f7809f2914ed7dca83243d38bb9c6ee783d1422c7c36f0ecb90
7
- data.tar.gz: 707e8d18312f9c029fe86849eecc84dc50f4fd52191c4938c858a7ad0d420aac6798673575fb413a8c37b90def7f5c4bfdc5826a20f23525a2a253f52d586558
6
+ metadata.gz: 3b812a82954028fb21d708b42ecfe509ff735a11c29bb01eecf3d1952e5a5b6d3b246b8187d887254bbd9b6c2057dc96890580a92952e9e9c4f30e75a813ca2e
7
+ data.tar.gz: 81a4a77d7b1af2a17dc5cea4400376372d84fbf533b20ae6c02f12f12a197d06c14172bc8659fa1b6d9b7592bbb247a484d2361d9646b5afcd33dda0e34c5b75
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 1.1.3 (Jun 11, 2021)
2
+
3
+ * Add Procore-Sdk-Language header to all requests
4
+
5
+ PR #45 - https://github.com/procore/ruby-sdk/pull/45
6
+
7
+ *Benjamin Ross*
8
+
9
+ * Remove Redis.exists warning
10
+
11
+ PR #46 - https://github.com/procore/ruby-sdk/pull/46
12
+
13
+ *claudioprocore*
14
+
1
15
  ## 1.1.2 (Jun 4, 2021)
2
16
 
3
17
  * Add Procore-Sdk-Version header to all requests
@@ -13,7 +13,7 @@ module Procore
13
13
  end
14
14
 
15
15
  def fetch
16
- return unless redis.exists(redis_key)
16
+ return unless redis.exists?(redis_key)
17
17
 
18
18
  token = JSON.parse(redis.get(redis_key))
19
19
  Procore::Auth::Token.new(
@@ -343,7 +343,8 @@ module Procore
343
343
  "Accepts" => "application/json",
344
344
  "Authorization" => "Bearer #{access_token}",
345
345
  "Content-Type" => "application/json",
346
- "Procore-Sdk-Version" => "ruby-#{Procore::VERSION}",
346
+ "Procore-Sdk-Version" => Procore::VERSION,
347
+ "Procore-Sdk-Language" => "ruby",
347
348
  "User-Agent" => Procore.configuration.user_agent,
348
349
  }.tap do |headers|
349
350
  if options[:idempotency_token]
@@ -1,3 +1,3 @@
1
1
  module Procore
2
- VERSION = "1.1.2".freeze
2
+ VERSION = "1.1.3".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: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Procore Engineering
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-04 00:00:00.000000000 Z
11
+ date: 2021-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack