Skip to content

Commit 59a945c

Browse files
committed
.
1 parent ae9db10 commit 59a945c

File tree

6 files changed

+100
-104
lines changed

6 files changed

+100
-104
lines changed

Gemfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source 'http://rubygems.org'
22

3-
gem "rails", "3.1.1"
3+
gem "rails", "3.1.12"
44
gem "bson", "1.3.1"
55
gem "bson_ext", "1.3.1"
66
gem "mongoid", "2.2.4"
@@ -17,7 +17,7 @@ gem 'mongoid_auto_increment_id', "0.2.2"
1717
# 用户系统
1818
gem "devise", "1.4.5"
1919
# 分页
20-
gem 'will_paginate', '3.0.pre2'
20+
gem 'will_paginate', '3.0.pre2'
2121
# 三方平台 OAuth 验证登陆
2222
gem 'omniauth', '0.3.0'
2323
gem "oa-openid", '0.3.0'
@@ -43,16 +43,17 @@ gem "rails_autolink", ">= 1.0.4"
4343
# YAML 配置信息
4444
gem "settingslogic", "~> 2.0.6"
4545
gem "cells", "3.6.7"
46-
gem "resque", "~> 1.19.0", :require => "resque/server"
46+
gem "resque", "~> 1.20.0", :require => "resque/server"
4747
gem "resque_mailer", '2.0.2'
4848
gem "aws-ses", "~> 0.4.3"
49-
gem 'mail_view', :git => 'git://github.com/37signals/mail_view.git'
49+
gem 'mail_view'
5050
gem "daemon-spawn", "~> 0.4.2"
51-
gem "unicorn"
5251
# 用于组合小图片
5352
gem "sprite-factory", "1.4.1"
53+
gem 'unicorn'
5454

5555
group :assets do
56+
gem 'sprockets'
5657
gem 'sass-rails', " ~> 3.1.4"
5758
gem 'coffee-rails', "~> 3.1.1"
5859
gem 'uglifier'

Gemfile.lock

Lines changed: 75 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,38 @@
1-
GIT
2-
remote: git://github.com/37signals/mail_view.git
3-
revision: 7c0cf5df704f999acab375836026297801c9c6bb
4-
specs:
5-
mail_view (1.0.1)
6-
71
GEM
82
remote: http://rubygems.org/
93
specs:
104
XMLCanonicalizer (1.0.1)
115
log4r (>= 1.0.4)
12-
actionmailer (3.1.1)
13-
actionpack (= 3.1.1)
14-
mail (~> 2.3.0)
15-
actionpack (3.1.1)
16-
activemodel (= 3.1.1)
17-
activesupport (= 3.1.1)
6+
actionmailer (3.1.12)
7+
actionpack (= 3.1.12)
8+
mail (~> 2.4.4)
9+
actionpack (3.1.12)
10+
activemodel (= 3.1.12)
11+
activesupport (= 3.1.12)
1812
builder (~> 3.0.0)
1913
erubis (~> 2.7.0)
2014
i18n (~> 0.6)
21-
rack (~> 1.3.2)
22-
rack-cache (~> 1.1)
15+
rack (~> 1.3.6)
16+
rack-cache (~> 1.2)
2317
rack-mount (~> 0.8.2)
2418
rack-test (~> 0.6.1)
25-
sprockets (~> 2.0.2)
26-
activemodel (3.1.1)
27-
activesupport (= 3.1.1)
19+
sprockets (~> 2.0.4)
20+
activemodel (3.1.12)
21+
activesupport (= 3.1.12)
2822
builder (~> 3.0.0)
2923
i18n (~> 0.6)
30-
activerecord (3.1.1)
31-
activemodel (= 3.1.1)
32-
activesupport (= 3.1.1)
33-
arel (~> 2.2.1)
24+
activerecord (3.1.12)
25+
activemodel (= 3.1.12)
26+
activesupport (= 3.1.12)
27+
arel (~> 2.2.3)
3428
tzinfo (~> 0.3.29)
35-
activeresource (3.1.1)
36-
activemodel (= 3.1.1)
37-
activesupport (= 3.1.1)
38-
activesupport (3.1.1)
29+
activeresource (3.1.12)
30+
activemodel (= 3.1.12)
31+
activesupport (= 3.1.12)
32+
activesupport (3.1.12)
3933
multi_json (~> 1.0)
4034
addressable (2.2.6)
41-
arel (2.2.1)
35+
arel (2.2.3)
4236
aws-ses (0.4.3)
4337
builder
4438
mail (> 2.2.5)
@@ -47,7 +41,7 @@ GEM
4741
bcrypt-ruby (3.0.1)
4842
bson (1.3.1)
4943
bson_ext (1.3.1)
50-
builder (3.0.0)
44+
builder (3.0.4)
5145
capistrano (2.9.0)
5246
highline
5347
net-scp (>= 1.0.0)
@@ -67,19 +61,18 @@ GEM
6761
coffee-rails (3.1.1)
6862
coffee-script (>= 2.2.0)
6963
railties (~> 3.1.0)
70-
coffee-script (2.2.0)
64+
coffee-script (2.4.1)
7165
coffee-script-source
7266
execjs
73-
coffee-script-source (1.1.2)
67+
coffee-script-source (1.9.1.1)
7468
daemon-spawn (0.4.2)
7569
dalli (1.1.1)
7670
devise (1.4.5)
7771
bcrypt-ruby (~> 3.0)
7872
orm_adapter (~> 0.0.3)
7973
warden (~> 1.0.3)
8074
erubis (2.7.0)
81-
execjs (1.2.9)
82-
multi_json (~> 1.0)
75+
execjs (2.6.0)
8376
factory_girl (2.2.0)
8477
activesupport
8578
factory_girl_rails (1.3.0)
@@ -90,21 +83,23 @@ GEM
9083
multipart-post (~> 1.1.3)
9184
rack (>= 1.1.0, < 2)
9285
highline (1.6.2)
93-
hike (1.2.1)
94-
i18n (0.6.0)
86+
hike (1.2.3)
87+
i18n (0.7.0)
9588
jquery-rails (1.0.16)
9689
railties (~> 3.0)
9790
thor (~> 0.14)
98-
json (1.6.1)
99-
kgio (2.6.0)
91+
json (1.8.3)
92+
kgio (2.8.0)
10093
log4r (1.1.9)
10194
macaddr (1.4.0)
10295
systemu (~> 2.2.0)
103-
mail (2.3.0)
96+
mail (2.4.4)
10497
i18n (>= 0.4.0)
10598
mime-types (~> 1.16)
10699
treetop (~> 1.4.8)
107-
mime-types (1.17.2)
100+
mail_view (2.0.4)
101+
tilt
102+
mime-types (1.25.1)
108103
mini_magick (3.3)
109104
subexec (~> 0.1.0)
110105
mongo (1.3.1)
@@ -117,7 +112,7 @@ GEM
117112
mongoid-eager-loading (0.3.1)
118113
mongoid_auto_increment_id (0.2.2)
119114
mongoid (~> 2.2.0)
120-
multi_json (1.0.3)
115+
multi_json (1.0.4)
121116
multi_xml (0.4.1)
122117
multipart-post (1.1.3)
123118
net-ldap (0.2.2)
@@ -169,48 +164,48 @@ GEM
169164
oa-oauth (= 0.3.0)
170165
oa-openid (= 0.3.0)
171166
orm_adapter (0.0.5)
172-
polyglot (0.3.3)
167+
polyglot (0.3.5)
173168
pyu-ruby-sasl (0.0.3.3)
174-
rack (1.3.5)
175-
rack-cache (1.1)
169+
rack (1.3.10)
170+
rack-cache (1.2)
176171
rack (>= 0.4)
177172
rack-mount (0.8.3)
178173
rack (>= 1.0.0)
179174
rack-openid (1.3.1)
180175
rack (>= 1.1.0)
181176
ruby-openid (>= 2.1.8)
182-
rack-protection (1.1.4)
177+
rack-protection (1.5.3)
183178
rack
184-
rack-ssl (1.3.2)
179+
rack-ssl (1.3.4)
185180
rack
186-
rack-test (0.6.1)
181+
rack-test (0.6.3)
187182
rack (>= 1.0)
188-
rails (3.1.1)
189-
actionmailer (= 3.1.1)
190-
actionpack (= 3.1.1)
191-
activerecord (= 3.1.1)
192-
activeresource (= 3.1.1)
193-
activesupport (= 3.1.1)
183+
rails (3.1.12)
184+
actionmailer (= 3.1.12)
185+
actionpack (= 3.1.12)
186+
activerecord (= 3.1.12)
187+
activeresource (= 3.1.12)
188+
activesupport (= 3.1.12)
194189
bundler (~> 1.0)
195-
railties (= 3.1.1)
190+
railties (= 3.1.12)
196191
rails-i18n (0.1.8)
197192
i18n (~> 0.5)
198193
rails_autolink (1.0.4)
199194
rails (>= 3.1.0)
200-
railties (3.1.1)
201-
actionpack (= 3.1.1)
202-
activesupport (= 3.1.1)
195+
railties (3.1.12)
196+
actionpack (= 3.1.12)
197+
activesupport (= 3.1.12)
203198
rack-ssl (~> 1.3.2)
204199
rake (>= 0.8.7)
205200
rdoc (~> 3.4)
206201
thor (~> 0.14.6)
207-
raindrops (0.8.0)
208-
rake (0.9.2.2)
202+
raindrops (0.11.0)
203+
rake (10.4.2)
209204
rdiscount (1.6.8)
210-
rdoc (3.11)
205+
rdoc (3.12.2)
211206
json (~> 1.4)
212207
redis (2.2.2)
213-
redis-namespace (1.0.3)
208+
redis-namespace (1.0.2)
214209
redis (< 3.0.0)
215210
redis-objects (0.5.2)
216211
redis (>= 2.1.1)
@@ -219,7 +214,7 @@ GEM
219214
redis (>= 2.1.1)
220215
redis-namespace (~> 1.0.2)
221216
rmmseg-cpp-huacnlee (>= 0.2.8)
222-
resque (1.19.0)
217+
resque (1.20.0)
223218
multi_json (~> 1.0)
224219
redis-namespace (~> 1.0.2)
225220
sinatra (>= 0.9.2)
@@ -234,41 +229,40 @@ GEM
234229
ruby-openid-apps-discovery (1.2.0)
235230
ruby-openid (>= 2.1.7)
236231
rubyntlm (0.1.1)
237-
sass (3.1.10)
238-
sass-rails (3.1.4)
232+
sass (3.4.18)
233+
sass-rails (3.1.7)
239234
actionpack (~> 3.1.0)
240235
railties (~> 3.1.0)
241-
sass (>= 3.1.4)
242-
sprockets (~> 2.0.0)
236+
sass (>= 3.1.10)
243237
tilt (~> 1.3.2)
244238
settingslogic (2.0.6)
245-
sinatra (1.3.1)
246-
rack (~> 1.3, >= 1.3.4)
247-
rack-protection (~> 1.1, >= 1.1.2)
239+
sinatra (1.3.3)
240+
rack (~> 1.3, >= 1.3.6)
241+
rack-protection (~> 1.2)
248242
tilt (~> 1.3, >= 1.3.3)
249243
sprite-factory (1.4.1)
250-
sprockets (2.0.3)
244+
sprockets (2.0.5)
251245
hike (~> 1.2)
252246
rack (~> 1.0)
253247
tilt (~> 1.1, != 1.3.0)
254248
subexec (0.1.0)
255249
systemu (2.2.0)
256250
thor (0.14.6)
257-
tilt (1.3.3)
258-
treetop (1.4.10)
251+
tilt (1.3.7)
252+
treetop (1.4.15)
259253
polyglot
260254
polyglot (>= 0.3.1)
261-
tzinfo (0.3.31)
255+
tzinfo (0.3.44)
262256
uglifier (1.0.4)
263257
execjs (>= 0.3.0)
264258
multi_json (>= 1.0.2)
265-
unicorn (4.1.1)
266-
kgio (~> 2.4)
259+
unicorn (4.6.3)
260+
kgio (~> 2.6)
267261
rack
268-
raindrops (~> 0.6)
262+
raindrops (~> 0.7)
269263
uuid (2.3.4)
270264
macaddr (~> 1.0)
271-
vegas (0.1.8)
265+
vegas (0.1.11)
272266
rack (>= 1.0.0)
273267
warden (1.0.6)
274268
rack (>= 1.0)
@@ -294,7 +288,7 @@ DEPENDENCIES
294288
devise (= 1.4.5)
295289
factory_girl_rails
296290
jquery-rails (= 1.0.16)
297-
mail_view!
291+
mail_view
298292
mini_magick (= 3.3)
299293
mongo-rails-instrumentation (= 0.2.4)
300294
mongoid (= 2.2.4)
@@ -303,19 +297,23 @@ DEPENDENCIES
303297
nokogiri (= 1.5.0)
304298
oa-openid (= 0.3.0)
305299
omniauth (= 0.3.0)
306-
rails (= 3.1.1)
300+
rails (= 3.1.12)
307301
rails-i18n (= 0.1.8)
308302
rails_autolink (>= 1.0.4)
309303
rdiscount (= 1.6.8)
310304
redis-namespace (~> 1.0.2)
311305
redis-objects (= 0.5.2)
312306
redis-search (= 0.6.3)
313-
resque (~> 1.19.0)
307+
resque (~> 1.20.0)
314308
resque_mailer (= 2.0.2)
315309
rmmseg-cpp-huacnlee (= 0.2.8)
316310
sass-rails (~> 3.1.4)
317311
settingslogic (~> 2.0.6)
318312
sprite-factory (= 1.4.1)
313+
sprockets
319314
uglifier
320315
unicorn
321316
will_paginate (= 3.0.pre2)
317+
318+
BUNDLED WITH
319+
1.10.6

app/assets/stylesheets/application.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
*= require bootstrap
3-
*= require jquery.jdialog
4-
*= require wikistyle
2+
*= require ./bootstrap
3+
*= require ./jquery.jdialog
4+
*= require ./wikistyle
55
*= require_tree ./sprites/
66
*= require_self
77
*/
@@ -43,9 +43,9 @@ form {
4343
a.label:hover { text-decoration: none; color:#FFF;}
4444

4545

46-
.box {
46+
.box {
4747
background-color: #fff;
48-
padding:10px;
48+
padding:10px;
4949
margin: 0 0 20px 0; /* negative indent the amount of the padding to maintain the grid system */
5050
-webkit-border-radius: 6px;
5151
-moz-border-radius: 6px;

app/assets/stylesheets/front.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
*= require application
2+
*= require ./application
33
*= require_self
44
*/
55
#login { }
@@ -8,7 +8,7 @@
88
.box ol { margin-bottom:0; }
99

1010
.sidebar h2 { font-size:14px; line-height:100%; margin-bottom:10px; color:#666;}
11-
.sidebar ul,
11+
.sidebar ul,
1212
.sidebar ol { margin-bottom:0; }
1313
.sidebar p { margin-bottom:6px; }
1414
.sidebar li { margin-bottom:4px; }
@@ -48,7 +48,7 @@
4848
.body code{font-size:12px!important;background-color:#f8f8ff!important;color:#444!important;padding:0 .2em!important;border:1px solid #dedede!important;}
4949

5050
.cell_comments {
51-
.comment {
51+
.comment {
5252
margin-bottom:10px;
5353
.info {
5454
.user_avatar {
@@ -66,4 +66,4 @@
6666
}
6767
}
6868

69-
.help-block ul { margin-bottom:0; }
69+
.help-block ul { margin-bottom:0; }

0 commit comments

Comments
 (0)