omniauth-prx 0.1.0 → 0.2.0

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: e5b9212f38d154cc2165d567feb3643e447692a7
4
- data.tar.gz: eaed88cfe42bb76c1922c9635445d639b7736a5a
3
+ metadata.gz: 27309e701ab7d0a431474718d7d650ca2243aca0
4
+ data.tar.gz: e7347aaa2d03ceafe383fb8f374f2e17cf9ac6f7
5
5
  SHA512:
6
- metadata.gz: 9dcb3614af279ad9278b64b119a30b7f53ea04ee92f0d521229a43a9a83d326449cd40936bd12f3d34bf643044ad60b6f936acbbc4663f72b49c249f1817d53c
7
- data.tar.gz: c47dd6024d90517a757173b8bbd2312f7fadb23bcfe3dd5b32addbdbd69cd31de3cee5affefb94dcccd7f98d0915f3786f85720a984d4c146e8d75ce840e5ad2
6
+ metadata.gz: 0a60dbd79c941cb9ad2ebeabfbffdb20ea250efbd109d638d426eaecd57dd950b4f88b270cd38b16adfdfd9ac85a5c15fa8f7ce8fd6d350e76795f84fd46954d
7
+ data.tar.gz: 744638dcc2ec5bf1468273b1f8197b137f9b5ab807abf1ce78a2f39b947ed0202762e159e2f7ddea6852c20468689534840d364f2e5338bba4ac3c66658e5c41
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # OmniAuth PRX
2
2
 
3
- An upcoming release of PRX (www.prx.org) will provide OAuth2 support for login and access to v2 of the PRX API.
3
+ PRX Exchange (exchange.prx.org) provides OAuth2 support for login and access to v2 of the PRX API.
4
4
 
5
- Currently, PRX supports OpenID authentication, and uses an API key for access to V1 of the PRX API.
5
+ It also still supports OpenID authentication, and uses an API key for access to V1 of the PRX API.
6
6
 
7
7
  OmniAuth PRX is based on the OmniAuth-OAuth2 gem template for OAuth2 strategies.
8
8
 
@@ -30,8 +30,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do
30
30
  end
31
31
  ```
32
32
  To get the key and secret, login to PRX, then visit:
33
-
34
- https://www.prx.org/oauth_clients
35
33
 
36
- to set-up your client application.
34
+ https://exchange.prx.org/oauth_clients
37
35
 
36
+ to set-up your client application.
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module PRX
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -8,7 +8,7 @@ module OmniAuth
8
8
 
9
9
  # This is where you pass the options you would pass when
10
10
  # initializing your consumer from the OAuth gem.
11
- option :client_options, {:site => "https://www.prx.org"}
11
+ option :client_options, { :site => "https://exchange.prx.org" }
12
12
 
13
13
  # These are called after authentication has succeeded. If
14
14
  # possible, you should try to set the UID without making
@@ -24,7 +24,7 @@ module OmniAuth
24
24
  :email => raw_info['email'],
25
25
  :first_name => raw_info['first_name'],
26
26
  :last_name => raw_info['last_name'],
27
- :urls => {"Profile" => "http://www.prx.org/users/#{raw_info['id']}-#{raw_info['login']}"}
27
+ :urls => { "Profile" => "http://exchange.prx.org/users/#{raw_info['id']}-#{raw_info['login']}" }
28
28
  }
29
29
  end
30
30
 
@@ -43,4 +43,4 @@ module OmniAuth
43
43
  # Alias for backward compatibility
44
44
  PRX = Prx
45
45
  end
46
- end
46
+ end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-prx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kuklewicz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-08 00:00:00.000000000 Z
11
+ date: 2018-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description:
@@ -59,7 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
62
+ - ".gitignore"
63
63
  - Gemfile
64
64
  - README.md
65
65
  - Rakefile
@@ -77,17 +77,17 @@ require_paths:
77
77
  - lib
78
78
  required_ruby_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - '>='
85
+ - - ">="
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
89
  rubyforge_project:
90
- rubygems_version: 2.1.11
90
+ rubygems_version: 2.5.2.2
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: PRX strategy for OmniAuth using OAuth2