omniauth-orcid 0.1 → 0.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.
data/README.md CHANGED
@@ -1,11 +1,13 @@
1
1
  # OmniAuth ORCID
2
2
 
3
- ORCID OAuth 2.0 Strategy for OmniAuth 1.0.
3
+ ORCID OAuth 2.0 Strategy for the wonderful [OmniAuth Ruby authentication framework](http://www.omniauth.org).
4
4
 
5
5
  Originally created for the [ORCID example client application in Rails](https://github.com/gthorisson/ORCID-example-client-app-rails), then turned into a gem.
6
6
 
7
+ *Note: the gem comes configured to connected to the [ORCID sandbox service](http://devsandbox.orcid.org). Please update the parameters in ```:client_options``` to connect to the live service when it launches (see http://dev.orcid.org/launch)*
7
8
 
8
- ...stuff coming, patience plz....
9
+
10
+ *...stuff coming, patience plz....*
9
11
 
10
12
 
11
13
  ## More information
data/Rakefile ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env rake
2
+
3
+ # Get useful helper tasks from Bundler
4
+ require "bundler/gem_tasks"
5
+
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module ORCID
3
- VERSION = "0.1"
3
+ VERSION = "0.2"
4
4
  end
5
5
  end
@@ -12,7 +12,7 @@ module OmniAuth
12
12
  :site => 'http://api.devsandbox.orcid.org',
13
13
  :authorize_url => 'http://devsandbox.orcid.org/oauth/authorize',
14
14
  :token_url => 'http://api.devsandbox.orcid.org/oauth/token',
15
- :scope => '/orcid-profile/read-protected',
15
+ :scope => '/orcid-profile/read-limited',
16
16
  :response_type => 'code',
17
17
  :mode => :header
18
18
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-orcid
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-23 00:00:00.000000000 Z
12
+ date: 2012-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth
@@ -43,17 +43,20 @@ dependencies:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
45
  version: '1.1'
46
- description: ORCID OAuth 2.0 Strategy for OmniAuth 1.0
46
+ description: ! 'Enables third-party client apps to connect to the ORCID API and access/update
47
+ protected profiledata '
47
48
  email: gthorisson@gmail.com
48
49
  executables: []
49
50
  extensions: []
50
- extra_rdoc_files: []
51
+ extra_rdoc_files:
52
+ - README.md
51
53
  files:
52
54
  - lib/omniauth/strategies/orcid.rb
53
55
  - lib/omniauth-orcid/version.rb
54
56
  - lib/omniauth-orcid.rb
55
57
  - README.md
56
- homepage: http://rubygems.org/gems/omniauth-orcid
58
+ - Rakefile
59
+ homepage: https://github.com/gthorisson/omniauth-orcid
57
60
  licenses: []
58
61
  post_install_message:
59
62
  rdoc_options: []