omniauth-hubspot 0.0.8 → 0.0.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cda242b5256aa8cb94493df668bcf683b8e1bd49
4
- data.tar.gz: d62e40376d95adc1cad861b7d7834641e291a914
3
+ metadata.gz: 041901a38d9b01ddb0f49c5566c007103ee35d5d
4
+ data.tar.gz: ed4c11fdea12bc2714ab24f559af8dd020297ee3
5
5
  SHA512:
6
- metadata.gz: 3d99738e34a32d182abbec53008e4204d65e3f6e935fbae6e8809d58f140183d9efae29a3e4940afb8e9c0f5bdd53df3007afb1a6901b12fcc562eeca106cc86
7
- data.tar.gz: ee300046e498c2a4d64579fc8ce08d5125a86329d4466504438b719f325f535e3b17164031ead4a90c957e90a7dafdbe84acfdf4d367f252741a5c950533ae06
6
+ metadata.gz: 4915b5ea4a31982ac5846747be02b080629b8227c40b962cce76781261c9ba6759ce1301eb9813af2f760c1371996771945243f49cda0b5cecec0d7e0435dcce
7
+ data.tar.gz: a185676d060667909fa0708519c5ae615375e0300c12e6d98f4e991dfac72d19ff8158afd4c76646e806378d4ee362c57ada1af14f46bbe258677b95d1f731d5
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module HubSpot
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
@@ -1,22 +1,18 @@
1
- require 'omniauth-oauth2'
1
+ require 'omniauth-oauth'
2
2
 
3
3
  module OmniAuth
4
4
  module Strategies
5
- class HubSpot < OmniAuth::Strategies::OAuth2
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
@@ -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 'oauth2'
7
- gem.add_dependency 'omniauth-oauth2'
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.8
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: oauth2
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-oauth2
42
+ name: omniauth-oauth
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '>='