omniauth-campus 0.6.1 → 0.6.2

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: 26809f6caee109ceceba507c6a54bf47d9a59ba1
4
- data.tar.gz: c8071a82c1dc5291a83637a4cb4174695c556bce
3
+ metadata.gz: e5194265fbf59b6a1303cf4d7bc425116173b1c6
4
+ data.tar.gz: 1aeee3aa86639374e825a6c58e183a155e3563ed
5
5
  SHA512:
6
- metadata.gz: 3e3e4b7bd3ede26bea0d56896daeb37df3147786273fa4ba39446f885743857b1a5e2474491efe83e37a0a58a71c4fc5b815e04208ffb85dece24e5b29aab53c
7
- data.tar.gz: a4285e31aa55e88b1b605ed5acf811071ee2bad21a73bde421d388961db81a3b2e8b0f3fcd7cdad286773c1768725def1d473b89c60e4d577c7415055b090428
6
+ metadata.gz: 1505bd34c97c8708e1c54ee989793a2ab7e4357aabf9dcd420125db2647b39633a64073c600893ac388dce6314bf791e74f7b938f23ebdcaa0e8545f3819dc54
7
+ data.tar.gz: 97fd6897b4a1aafe84f8f56de7919e856265b4b1269ed868d1b57316460a2e7e881350eeebb31f6cea0ae00e9f36c555b5be049f4aa32eb4caf78609a4ccf590
Binary file
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "0.6.1"
3
+ VERSION = "0.6.2"
4
4
  end
5
5
  end
6
6
 
Binary file
@@ -12,11 +12,12 @@ require 'uri'
12
12
  module OmniAuth
13
13
  module Strategies
14
14
  # Your code goes here...
15
- class Campus < OmniAuth::Strategies::OAuth2
15
+ class Campus
16
+ include OmniAuth::Strategy
16
17
 
17
18
 
18
19
  option :name, 'campus'
19
- args [:consumer_id, :consumer_secret]
20
+ args [:consumer_key, :consumer_secret]
20
21
  #option :consumer_key, "YzjVHuk8xoXCTcNwYg57yiCW5w59tucC"
21
22
  #option :consumer_secret, "ZDrWuDsunNkRroU5psb6QyMmT86XkYST"
22
23
  option :client_options, {
@@ -25,6 +26,8 @@ module OmniAuth
25
26
  request_token_path: '/oauth/request_token',
26
27
  site: 'https://community3dev.devcloud.acquia-sites.com/api'
27
28
  }
29
+ option :consumer_key, nil
30
+ option :consumer_secret
28
31
 
29
32
  option :fields, [:name, :email]
30
33
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-campus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr