File tree 3 files changed +36
-0
lines changed
3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,19 @@ gem "omniauth-twitter"
29
29
gem "tabulous"
30
30
gem "enumerize"
31
31
32
+ gem "heroku" , :require => false
33
+
32
34
group :development do
33
35
gem "pry-rails"
34
36
gem "awesome_print"
35
37
gem "i18n_generators"
36
38
end
37
39
40
+ group :production do
41
+ gem 'pg'
42
+ gem 'thin'
43
+ end
44
+
38
45
# To use ActiveModel has_secure_password
39
46
# gem 'bcrypt-ruby', '~> 3.0.0'
40
47
Original file line number Diff line number Diff line change 28
28
activesupport (3.2.2 )
29
29
i18n (~> 0.6 )
30
30
multi_json (~> 1.0 )
31
+ addressable (2.2.7 )
31
32
arel (3.0.2 )
32
33
awesome_print (1.0.2 )
33
34
builder (3.0.0 )
41
42
coffee-script-source (1.2.0 )
42
43
colored (1.2 )
43
44
commonjs (0.2.5 )
45
+ daemons (1.1.8 )
44
46
domain_name (0.5.2 )
45
47
unf (~> 0.0.3 )
46
48
enumerize (0.1.1 )
47
49
activesupport (>= 3.1.3 )
48
50
erubis (2.7.0 )
51
+ eventmachine (0.12.10 )
49
52
execjs (1.3.0 )
50
53
multi_json (~> 1.0 )
51
54
haml (3.1.4 )
55
58
haml (~> 3.0 )
56
59
railties (~> 3.0 )
57
60
hashie (1.2.0 )
61
+ heroku (2.22.0 )
62
+ launchy (>= 0.3.2 )
63
+ netrc (~> 0.7.1 )
64
+ rest-client (~> 1.6.1 )
65
+ rubyzip
58
66
hike (1.2.1 )
59
67
i18n (0.6.0 )
60
68
i18n_generators (1.2.0 )
65
73
railties (>= 3.2.0 , < 5.0 )
66
74
thor (~> 0.14 )
67
75
json (1.6.5 )
76
+ launchy (2.1.0 )
77
+ addressable (~> 2.2.6 )
68
78
less (2.0.11 )
69
79
commonjs (~> 0.2.0 )
70
80
therubyracer (~> 0.9.9 )
89
99
multi_json (1.1.0 )
90
100
net-http-digest_auth (1.2 )
91
101
net-http-persistent (2.5.2 )
102
+ netrc (0.7.1 )
92
103
nokogiri (1.5.2 )
93
104
ntlm-http (0.1.1 )
94
105
oauth (0.4.5 )
100
111
omniauth (~> 1.0 )
101
112
omniauth-twitter (0.0.8 )
102
113
omniauth-oauth (~> 1.0 )
114
+ pg (0.13.2 )
103
115
polyglot (0.3.3 )
104
116
pry (0.9.8.4 )
105
117
coderay (~> 1.0.5 )
132
144
rake (0.9.2.2 )
133
145
rdoc (3.12 )
134
146
json (~> 1.4 )
147
+ rest-client (1.6.7 )
148
+ mime-types (>= 1.16 )
149
+ rubyzip (0.9.6.1 )
135
150
sass (3.1.15 )
136
151
sass-rails (3.2.5 )
137
152
railties (~> 3.2.0 )
148
163
rails (~> 3.0 )
149
164
therubyracer (0.9.10 )
150
165
libv8 (~> 3.3.10 )
166
+ thin (1.3.1 )
167
+ daemons (>= 1.0.9 )
168
+ eventmachine (>= 0.12.6 )
169
+ rack (>= 1.0.0 )
151
170
thor (0.14.6 )
152
171
tilt (1.3.3 )
153
172
treetop (1.4.10 )
@@ -174,14 +193,17 @@ DEPENDENCIES
174
193
coffee-rails (~> 3.2.1 )
175
194
enumerize
176
195
haml-rails
196
+ heroku
177
197
i18n_generators
178
198
jquery-rails
179
199
omniauth
180
200
omniauth-twitter
201
+ pg
181
202
pry-rails
182
203
rails (= 3.2.2 )
183
204
sass-rails (~> 3.2.3 )
184
205
sqlite3
185
206
tabulous
207
+ thin
186
208
twitter-bootstrap-rails
187
209
uglifier (>= 1.0.3 )
Original file line number Diff line number Diff line change
1
+ # -*- coding: utf-8 -*-
2
+
3
+ if Rails . env . production?
4
+ Rails . application . config . middleware . use OmniAuth ::Builder do
5
+ provider :twitter , ENV [ 'TWITTER_KEY' ] , ENV [ 'TWITTER_SECRET' ]
6
+ end
7
+ end
You can’t perform that action at this time.
0 commit comments