Merge pull request #1175 from shlok007/replace-quiet-assets
using sprockets-rails instead of quiet-assets
This commit is contained in:
commit
bb0639df14
3 changed files with 7 additions and 5 deletions
5
Gemfile
5
Gemfile
|
|
@ -187,6 +187,9 @@ gem 'factory_girl_rails'
|
||||||
# for integrating Stripe payment gateway
|
# for integrating Stripe payment gateway
|
||||||
gem 'stripe'
|
gem 'stripe'
|
||||||
|
|
||||||
|
# Provides Sprockets implementation for Rails Asset Pipeline
|
||||||
|
gem 'sprockets-rails'
|
||||||
|
|
||||||
# Use guard and spring for testing in development
|
# Use guard and spring for testing in development
|
||||||
group :development do
|
group :development do
|
||||||
# to launch specs when files are modified
|
# to launch specs when files are modified
|
||||||
|
|
@ -194,8 +197,6 @@ group :development do
|
||||||
gem 'spring-commands-rspec'
|
gem 'spring-commands-rspec'
|
||||||
# for static code analisys
|
# for static code analisys
|
||||||
gem 'rubocop', require: false
|
gem 'rubocop', require: false
|
||||||
# to silence rack assests messages
|
|
||||||
gem 'quiet_assets'
|
|
||||||
# as database
|
# as database
|
||||||
gem 'sqlite3'
|
gem 'sqlite3'
|
||||||
# to open mails
|
# to open mails
|
||||||
|
|
|
||||||
|
|
@ -338,8 +338,6 @@ GEM
|
||||||
coderay (~> 1.0)
|
coderay (~> 1.0)
|
||||||
method_source (~> 0.8)
|
method_source (~> 0.8)
|
||||||
slop (~> 3.4)
|
slop (~> 3.4)
|
||||||
quiet_assets (1.0.2)
|
|
||||||
railties (>= 3.1, < 5.0)
|
|
||||||
rack (1.6.4)
|
rack (1.6.4)
|
||||||
rack-openid (1.3.1)
|
rack-openid (1.3.1)
|
||||||
rack (>= 1.1.0)
|
rack (>= 1.1.0)
|
||||||
|
|
@ -597,7 +595,6 @@ DEPENDENCIES
|
||||||
piwik_analytics (~> 1.0.1)
|
piwik_analytics (~> 1.0.1)
|
||||||
poltergeist
|
poltergeist
|
||||||
prawn_rails
|
prawn_rails
|
||||||
quiet_assets
|
|
||||||
rails (~> 4.2)
|
rails (~> 4.2)
|
||||||
rails-assets-bootstrap-markdown!
|
rails-assets-bootstrap-markdown!
|
||||||
rails-assets-date.format!
|
rails-assets-date.format!
|
||||||
|
|
@ -624,6 +621,7 @@ DEPENDENCIES
|
||||||
sass-rails (>= 4.0.2)
|
sass-rails (>= 4.0.2)
|
||||||
shoulda-matchers
|
shoulda-matchers
|
||||||
spring-commands-rspec
|
spring-commands-rspec
|
||||||
|
sprockets-rails
|
||||||
sqlite3
|
sqlite3
|
||||||
stripe
|
stripe
|
||||||
stripe-ruby-mock
|
stripe-ruby-mock
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,9 @@ Osem::Application.configure do
|
||||||
# Do not eager load code on boot.
|
# Do not eager load code on boot.
|
||||||
config.eager_load = false
|
config.eager_load = false
|
||||||
|
|
||||||
|
# Do not log asset requests
|
||||||
|
config.assets.quiet = true
|
||||||
|
|
||||||
# Set the detault url for action mailer
|
# Set the detault url for action mailer
|
||||||
config.action_mailer.default_url_options = { host: (ENV['OSEM_HOSTNAME'] || 'localhost:3000') }
|
config.action_mailer.default_url_options = { host: (ENV['OSEM_HOSTNAME'] || 'localhost:3000') }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue