Skip to content

Commit

Permalink
goodreads login (requires forked omniauth-goodreads)
Browse files Browse the repository at this point in the history
  • Loading branch information
herestomwiththeweather committed Mar 26, 2018
1 parent be7ca85 commit 5c023e8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ gem 'omniauth-twitter'
gem 'omniauth-openid'
gem 'omniauth-eventbrite'
gem 'omniauth-beeminder', :git => 'https://github.com/aaronpk/omniauth-beeminder'
gem 'omniauth-goodreads', git: 'https://github.com/herestomwiththeweather/omniauth-goodreads.git'

gem 'ruby-openid'

Expand Down
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ GIT
omniauth-beeminder (0.1.0)
omniauth-oauth2 (>= 1.1.1)

GIT
remote: https://github.com/herestomwiththeweather/omniauth-goodreads.git
revision: 1284c4a4ae51173d87a81794c8f4312bc181ca87
specs:
omniauth-goodreads (1.0.0)
multi_xml (~> 0.6.0)
omniauth-oauth (~> 1.1)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -191,6 +199,7 @@ DEPENDENCIES
omniauth-facebook
omniauth-flickr
omniauth-github (>= 1.3.0)
omniauth-goodreads!
omniauth-google-oauth2
omniauth-openid
omniauth-twitter
Expand Down
1 change: 1 addition & 0 deletions models/provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def self.regexes
'github' => 'https?:\/\/(?:www\.)?github\.com\/([^\/]+)',
#'google_oauth2' => 'https?:\/\/(?:www\.)?(?:profiles\.|plus\.|)google\.com\/([^\/]+)',
#'lastfm' => 'https?:\/\/(?:www\.)?last\.fm\/user\/(.+)',
'goodreads' => 'https?:\/\/(?:www\.)?goodreads\.com\/user\/show\/(.+)',
'twitter' => 'https?:\/\/(?:www\.)?twitter\.com\/([^\/]+)'
}
end
Expand Down

0 comments on commit 5c023e8

Please sign in to comment.