diff --git a/Gemfile b/Gemfile index f5dbcdaa..577d1b91 100644 --- a/Gemfile +++ b/Gemfile @@ -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 diff --git a/test/dummy/config/application.rb b/test/dummy/config/application.rb index 081fd93b..83eab38e 100644 --- a/test/dummy/config/application.rb +++ b/test/dummy/config/application.rb @@ -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' diff --git a/test/dummy/config/environments/development.rb b/test/dummy/config/environments/development.rb index 9d26e125..b16dd2fb 100644 --- a/test/dummy/config/environments/development.rb +++ b/test/dummy/config/environments/development.rb @@ -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 diff --git a/test/dummy/config/environments/production.rb b/test/dummy/config/environments/production.rb index b690b1cf..dc33932f 100644 --- a/test/dummy/config/environments/production.rb +++ b/test/dummy/config/environments/production.rb @@ -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 diff --git a/test/dummy/config/environments/test.rb b/test/dummy/config/environments/test.rb index 3f17a67a..897205ee 100644 --- a/test/dummy/config/environments/test.rb +++ b/test/dummy/config/environments/test.rb @@ -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 diff --git a/test/dummy/db/schema.rb b/test/dummy/db/schema.rb deleted file mode 100644 index 4dfbb168..00000000 --- a/test/dummy/db/schema.rb +++ /dev/null @@ -1,16 +0,0 @@ -# encoding: UTF-8 -# This file is auto-generated from the current state of the database. Instead -# of editing this file, please use the migrations feature of Active Record to -# incrementally modify your database, and then regenerate this schema definition. -# -# Note that this schema.rb definition is the authoritative source for your -# database schema. If you need to create the application database on another -# system, you should be using db:schema:load, not running all the migrations -# from scratch. The latter is a flawed and unsustainable approach (the more migrations -# you'll amass, the slower it'll run and the greater likelihood for issues). -# -# It's strongly recommended that you check this file into your version control system. - -ActiveRecord::Schema.define(version: 0) do - -end diff --git a/web-console.gemspec b/web-console.gemspec index c579da01..b85a8c5a 100644 --- a/web-console.gemspec +++ b/web-console.gemspec @@ -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