diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index cfb5066e..91e7cf87 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -17,12 +17,12 @@ jobs:
fail-fast: false
matrix:
ruby:
- - 2.4
- - 2.5
- 2.6
- 2.7
+ - 3.0
+ - 3.1
- jruby
- - truffleruby
+ - truffleruby-21
steps:
- name: Checkout
uses: actions/checkout@master
diff --git a/Appraisals b/Appraisals
index f4325aa1..5cc3a0e8 100644
--- a/Appraisals
+++ b/Appraisals
@@ -1,43 +1,13 @@
-# Bundler >= 2.x do not work with Rails 4.2
-puts `bundle -v`
-
-if (`bundle -v`[/\d+\.\d+\.\d+/]).start_with?('1.17')
- appraise 'rails-4.2' do
- gem 'activerecord-jdbcsqlite3-adapter', '~> 1.3.25', platform: :jruby
- gem 'rails', '4.2.11.3'
+# Rails 5.x, 6.0 requires Ruby < 3
+if RUBY_ENGINE == 'ruby' && RUBY_VERSION <= '3.0'
+ appraise 'rails-5.2' do
+ gem 'activerecord-jdbcsqlite3-adapter', '~> 52.5', platform: :jruby
+ gem 'bootsnap', '~> 1.4'
+ gem 'rails', '5.2.4.3'
gem 'rspec-rails', '~> 3.7'
- gem 'sprockets', '~> 3.7'
gem 'sqlite3', '< 1.4.0', platform: :ruby
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
end
-else
- puts 'Skipping rails-4.2 for Bundler >= 2.x'
-end
-
-appraise 'rails-5.0' do
- gem 'activerecord-jdbcsqlite3-adapter', '~> 50.6', platform: :jruby
- gem 'rails', '5.0.7.2'
- gem 'rspec-rails', '~> 3.7'
- gem 'sqlite3', '< 1.4.0', platform: :ruby
-end
-appraise 'rails-5.1' do
- gem 'activerecord-jdbcsqlite3-adapter', '~> 51.6', platform: :jruby
- gem 'rails', '5.1.7'
- gem 'rspec-rails', '~> 3.7'
- gem 'sqlite3', '< 1.4.0', platform: :ruby
-end
-
-appraise 'rails-5.2' do
- gem 'activerecord-jdbcsqlite3-adapter', '~> 52.5', platform: :jruby
- gem 'bootsnap', '~> 1.4'
- gem 'rails', '5.2.4.3'
- gem 'rspec-rails', '~> 3.7'
- gem 'sqlite3', '< 1.4.0', platform: :ruby
-end
-
-# Rails 6.x requires Ruby >= 2.5.0
-if (RUBY_ENGINE == 'ruby' && RUBY_VERSION >= '2.5.0') || RUBY_ENGINE != 'ruby'
appraise 'rails-6.0' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 60.1', platform: :jruby
gem 'bootsnap', '~> 1.4'
@@ -45,23 +15,16 @@ if (RUBY_ENGINE == 'ruby' && RUBY_VERSION >= '2.5.0') || RUBY_ENGINE != 'ruby'
gem 'rspec-rails', '~> 3.7'
gem 'sqlite3', '~> 1.4.0', platform: :ruby
end
-else
- puts 'Skipping rails-6.0 for Ruby < 2.5'
end
# Test rails 6.1 with psych >= 4
-# Rails 6.x requires Ruby >= 2.5.0
-if (RUBY_ENGINE == 'ruby' && RUBY_VERSION >= '2.5.0') || RUBY_ENGINE != 'ruby'
- appraise 'rails-6.1' do
- gem 'activerecord-jdbcsqlite3-adapter', '~> 61.1', platform: :jruby
- gem 'bootsnap', '>= 1.4.4'
- gem 'rails', '6.1.4'
- gem 'rspec-rails', '~> 5.0'
- gem 'sqlite3', '~> 1.4', platform: :ruby
- gem 'psych', '>= 4'
- end
-else
- puts 'Skipping rails-6.1 for Ruby < 2.5'
+appraise 'rails-6.1' do
+ gem 'activerecord-jdbcsqlite3-adapter', '~> 61.1', platform: :jruby
+ gem 'bootsnap', '>= 1.4.4'
+ gem 'rails', '6.1.4'
+ gem 'rspec-rails', '~> 5.0'
+ gem 'sqlite3', '~> 1.4', platform: :ruby
+ gem 'psych', '>= 4'
end
appraise 'sinatra' do
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 72eec30d..bfc31e31 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,8 @@
### BREAKING CHANGES
+* Rails versions `< 5.2` are no longer supported
+* Ruby versions `< 2.6` are no longer supported
* Support `HashSource` and `EnvSource` instances in `Config.load_files` and `Config.load_and_set_settings`. ([#315](https://github.com/rubyconfig/config/pull/315)). There are a few subtle breaking changes:
* Previously, `Config.load_files` (called from `Config.load_and_set_settings`) would call `.to_s` on each of its arguments. Now, this responsibility is defered to YAMLSource. In effect, if your application passes String or Pathname objects to `Config.load_files`, no changes are necessary, but if you were somehow relying on the `.to_s` call for some other type of object, you'll now need to call `.to_s` on that object before passing it to `Config`.
* Before this change, `Config.load_files` would call `uniq` on its argument array. This call has been removed, so duplicate file paths are not removed before further processing. In some cases, this can cause differences in behavior since later config files override the values in earlier ones. In most cases, it's best to ensure that duplicate paths are not passed to `Config.load_files`.
diff --git a/README.md b/README.md
index 50bfc57e..31dc77db 100644
--- a/README.md
+++ b/README.md
@@ -24,16 +24,18 @@ Config helps you easily manage environment specific settings in an easy and usab
Current version supports and is [tested](.github/workflows/tests.yml#L19) for the following interpreters and frameworks:
* Interpreters
- * [Ruby](https://www.ruby-lang.org) `>= 2.4`
+ * [Ruby](https://www.ruby-lang.org) `>= 2.6`
* [JRuby](https://www.jruby.org) `>= 9.2`
* [TruffleRuby](https://github.com/oracle/truffleruby) `>= 19.3`
* Application frameworks
- * Rails `>= 4.2`, `5` and `6`
+ * Rails `>= 5.2`
* Padrino
* Sinatra
For Ruby `2.0` to `2.3` or Rails `3` to `4.1` use version `1.x` of this gem. For older versions of Rails or Ruby use [AppConfig](http://github.com/fredwu/app_config).
+For Ruby `2.4` or `2.5` or Rails `4.2`, `5.0`, or `5.1` use version `3.x` of this gem.
+
## Installing
### Installing on Rails
diff --git a/config.gemspec b/config.gemspec
index d59ced0c..4c9d1eef 100644
--- a/config.gemspec
+++ b/config.gemspec
@@ -24,7 +24,7 @@ Donate: \e[34mhttps://opencollective.com/rubyconfig/donate\e[0m\n"
s.files.select! { |file| /(^lib\/|^\w+.md$|\.gemspec$)/ =~ file }
s.require_paths = ['lib']
- s.required_ruby_version = '>= 2.4.0'
+ s.required_ruby_version = '>= 2.6.0'
s.add_dependency 'deep_merge', '~> 1.2', '>= 1.2.1'
s.add_dependency 'dry-validation', '~> 1.0', '>= 1.0.0'
diff --git a/gemfiles/rails_4.2.gemfile b/gemfiles/rails_4.2.gemfile
deleted file mode 100644
index 64589acb..00000000
--- a/gemfiles/rails_4.2.gemfile
+++ /dev/null
@@ -1,12 +0,0 @@
-# This file was generated by Appraisal
-
-source "https://rubygems.org"
-
-gem "activerecord-jdbcsqlite3-adapter", "~> 1.3.25", platform: :jruby
-gem "rails", "4.2.11.3"
-gem "rspec-rails", "~> 3.7"
-gem "sprockets", "~> 3.7"
-gem "sqlite3", "< 1.4.0", platform: :ruby
-gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw]
-
-gemspec path: "../"
diff --git a/gemfiles/rails_5.0.gemfile b/gemfiles/rails_5.0.gemfile
deleted file mode 100644
index f774d6c4..00000000
--- a/gemfiles/rails_5.0.gemfile
+++ /dev/null
@@ -1,10 +0,0 @@
-# This file was generated by Appraisal
-
-source "https://rubygems.org"
-
-gem "activerecord-jdbcsqlite3-adapter", "~> 50.6", platform: :jruby
-gem "rails", "5.0.7.2"
-gem "rspec-rails", "~> 3.7"
-gem "sqlite3", "< 1.4.0", platform: :ruby
-
-gemspec path: "../"
diff --git a/gemfiles/rails_5.1.gemfile b/gemfiles/rails_5.1.gemfile
deleted file mode 100644
index 0ab61e5c..00000000
--- a/gemfiles/rails_5.1.gemfile
+++ /dev/null
@@ -1,10 +0,0 @@
-# This file was generated by Appraisal
-
-source "https://rubygems.org"
-
-gem "activerecord-jdbcsqlite3-adapter", "~> 51.6", platform: :jruby
-gem "rails", "5.1.7"
-gem "rspec-rails", "~> 3.7"
-gem "sqlite3", "< 1.4.0", platform: :ruby
-
-gemspec path: "../"
diff --git a/spec/app/rails_4.2/Rakefile b/spec/app/rails_4.2/Rakefile
deleted file mode 100644
index ba6b733d..00000000
--- a/spec/app/rails_4.2/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Rails.application.load_tasks
diff --git a/spec/app/rails_4.2/app/assets/javascripts/application.js b/spec/app/rails_4.2/app/assets/javascripts/application.js
deleted file mode 100644
index e07c5a83..00000000
--- a/spec/app/rails_4.2/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/spec/app/rails_4.2/app/assets/stylesheets/application.css b/spec/app/rails_4.2/app/assets/stylesheets/application.css
deleted file mode 100644
index f9cd5b34..00000000
--- a/spec/app/rails_4.2/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any styles
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
- * file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/spec/app/rails_4.2/app/controllers/application_controller.rb b/spec/app/rails_4.2/app/controllers/application_controller.rb
deleted file mode 100644
index d83690e1..00000000
--- a/spec/app/rails_4.2/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- # Prevent CSRF attacks by raising an exception.
- # For APIs, you may want to use :null_session instead.
- protect_from_forgery with: :exception
-end
diff --git a/spec/app/rails_4.2/app/helpers/application_helper.rb b/spec/app/rails_4.2/app/helpers/application_helper.rb
deleted file mode 100644
index de6be794..00000000
--- a/spec/app/rails_4.2/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/spec/app/rails_4.2/app/views/layouts/application.html.erb b/spec/app/rails_4.2/app/views/layouts/application.html.erb
deleted file mode 100644
index 60309efb..00000000
--- a/spec/app/rails_4.2/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Rails42
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
- <%= csrf_meta_tags %>
-
-
-
-<%= yield %>
-
-
-
diff --git a/spec/app/rails_4.2/bin/bundle b/spec/app/rails_4.2/bin/bundle
deleted file mode 100755
index 66e9889e..00000000
--- a/spec/app/rails_4.2/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/spec/app/rails_4.2/bin/rails b/spec/app/rails_4.2/bin/rails
deleted file mode 100755
index 4d608ede..00000000
--- a/spec/app/rails_4.2/bin/rails
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path("../spring", __FILE__)
-rescue LoadError
-end
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/spec/app/rails_4.2/bin/rake b/spec/app/rails_4.2/bin/rake
deleted file mode 100755
index 8017a027..00000000
--- a/spec/app/rails_4.2/bin/rake
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path("../spring", __FILE__)
-rescue LoadError
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/spec/app/rails_4.2/bin/setup b/spec/app/rails_4.2/bin/setup
deleted file mode 100755
index acdb2c13..00000000
--- a/spec/app/rails_4.2/bin/setup
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-Dir.chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file:
-
- puts "== Installing dependencies =="
- system "gem install bundler --conservative"
- system "bundle check || bundle install"
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # system "cp config/database.yml.sample config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system "bin/rake db:setup"
-
- puts "\n== Removing old logs and tempfiles =="
- system "rm -f log/*"
- system "rm -rf tmp/cache"
-
- puts "\n== Restarting application server =="
- system "touch tmp/restart.txt"
-end
diff --git a/spec/app/rails_4.2/bin/spring b/spec/app/rails_4.2/bin/spring
deleted file mode 100755
index 7b45d374..00000000
--- a/spec/app/rails_4.2/bin/spring
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require "rubygems"
- require "bundler"
-
- if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m)
- Gem.paths = { "GEM_PATH" => [Bundler.bundle_path.to_s, *Gem.path].uniq }
- gem "spring", match[1]
- require "spring/binstub"
- end
-end
diff --git a/spec/app/rails_4.2/config.ru b/spec/app/rails_4.2/config.ru
deleted file mode 100644
index bd83b254..00000000
--- a/spec/app/rails_4.2/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Rails.application
diff --git a/spec/app/rails_4.2/config/application.rb b/spec/app/rails_4.2/config/application.rb
deleted file mode 100644
index a806e363..00000000
--- a/spec/app/rails_4.2/config/application.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Rails42
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Do not swallow errors in after_commit/after_rollback callbacks.
- config.active_record.raise_in_transactional_callbacks = true
-
- ##
- # Config
- #
- config_available?
- end
-end
diff --git a/spec/app/rails_4.2/config/boot.rb b/spec/app/rails_4.2/config/boot.rb
deleted file mode 100644
index 6b750f00..00000000
--- a/spec/app/rails_4.2/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/spec/app/rails_4.2/config/database.yml b/spec/app/rails_4.2/config/database.yml
deleted file mode 100644
index 246b40d9..00000000
--- a/spec/app/rails_4.2/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: <%= Settings.databases.development.database %>
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: <%= Settings.databases.test.database %>
-
-production:
- <<: *default
- database: <%= Settings.databases.production.database %>
diff --git a/spec/app/rails_4.2/config/environment.rb b/spec/app/rails_4.2/config/environment.rb
deleted file mode 100644
index ee8d90dc..00000000
--- a/spec/app/rails_4.2/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require File.expand_path('../application', __FILE__)
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/spec/app/rails_4.2/config/environments/development.rb b/spec/app/rails_4.2/config/environments/development.rb
deleted file mode 100644
index b55e2144..00000000
--- a/spec/app/rails_4.2/config/environments/development.rb
+++ /dev/null
@@ -1,41 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports and disable caching.
- 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
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # Adds additional error checking when serving assets at runtime.
- # Checks for improperly declared sprockets dependencies.
- # Raises helpful error messages.
- config.assets.raise_runtime_errors = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/spec/app/rails_4.2/config/environments/production.rb b/spec/app/rails_4.2/config/environments/production.rb
deleted file mode 100644
index 5c1b32e4..00000000
--- a/spec/app/rails_4.2/config/environments/production.rb
+++ /dev/null
@@ -1,79 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
- # Add `rack-cache` to your Gemfile before enabling this.
- # For large-scale production use, consider using a caching reverse proxy like
- # NGINX, varnish or squid.
- # config.action_dispatch.rack_cache = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # 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
-
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
- # yet still be able to expire them through the digest params.
- config.assets.digest = true
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # 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
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups.
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/spec/app/rails_4.2/config/environments/test.rb b/spec/app/rails_4.2/config/environments/test.rb
deleted file mode 100644
index 1c19f08b..00000000
--- a/spec/app/rails_4.2/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure static file server for tests with Cache-Control for performance.
- config.serve_static_files = true
- config.static_cache_control = 'public, max-age=3600'
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # 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
-
- # Randomize the order test cases are executed.
- config.active_support.test_order = :random
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/spec/app/rails_4.2/config/initializers/assets.rb b/spec/app/rails_4.2/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e66..00000000
--- a/spec/app/rails_4.2/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/spec/app/rails_4.2/config/initializers/backtrace_silencers.rb b/spec/app/rails_4.2/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cdf..00000000
--- a/spec/app/rails_4.2/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/spec/app/rails_4.2/config/initializers/cookies_serializer.rb b/spec/app/rails_4.2/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 7f70458d..00000000
--- a/spec/app/rails_4.2/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/spec/app/rails_4.2/config/initializers/filter_parameter_logging.rb b/spec/app/rails_4.2/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1e..00000000
--- a/spec/app/rails_4.2/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/spec/app/rails_4.2/config/initializers/inflections.rb b/spec/app/rails_4.2/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf9..00000000
--- a/spec/app/rails_4.2/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/spec/app/rails_4.2/config/initializers/mime_types.rb b/spec/app/rails_4.2/config/initializers/mime_types.rb
deleted file mode 100644
index dc189968..00000000
--- a/spec/app/rails_4.2/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/spec/app/rails_4.2/config/initializers/session_store.rb b/spec/app/rails_4.2/config/initializers/session_store.rb
deleted file mode 100644
index cabe8091..00000000
--- a/spec/app/rails_4.2/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_rails_4_2_session'
diff --git a/spec/app/rails_4.2/config/initializers/wrap_parameters.rb b/spec/app/rails_4.2/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 33725e95..00000000
--- a/spec/app/rails_4.2/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/spec/app/rails_4.2/config/locales/en.yml b/spec/app/rails_4.2/config/locales/en.yml
deleted file mode 100644
index 06539571..00000000
--- a/spec/app/rails_4.2/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/spec/app/rails_4.2/config/routes.rb b/spec/app/rails_4.2/config/routes.rb
deleted file mode 100644
index 3f66539d..00000000
--- a/spec/app/rails_4.2/config/routes.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-Rails.application.routes.draw do
- # The priority is based upon order of creation: first created -> highest priority.
- # See how all your routes lay out with "rake routes".
-
- # You can have the root of your site routed with "root"
- # root 'welcome#index'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end
diff --git a/spec/app/rails_4.2/config/secrets.yml b/spec/app/rails_4.2/config/secrets.yml
deleted file mode 100644
index 5ca6ce2a..00000000
--- a/spec/app/rails_4.2/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rake secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 708d024997b18a321520387693d4872c6ef5e99deaee1ed48ffef4ee18e405f9e1fea8c603397b17b87fbb82110efdcce45ab0bb453920a78e6d53c21d266cf2
-
-test:
- secret_key_base: b79d31c03d9a2d24e77e682e1fcf2739871dd23ba2c143d3dbad4ca47f5bbff2f8c624ace65d11cf02535080058dbce15ca853a73cd8738c7e2bc4a7f4c9beb3
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/spec/app/rails_4.2/config/settings.yml b/spec/app/rails_4.2/config/settings.yml
deleted file mode 100644
index a7e2d108..00000000
--- a/spec/app/rails_4.2/config/settings.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-databases:
- development:
- database: db/development.sqlite3
- test:
- database: db/test.sqlite3
- production:
- database: db/production.sqlite3
\ No newline at end of file
diff --git a/spec/app/rails_4.2/db/seeds.rb b/spec/app/rails_4.2/db/seeds.rb
deleted file mode 100644
index 4edb1e85..00000000
--- a/spec/app/rails_4.2/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
-#
-# Examples:
-#
-# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/spec/app/rails_4.2/public/404.html b/spec/app/rails_4.2/public/404.html
deleted file mode 100644
index b612547f..00000000
--- a/spec/app/rails_4.2/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/spec/app/rails_4.2/public/422.html b/spec/app/rails_4.2/public/422.html
deleted file mode 100644
index a21f82b3..00000000
--- a/spec/app/rails_4.2/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/spec/app/rails_4.2/public/500.html b/spec/app/rails_4.2/public/500.html
deleted file mode 100644
index 061abc58..00000000
--- a/spec/app/rails_4.2/public/500.html
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
- We're sorry, but something went wrong (500)
-
-
-
-
-
-
-
-
-
We're sorry, but something went wrong.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/spec/app/rails_4.2/public/favicon.ico b/spec/app/rails_4.2/public/favicon.ico
deleted file mode 100644
index e69de29b..00000000
diff --git a/spec/app/rails_4.2/public/robots.txt b/spec/app/rails_4.2/public/robots.txt
deleted file mode 100644
index 3c9c7c01..00000000
--- a/spec/app/rails_4.2/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/spec/app/rails_5.0/Gemfile b/spec/app/rails_5.0/Gemfile
deleted file mode 100644
index 4aa8f6b2..00000000
--- a/spec/app/rails_5.0/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use Puma as the app server
-gem 'puma', '~> 3.0'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.2'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use jquery as the JavaScript library
-gem 'jquery-rails'
-# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
-gem 'turbolinks', '~> 5'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.5'
-# Use Redis adapter to run Action Cable in production
-# gem 'redis', '~> 3.0'
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- gem 'listen', '~> 3.0.5'
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
- gem 'spring-watcher-listen', '~> 2.0.0'
-end
-
-# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
-gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/spec/app/rails_5.0/README.md b/spec/app/rails_5.0/README.md
deleted file mode 100644
index 7db80e4c..00000000
--- a/spec/app/rails_5.0/README.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
diff --git a/spec/app/rails_5.0/Rakefile b/spec/app/rails_5.0/Rakefile
deleted file mode 100644
index e85f9139..00000000
--- a/spec/app/rails_5.0/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require_relative 'config/application'
-
-Rails.application.load_tasks
diff --git a/spec/app/rails_5.0/app/assets/config/manifest.js b/spec/app/rails_5.0/app/assets/config/manifest.js
deleted file mode 100644
index b16e53d6..00000000
--- a/spec/app/rails_5.0/app/assets/config/manifest.js
+++ /dev/null
@@ -1,3 +0,0 @@
-//= link_tree ../images
-//= link_directory ../javascripts .js
-//= link_directory ../stylesheets .css
diff --git a/spec/app/rails_5.0/app/assets/javascripts/application.js b/spec/app/rails_5.0/app/assets/javascripts/application.js
deleted file mode 100644
index b12018d0..00000000
--- a/spec/app/rails_5.0/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file. JavaScript code in this file should be added after the last require_* statement.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require jquery
-//= require jquery_ujs
-//= require turbolinks
-//= require_tree .
diff --git a/spec/app/rails_5.0/app/assets/javascripts/cable.js b/spec/app/rails_5.0/app/assets/javascripts/cable.js
deleted file mode 100644
index 71ee1e66..00000000
--- a/spec/app/rails_5.0/app/assets/javascripts/cable.js
+++ /dev/null
@@ -1,13 +0,0 @@
-// Action Cable provides the framework to deal with WebSockets in Rails.
-// You can generate new channels where WebSocket features live using the rails generate channel command.
-//
-//= require action_cable
-//= require_self
-//= require_tree ./channels
-
-(function() {
- this.App || (this.App = {});
-
- App.cable = ActionCable.createConsumer();
-
-}).call(this);
diff --git a/spec/app/rails_5.0/app/assets/stylesheets/application.css b/spec/app/rails_5.0/app/assets/stylesheets/application.css
deleted file mode 100644
index 0ebd7fe8..00000000
--- a/spec/app/rails_5.0/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
- * files in this directory. Styles in this file should be added after the last require_* statement.
- * It is generally better to create a new file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/spec/app/rails_5.0/app/channels/application_cable/channel.rb b/spec/app/rails_5.0/app/channels/application_cable/channel.rb
deleted file mode 100644
index d6726972..00000000
--- a/spec/app/rails_5.0/app/channels/application_cable/channel.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-module ApplicationCable
- class Channel < ActionCable::Channel::Base
- end
-end
diff --git a/spec/app/rails_5.0/app/channels/application_cable/connection.rb b/spec/app/rails_5.0/app/channels/application_cable/connection.rb
deleted file mode 100644
index 0ff5442f..00000000
--- a/spec/app/rails_5.0/app/channels/application_cable/connection.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-module ApplicationCable
- class Connection < ActionCable::Connection::Base
- end
-end
diff --git a/spec/app/rails_5.0/app/controllers/application_controller.rb b/spec/app/rails_5.0/app/controllers/application_controller.rb
deleted file mode 100644
index 1c07694e..00000000
--- a/spec/app/rails_5.0/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class ApplicationController < ActionController::Base
- protect_from_forgery with: :exception
-end
diff --git a/spec/app/rails_5.0/app/helpers/application_helper.rb b/spec/app/rails_5.0/app/helpers/application_helper.rb
deleted file mode 100644
index de6be794..00000000
--- a/spec/app/rails_5.0/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/spec/app/rails_5.0/app/jobs/application_job.rb b/spec/app/rails_5.0/app/jobs/application_job.rb
deleted file mode 100644
index a009ace5..00000000
--- a/spec/app/rails_5.0/app/jobs/application_job.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-class ApplicationJob < ActiveJob::Base
-end
diff --git a/spec/app/rails_5.0/app/mailers/application_mailer.rb b/spec/app/rails_5.0/app/mailers/application_mailer.rb
deleted file mode 100644
index 286b2239..00000000
--- a/spec/app/rails_5.0/app/mailers/application_mailer.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class ApplicationMailer < ActionMailer::Base
- default from: 'from@example.com'
- layout 'mailer'
-end
diff --git a/spec/app/rails_5.0/app/models/application_record.rb b/spec/app/rails_5.0/app/models/application_record.rb
deleted file mode 100644
index 10a4cba8..00000000
--- a/spec/app/rails_5.0/app/models/application_record.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class ApplicationRecord < ActiveRecord::Base
- self.abstract_class = true
-end
diff --git a/spec/app/rails_5.0/app/views/layouts/application.html.erb b/spec/app/rails_5.0/app/views/layouts/application.html.erb
deleted file mode 100644
index 6666b069..00000000
--- a/spec/app/rails_5.0/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Rails5
- <%= csrf_meta_tags %>
-
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
-
-
-
- <%= yield %>
-
-
diff --git a/spec/app/rails_5.0/app/views/layouts/mailer.html.erb b/spec/app/rails_5.0/app/views/layouts/mailer.html.erb
deleted file mode 100644
index cbd34d2e..00000000
--- a/spec/app/rails_5.0/app/views/layouts/mailer.html.erb
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
- <%= yield %>
-
-
diff --git a/spec/app/rails_5.0/app/views/layouts/mailer.text.erb b/spec/app/rails_5.0/app/views/layouts/mailer.text.erb
deleted file mode 100644
index 37f0bddb..00000000
--- a/spec/app/rails_5.0/app/views/layouts/mailer.text.erb
+++ /dev/null
@@ -1 +0,0 @@
-<%= yield %>
diff --git a/spec/app/rails_5.0/bin/bundle b/spec/app/rails_5.0/bin/bundle
deleted file mode 100755
index 66e9889e..00000000
--- a/spec/app/rails_5.0/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/spec/app/rails_5.0/bin/rails b/spec/app/rails_5.0/bin/rails
deleted file mode 100755
index 5badb2fd..00000000
--- a/spec/app/rails_5.0/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../config/application', __dir__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/spec/app/rails_5.0/bin/rake b/spec/app/rails_5.0/bin/rake
deleted file mode 100755
index d87d5f57..00000000
--- a/spec/app/rails_5.0/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/spec/app/rails_5.0/bin/setup b/spec/app/rails_5.0/bin/setup
deleted file mode 100755
index e620b4da..00000000
--- a/spec/app/rails_5.0/bin/setup
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-require 'fileutils'
-include FileUtils
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-def system!(*args)
- system(*args) || abort("\n== Command #{args} failed ==")
-end
-
-chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file.
-
- puts '== Installing dependencies =='
- system! 'gem install bundler --conservative'
- system('bundle check') || system!('bundle install')
-
- # puts "\n== Copying sample files =="
- # unless File.exist?('config/database.yml')
- # cp 'config/database.yml.sample', 'config/database.yml'
- # end
-
- puts "\n== Preparing database =="
- system! 'bin/rails db:setup'
-
- puts "\n== Removing old logs and tempfiles =="
- system! 'bin/rails log:clear tmp:clear'
-
- puts "\n== Restarting application server =="
- system! 'bin/rails restart'
-end
diff --git a/spec/app/rails_5.0/bin/spring b/spec/app/rails_5.0/bin/spring
deleted file mode 100755
index 7fe232c3..00000000
--- a/spec/app/rails_5.0/bin/spring
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- if (match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m))
- Gem.paths = { 'GEM_PATH' => [Bundler.bundle_path.to_s, *Gem.path].uniq.join(Gem.path_separator) }
- gem 'spring', match[1]
- require 'spring/binstub'
- end
-end
diff --git a/spec/app/rails_5.0/bin/update b/spec/app/rails_5.0/bin/update
deleted file mode 100755
index a8e4462f..00000000
--- a/spec/app/rails_5.0/bin/update
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-require 'fileutils'
-include FileUtils
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-def system!(*args)
- system(*args) || abort("\n== Command #{args} failed ==")
-end
-
-chdir APP_ROOT do
- # This script is a way to update your development environment automatically.
- # Add necessary update steps to this file.
-
- puts '== Installing dependencies =='
- system! 'gem install bundler --conservative'
- system('bundle check') || system!('bundle install')
-
- puts "\n== Updating database =="
- system! 'bin/rails db:migrate'
-
- puts "\n== Removing old logs and tempfiles =="
- system! 'bin/rails log:clear tmp:clear'
-
- puts "\n== Restarting application server =="
- system! 'bin/rails restart'
-end
diff --git a/spec/app/rails_5.0/config.ru b/spec/app/rails_5.0/config.ru
deleted file mode 100644
index f7ba0b52..00000000
--- a/spec/app/rails_5.0/config.ru
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require_relative 'config/environment'
-
-run Rails.application
diff --git a/spec/app/rails_5.0/config/application.rb b/spec/app/rails_5.0/config/application.rb
deleted file mode 100644
index b6eef723..00000000
--- a/spec/app/rails_5.0/config/application.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-require_relative 'boot'
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Rails5
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- ##
- # Config
- #
- config_available?
- end
-end
diff --git a/spec/app/rails_5.0/config/boot.rb b/spec/app/rails_5.0/config/boot.rb
deleted file mode 100644
index 30f5120d..00000000
--- a/spec/app/rails_5.0/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/spec/app/rails_5.0/config/cable.yml b/spec/app/rails_5.0/config/cable.yml
deleted file mode 100644
index 0bbde6f7..00000000
--- a/spec/app/rails_5.0/config/cable.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-development:
- adapter: async
-
-test:
- adapter: async
-
-production:
- adapter: redis
- url: redis://localhost:6379/1
diff --git a/spec/app/rails_5.0/config/database.yml b/spec/app/rails_5.0/config/database.yml
deleted file mode 100644
index 1c1a37ca..00000000
--- a/spec/app/rails_5.0/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: 5
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/spec/app/rails_5.0/config/environment.rb b/spec/app/rails_5.0/config/environment.rb
deleted file mode 100644
index 426333bb..00000000
--- a/spec/app/rails_5.0/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require_relative 'application'
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/spec/app/rails_5.0/config/environments/development.rb b/spec/app/rails_5.0/config/environments/development.rb
deleted file mode 100644
index 6f719704..00000000
--- a/spec/app/rails_5.0/config/environments/development.rb
+++ /dev/null
@@ -1,54 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports.
- config.consider_all_requests_local = true
-
- # Enable/disable caching. By default caching is disabled.
- if Rails.root.join('tmp/caching-dev.txt').exist?
- config.action_controller.perform_caching = true
-
- config.cache_store = :memory_store
- config.public_file_server.headers = {
- 'Cache-Control' => 'public, max-age=172800'
- }
- else
- config.action_controller.perform_caching = false
-
- config.cache_store = :null_store
- end
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- config.action_mailer.perform_caching = 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
-
- # Suppress logger output for asset requests.
- config.assets.quiet = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-
- # Use an evented file watcher to asynchronously detect changes in source code,
- # routes, locales, etc. This feature depends on the listen gem.
- config.file_watcher = ActiveSupport::EventedFileUpdateChecker
-end
diff --git a/spec/app/rails_5.0/config/environments/production.rb b/spec/app/rails_5.0/config/environments/production.rb
deleted file mode 100644
index 55e22df4..00000000
--- a/spec/app/rails_5.0/config/environments/production.rb
+++ /dev/null
@@ -1,86 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # 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
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # 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
-
- # Mount Action Cable outside main process or domain
- # config.action_cable.mount_path = nil
- # config.action_cable.url = 'wss://example.com/cable'
- # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- config.log_tags = [ :request_id ]
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Use a real queuing backend for Active Job (and separate queues per environment)
- # config.active_job.queue_adapter = :resque
- # config.active_job.queue_name_prefix = "rails_5_#{Rails.env}"
- config.action_mailer.perform_caching = false
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Use a different logger for distributed setups.
- # require 'syslog/logger'
- # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
-
- if ENV["RAILS_LOG_TO_STDOUT"].present?
- logger = ActiveSupport::Logger.new(STDOUT)
- logger.formatter = config.log_formatter
- config.logger = ActiveSupport::TaggedLogging.new(logger)
- end
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/spec/app/rails_5.0/config/environments/test.rb b/spec/app/rails_5.0/config/environments/test.rb
deleted file mode 100644
index 30587ef6..00000000
--- a/spec/app/rails_5.0/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure public file server for tests with Cache-Control for performance.
- config.public_file_server.enabled = true
- config.public_file_server.headers = {
- 'Cache-Control' => 'public, max-age=3600'
- }
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
- config.action_mailer.perform_caching = 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
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/spec/app/rails_5.0/config/initializers/application_controller_renderer.rb b/spec/app/rails_5.0/config/initializers/application_controller_renderer.rb
deleted file mode 100644
index 51639b67..00000000
--- a/spec/app/rails_5.0/config/initializers/application_controller_renderer.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# ApplicationController.renderer.defaults.merge!(
-# http_host: 'example.org',
-# https: false
-# )
diff --git a/spec/app/rails_5.0/config/initializers/assets.rb b/spec/app/rails_5.0/config/initializers/assets.rb
deleted file mode 100644
index 01ef3e66..00000000
--- a/spec/app/rails_5.0/config/initializers/assets.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path
-# Rails.application.config.assets.paths << Emoji.images_path
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
-# Rails.application.config.assets.precompile += %w( search.js )
diff --git a/spec/app/rails_5.0/config/initializers/backtrace_silencers.rb b/spec/app/rails_5.0/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cdf..00000000
--- a/spec/app/rails_5.0/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/spec/app/rails_5.0/config/initializers/cookies_serializer.rb b/spec/app/rails_5.0/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 5a6a32d3..00000000
--- a/spec/app/rails_5.0/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Specify a serializer for the signed and encrypted cookie jars.
-# Valid options are :json, :marshal, and :hybrid.
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/spec/app/rails_5.0/config/initializers/filter_parameter_logging.rb b/spec/app/rails_5.0/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1e..00000000
--- a/spec/app/rails_5.0/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/spec/app/rails_5.0/config/initializers/inflections.rb b/spec/app/rails_5.0/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf9..00000000
--- a/spec/app/rails_5.0/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/spec/app/rails_5.0/config/initializers/mime_types.rb b/spec/app/rails_5.0/config/initializers/mime_types.rb
deleted file mode 100644
index dc189968..00000000
--- a/spec/app/rails_5.0/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/spec/app/rails_5.0/config/initializers/new_framework_defaults.rb b/spec/app/rails_5.0/config/initializers/new_framework_defaults.rb
deleted file mode 100644
index 138fa8b8..00000000
--- a/spec/app/rails_5.0/config/initializers/new_framework_defaults.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# Be sure to restart your server when you modify this file.
-#
-# This file contains migration options to ease your Rails 5.0 upgrade.
-#
-# Read the Rails 5.0 release notes for more info on each option.
-
-# Enable per-form CSRF tokens. Previous versions had false.
-Rails.application.config.action_controller.per_form_csrf_tokens = true
-
-# Enable origin-checking CSRF mitigation. Previous versions had false.
-Rails.application.config.action_controller.forgery_protection_origin_check = true
-
-# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
-# Previous versions had false.
-ActiveSupport.to_time_preserves_timezone = true
-
-# Require `belongs_to` associations by default. Previous versions had false.
-Rails.application.config.active_record.belongs_to_required_by_default = true
-
-# Do not halt callback chains when a callback returns false. Previous versions had true.
-# ActiveSupport.halt_callback_chains_on_return_false = false
-
-# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
-Rails.application.config.ssl_options = { hsts: { subdomains: true } }
diff --git a/spec/app/rails_5.0/config/initializers/session_store.rb b/spec/app/rails_5.0/config/initializers/session_store.rb
deleted file mode 100644
index c1e04087..00000000
--- a/spec/app/rails_5.0/config/initializers/session_store.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-Rails.application.config.session_store :cookie_store, key: '_rails_5_session'
diff --git a/spec/app/rails_5.0/config/initializers/wrap_parameters.rb b/spec/app/rails_5.0/config/initializers/wrap_parameters.rb
deleted file mode 100644
index bbfc3961..00000000
--- a/spec/app/rails_5.0/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json]
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/spec/app/rails_5.0/config/locales/en.yml b/spec/app/rails_5.0/config/locales/en.yml
deleted file mode 100644
index 06539571..00000000
--- a/spec/app/rails_5.0/config/locales/en.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/spec/app/rails_5.0/config/puma.rb b/spec/app/rails_5.0/config/puma.rb
deleted file mode 100644
index c7f311f8..00000000
--- a/spec/app/rails_5.0/config/puma.rb
+++ /dev/null
@@ -1,47 +0,0 @@
-# Puma can serve each request in a thread from an internal thread pool.
-# The `threads` method setting takes two numbers a minimum and maximum.
-# Any libraries that use thread pools should be configured to match
-# the maximum value specified for Puma. Default is set to 5 threads for minimum
-# and maximum, this matches the default thread size of Active Record.
-#
-threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
-threads threads_count, threads_count
-
-# Specifies the `port` that Puma will listen on to receive requests, default is 3000.
-#
-port ENV.fetch("PORT") { 3000 }
-
-# Specifies the `environment` that Puma will run in.
-#
-environment ENV.fetch("RAILS_ENV") { "development" }
-
-# Specifies the number of `workers` to boot in clustered mode.
-# Workers are forked webserver processes. If using threads and workers together
-# the concurrency of the application would be max `threads` * `workers`.
-# Workers do not work on JRuby or Windows (both of which do not support
-# processes).
-#
-# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
-
-# Use the `preload_app!` method when specifying a `workers` number.
-# This directive tells Puma to first boot the application and load code
-# before forking the application. This takes advantage of Copy On Write
-# process behavior so workers use less memory. If you use this option
-# you need to make sure to reconnect any threads in the `on_worker_boot`
-# block.
-#
-# preload_app!
-
-# The code in the `on_worker_boot` will be called if you are using
-# clustered mode by specifying a number of `workers`. After each worker
-# process is booted this block will be run, if you are using `preload_app!`
-# option you will want to use this block to reconnect to any threads
-# or connections that may have been created at application boot, Ruby
-# cannot share connections between processes.
-#
-# on_worker_boot do
-# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
-# end
-
-# Allow puma to be restarted by `rails restart` command.
-plugin :tmp_restart
diff --git a/spec/app/rails_5.0/config/routes.rb b/spec/app/rails_5.0/config/routes.rb
deleted file mode 100644
index 787824f8..00000000
--- a/spec/app/rails_5.0/config/routes.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-Rails.application.routes.draw do
- # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
-end
diff --git a/spec/app/rails_5.0/config/secrets.yml b/spec/app/rails_5.0/config/secrets.yml
deleted file mode 100644
index 44eb05f2..00000000
--- a/spec/app/rails_5.0/config/secrets.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rails secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-development:
- secret_key_base: 195a3681a6d919533c534918b4cde5571b5e5b8a193d3313916e008d99993fa516ed482e1eb488f06c9bd30ee1f67cba07154385b1fd7828723f759fd9b36184
-
-test:
- secret_key_base: 1296e066ad5488375c27dc28a770ecf7609cef4d437126cdfd889364843fcb45fe29307b5b571c61d1126dd42b49fcaad5c14cea0123be2de3d2e7d35b039cda
-
-# Do not keep production secrets in the repository,
-# instead read values from the environment.
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/spec/app/rails_5.0/config/spring.rb b/spec/app/rails_5.0/config/spring.rb
deleted file mode 100644
index c9119b40..00000000
--- a/spec/app/rails_5.0/config/spring.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-%w(
- .ruby-version
- .rbenv-vars
- tmp/restart.txt
- tmp/caching-dev.txt
-).each { |path| Spring.watch(path) }
diff --git a/spec/app/rails_5.0/db/seeds.rb b/spec/app/rails_5.0/db/seeds.rb
deleted file mode 100644
index 1beea2ac..00000000
--- a/spec/app/rails_5.0/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
-#
-# Examples:
-#
-# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
-# Character.create(name: 'Luke', movie: movies.first)
diff --git a/spec/app/rails_5.0/public/404.html b/spec/app/rails_5.0/public/404.html
deleted file mode 100644
index b612547f..00000000
--- a/spec/app/rails_5.0/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/spec/app/rails_5.0/public/422.html b/spec/app/rails_5.0/public/422.html
deleted file mode 100644
index a21f82b3..00000000
--- a/spec/app/rails_5.0/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/spec/app/rails_5.0/public/500.html b/spec/app/rails_5.0/public/500.html
deleted file mode 100644
index 061abc58..00000000
--- a/spec/app/rails_5.0/public/500.html
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
- We're sorry, but something went wrong (500)
-
-
-
-
-
-
-
-
-
We're sorry, but something went wrong.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/spec/app/rails_5.0/public/apple-touch-icon-precomposed.png b/spec/app/rails_5.0/public/apple-touch-icon-precomposed.png
deleted file mode 100644
index e69de29b..00000000
diff --git a/spec/app/rails_5.0/public/apple-touch-icon.png b/spec/app/rails_5.0/public/apple-touch-icon.png
deleted file mode 100644
index e69de29b..00000000
diff --git a/spec/app/rails_5.0/public/favicon.ico b/spec/app/rails_5.0/public/favicon.ico
deleted file mode 100644
index e69de29b..00000000
diff --git a/spec/app/rails_5.0/public/robots.txt b/spec/app/rails_5.0/public/robots.txt
deleted file mode 100644
index 3c9c7c01..00000000
--- a/spec/app/rails_5.0/public/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
-#
-# To ban all spiders from the entire site uncomment the next two lines:
-# User-agent: *
-# Disallow: /
diff --git a/spec/app/rails_5.0/test/test_helper.rb b/spec/app/rails_5.0/test/test_helper.rb
deleted file mode 100644
index 92e39b2d..00000000
--- a/spec/app/rails_5.0/test/test_helper.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
diff --git a/spec/app/rails_5.1/Gemfile b/spec/app/rails_5.1/Gemfile
deleted file mode 100644
index df8a8e04..00000000
--- a/spec/app/rails_5.1/Gemfile
+++ /dev/null
@@ -1,48 +0,0 @@
-source 'https://rubygems.org'
-
-# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '~> 5.1.4'
-# Use sqlite3 as the database for Active Record
-gem 'sqlite3'
-# Use Puma as the app server
-gem 'puma', '~> 3.7'
-# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
-# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
-# See https://github.com/rails/execjs#readme for more supported runtimes
-# gem 'therubyracer', platforms: :ruby
-
-# Use CoffeeScript for .coffee assets and views
-gem 'coffee-rails', '~> 4.2'
-# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
-gem 'turbolinks', '~> 5'
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.5'
-# Use Redis adapter to run Action Cable in production
-# gem 'redis', '~> 3.0'
-# Use ActiveModel has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
-
-# Use Capistrano for deployment
-# gem 'capistrano-rails', group: :development
-
-group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
- # Adds support for Capybara system testing and selenium driver
- gem 'capybara', '~> 2.13'
- gem 'selenium-webdriver'
-end
-
-group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console', '>= 3.3.0'
- gem 'listen', '>= 3.0.5', '< 3.2'
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
- gem 'spring-watcher-listen', '~> 2.0.0'
-end
-
-# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
-gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/spec/app/rails_5.1/README.md b/spec/app/rails_5.1/README.md
deleted file mode 100644
index 7db80e4c..00000000
--- a/spec/app/rails_5.1/README.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# README
-
-This README would normally document whatever steps are necessary to get the
-application up and running.
-
-Things you may want to cover:
-
-* Ruby version
-
-* System dependencies
-
-* Configuration
-
-* Database creation
-
-* Database initialization
-
-* How to run the test suite
-
-* Services (job queues, cache servers, search engines, etc.)
-
-* Deployment instructions
-
-* ...
diff --git a/spec/app/rails_5.1/Rakefile b/spec/app/rails_5.1/Rakefile
deleted file mode 100644
index e85f9139..00000000
--- a/spec/app/rails_5.1/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require_relative 'config/application'
-
-Rails.application.load_tasks
diff --git a/spec/app/rails_5.1/app/assets/config/manifest.js b/spec/app/rails_5.1/app/assets/config/manifest.js
deleted file mode 100644
index b16e53d6..00000000
--- a/spec/app/rails_5.1/app/assets/config/manifest.js
+++ /dev/null
@@ -1,3 +0,0 @@
-//= link_tree ../images
-//= link_directory ../javascripts .js
-//= link_directory ../stylesheets .css
diff --git a/spec/app/rails_5.1/app/assets/javascripts/application.js b/spec/app/rails_5.1/app/assets/javascripts/application.js
deleted file mode 100644
index 46b20359..00000000
--- a/spec/app/rails_5.1/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,15 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
-// vendor/assets/javascripts directory can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// compiled file. JavaScript code in this file should be added after the last require_* statement.
-//
-// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
-// about supported directives.
-//
-//= require rails-ujs
-//= require turbolinks
-//= require_tree .
diff --git a/spec/app/rails_5.1/app/assets/javascripts/cable.js b/spec/app/rails_5.1/app/assets/javascripts/cable.js
deleted file mode 100644
index 739aa5f0..00000000
--- a/spec/app/rails_5.1/app/assets/javascripts/cable.js
+++ /dev/null
@@ -1,13 +0,0 @@
-// Action Cable provides the framework to deal with WebSockets in Rails.
-// You can generate new channels where WebSocket features live using the `rails generate channel` command.
-//
-//= require action_cable
-//= require_self
-//= require_tree ./channels
-
-(function() {
- this.App || (this.App = {});
-
- App.cable = ActionCable.createConsumer();
-
-}).call(this);
diff --git a/spec/app/rails_5.1/app/assets/stylesheets/application.css b/spec/app/rails_5.1/app/assets/stylesheets/application.css
deleted file mode 100644
index d05ea0f5..00000000
--- a/spec/app/rails_5.1/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
- * vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
- * files in this directory. Styles in this file should be added after the last require_* statement.
- * It is generally better to create a new file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/spec/app/rails_5.1/app/channels/application_cable/channel.rb b/spec/app/rails_5.1/app/channels/application_cable/channel.rb
deleted file mode 100644
index d6726972..00000000
--- a/spec/app/rails_5.1/app/channels/application_cable/channel.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-module ApplicationCable
- class Channel < ActionCable::Channel::Base
- end
-end
diff --git a/spec/app/rails_5.1/app/channels/application_cable/connection.rb b/spec/app/rails_5.1/app/channels/application_cable/connection.rb
deleted file mode 100644
index 0ff5442f..00000000
--- a/spec/app/rails_5.1/app/channels/application_cable/connection.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-module ApplicationCable
- class Connection < ActionCable::Connection::Base
- end
-end
diff --git a/spec/app/rails_5.1/app/controllers/application_controller.rb b/spec/app/rails_5.1/app/controllers/application_controller.rb
deleted file mode 100644
index 1c07694e..00000000
--- a/spec/app/rails_5.1/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class ApplicationController < ActionController::Base
- protect_from_forgery with: :exception
-end
diff --git a/spec/app/rails_5.1/app/helpers/application_helper.rb b/spec/app/rails_5.1/app/helpers/application_helper.rb
deleted file mode 100644
index de6be794..00000000
--- a/spec/app/rails_5.1/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/spec/app/rails_5.1/app/jobs/application_job.rb b/spec/app/rails_5.1/app/jobs/application_job.rb
deleted file mode 100644
index a009ace5..00000000
--- a/spec/app/rails_5.1/app/jobs/application_job.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-class ApplicationJob < ActiveJob::Base
-end
diff --git a/spec/app/rails_5.1/app/mailers/application_mailer.rb b/spec/app/rails_5.1/app/mailers/application_mailer.rb
deleted file mode 100644
index 286b2239..00000000
--- a/spec/app/rails_5.1/app/mailers/application_mailer.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class ApplicationMailer < ActionMailer::Base
- default from: 'from@example.com'
- layout 'mailer'
-end
diff --git a/spec/app/rails_5.1/app/models/application_record.rb b/spec/app/rails_5.1/app/models/application_record.rb
deleted file mode 100644
index 10a4cba8..00000000
--- a/spec/app/rails_5.1/app/models/application_record.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class ApplicationRecord < ActiveRecord::Base
- self.abstract_class = true
-end
diff --git a/spec/app/rails_5.1/app/views/layouts/application.html.erb b/spec/app/rails_5.1/app/views/layouts/application.html.erb
deleted file mode 100644
index 3d0d5282..00000000
--- a/spec/app/rails_5.1/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Rails51
- <%= csrf_meta_tags %>
-
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
- <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
-
-
-
- <%= yield %>
-
-
diff --git a/spec/app/rails_5.1/app/views/layouts/mailer.html.erb b/spec/app/rails_5.1/app/views/layouts/mailer.html.erb
deleted file mode 100644
index cbd34d2e..00000000
--- a/spec/app/rails_5.1/app/views/layouts/mailer.html.erb
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
- <%= yield %>
-
-
diff --git a/spec/app/rails_5.1/app/views/layouts/mailer.text.erb b/spec/app/rails_5.1/app/views/layouts/mailer.text.erb
deleted file mode 100644
index 37f0bddb..00000000
--- a/spec/app/rails_5.1/app/views/layouts/mailer.text.erb
+++ /dev/null
@@ -1 +0,0 @@
-<%= yield %>
diff --git a/spec/app/rails_5.1/bin/bundle b/spec/app/rails_5.1/bin/bundle
deleted file mode 100755
index 66e9889e..00000000
--- a/spec/app/rails_5.1/bin/bundle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env ruby
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-load Gem.bin_path('bundler', 'bundle')
diff --git a/spec/app/rails_5.1/bin/rails b/spec/app/rails_5.1/bin/rails
deleted file mode 100755
index 5badb2fd..00000000
--- a/spec/app/rails_5.1/bin/rails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-APP_PATH = File.expand_path('../config/application', __dir__)
-require_relative '../config/boot'
-require 'rails/commands'
diff --git a/spec/app/rails_5.1/bin/rake b/spec/app/rails_5.1/bin/rake
deleted file mode 100755
index d87d5f57..00000000
--- a/spec/app/rails_5.1/bin/rake
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env ruby
-begin
- load File.expand_path('../spring', __FILE__)
-rescue LoadError => e
- raise unless e.message.include?('spring')
-end
-require_relative '../config/boot'
-require 'rake'
-Rake.application.run
diff --git a/spec/app/rails_5.1/bin/setup b/spec/app/rails_5.1/bin/setup
deleted file mode 100755
index 78c4e861..00000000
--- a/spec/app/rails_5.1/bin/setup
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-require 'fileutils'
-include FileUtils
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-def system!(*args)
- system(*args) || abort("\n== Command #{args} failed ==")
-end
-
-chdir APP_ROOT do
- # This script is a starting point to setup your application.
- # Add necessary setup steps to this file.
-
- puts '== Installing dependencies =='
- system! 'gem install bundler --conservative'
- system('bundle check') || system!('bundle install')
-
- # Install JavaScript dependencies if using Yarn
- # system('bin/yarn')
-
-
- # puts "\n== Copying sample files =="
- # unless File.exist?('config/database.yml')
- # cp 'config/database.yml.sample', 'config/database.yml'
- # end
-
- puts "\n== Preparing database =="
- system! 'bin/rails db:setup'
-
- puts "\n== Removing old logs and tempfiles =="
- system! 'bin/rails log:clear tmp:clear'
-
- puts "\n== Restarting application server =="
- system! 'bin/rails restart'
-end
diff --git a/spec/app/rails_5.1/bin/spring b/spec/app/rails_5.1/bin/spring
deleted file mode 100755
index fb2ec2eb..00000000
--- a/spec/app/rails_5.1/bin/spring
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env ruby
-
-# This file loads spring without using Bundler, in order to be fast.
-# It gets overwritten when you run the `spring binstub` command.
-
-unless defined?(Spring)
- require 'rubygems'
- require 'bundler'
-
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- if spring
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
- gem 'spring', spring.version
- require 'spring/binstub'
- end
-end
diff --git a/spec/app/rails_5.1/bin/update b/spec/app/rails_5.1/bin/update
deleted file mode 100755
index a8e4462f..00000000
--- a/spec/app/rails_5.1/bin/update
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-require 'pathname'
-require 'fileutils'
-include FileUtils
-
-# path to your application root.
-APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
-
-def system!(*args)
- system(*args) || abort("\n== Command #{args} failed ==")
-end
-
-chdir APP_ROOT do
- # This script is a way to update your development environment automatically.
- # Add necessary update steps to this file.
-
- puts '== Installing dependencies =='
- system! 'gem install bundler --conservative'
- system('bundle check') || system!('bundle install')
-
- puts "\n== Updating database =="
- system! 'bin/rails db:migrate'
-
- puts "\n== Removing old logs and tempfiles =="
- system! 'bin/rails log:clear tmp:clear'
-
- puts "\n== Restarting application server =="
- system! 'bin/rails restart'
-end
diff --git a/spec/app/rails_5.1/bin/yarn b/spec/app/rails_5.1/bin/yarn
deleted file mode 100755
index c2bacef8..00000000
--- a/spec/app/rails_5.1/bin/yarn
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env ruby
-VENDOR_PATH = File.expand_path('..', __dir__)
-Dir.chdir(VENDOR_PATH) do
- begin
- exec "yarnpkg #{ARGV.join(" ")}"
- rescue Errno::ENOENT
- $stderr.puts "Yarn executable was not detected in the system."
- $stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
- exit 1
- end
-end
diff --git a/spec/app/rails_5.1/config.ru b/spec/app/rails_5.1/config.ru
deleted file mode 100644
index f7ba0b52..00000000
--- a/spec/app/rails_5.1/config.ru
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require_relative 'config/environment'
-
-run Rails.application
diff --git a/spec/app/rails_5.1/config/application.rb b/spec/app/rails_5.1/config/application.rb
deleted file mode 100644
index d4a130d7..00000000
--- a/spec/app/rails_5.1/config/application.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-require_relative 'boot'
-
-require 'rails/all'
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Rails51
- class Application < Rails::Application
- # Initialize configuration defaults for originally generated Rails version.
- config.load_defaults 5.1
-
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- ##
- # Config
- #
- config_available?
- end
-end
diff --git a/spec/app/rails_5.1/config/boot.rb b/spec/app/rails_5.1/config/boot.rb
deleted file mode 100644
index 30f5120d..00000000
--- a/spec/app/rails_5.1/config/boot.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
-
-require 'bundler/setup' # Set up gems listed in the Gemfile.
diff --git a/spec/app/rails_5.1/config/cable.yml b/spec/app/rails_5.1/config/cable.yml
deleted file mode 100644
index 97a5eb75..00000000
--- a/spec/app/rails_5.1/config/cable.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-development:
- adapter: async
-
-test:
- adapter: async
-
-production:
- adapter: redis
- url: redis://localhost:6379/1
- channel_prefix: rails_5_1_production
diff --git a/spec/app/rails_5.1/config/database.yml b/spec/app/rails_5.1/config/database.yml
deleted file mode 100644
index 0d02f249..00000000
--- a/spec/app/rails_5.1/config/database.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
-#
-default: &default
- adapter: sqlite3
- pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
- timeout: 5000
-
-development:
- <<: *default
- database: db/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: db/test.sqlite3
-
-production:
- <<: *default
- database: db/production.sqlite3
diff --git a/spec/app/rails_5.1/config/environment.rb b/spec/app/rails_5.1/config/environment.rb
deleted file mode 100644
index 426333bb..00000000
--- a/spec/app/rails_5.1/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require_relative 'application'
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/spec/app/rails_5.1/config/environments/development.rb b/spec/app/rails_5.1/config/environments/development.rb
deleted file mode 100644
index 5187e221..00000000
--- a/spec/app/rails_5.1/config/environments/development.rb
+++ /dev/null
@@ -1,54 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports.
- config.consider_all_requests_local = true
-
- # Enable/disable caching. By default caching is disabled.
- if Rails.root.join('tmp/caching-dev.txt').exist?
- config.action_controller.perform_caching = true
-
- config.cache_store = :memory_store
- config.public_file_server.headers = {
- 'Cache-Control' => "public, max-age=#{2.days.seconds.to_i}"
- }
- else
- config.action_controller.perform_caching = false
-
- config.cache_store = :null_store
- end
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- config.action_mailer.perform_caching = 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
-
- # Suppress logger output for asset requests.
- config.assets.quiet = true
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-
- # Use an evented file watcher to asynchronously detect changes in source code,
- # routes, locales, etc. This feature depends on the listen gem.
- config.file_watcher = ActiveSupport::EventedFileUpdateChecker
-end
diff --git a/spec/app/rails_5.1/config/environments/production.rb b/spec/app/rails_5.1/config/environments/production.rb
deleted file mode 100644
index 58bb26c2..00000000
--- a/spec/app/rails_5.1/config/environments/production.rb
+++ /dev/null
@@ -1,91 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.cache_classes = true
-
- # Eager load code on boot. This eager loads most of Rails and
- # your application in memory, allowing both threaded web servers
- # and those relying on copy on write to perform better.
- # Rake tasks automatically ignore this option for performance.
- config.eager_load = true
-
- # Full error reports are disabled and caching is turned on.
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Attempt to read encrypted secrets from `config/secrets.yml.enc`.
- # Requires an encryption key in `ENV["RAILS_MASTER_KEY"]` or
- # `config/secrets.yml.key`.
- config.read_encrypted_secrets = true
-
- # Disable serving static files from the `/public` folder by default since
- # Apache or NGINX already handles this.
- config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
-
- # 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
-
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.action_controller.asset_host = 'http://assets.example.com'
-
- # 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
-
- # Mount Action Cable outside main process or domain
- # config.action_cable.mount_path = nil
- # config.action_cable.url = 'wss://example.com/cable'
- # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # Use the lowest log level to ensure availability of diagnostic information
- # when problems arise.
- config.log_level = :debug
-
- # Prepend all log lines with the following tags.
- config.log_tags = [ :request_id ]
-
- # Use a different cache store in production.
- # config.cache_store = :mem_cache_store
-
- # Use a real queuing backend for Active Job (and separate queues per environment)
- # config.active_job.queue_adapter = :resque
- # config.active_job.queue_name_prefix = "rails_5_1_#{Rails.env}"
- config.action_mailer.perform_caching = false
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners.
- config.active_support.deprecation = :notify
-
- # Use default logging formatter so that PID and timestamp are not suppressed.
- config.log_formatter = ::Logger::Formatter.new
-
- # Use a different logger for distributed setups.
- # require 'syslog/logger'
- # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
-
- if ENV["RAILS_LOG_TO_STDOUT"].present?
- logger = ActiveSupport::Logger.new(STDOUT)
- logger.formatter = config.log_formatter
- config.logger = ActiveSupport::TaggedLogging.new(logger)
- end
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-end
diff --git a/spec/app/rails_5.1/config/environments/test.rb b/spec/app/rails_5.1/config/environments/test.rb
deleted file mode 100644
index 8e5cbde5..00000000
--- a/spec/app/rails_5.1/config/environments/test.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Do not eager load code on boot. This avoids loading your whole application
- # just for the purpose of running a single test. If you are using a tool that
- # preloads Rails for running tests, you may have to set it to true.
- config.eager_load = false
-
- # Configure public file server for tests with Cache-Control for performance.
- config.public_file_server.enabled = true
- config.public_file_server.headers = {
- 'Cache-Control' => "public, max-age=#{1.hour.seconds.to_i}"
- }
-
- # Show full error reports and disable caching.
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates.
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
- config.action_mailer.perform_caching = 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
-
- # Raises error for missing translations
- # config.action_view.raise_on_missing_translations = true
-end
diff --git a/spec/app/rails_5.1/config/initializers/application_controller_renderer.rb b/spec/app/rails_5.1/config/initializers/application_controller_renderer.rb
deleted file mode 100644
index 89d2efab..00000000
--- a/spec/app/rails_5.1/config/initializers/application_controller_renderer.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# ActiveSupport::Reloader.to_prepare do
-# ApplicationController.renderer.defaults.merge!(
-# http_host: 'example.org',
-# https: false
-# )
-# end
diff --git a/spec/app/rails_5.1/config/initializers/assets.rb b/spec/app/rails_5.1/config/initializers/assets.rb
deleted file mode 100644
index 4b828e80..00000000
--- a/spec/app/rails_5.1/config/initializers/assets.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = '1.0'
-
-# Add additional assets to the asset load path.
-# Rails.application.config.assets.paths << Emoji.images_path
-# Add Yarn node_modules folder to the asset load path.
-Rails.application.config.assets.paths << Rails.root.join('node_modules')
-
-# Precompile additional assets.
-# application.js, application.css, and all non-JS/CSS in the app/assets
-# folder are already added.
-# Rails.application.config.assets.precompile += %w( admin.js admin.css )
diff --git a/spec/app/rails_5.1/config/initializers/backtrace_silencers.rb b/spec/app/rails_5.1/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cdf..00000000
--- a/spec/app/rails_5.1/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/spec/app/rails_5.1/config/initializers/cookies_serializer.rb b/spec/app/rails_5.1/config/initializers/cookies_serializer.rb
deleted file mode 100644
index 5a6a32d3..00000000
--- a/spec/app/rails_5.1/config/initializers/cookies_serializer.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Specify a serializer for the signed and encrypted cookie jars.
-# Valid options are :json, :marshal, and :hybrid.
-Rails.application.config.action_dispatch.cookies_serializer = :json
diff --git a/spec/app/rails_5.1/config/initializers/filter_parameter_logging.rb b/spec/app/rails_5.1/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index 4a994e1e..00000000
--- a/spec/app/rails_5.1/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
diff --git a/spec/app/rails_5.1/config/initializers/inflections.rb b/spec/app/rails_5.1/config/initializers/inflections.rb
deleted file mode 100644
index ac033bf9..00000000
--- a/spec/app/rails_5.1/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/spec/app/rails_5.1/config/initializers/mime_types.rb b/spec/app/rails_5.1/config/initializers/mime_types.rb
deleted file mode 100644
index dc189968..00000000
--- a/spec/app/rails_5.1/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
diff --git a/spec/app/rails_5.1/config/initializers/wrap_parameters.rb b/spec/app/rails_5.1/config/initializers/wrap_parameters.rb
deleted file mode 100644
index bbfc3961..00000000
--- a/spec/app/rails_5.1/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters format: [:json]
-end
-
-# To enable root element in JSON for ActiveRecord objects.
-# ActiveSupport.on_load(:active_record) do
-# self.include_root_in_json = true
-# end
diff --git a/spec/app/rails_5.1/config/locales/en.yml b/spec/app/rails_5.1/config/locales/en.yml
deleted file mode 100644
index decc5a85..00000000
--- a/spec/app/rails_5.1/config/locales/en.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-# Files in the config/locales directory are used for internationalization
-# and are automatically loaded by Rails. If you want to use locales other
-# than English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t 'hello'
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t('hello') %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# The following keys must be escaped otherwise they will not be retrieved by
-# the default I18n backend:
-#
-# true, false, on, off, yes, no
-#
-# Instead, surround them with single quotes.
-#
-# en:
-# 'true': 'foo'
-#
-# To learn more, please read the Rails Internationalization guide
-# available at http://guides.rubyonrails.org/i18n.html.
-
-en:
- hello: "Hello world"
diff --git a/spec/app/rails_5.1/config/puma.rb b/spec/app/rails_5.1/config/puma.rb
deleted file mode 100644
index 1e19380d..00000000
--- a/spec/app/rails_5.1/config/puma.rb
+++ /dev/null
@@ -1,56 +0,0 @@
-# Puma can serve each request in a thread from an internal thread pool.
-# The `threads` method setting takes two numbers: a minimum and maximum.
-# Any libraries that use thread pools should be configured to match
-# the maximum value specified for Puma. Default is set to 5 threads for minimum
-# and maximum; this matches the default thread size of Active Record.
-#
-threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
-threads threads_count, threads_count
-
-# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
-#
-port ENV.fetch("PORT") { 3000 }
-
-# Specifies the `environment` that Puma will run in.
-#
-environment ENV.fetch("RAILS_ENV") { "development" }
-
-# Specifies the number of `workers` to boot in clustered mode.
-# Workers are forked webserver processes. If using threads and workers together
-# the concurrency of the application would be max `threads` * `workers`.
-# Workers do not work on JRuby or Windows (both of which do not support
-# processes).
-#
-# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
-
-# Use the `preload_app!` method when specifying a `workers` number.
-# This directive tells Puma to first boot the application and load code
-# before forking the application. This takes advantage of Copy On Write
-# process behavior so workers use less memory. If you use this option
-# you need to make sure to reconnect any threads in the `on_worker_boot`
-# block.
-#
-# preload_app!
-
-# If you are preloading your application and using Active Record, it's
-# recommended that you close any connections to the database before workers
-# are forked to prevent connection leakage.
-#
-# before_fork do
-# ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord)
-# end
-
-# The code in the `on_worker_boot` will be called if you are using
-# clustered mode by specifying a number of `workers`. After each worker
-# process is booted, this block will be run. If you are using the `preload_app!`
-# option, you will want to use this block to reconnect to any threads
-# or connections that may have been created at application boot, as Ruby
-# cannot share connections between processes.
-#
-# on_worker_boot do
-# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
-# end
-#
-
-# Allow puma to be restarted by `rails restart` command.
-plugin :tmp_restart
diff --git a/spec/app/rails_5.1/config/routes.rb b/spec/app/rails_5.1/config/routes.rb
deleted file mode 100644
index 787824f8..00000000
--- a/spec/app/rails_5.1/config/routes.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-Rails.application.routes.draw do
- # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
-end
diff --git a/spec/app/rails_5.1/config/secrets.yml b/spec/app/rails_5.1/config/secrets.yml
deleted file mode 100644
index 3e589498..00000000
--- a/spec/app/rails_5.1/config/secrets.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key is used for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-# You can use `rails secret` to generate a secure secret key.
-
-# Make sure the secrets in this file are kept private
-# if you're sharing your code publicly.
-
-# Shared secrets are available across all environments.
-
-# shared:
-# api_key: a1B2c3D4e5F6
-
-# Environmental secrets are only available for that specific environment.
-
-development:
- secret_key_base: fe9f833c926523a695a8c53822c4b53f0bf394aa42950e51a909ea808fa3a6287f14f438dede268201c729db69e3be23f92307fca22ee6c4d6070b069bcfc8b0
-
-test:
- secret_key_base: ab48c4f1526d8247cce7355160adea3a51495ce089178f095b951537bde75ed899026605e7806838943f1ebebf26e1b23d95682df2109a589bf5611074107235
-
-# Do not keep production secrets in the unencrypted secrets file.
-# Instead, either read values from the environment.
-# Or, use `bin/rails secrets:setup` to configure encrypted secrets
-# and move the `production:` environment over there.
-
-production:
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
diff --git a/spec/app/rails_5.1/config/spring.rb b/spec/app/rails_5.1/config/spring.rb
deleted file mode 100644
index c9119b40..00000000
--- a/spec/app/rails_5.1/config/spring.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-%w(
- .ruby-version
- .rbenv-vars
- tmp/restart.txt
- tmp/caching-dev.txt
-).each { |path| Spring.watch(path) }
diff --git a/spec/app/rails_5.1/db/seeds.rb b/spec/app/rails_5.1/db/seeds.rb
deleted file mode 100644
index 1beea2ac..00000000
--- a/spec/app/rails_5.1/db/seeds.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file should contain all the record creation needed to seed the database with its default values.
-# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
-#
-# Examples:
-#
-# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
-# Character.create(name: 'Luke', movie: movies.first)
diff --git a/spec/app/rails_5.1/package.json b/spec/app/rails_5.1/package.json
deleted file mode 100644
index 896ecd9a..00000000
--- a/spec/app/rails_5.1/package.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "name": "rails_5_1",
- "private": true,
- "dependencies": {}
-}
diff --git a/spec/app/rails_5.1/public/404.html b/spec/app/rails_5.1/public/404.html
deleted file mode 100644
index 2be3af26..00000000
--- a/spec/app/rails_5.1/public/404.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The page you were looking for doesn't exist (404)
-
-
-
-
-
-
-
-
-
The page you were looking for doesn't exist.
-
You may have mistyped the address or the page may have moved.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/spec/app/rails_5.1/public/422.html b/spec/app/rails_5.1/public/422.html
deleted file mode 100644
index c08eac0d..00000000
--- a/spec/app/rails_5.1/public/422.html
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
- The change you wanted was rejected (422)
-
-
-
-
-
-
-
-
-
The change you wanted was rejected.
-
Maybe you tried to change something you didn't have access to.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/spec/app/rails_5.1/public/500.html b/spec/app/rails_5.1/public/500.html
deleted file mode 100644
index 78a030af..00000000
--- a/spec/app/rails_5.1/public/500.html
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
- We're sorry, but something went wrong (500)
-
-
-
-
-
-
-
-
-
We're sorry, but something went wrong.
-
-
If you are the application owner check the logs for more information.
-
-
-
diff --git a/spec/app/rails_5.1/public/apple-touch-icon-precomposed.png b/spec/app/rails_5.1/public/apple-touch-icon-precomposed.png
deleted file mode 100644
index e69de29b..00000000
diff --git a/spec/app/rails_5.1/public/apple-touch-icon.png b/spec/app/rails_5.1/public/apple-touch-icon.png
deleted file mode 100644
index e69de29b..00000000
diff --git a/spec/app/rails_5.1/public/favicon.ico b/spec/app/rails_5.1/public/favicon.ico
deleted file mode 100644
index e69de29b..00000000
diff --git a/spec/app/rails_5.1/public/robots.txt b/spec/app/rails_5.1/public/robots.txt
deleted file mode 100644
index 37b576a4..00000000
--- a/spec/app/rails_5.1/public/robots.txt
+++ /dev/null
@@ -1 +0,0 @@
-# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
diff --git a/spec/app/rails_5.1/test/application_system_test_case.rb b/spec/app/rails_5.1/test/application_system_test_case.rb
deleted file mode 100644
index d19212ab..00000000
--- a/spec/app/rails_5.1/test/application_system_test_case.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-require "test_helper"
-
-class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
- driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
-end
diff --git a/spec/app/rails_5.1/test/test_helper.rb b/spec/app/rails_5.1/test/test_helper.rb
deleted file mode 100644
index e3c4ff0b..00000000
--- a/spec/app/rails_5.1/test/test_helper.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end