stackone_client 0.2.0 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89d25140db83b103a565e5b8bb45d73907ff8a8e78c025407929b78ef633c58d
|
4
|
+
data.tar.gz: 210249c857ee9b5e99501fd236e6a6089688f52ab7bf48306d0e3471051bd671
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 562b96d818276c26fe1f1ed7485f1de00bc1eb349fbce25d7baf310a54a4a241884b1bc4ac9a98be4cc925c61a94233b1946aff840989dac3ac1376918adc520
|
7
|
+
data.tar.gz: c4b2f52b6f160f795f0a0ce12d3625507ead869a4580ca4938df6681f64286418fc8d6c0f3fc8cffa20469095d5c69ea26618d81634490d9be72aba4c1e8847a
|
@@ -36,9 +36,9 @@ module StackOne
|
|
36
36
|
@server_idx = server_idx.nil? ? 0 : server_idx
|
37
37
|
@language = 'ruby'
|
38
38
|
@openapi_doc_version = '1.0.0'
|
39
|
-
@sdk_version = '0.2.
|
40
|
-
@gen_version = '2.250.
|
41
|
-
@user_agent = 'speakeasy-sdk/ruby 0.2.
|
39
|
+
@sdk_version = '0.2.1'
|
40
|
+
@gen_version = '2.250.22'
|
41
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.1 2.250.22 1.0.0 stackone_client'
|
42
42
|
end
|
43
43
|
|
44
44
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
@@ -479,7 +479,9 @@ module StackOne
|
|
479
479
|
end
|
480
480
|
|
481
481
|
data = "#{username}:#{password}".encode
|
482
|
-
|
482
|
+
# Use strict_encode, because encode adds newlines after 60 chars
|
483
|
+
# https://docs.ruby-lang.org/en/3.0/Base64.html#method-i-encode64
|
484
|
+
req.headers['Authorization'] = "Basic #{Base64.strict_encode64(data)}"
|
483
485
|
end
|
484
486
|
|
485
487
|
sig { params(optional: T::Boolean).returns(T.proc.params(s: String).returns(DateTime)) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackone_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StackOne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|