Skip to content

Commit 2236fdd

Browse files
authored
Merge pull request #1136 from tdiary/switch-to-github-oauth-default
Use GitHub as default oauth provider
2 parents dd60aad + 3da9532 commit 2236fdd

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

misc/paas/heroku/Gemfile.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ gem 'tdiary-contrib', git: 'https://github.com/tdiary/tdiary-contrib.git'
55
gem 'tdiary-style-gfm'
66
gem 'tdiary-style-rd'
77
gem 'omniauth'
8-
gem 'omniauth-twitter'
8+
gem 'omniauth-github'
99
gem 'dalli'
1010
gem 'rack-session'
1111
gem 'connection_pool'

misc/paas/heroku/Gemfile.lock

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ GEM
7575
rake
7676
jasmine-core (2.99.2)
7777
json (2.7.1)
78+
jwt (2.8.0)
79+
base64
7880
launchy (2.5.2)
7981
addressable (~> 2.8)
8082
mail (2.8.1)
@@ -95,6 +97,7 @@ GEM
9597
activemodel (>= 5.1, < 7.1, != 7.0.0)
9698
mongo (>= 2.10.5, < 3.0.0)
9799
ruby2_keywords (~> 0.0.5)
100+
multi_xml (0.6.0)
98101
multipart-post (2.4.0)
99102
net-imap (0.4.10)
100103
date
@@ -110,25 +113,26 @@ GEM
110113
racc (~> 1.4)
111114
nokogiri (1.16.2-x86_64-linux)
112115
racc (~> 1.4)
113-
oauth (1.1.0)
114-
oauth-tty (~> 1.0, >= 1.0.1)
116+
oauth2 (2.0.9)
117+
faraday (>= 0.17.3, < 3.0)
118+
jwt (>= 1.0, < 3.0)
119+
multi_xml (~> 0.5)
120+
rack (>= 1.2, < 4)
115121
snaky_hash (~> 2.0)
116122
version_gem (~> 1.1)
117-
oauth-tty (1.0.5)
118-
version_gem (~> 1.1, >= 1.1.1)
119123
octokit (4.22.0)
120124
faraday (>= 0.9)
121125
sawyer (~> 0.8.0, >= 0.5.3)
122126
omniauth (2.1.2)
123127
hashie (>= 3.4.6)
124128
rack (>= 2.2.3)
125129
rack-protection
126-
omniauth-oauth (1.2.0)
127-
oauth
128-
omniauth (>= 1.0, < 3)
129-
omniauth-twitter (1.4.0)
130-
omniauth-oauth (~> 1.1)
131-
rack
130+
omniauth-github (2.0.1)
131+
omniauth (~> 2.0)
132+
omniauth-oauth2 (~> 1.8)
133+
omniauth-oauth2 (1.8.0)
134+
oauth2 (>= 1.4, < 3)
135+
omniauth (~> 2.0)
132136
phantomjs (2.1.1.0)
133137
pit (0.0.7)
134138
power_assert (2.0.3)
@@ -251,7 +255,7 @@ DEPENDENCIES
251255
mime-types
252256
octokit
253257
omniauth
254-
omniauth-twitter
258+
omniauth-github
255259
pit
256260
puma
257261
rack (< 3)

0 commit comments

Comments
 (0)