spark_api 1.5.5 → 1.5.6
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/VERSION +1 -1
- data/lib/spark_api/authentication/oauth2_impl/cli_provider.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c3d4c9f45558cce85bffb176aec80b078549b79c6254aebf327ee6044e821eb
|
|
4
|
+
data.tar.gz: b64d5dbb122e21f47a8860b0c80f9d601ce2fbf212281a14dcaa0e6e69b85119
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6162c7da6c81aa3bf9e2e947ed32ce2632e8f8d15961ec63f1c1812a8e65b9730bbd081d3aff8c68306ae35590b4094ab99fcd77b5dca6e85b7b71e20e67e21b
|
|
7
|
+
data.tar.gz: 99fca35f709e59f97589eebc86206ec0f80c855103122e3101665cf6d6042b6c1d1de10e560d65d6e8d10e3b2a6925086857ae01c124c6531781d047754e3c6b
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.5.
|
|
1
|
+
1.5.6
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require "highline
|
|
1
|
+
require "highline"
|
|
2
2
|
|
|
3
3
|
module SparkApi
|
|
4
4
|
module Authentication
|
|
@@ -18,7 +18,7 @@ module SparkApi
|
|
|
18
18
|
def redirect(url)
|
|
19
19
|
puts "Missing OAuth2 session, redirecting..."
|
|
20
20
|
puts "Please visit #{url}, login as a user, and paste the authorization code here:"
|
|
21
|
-
self.code = ask("Authorization code?") do |q|
|
|
21
|
+
self.code = HighLine.ask("Authorization code?") do |q|
|
|
22
22
|
q.whitespace = :strip_and_collapse
|
|
23
23
|
q.validate = /^\w+$/
|
|
24
24
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spark_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brandon Hornseth
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2022-01-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: faraday
|