omniauth-orcid 1.0.13 → 1.0.14
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 +4 -4
- data/README.md +1 -2
- data/lib/omniauth/orcid/version.rb +1 -1
- data/lib/omniauth/strategies/orcid.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d595a7dc573239619f732c49f1fc5a2598810340
|
|
4
|
+
data.tar.gz: 285b0f1eb4cd046f50fcd45fb9058142b422be7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9dd5be43d0c1d3d349c68bea6a87bc3a2670ffb5b01090900125f47ee21740e39d62c1a66c18a76d2fb4945eabbde8891272c56bb1e4b94636d0de53111f60a
|
|
7
|
+
data.tar.gz: 48c029f1c862f7b3bae41a732d5f1dd6c5f1add06414d0a288f24a7ef83f26d3fe1bae71c02d0916ab8dfb2074b3bb9f5c83af4ebfcec785f22d590030b9307b
|
data/README.md
CHANGED
|
@@ -153,8 +153,7 @@ class AuthenticationsController < ApplicationController
|
|
|
153
153
|
|
|
154
154
|
## Configuration
|
|
155
155
|
|
|
156
|
-
You can also grab parameters from a environment variables (e.g. using the [dotenv](https://github.com/bkeepers/dotenv) gem) and pass to the strategy, along with other options specific to your app.
|
|
157
|
-
scopes in particular frequently need to be customized. Here's an example from the bundled Sinatra app in `demo.rb`:
|
|
156
|
+
You can also grab parameters from a environment variables (e.g. using the [dotenv](https://github.com/bkeepers/dotenv) gem) and pass to the strategy, along with other options specific to your app. Here's an example from the bundled Sinatra app in `demo.rb`:
|
|
158
157
|
|
|
159
158
|
```ruby
|
|
160
159
|
use OmniAuth::Builder do
|
|
@@ -58,7 +58,7 @@ module OmniAuth
|
|
|
58
58
|
case namespace
|
|
59
59
|
when 'sandbox' then 'http://api.sandbox.orcid.org'
|
|
60
60
|
when 'production' then 'http://api.orcid.org'
|
|
61
|
-
when 'public_sandbox' then 'http://pub.sandbox.orcid.org
|
|
61
|
+
when 'public_sandbox' then 'http://pub.sandbox.orcid.org'
|
|
62
62
|
when 'public' then 'http://pub.orcid.org'
|
|
63
63
|
end
|
|
64
64
|
end
|