omniauth-hubspot 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/hubspot/version.rb +1 -1
- data/lib/omniauth/strategies/hubspot.rb +3 -7
- data/omniauth-hubspot.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 041901a38d9b01ddb0f49c5566c007103ee35d5d
|
4
|
+
data.tar.gz: ed4c11fdea12bc2714ab24f559af8dd020297ee3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4915b5ea4a31982ac5846747be02b080629b8227c40b962cce76781261c9ba6759ce1301eb9813af2f760c1371996771945243f49cda0b5cecec0d7e0435dcce
|
7
|
+
data.tar.gz: a185676d060667909fa0708519c5ae615375e0300c12e6d98f4e991dfac72d19ff8158afd4c76646e806378d4ee362c57ada1af14f46bbe258677b95d1f731d5
|
@@ -1,22 +1,18 @@
|
|
1
|
-
require 'omniauth-
|
1
|
+
require 'omniauth-oauth'
|
2
2
|
|
3
3
|
module OmniAuth
|
4
4
|
module Strategies
|
5
|
-
class HubSpot < OmniAuth::Strategies::
|
5
|
+
class HubSpot < OmniAuth::Strategies::OAuth
|
6
6
|
|
7
7
|
args [:client_id]
|
8
8
|
|
9
9
|
option :name, "hubspot"
|
10
|
-
option :provider_ignores_state, true
|
11
10
|
|
12
11
|
option :client_options, {
|
13
12
|
:site => 'https://app.hubspot.com',
|
14
|
-
:authorize_url => '/auth/authenticate'
|
15
|
-
:token_url => '/auth/authenticate'
|
13
|
+
:authorize_url => '/auth/authenticate'
|
16
14
|
}
|
17
15
|
|
18
|
-
option :authorize_options, [:scope, :portalId]
|
19
|
-
|
20
16
|
end
|
21
17
|
end
|
22
18
|
end
|
data/omniauth-hubspot.gemspec
CHANGED
@@ -3,8 +3,8 @@ require File.expand_path('../lib/omniauth/hubspot/version', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.add_dependency 'omniauth'
|
6
|
-
gem.add_dependency '
|
7
|
-
gem.add_dependency 'omniauth-
|
6
|
+
gem.add_dependency 'oauth'
|
7
|
+
gem.add_dependency 'omniauth-oauth'
|
8
8
|
|
9
9
|
gem.add_development_dependency 'rspec', '~> 2.7'
|
10
10
|
gem.add_development_dependency 'rack-test'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-hubspot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Arnold
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: oauth
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '>='
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: omniauth-
|
42
|
+
name: omniauth-oauth
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '>='
|