pager_duty-connection 2.1.0 → 2.2.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 +4 -4
- data/.ruby-version +1 -1
- data/lib/pager_duty/connection/version.rb +1 -1
- data/lib/pager_duty/connection.rb +7 -7
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdd585e0292f12142b4deb85820c0bf5f9155f6d7ec607bddf53bceaf131c732
|
|
4
|
+
data.tar.gz: 8b2f1784f52e3f4d70e135b2d70eff086de47a87b6e24b0079797211634617e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 857ce1740ca088180a548594f38aa8c4ab0af2bb5b3fe002bda1febd00e6a5c83bc89a01803596d5e518562a19186e0fd6c2f868a30f89827d6b39f7ca1988cf
|
|
7
|
+
data.tar.gz: 7e3f96e3ea4d2eb17714eb2deb090316817cce70c3f2c77dd3cbfe306683ae462adf9e3ec34c5ac6a204523638ad005b7626b07751adf2224dc7ce78e5d20bb6
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
3.2.2
|
|
@@ -154,13 +154,13 @@ module PagerDuty
|
|
|
154
154
|
@connection = Faraday.new do |conn|
|
|
155
155
|
conn.url_prefix = url
|
|
156
156
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
157
|
+
case token_type
|
|
158
|
+
when :Token
|
|
159
|
+
conn.request :token_auth, token
|
|
160
|
+
when :Bearer
|
|
161
|
+
conn.request :authorization, 'Bearer', token
|
|
162
|
+
else raise ArgumentError, "invalid token_type: #{token_type.inspect}"
|
|
163
|
+
end
|
|
164
164
|
|
|
165
165
|
conn.use ConvertTimesParametersToISO8601
|
|
166
166
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pager_duty-connection
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josh Nichols
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -109,7 +109,7 @@ files:
|
|
|
109
109
|
homepage: http://github.com/technicalpickles/pager_duty-connection
|
|
110
110
|
licenses: []
|
|
111
111
|
metadata: {}
|
|
112
|
-
post_install_message:
|
|
112
|
+
post_install_message:
|
|
113
113
|
rdoc_options: []
|
|
114
114
|
require_paths:
|
|
115
115
|
- lib
|
|
@@ -124,8 +124,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
124
124
|
- !ruby/object:Gem::Version
|
|
125
125
|
version: '0'
|
|
126
126
|
requirements: []
|
|
127
|
-
rubygems_version: 3.
|
|
128
|
-
signing_key:
|
|
127
|
+
rubygems_version: 3.4.12
|
|
128
|
+
signing_key:
|
|
129
129
|
specification_version: 4
|
|
130
130
|
summary: Written with the power of faraday, pager_duty-connection tries to be a simple
|
|
131
131
|
and usable Ruby API wrapper for the PagerDuty REST API
|