Skip to content

Commit

Permalink
Clean up unneeded test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gsamokovarov committed Dec 6, 2015
1 parent 716a45f commit 839e421
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 57 deletions.
7 changes: 0 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,12 @@ gemspec

gem 'rails', github: 'rails/rails'
gem 'arel', github: 'rails/arel'
gem 'sprockets', github: 'rails/sprockets'
gem 'sprockets-rails', github: 'rails/sprockets-rails'
gem 'rack', github: 'rack/rack'

platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter'
gem 'binding_of_caller', '0.7.3.pre1'
end

platforms :ruby do
gem 'sqlite3'
end

group :test do
gem 'rake'
gem 'mocha', require: false
Expand Down
4 changes: 3 additions & 1 deletion test/dummy/config/application.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
require File.expand_path('../boot', __FILE__)

require 'rails/all'
require "active_model/railtie"
require "action_controller/railtie"
require "action_view/railtie"

Bundler.require(*Rails.groups)
require 'web_console'
Expand Down
11 changes: 0 additions & 11 deletions test/dummy/config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@
config.consider_all_requests_local = true
config.action_controller.perform_caching = false

# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false

# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log

# Raise an error on page load if there are pending migrations
config.active_record.migration_error = :page_load

# Debug mode disables concatenation and preprocessing of assets.
# This option may cause significant delays in view rendering with a large
# number of complex assets.
config.assets.debug = true
end
13 changes: 0 additions & 13 deletions test/dummy/config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@
# Disable Rails's static asset server (Apache or nginx will already do this).
config.serve_static_assets = false

# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
# config.assets.css_compressor = :sass

# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false

# Generate digests for assets URLs.
config.assets.digest = true

# Version of your assets, change this if you want to expire all your assets.
config.assets.version = '1.0'

# Specifies the header that your server uses for sending files.
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
Expand Down
5 changes: 0 additions & 5 deletions test/dummy/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false

# Tell Action Mailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test

# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr

Expand Down
16 changes: 0 additions & 16 deletions test/dummy/db/schema.rb

This file was deleted.

4 changes: 0 additions & 4 deletions web-console.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,4 @@ Gem::Specification.new do |s|
s.add_dependency "railties", rails_version
s.add_dependency "activemodel", rails_version
s.add_dependency "debug_inspector"

# We need those for the testing application to run.
s.add_development_dependency "actionmailer", rails_version
s.add_development_dependency "activerecord", rails_version
end

0 comments on commit 839e421

Please sign in to comment.