omniauth-htc 0.2.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/{omniauth_htc.rb → omniauth-htc.rb} +0 -0
- data/lib/omniauth/htc/version.rb +1 -1
- data/lib/omniauth/strategies/htc.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e83a3c5bdfae7507350e3914f4c42dc3829265b9c4cd5bd62fad7ba8acea2ff
|
4
|
+
data.tar.gz: ba011220bb9d30c7d9ff3de265f51dbe3333edb4a9b065ca7030d376938abf21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32e6b4aad7edb33e4897bfbddcfa617bc47461ad85e90b4248498e33e4b25326d020b396021ad85aeedee8abc2aa8cae57bff0c011308ecb6cf571375b506472
|
7
|
+
data.tar.gz: 2b4a62f2da7f080391fc17d6ffbf386fcdb82330ca6a8768ea3d71a7e7eccb655092c641bf87a4717290cf1f764afa05ed210bedb1e26721bf131fac14c3ce46
|
data/README.md
CHANGED
File without changes
|
data/lib/omniauth/htc/version.rb
CHANGED
@@ -10,7 +10,7 @@ module OmniAuth
|
|
10
10
|
include OmniAuth::Strategy
|
11
11
|
|
12
12
|
option :auth_host, "account.htcvive.com"
|
13
|
-
option :authorize_path, "/SS/api/oauth/
|
13
|
+
option :authorize_path, "/SS/api/oauth/v1/authorize"
|
14
14
|
option :token_path, "/SS/api/oauth/v2/token/authorization-code"
|
15
15
|
option :user_info_host, "account-profile.htcvive.com"
|
16
16
|
option :user_info_path, "/SS/Profiles/v3/Me"
|
@@ -154,6 +154,7 @@ module OmniAuth
|
|
154
154
|
str.gsub!(/\A[[:space:]]+/, '')
|
155
155
|
str.gsub!(/[[:space:]]+\z/, '')
|
156
156
|
str.gsub!(/[[:space:]]+/, ' ')
|
157
|
+
str
|
157
158
|
end
|
158
159
|
end
|
159
160
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-htc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Yang
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -126,9 +126,9 @@ files:
|
|
126
126
|
- Rakefile
|
127
127
|
- bin/console
|
128
128
|
- bin/setup
|
129
|
+
- lib/omniauth-htc.rb
|
129
130
|
- lib/omniauth/htc/version.rb
|
130
131
|
- lib/omniauth/strategies/htc.rb
|
131
|
-
- lib/omniauth_htc.rb
|
132
132
|
- omniauth-htc.gemspec
|
133
133
|
homepage: https://github.com/jamesyang124/omniauth-htc
|
134
134
|
licenses:
|