Skip to content

Commit 5d6dec5

Browse files
committed
cap deploy fix
1 parent fa307ee commit 5d6dec5

File tree

21 files changed

+447
-1987
lines changed

21 files changed

+447
-1987
lines changed

Gemfile

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

33
gem 'rails', :git => 'git://github.com/rails/rails.git', :branch => '4-0-stable'
44
gem 'redis-rails', :git => 'git://github.com/SamSaffron/redis-store.git'
@@ -55,12 +55,16 @@ group :assets do
5555

5656
# CSS
5757
# Use SCSS for stylesheets
58-
gem 'less-rails'
58+
#gem 'less-rails'
59+
60+
gem 'sass-rails', '>= 3.2' # sass-rails needs to be higher than 3.2
61+
gem 'bootstrap-sass', '~> 3.0.0.0.rc'
62+
5963
gem 'uglifier', '>= 1.3.0'
6064
gem 'coffee-rails', '~> 4.0.0'
6165

6266
#gem 'bootstrap-sass'
63-
gem "compass-rails", "~> 2.0.alpha.0"
67+
#gem "compass-rails", "~> 2.0.alpha.0"
6468

6569
# JavaScript
6670
#gem 'handlebars_assets', '>= 0.12.0'
@@ -70,9 +74,7 @@ group :assets do
7074
# install Node.js or use 'therubyracer'.
7175
#
7276
# See git://github.com/sstephenson/execjs#readme for more supported runtimes
73-
7477
gem 'therubyracer', :platform => :ruby
75-
7678
end
7779

7880
# Build JSON APIs with ease. Read more: git://github.com/rails/jbuilder
@@ -172,9 +174,6 @@ gem "js-routes"
172174
gem 'responders'
173175
gem 'paginate-responder'
174176

175-
gem 'rails_admin', git: 'git://github.com/sferik/rails_admin.git'
176-
gem 'rails_admin_tag_list'
177-
178177
# we don't install these on travis to speed up test runs
179178
group :production do
180179
# Administration
@@ -217,7 +216,7 @@ group :development do
217216
#gem 'growl', require: darwin_only('growl')
218217
#gem 'rb-inotify', require: linux_only('rb-inotify')
219218

220-
gem 'capistrano', '2.15.5'
219+
gem 'capistrano', '2.15.4'
221220
gem 'capistrano-ext', '1.2.1'
222221
gem 'meta_request'
223222

@@ -312,6 +311,9 @@ group :development, :test do
312311

313312
end
314313

314+
#gem 'rails_admin', git: 'git://github.com/sferik/rails_admin.git', :branch => 'master'
315+
#gem 'rails_admin_tag_list'
316+
315317
# perftools only works on 1.9 atm
316318
group :profile do
317319
# travis refuses to install this, instead of fuffing, just avoid it for now

Gemfile.lock

Lines changed: 15 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@ GIT
113113

114114
GIT
115115
remote: git://github.com/paulelliott/fabrication.git
116-
revision: eec320b47fd9c57d56d76f748c186901e63f2b1d
116+
revision: 2ec9f63d4db3ae6553f531227ab71d0ebea02973
117117
specs:
118118
fabrication (2.8.1)
119119

120120
GIT
121121
remote: git://github.com/plataformatec/devise.git
122-
revision: 5cb575bd48e61b2612a533635c7615bca762d63c
122+
revision: 69d28f9b0e8150aaec9f3175ddd8d1a20af0633a
123123
specs:
124124
devise (3.1.0)
125125
bcrypt-ruby (~> 3.0)
@@ -192,26 +192,6 @@ GIT
192192
jquery-datatables-rails (1.11.2)
193193
jquery-rails
194194

195-
GIT
196-
remote: git://github.com/sferik/rails_admin.git
197-
revision: c51b824c6ede9e1f023c171d644c7fab0002e239
198-
specs:
199-
rails_admin (0.5.0)
200-
bootstrap-sass (~> 2.3)
201-
builder (~> 3.1)
202-
coffee-rails (~> 4.0)
203-
font-awesome-rails (~> 3.0)
204-
haml (~> 4.0)
205-
jquery-rails (~> 3.0)
206-
jquery-ui-rails (~> 4.0)
207-
kaminari (~> 0.14)
208-
nested_form (~> 0.3)
209-
rack-pjax (~> 0.7)
210-
rails (~> 4.0.0)
211-
remotipart (~> 1.0)
212-
safe_yaml (~> 0.9)
213-
sass-rails (~> 4.0)
214-
215195
GIT
216196
remote: git://github.com/sporkrb/spork-rails.git
217197
revision: 0dd45e59d3237b4c8f9efc215b46d9c07072a95e
@@ -228,7 +208,7 @@ GIT
228208
rails (>= 3.1)
229209

230210
GEM
231-
remote: http://rubygems.org/
211+
remote: https://rubygems.org/
232212
specs:
233213
actionpack-action_caching (1.0.0)
234214
actionpack (>= 4.0.0.beta, < 5.0)
@@ -256,7 +236,7 @@ GEM
256236
daemons (~> 1.1.4)
257237
i18n (>= 0.5.0)
258238
state_machine (~> 1.1)
259-
bootstrap-sass (2.3.2.2)
239+
bootstrap-sass (3.0.0.0.rc2)
260240
sass (~> 3.2)
261241
buff-config (0.4.0)
262242
buff-extensions (~> 0.3)
@@ -271,7 +251,7 @@ GEM
271251
uniform_notifier
272252
callsite (0.0.11)
273253
cancan (1.6.10)
274-
capistrano (2.15.5)
254+
capistrano (2.15.4)
275255
highline
276256
net-scp (>= 1.0.0)
277257
net-sftp (>= 2.0.0)
@@ -311,7 +291,6 @@ GEM
311291
yajl-ruby (~> 1.1)
312292
childprocess (0.3.9)
313293
ffi (~> 1.0, >= 1.0.11)
314-
chunky_png (1.2.9)
315294
coderay (1.0.9)
316295
coffee-rails (4.0.1)
317296
coffee-script (>= 2.2.0)
@@ -322,13 +301,6 @@ GEM
322301
coffee-script-source (1.6.3)
323302
commands (0.2.1)
324303
rails (>= 3.2.0)
325-
commonjs (0.2.7)
326-
compass (0.12.2)
327-
chunky_png (~> 1.2)
328-
fssm (>= 0.2.7)
329-
sass (~> 3.1)
330-
compass-rails (2.0.alpha.0)
331-
compass (>= 0.12.2, < 0.14)
332304
configurate (0.0.8)
333305
connection_pool (1.1.0)
334306
country_select (1.2.0)
@@ -398,14 +370,13 @@ GEM
398370
nokogiri (~> 1.5)
399371
ruby-hmac
400372
unicode (~> 0.4.4)
401-
font-awesome-rails (3.2.1.3)
373+
font-awesome-rails (4.0.0.0)
402374
railties (>= 3.2, < 5.0)
403375
foreman (0.62.0)
404376
thor (>= 0.13.6)
405377
formatador (0.2.4)
406378
friendly_id (5.0.0)
407379
activerecord (~> 4.0.0)
408-
fssm (0.2.10)
409380
fuubar (1.1.1)
410381
rspec (~> 2.0)
411382
rspec-instafail (~> 0.2.0)
@@ -458,24 +429,14 @@ GEM
458429
jquery-rails (3.0.4)
459430
railties (>= 3.0, < 5.0)
460431
thor (>= 0.14, < 2.0)
461-
jquery-ui-rails (4.1.0)
462-
railties (>= 3.1.0)
463432
js-routes (0.9.4)
464433
rails (>= 3.2)
465434
json (1.7.7)
466435
jwt (0.1.8)
467436
multi_json (>= 1.5)
468-
kaminari (0.14.1)
469-
actionpack (>= 3.0.0)
470-
activesupport (>= 3.0.0)
471437
kgio (2.8.1)
472438
launchy (2.3.0)
473439
addressable (~> 2.3)
474-
less (2.4.0)
475-
commonjs (~> 0.2.7)
476-
less-rails (2.4.2)
477-
actionpack (>= 3.1)
478-
less (~> 2.4.0)
479440
letter_opener (1.1.2)
480441
launchy (~> 2.2)
481442
libv8 (3.16.14.3)
@@ -523,7 +484,6 @@ GEM
523484
multi_test (0.0.2)
524485
multipart-post (1.2.0)
525486
mysql2 (0.3.13)
526-
nested_form (0.3.2)
527487
net-http-persistent (2.9)
528488
net-scp (1.1.2)
529489
net-ssh (>= 2.6.5)
@@ -623,9 +583,6 @@ GEM
623583
rack (>= 1.1.0)
624584
ruby-openid (>= 2.1.8)
625585
rack-piwik (0.2.2)
626-
rack-pjax (0.7.0)
627-
nokogiri (~> 1.5)
628-
rack (~> 1.3)
629586
rack-protection (1.5.0)
630587
rack
631588
rack-rewrite (1.3.3)
@@ -638,9 +595,6 @@ GEM
638595
rails (~> 4.0.0)
639596
rails-observers (0.1.2)
640597
activemodel (~> 4.0)
641-
rails_admin_tag_list (0.1.5)
642-
rails (>= 3.1)
643-
rails_admin (>= 0.0.1)
644598
rails_autolink (1.1.0)
645599
rails (> 3.1)
646600
raindrops (0.12.0)
@@ -772,7 +726,7 @@ GEM
772726
slop (3.4.6)
773727
solve (0.8.1)
774728
sorcerer (1.0.2)
775-
spork (1.0.0rc3)
729+
spork (1.0.0rc4)
776730
sprockets (2.10.0)
777731
hike (~> 1.2)
778732
multi_json (~> 1.0)
@@ -784,13 +738,14 @@ GEM
784738
sprockets (~> 2.8)
785739
state_machine (1.2.0)
786740
subexec (0.2.3)
787-
sunspot (2.0.0)
741+
sunspot (2.1.0)
788742
pr_geohash (~> 1.0)
789743
rsolr (~> 1.0.7)
790-
sunspot_rails (2.0.0)
744+
sunspot_rails (2.1.0)
791745
nokogiri
792-
sunspot (= 2.0.0)
793-
sunspot_solr (2.0.0)
746+
rails (>= 3)
747+
sunspot (= 2.1.0)
748+
sunspot_solr (2.1.0)
794749
sunspot_test (0.4.0)
795750
sunspot_rails (>= 1.2.1)
796751
systemu (2.5.2)
@@ -862,16 +817,16 @@ DEPENDENCIES
862817
better_errors
863818
binding_of_caller
864819
bluepill
820+
bootstrap-sass (~> 3.0.0.0.rc)
865821
bullet
866822
cancan
867-
capistrano (= 2.15.5)
823+
capistrano (= 2.15.4)
868824
capistrano-ext (= 1.2.1)
869825
capybara
870826
carrierwave
871827
certified
872828
coffee-rails (~> 4.0.0)
873829
commands
874-
compass-rails (~> 2.0.alpha.0)
875830
configurate
876831
country_select
877832
cucumber-rails
@@ -906,7 +861,6 @@ DEPENDENCIES
906861
jquery-rails (~> 3.0)
907862
js-routes
908863
knife-solo!
909-
less-rails
910864
letter_opener
911865
listen
912866
lru_redux
@@ -949,8 +903,6 @@ DEPENDENCIES
949903
rails!
950904
rails-i18n (~> 4.0.0.pre)
951905
rails-observers
952-
rails_admin!
953-
rails_admin_tag_list
954906
rails_autolink (= 1.1.0)
955907
rake (= 10.1.0)
956908
rb-fsevent
@@ -966,6 +918,7 @@ DEPENDENCIES
966918
rspec-instafail (= 0.2.4)
967919
rspec-rails
968920
ruby-oembed (= 0.8.8)
921+
sass-rails (>= 3.2)
969922
seed-fu!
970923
shoulda
971924
sidekiq

app/assets/images/check.png

3.07 KB
Loading

app/assets/images/navy_blue.png

116 KB
Loading

app/assets/javascripts/application.js.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#= require jquery
1515
#= require jquery_ujs
1616
#= require turbolinks
17+
#= require bootstrap
1718
#= require pace/pace
1819
#= require bootbox/bootbox
1920
#= require noty/js/noty/jquery.noty
@@ -23,7 +24,6 @@
2324
#= require underscore-amd/underscore
2425
#= require backbone-amd/backbone
2526
#= require backbone.marionette/lib/backbone.marionette
26-
#= require bootstrap/dist/js/bootstrap
2727
#= require backbone.syphon/lib/backbone.syphon
2828
#= require backbone-pageable/lib/backbone-pageable
2929
#= require backgrid/lib/backgrid

app/assets/javascripts/backbone/apps/header/list/templates/_title.jst.eco

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="carbonad">
66
<div class="media">
77
<a class="pull-left" href="#">
8-
<img class="media-object img-thumbnail" src="/assets/trending.png" alt="...">
8+
<img class="media-object" src="/dev-assets/trending.png" alt="...">
99
</a>
1010
<div class="media-body">
1111
<h4 class="media-heading">Now Trending</h4>
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
@charset "UTF-8";
2-
@import "bootstrap/less/bootstrap";
2+
3+
@import "bootstrap";
4+
@import "bootstrap/theme";
35
@import "backgrid/lib/backgrid.css";
46
@import "pace/themes/pace-theme-flash.css";
5-
@import "font-awesome.css";
7+
68

79
@import "theme";
810
@import "main";

app/assets/stylesheets/main.less renamed to app/assets/stylesheets/main.css.scss.erb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
html,
32
body {
43
height: 100%;
@@ -10,7 +9,7 @@ body {
109
}
1110

1211
body {
13-
background: #e9e9e9 url(http://github.com/%3Cspan%20class=%22pl-s%22%3E%3Cspan%20class=%22x%20x-first%20x-last%22%3E/assets/%3C/span%3Etiny_grid.png%3C/span%3E) repeat 0 0;
12+
background: #e9e9e9 url(http://github.com/%3Cspan%20class=%22pl-k%20x%20x-first%22%3E<%=%3C/span%3E%3Cspan%20class=%22x%20x-last%22%3E%20asset_path%20'%3C/span%3Etiny_grid.png%3Cspan%20class=%22x%20x-first%22%3E'%20%3C/span%3E%3Cspan%20class=%22pl-k%20x%20x-last%22%3E%>%3C/span%3E%3Cspan%20class=%22pl-en%22%3E%3C/span%3E%3Cspan%20class=%22pl-s%22%3E%3C/span%3E) repeat 0 0;
1413
padding-bottom: 70px;
1514
margin: 0;
1615
line-height: 1.8em;
@@ -23,7 +22,7 @@ body {
2322
/* Negative indent footer by its height */
2423
margin: 0 auto -110px;
2524
/* Pad bottom by footer height */
26-
padding: 0 0 60px;
25+
padding: 0 0 65px;
2726
}
2827

2928
/* Set the fixed height of the footer here */
@@ -116,11 +115,11 @@ tr.warning th {
116115

117116
.dropdown-menu > li > a:hover,
118117
.dropdown-menu > li > a:focus {
119-
color: #463265;
118+
color: #5f5f5f;
120119
}
121120

122121
.dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
123-
background-color: #463265;
122+
background-color: #5f5f5f;
124123
}
125124

126125
.page-header {
@@ -131,7 +130,7 @@ tr.warning th {
131130

132131
.panel-title > a:hover {
133132
text-decoration: none;
134-
color: #463265;
133+
color: #5f5f5f;
135134
}
136135

137136
.modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {

0 commit comments

Comments
 (0)