-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add a prior-to-install directory
- Loading branch information
1 parent
33ed185
commit fbca36d
Showing
90 changed files
with
8,734 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
defaults |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ruby-2.6.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
source 'https://rubygems.org' | ||
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | ||
|
||
ruby '2.6.3' | ||
|
||
gem 'rails', '~> 6.0.3', '>= 6.0.3.2' | ||
gem 'sqlite3', '~> 1.4' | ||
gem 'puma', '~> 4.1' | ||
gem 'sass-rails', '>= 6' | ||
gem 'webpacker', '~> 4.0' | ||
gem 'turbolinks', '~> 5' | ||
gem 'jbuilder', '~> 2.7' | ||
gem 'snowpacker', '~> 0.0.1' | ||
gem 'bootsnap', '>= 1.4.2', require: false | ||
|
||
group :development, :test do | ||
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] | ||
end | ||
|
||
group :development do | ||
gem 'web-console', '>= 3.3.0' | ||
gem 'listen', '~> 3.2' | ||
gem 'spring' | ||
gem 'spring-watcher-listen', '~> 2.0.0' | ||
end | ||
|
||
group :test do | ||
gem 'capybara', '>= 2.15' | ||
gem 'selenium-webdriver' | ||
gem 'webdrivers' | ||
end | ||
|
||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,223 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
nio4r (~> 2.0) | ||
websocket-driver (>= 0.6.1) | ||
actionmailbox (6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
activejob (= 6.0.3.2) | ||
activerecord (= 6.0.3.2) | ||
activestorage (= 6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
mail (>= 2.7.1) | ||
actionmailer (6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
actionview (= 6.0.3.2) | ||
activejob (= 6.0.3.2) | ||
mail (~> 2.5, >= 2.5.4) | ||
rails-dom-testing (~> 2.0) | ||
actionpack (6.0.3.2) | ||
actionview (= 6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
rack (~> 2.0, >= 2.0.8) | ||
rack-test (>= 0.6.3) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.0, >= 1.2.0) | ||
actiontext (6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
activerecord (= 6.0.3.2) | ||
activestorage (= 6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
nokogiri (>= 1.8.5) | ||
actionview (6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
builder (~> 3.1) | ||
erubi (~> 1.4) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.1, >= 1.2.0) | ||
activejob (6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
globalid (>= 0.3.6) | ||
activemodel (6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
activerecord (6.0.3.2) | ||
activemodel (= 6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
activestorage (6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
activejob (= 6.0.3.2) | ||
activerecord (= 6.0.3.2) | ||
marcel (~> 0.3.1) | ||
activesupport (6.0.3.2) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (>= 0.7, < 2) | ||
minitest (~> 5.1) | ||
tzinfo (~> 1.1) | ||
zeitwerk (~> 2.2, >= 2.2.2) | ||
addressable (2.7.0) | ||
public_suffix (>= 2.0.2, < 5.0) | ||
bindex (0.8.1) | ||
bootsnap (1.4.6) | ||
msgpack (~> 1.0) | ||
builder (3.2.4) | ||
byebug (11.1.3) | ||
capybara (3.33.0) | ||
addressable | ||
mini_mime (>= 0.1.3) | ||
nokogiri (~> 1.8) | ||
rack (>= 1.6.0) | ||
rack-test (>= 0.6.3) | ||
regexp_parser (~> 1.5) | ||
xpath (~> 3.2) | ||
childprocess (3.0.0) | ||
concurrent-ruby (1.1.6) | ||
crass (1.0.6) | ||
erubi (1.9.0) | ||
ffi (1.13.1) | ||
globalid (0.4.2) | ||
activesupport (>= 4.2.0) | ||
i18n (1.8.3) | ||
concurrent-ruby (~> 1.0) | ||
jbuilder (2.10.0) | ||
activesupport (>= 5.0.0) | ||
listen (3.2.1) | ||
rb-fsevent (~> 0.10, >= 0.10.3) | ||
rb-inotify (~> 0.9, >= 0.9.10) | ||
loofah (2.6.0) | ||
crass (~> 1.0.2) | ||
nokogiri (>= 1.5.9) | ||
mail (2.7.1) | ||
mini_mime (>= 0.1.1) | ||
marcel (0.3.3) | ||
mimemagic (~> 0.3.2) | ||
method_source (1.0.0) | ||
mimemagic (0.3.5) | ||
mini_mime (1.0.2) | ||
mini_portile2 (2.4.0) | ||
minitest (5.14.1) | ||
msgpack (1.3.3) | ||
nio4r (2.5.2) | ||
nokogiri (1.10.10) | ||
mini_portile2 (~> 2.4.0) | ||
public_suffix (4.0.5) | ||
puma (4.3.5) | ||
nio4r (~> 2.0) | ||
rack (2.2.3) | ||
rack-proxy (0.6.5) | ||
rack | ||
rack-test (1.1.0) | ||
rack (>= 1.0, < 3) | ||
rails (6.0.3.2) | ||
actioncable (= 6.0.3.2) | ||
actionmailbox (= 6.0.3.2) | ||
actionmailer (= 6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
actiontext (= 6.0.3.2) | ||
actionview (= 6.0.3.2) | ||
activejob (= 6.0.3.2) | ||
activemodel (= 6.0.3.2) | ||
activerecord (= 6.0.3.2) | ||
activestorage (= 6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
bundler (>= 1.3.0) | ||
railties (= 6.0.3.2) | ||
sprockets-rails (>= 2.0.0) | ||
rails-dom-testing (2.0.3) | ||
activesupport (>= 4.2.0) | ||
nokogiri (>= 1.6) | ||
rails-html-sanitizer (1.3.0) | ||
loofah (~> 2.3) | ||
railties (6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
method_source | ||
rake (>= 0.8.7) | ||
thor (>= 0.20.3, < 2.0) | ||
rake (13.0.1) | ||
rb-fsevent (0.10.4) | ||
rb-inotify (0.10.1) | ||
ffi (~> 1.0) | ||
regexp_parser (1.7.1) | ||
rubyzip (2.3.0) | ||
sass-rails (6.0.0) | ||
sassc-rails (~> 2.1, >= 2.1.1) | ||
sassc (2.4.0) | ||
ffi (~> 1.9) | ||
sassc-rails (2.1.2) | ||
railties (>= 4.0.0) | ||
sassc (>= 2.0) | ||
sprockets (> 3.0) | ||
sprockets-rails | ||
tilt | ||
selenium-webdriver (3.142.7) | ||
childprocess (>= 0.5, < 4.0) | ||
rubyzip (>= 1.2.2) | ||
spring (2.1.0) | ||
spring-watcher-listen (2.0.1) | ||
listen (>= 2.7, < 4.0) | ||
spring (>= 1.2, < 3.0) | ||
sprockets (4.0.2) | ||
concurrent-ruby (~> 1.0) | ||
rack (> 1, < 3) | ||
sprockets-rails (3.2.1) | ||
actionpack (>= 4.0) | ||
activesupport (>= 4.0) | ||
sprockets (>= 3.0.0) | ||
sqlite3 (1.4.2) | ||
thor (1.0.1) | ||
thread_safe (0.3.6) | ||
tilt (2.0.10) | ||
turbolinks (5.2.1) | ||
turbolinks-source (~> 5.2) | ||
turbolinks-source (5.2.0) | ||
tzinfo (1.2.7) | ||
thread_safe (~> 0.1) | ||
web-console (4.0.4) | ||
actionview (>= 6.0.0) | ||
activemodel (>= 6.0.0) | ||
bindex (>= 0.4.0) | ||
railties (>= 6.0.0) | ||
webdrivers (4.4.1) | ||
nokogiri (~> 1.6) | ||
rubyzip (>= 1.3.0) | ||
selenium-webdriver (>= 3.0, < 4.0) | ||
webpacker (4.2.2) | ||
activesupport (>= 4.2) | ||
rack-proxy (>= 0.6.1) | ||
railties (>= 4.2) | ||
websocket-driver (0.7.3) | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.5) | ||
xpath (3.2.0) | ||
nokogiri (~> 1.8) | ||
zeitwerk (2.4.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
bootsnap (>= 1.4.2) | ||
byebug | ||
capybara (>= 2.15) | ||
jbuilder (~> 2.7) | ||
listen (~> 3.2) | ||
puma (~> 4.1) | ||
rails (~> 6.0.3, >= 6.0.3.2) | ||
sass-rails (>= 6) | ||
selenium-webdriver | ||
spring | ||
spring-watcher-listen (~> 2.0.0) | ||
sqlite3 (~> 1.4) | ||
turbolinks (~> 5) | ||
tzinfo-data | ||
web-console (>= 3.3.0) | ||
webdrivers | ||
webpacker (~> 4.0) | ||
|
||
RUBY VERSION | ||
ruby 2.6.3p62 | ||
|
||
BUNDLED WITH | ||
2.1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 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 | ||
|
||
* ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
//= link_tree ../images | ||
//= link_directory ../stylesheets .css |
Empty file.
15 changes: 15 additions & 0 deletions
15
examples/prior-to-install/app/assets/stylesheets/application.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* 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 | ||
*/ |
3 changes: 3 additions & 0 deletions
3
examples/prior-to-install/app/assets/stylesheets/static_pages.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Place all the styles related to the static_pages controller here. | ||
// They will automatically be included in application.css. | ||
// You can use Sass (SCSS) here: https://sass-lang.com/ |
4 changes: 4 additions & 0 deletions
4
examples/prior-to-install/app/channels/application_cable/channel.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module ApplicationCable | ||
class Channel < ActionCable::Channel::Base | ||
end | ||
end |
4 changes: 4 additions & 0 deletions
4
examples/prior-to-install/app/channels/application_cable/connection.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module ApplicationCable | ||
class Connection < ActionCable::Connection::Base | ||
end | ||
end |
2 changes: 2 additions & 0 deletions
2
examples/prior-to-install/app/controllers/application_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
class ApplicationController < ActionController::Base | ||
end |
Empty file.
3 changes: 3 additions & 0 deletions
3
examples/prior-to-install/app/controllers/static_pages_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class StaticPagesController < ApplicationController | ||
def index; end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
module ApplicationHelper | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
module StaticPagesHelper | ||
end |
6 changes: 6 additions & 0 deletions
6
examples/prior-to-install/app/javascript/channels/consumer.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// 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. | ||
|
||
import { createConsumer } from "@rails/actioncable" | ||
|
||
export default createConsumer() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Load all the channels within this directory and all subdirectories. | ||
// Channel files must be named *_channel.js. | ||
|
||
const channels = require.context('.', true, /_channel\.js$/) | ||
channels.keys().forEach(channels) |
17 changes: 17 additions & 0 deletions
17
examples/prior-to-install/app/javascript/packs/application.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// This file is automatically compiled by Webpack, along with any other files | ||
// present in this directory. You're encouraged to place your actual application logic in | ||
// a relevant structure within app/javascript and only use these pack files to reference | ||
// that code so it'll be compiled. | ||
|
||
require("@rails/ujs").start() | ||
require("turbolinks").start() | ||
require("@rails/activestorage").start() | ||
require("channels") | ||
|
||
|
||
// Uncomment to copy all static images under ../images to the output folder and reference | ||
// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>) | ||
// or the `imagePath` JavaScript helper below. | ||
// | ||
// const images = require.context('../images', true) | ||
// const imagePath = (name) => images(name, true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class ApplicationJob < ActiveJob::Base | ||
# Automatically retry jobs that encountered a deadlock | ||
# retry_on ActiveRecord::Deadlocked | ||
|
||
# Most jobs are safe to ignore if the underlying records are no longer available | ||
# discard_on ActiveJob::DeserializationError | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
class ApplicationMailer < ActionMailer::Base | ||
default from: '[email protected]' | ||
layout 'mailer' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class ApplicationRecord < ActiveRecord::Base | ||
self.abstract_class = true | ||
end |
Empty file.
Oops, something went wrong.