gripcontrol 1.2.2 → 1.3.0
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 +5 -5
- data/lib/grippubcontrol.rb +2 -0
- metadata +5 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: f7a909b3cfef4fdaea3e044b1bfd452bb3a861f3f9dbbc05b35626bf6c195322
|
|
4
|
+
data.tar.gz: 3fcec28a6f998f985b5c5efeeed60b53064c8548f5065c4e4e5b7f0951913a2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50bb677bafdf787a490a1379b047998015a5f92c2fe8986bc2792325ac5dba4f5450ae5a0c26234a0106269cd86b7e11ae8ca0082744a59af7e618b95c8e93d6
|
|
7
|
+
data.tar.gz: 26e8a7a0ff71d0afe1845876bd19a616babfa8a43620e6b99ff930c3ebee88e29b1cc77cb231a81ecc4187ce6c60f38fdfcfd7846904b0e7325adbc2e6e5e269
|
data/lib/grippubcontrol.rb
CHANGED
|
@@ -43,6 +43,8 @@ class GripPubControl < PubControl
|
|
|
43
43
|
client = PubControlClient.new(entry['control_uri'])
|
|
44
44
|
if entry.key?('control_iss')
|
|
45
45
|
client.set_auth_jwt({'iss' => entry['control_iss']}, entry['key'])
|
|
46
|
+
elsif entry.key?('key')
|
|
47
|
+
client.set_auth_bearer(entry['key'])
|
|
46
48
|
end
|
|
47
49
|
super_add_client(client)
|
|
48
50
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gripcontrol
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Konstantin Bokarius
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-12-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pubcontrol
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '1'
|
|
19
|
+
version: '1.3'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '1'
|
|
26
|
+
version: '1.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: jwt
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -71,8 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
71
71
|
- !ruby/object:Gem::Version
|
|
72
72
|
version: '0'
|
|
73
73
|
requirements: []
|
|
74
|
-
|
|
75
|
-
rubygems_version: 2.2.2
|
|
74
|
+
rubygems_version: 3.0.3.1
|
|
76
75
|
signing_key:
|
|
77
76
|
specification_version: 4
|
|
78
77
|
summary: GRIP library for Ruby
|