docbrown/spec
Ernesto Tagwerker 9ea3a8c67d
Upgrade to Rails 6.0 (#7658)
* Add dual booting logic to Gemfile

This might be helpful for the Rails 6.0 upgrade project.

* Add more than one gemfile to Travis' configuration

We want to see how the application behaves with more than one Rails versions:

- Gemfile -> Rails 5.2
- Gemfile.next -> Rails 6.0

This will help us figure out what needs to be addressed before migrating to Rails 6.0.

If you want to read more about this technique (dual booting) you can check out this page: https://www.fastruby.io/blog/upgrade-rails/dual-boot/dual-boot-with-rails-6-0-beta.html

* Fix joins

* Upgrade Gemfile.next.lock

* Make sure we're installing the correct versions of gems

* Add Rails 6 notes

* Update rubocop in Gemfile.next.lock

* Fix organization spec

* Fix page_views_spec

* Add Rails 6 and run rails app:update

* Remove some tricks

* Remove Gemfile.next for now

* Fix .content_type deprecation

* Fix deprecation of .where.not NAND/NOR behavior

* Fix deprecation of parameterized emails

* Fix specs

* Remove next flag for now

* Fix spec (hopefully)

* Add wait_for_javascript

* Fix spec, thanks @maestromac!

* Try without wait for javascript hack

* Remove unnecessary bin/update

* Remove file that snuck in the rebase

* Update the vendored gems

* Replace migrate+db:setup with db:prepare

* Update vendored gems

* Fix Gemfile.lock and update vendored stuff

* Fix Gemfile.lock to be the same as master's minus the changes

Co-authored-by: rhymes <rhymesete@gmail.com>
2020-06-04 11:54:25 +02:00
..
black_box Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
decorators [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
factories Leverage announcement broadcasts (#8150) [deploy] 2020-05-29 11:38:41 -07:00
fixtures [deploy] Decouple Twitter authentication from fetching tweets (#7920) 2020-05-19 18:05:41 -04:00
helpers Add feature flag support to Pages (#8149) 2020-06-01 09:23:19 -05:00
initializers [deploy] Add API Key to API Write Throttle (#8110) 2020-05-28 09:45:01 -05:00
labor [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
lib Routine rubocop fixes (#8137) 2020-05-29 11:56:52 +02:00
liquid_tags [deploy] Add Reddit Liquid Tag (#8111) 2020-06-01 18:52:07 -04:00
mailers Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
models Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
policies Refactoring GitHub Repos functionality - step 1 (#7764) 2020-05-12 13:48:19 +02:00
queries/internal Limit the Number of API Keys a User Can Have (#7870) 2020-05-15 11:33:02 +02:00
requests Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
routing Remove harcoded shop strings (#7319) 2020-04-16 14:51:23 +02:00
serializers/search Clear Elasticsearch Data Instead of Resetting Entire Index for Specs (#7602) 2020-04-30 11:59:10 -04:00
services [deploy] Remove All Notification Count Helper Classes (#8221) 2020-06-02 09:48:02 -05:00
support Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
system Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
tasks [deploy] Create FastlyConfig & refactor params safe list (#7630) 2020-05-01 11:23:48 -04:00
uploaders Some RSpec fixes (#6757) 2020-03-24 13:16:19 -04:00
views [deploy] Authentication refactoring: add available and enabled providers (#7505) 2020-04-28 16:16:28 +02:00
workers [deploy] Ignore Unfound Elasticsearch Docs and Records (#8225) 2020-06-02 08:32:16 -05:00
rails_helper.rb Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
spec_helper.rb Update .simplecov (#8078) 2020-05-27 14:37:21 -04:00