omniauth-campus 3.1 → 3.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: acbdeebc5edcd5b8ff2d4122a31ffadd98d05612
4
- data.tar.gz: 37740e8f9029bda47ca7f9b01840494e8ac046f2
3
+ metadata.gz: 81fc46cf2f4f6c2cb988a320860d02644031a169
4
+ data.tar.gz: fa38788172120023d11a828c092f46ad1831858b
5
5
  SHA512:
6
- metadata.gz: 21da65e823342aad5fe034cc71ef4cd13088ced84848fe1ac3d4d8b6bb40e1f1223963906de9d6d585c00523ea723cc23f39b2990e7518d35b0e8d1f3fa4e8b4
7
- data.tar.gz: 83ca452757c8687bf7e2a3c30ca4930da63da8c124b8b394b6f2e461bfebc5dfc6c4bbd51349b902cae077180da6bdafa83cbe22f2570cc4fe75a8ac6c0f0c94
6
+ metadata.gz: 49a5faf0aebafc2aedffd8355694b3cf9b15d06463009c1fa936a035f0e83c0e50b73a17a929981a8109472a9492234c9618796ab2b014da5bb72c60fd60307e
7
+ data.tar.gz: b53e154dd466dcdde7cfc047cee7cffb1eb2c4e02a7d8bac6c636ef33965a690bfc35bc81b2ac85cdcc124f886531cad13c474aa395efc42ddf4eed2404e62bc
@@ -1,5 +1,4 @@
1
- require 'oauth'
2
- require 'omniauth'
1
+ require 'omniauth-oauth'
3
2
  require 'multi_json'
4
3
  require 'openssl'
5
4
  #require 'omniauth/core'
@@ -9,8 +8,7 @@ require 'uri'
9
8
  module OmniAuth
10
9
  module Strategies
11
10
  # Your code goes here...
12
- class Campus
13
- include OmniAuth::Strategy
11
+ class Campus < OmniAuth::Strategies::OAuth
14
12
 
15
13
 
16
14
  #site: 'http://community3dev.devcloud.acquia-sites.com/api'
@@ -52,11 +50,11 @@ module OmniAuth
52
50
  super
53
51
  end
54
52
 
55
- def auth_hash
56
- OmniAuth::Utils.deep_merge(super(), {
57
- 'uid' => @uid
58
- })
59
- end
53
+ #def auth_hash
54
+ # OmniAuth::Utils.deep_merge(super(), {
55
+ # 'uid' => @uid
56
+ # })
57
+ #end
60
58
 
61
59
 
62
60
  end
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "3.1"
3
+ VERSION = "3.2"
4
4
  end
5
5
  end
6
6
 
@@ -20,8 +20,8 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.3"
22
22
  spec.add_development_dependency 'rake', '~> 0'
23
- spec.add_runtime_dependency 'omniauth', '~> 1.0'
24
- spec.add_runtime_dependency 'oauth', '~> 0'
23
+ spec.add_runtime_dependency 'omniauth-oauth', '~> 1.0'
24
+ #spec.add_runtime_dependency 'oauth', '~> 0'
25
25
  spec.add_dependency 'faraday', ['>= 0.8', '<0.10']
26
26
  spec.add_dependency 'multi_json', '~> 1.3'
27
27
  end
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: '3.1'
4
+ version: '3.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr
@@ -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
  - - "~>"
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.0'
55
- - !ruby/object:Gem::Dependency
56
- name: oauth
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: faraday
71
57
  requirement: !ruby/object:Gem::Requirement