strongmind-platform-sdk 2.15.0 → 2.15.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc1ec78b01606b3ff2d580b74384babf0b5bebe6b9fd63c860604fbbe2a4c448
4
- data.tar.gz: fd71f249ded7674968d27bd4bd9151b0f7635eaf685ab16b5bd927e87cf33010
3
+ metadata.gz: f222ada467676a875fa2c5cc326dabf20b0a00f7b265125558e0417494bf1dc1
4
+ data.tar.gz: 3246e4a95dcc9dcf8d841bb70c13a992a416264d82337d1953025872be688205
5
5
  SHA512:
6
- metadata.gz: 6623bda6194ed932d6658a4bd906caabc590ea5e81829d3b91ac38135e259013653830abc01eed053d37901e4925d9734149e5703d745cd430936e3c9e38fb02
7
- data.tar.gz: 24f7e8881ddc97108d52867098c05b75131943f5403d5b4fe37b0206377fc5d5391dd6134c86fc5e42092b07294839bfb93977733e226b38076b4336ad280112
6
+ metadata.gz: 7539d8d74541700b3181bde620c987ae2280378cf56881ba4a2f18a68545f8f169e670e215e009dc80b5a292d700d1d63e4dc2548494fb6163f2995300c85c84
7
+ data.tar.gz: e6e00d9e9f84c3232039f53e6cd051b1895f40d01bf1a77a7fead742f24daf8d4b94a9e53bd7ec8bb72cc6b6956ecc1a7afa58b9e066586aead1fe5e8464293e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (2.15.0)
4
+ strongmind-platform-sdk (2.15.2)
5
5
  aws-sdk-secretsmanager (~> 1.66)
6
6
  devise
7
7
  faraday (~> 2.5, >= 2.5.2)
@@ -38,7 +38,7 @@ GEM
38
38
  ast (2.4.2)
39
39
  attr_required (1.0.1)
40
40
  aws-eventstream (1.2.0)
41
- aws-partitions (1.772.0)
41
+ aws-partitions (1.775.0)
42
42
  aws-sdk-core (3.174.0)
43
43
  aws-eventstream (~> 1, >= 1.0.2)
44
44
  aws-partitions (~> 1, >= 1.651.0)
@@ -112,10 +112,6 @@ GEM
112
112
  nokogiri (1.15.2)
113
113
  mini_portile2 (~> 2.8.2)
114
114
  racc (~> 1.4)
115
- nokogiri (1.15.2-x86_64-darwin)
116
- racc (~> 1.4)
117
- nokogiri (1.15.2-x86_64-linux)
118
- racc (~> 1.4)
119
115
  omniauth (2.1.1)
120
116
  hashie (>= 3.4.6)
121
117
  rack (>= 2.2.3)
data/README.md CHANGED
@@ -11,7 +11,7 @@ First [configure your GitHub credentials](#configure-github-credentials)
11
11
  Install the gem and add to the application's Gemfile by executing:
12
12
 
13
13
  ```
14
- gem "strongmind-platform-sdk", "~> 2.13.1"
14
+ gem "strongmind-platform-sdk", "~> 2.15.2"
15
15
  ```
16
16
 
17
17
  If bundler is not being used to manage dependencies, install the gem by executing:
@@ -43,7 +43,7 @@ module PlatformSdk
43
43
  public
44
44
 
45
45
  def pairs(guid)
46
- path = "api/v1/pairs/#{guid}/"
46
+ path = "api/v1/pairs/#{guid}"
47
47
  begin
48
48
  get(path)
49
49
  rescue Faraday::ResourceNotFound
@@ -58,7 +58,7 @@ module PlatformSdk
58
58
  rescue JWT::ExpiredSignature
59
59
  return true
60
60
  end
61
- expiry_time <= Time.now.utc + 30
61
+ expiry_time <= Time.now.utc + 45
62
62
  end
63
63
 
64
64
  def refresh_token(jwt:, refresh_token:)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = "2.15.0"
4
+ VERSION = "2.15.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-platform-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.0
4
+ version: 2.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-01 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday