Merge pull request #112 from Retrospring/remove-unicorn-and-fix-other-things
Remove unicorn and fix other things
This commit is contained in:
commit
25a83fe153
5
Gemfile
5
Gemfile
|
@ -71,7 +71,6 @@ gem 'twitter'
|
|||
# To use a more recent Faraday version, a fork of this gem is required.
|
||||
gem 'tumblr_client', git: 'https://github.com/amplifr/tumblr_client'
|
||||
|
||||
gem 'foreman'
|
||||
gem 'redis'
|
||||
|
||||
gem 'fake_email_validator'
|
||||
|
@ -82,10 +81,6 @@ group :development do
|
|||
gem 'web-console', '< 4.0.0'
|
||||
end
|
||||
|
||||
group :production do
|
||||
gem 'unicorn', group: :production
|
||||
end
|
||||
|
||||
gem 'puma'
|
||||
|
||||
group :development, :test do
|
||||
|
|
|
@ -177,7 +177,6 @@ GEM
|
|||
railties (>= 3.2, < 6.1)
|
||||
font-kit-rails (1.2.0)
|
||||
rails
|
||||
foreman (0.87.1)
|
||||
formatador (0.2.5)
|
||||
globalid (0.4.2)
|
||||
activesupport (>= 4.2.0)
|
||||
|
@ -251,7 +250,6 @@ GEM
|
|||
activerecord
|
||||
kaminari-core (= 1.2.0)
|
||||
kaminari-core (1.2.0)
|
||||
kgio (2.11.3)
|
||||
launchy (2.5.0)
|
||||
addressable (~> 2.7)
|
||||
letter_opener (1.7.0)
|
||||
|
@ -389,7 +387,6 @@ GEM
|
|||
rake (>= 0.8.7)
|
||||
thor (>= 0.19.0, < 2.0)
|
||||
rainbow (3.0.0)
|
||||
raindrops (0.19.1)
|
||||
rake (13.0.1)
|
||||
rb-fsevent (0.10.3)
|
||||
rb-inotify (0.10.1)
|
||||
|
@ -515,9 +512,6 @@ GEM
|
|||
unf_ext
|
||||
unf_ext (0.0.7.7)
|
||||
unicode-display_width (1.7.0)
|
||||
unicorn (5.5.4)
|
||||
kgio (~> 2.6)
|
||||
raindrops (~> 0.7)
|
||||
warden (1.2.8)
|
||||
rack (>= 2.0.6)
|
||||
web-console (3.7.0)
|
||||
|
@ -558,7 +552,6 @@ DEPENDENCIES
|
|||
fog-local
|
||||
font-awesome-rails (~> 4.7.0)
|
||||
font-kit-rails
|
||||
foreman
|
||||
guard-brakeman
|
||||
haml (~> 5.0)
|
||||
haml_lint
|
||||
|
@ -610,7 +603,6 @@ DEPENDENCIES
|
|||
turbolinks (~> 2.5.3)
|
||||
twitter
|
||||
uglifier (>= 1.3.0)
|
||||
unicorn
|
||||
web-console (< 4.0.0)
|
||||
|
||||
BUNDLED WITH
|
||||
|
|
2
Procfile
2
Procfile
|
@ -1,2 +0,0 @@
|
|||
web: bundle exec unicorn -E production -c ./config/unicorn.rb -l unix:./tmp/sockets/justask.sock
|
||||
workers: bundle exec sidekiq -e production -C './config/sidekiq.yml'
|
|
@ -34,7 +34,7 @@
|
|||
%i.fa.fa-clock-o
|
||||
= link_to(raw(t('views.answerbox.time', time: time_tooltip(a))), show_user_answer_path(a.user.screen_name, a.id))
|
||||
.col-8.col-sm-8.col-md-6.text-right
|
||||
= render 'answerbox/actions', a: a
|
||||
= render 'answerbox/actions', a: a, display_all: display_all
|
||||
.card-footer{ id: "ab-comments-section-#{a.id}", style: display_all.nil? ? 'display: none' : nil }
|
||||
%div{ id: "ab-smiles-#{a.id}" }= render 'answerbox/smiles', a: a
|
||||
%div{ id: "ab-comments-#{a.id}" }= render 'answerbox/comments', a: a
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
.row.row-cols-1.row-cols-sm-2.row-cols-md-3
|
||||
- @users.each do |u, c|
|
||||
.col
|
||||
= render 'moderation/userbox', user: u, count: c
|
||||
= render 'moderation/userbox', user: u, count: (c || 0)
|
||||
|
|
Loading…
Reference in New Issue