omniauth-lightspeed-pos 0.0.1 → 0.0.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d999c09ac3f4fd80c0d665b7aff0b9a62c62543
|
4
|
+
data.tar.gz: 62033ffaf11a0b5421d4d191e51bd9ed4abf600f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f19b6a0db78f48ed9b9c558627e46043575d4189db58ed7772a913bb7681d00b09a74c3356790e9d0ccd3cbaafb0b9b88809c4ef5a37dae636631e1597d8836f
|
7
|
+
data.tar.gz: 5fc6e48ff3207b8393d1b66aee5bdc8dcf76f70a61d83521bad91c66c76e0cecd2823f26dd2b0aea80067c0d17f584d1e1f9ce83815457593c341b968aadcd85
|
File without changes
|
@@ -12,6 +12,14 @@ module OmniAuth
|
|
12
12
|
options[:scope] ||= "employee:all"
|
13
13
|
super
|
14
14
|
end
|
15
|
+
|
16
|
+
protected
|
17
|
+
|
18
|
+
def build_access_token
|
19
|
+
verifier = request.params["code"]
|
20
|
+
callback_url_without_params = callback_url.split("?")[0]
|
21
|
+
client.auth_code.get_token(verifier, {:redirect_uri => callback_url_without_params}.merge(token_params.to_hash(:symbolize_keys => true)), deep_symbolize(options.auth_token_params))
|
22
|
+
end
|
15
23
|
end
|
16
24
|
end
|
17
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-lightspeed-pos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zamith
|
@@ -51,7 +51,7 @@ files:
|
|
51
51
|
- Gemfile.lock
|
52
52
|
- README.md
|
53
53
|
- Rakefile
|
54
|
-
- lib/omniauth-lightspeed.rb
|
54
|
+
- lib/omniauth-lightspeed-pos.rb
|
55
55
|
- lib/omniauth-lightspeed/version.rb
|
56
56
|
- lib/omniauth/strategies/lightspeed.rb
|
57
57
|
- omniauth-lightspeed.gemspec
|