forked from CraftAcademy/extreme-invoicing-october-2019
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c85bd1a
commit 32b102d
Showing
79 changed files
with
8,967 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,24 @@ | ||
/.bundle | ||
|
||
/log/* | ||
/tmp/* | ||
!/log/.keep | ||
!/tmp/.keep | ||
|
||
/storage/* | ||
!/storage/.keep | ||
|
||
/public/assets | ||
.byebug_history | ||
|
||
/config/master.key | ||
|
||
/public/packs | ||
/public/packs-test | ||
/node_modules | ||
/yarn-error.log | ||
yarn-debug.log* | ||
.yarn-integrity | ||
|
||
/coverage | ||
/node_modules |
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,25 @@ | ||
source 'https://rubygems.org' | ||
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | ||
|
||
ruby '2.6.3' | ||
gem 'rails', '~> 6.0.2' | ||
gem 'pg', '>= 0.18', '< 2.0' | ||
gem 'puma', '~> 4.1' | ||
gem 'sass-rails', '>= 6' | ||
gem 'webpacker', '~> 4.0' | ||
gem 'turbolinks', '~> 5' | ||
gem 'jbuilder', '~> 2.7' | ||
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.0.5', '< 3.2' | ||
gem 'spring' | ||
gem 'spring-watcher-listen', '~> 2.0.0' | ||
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,199 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (6.0.2) | ||
actionpack (= 6.0.2) | ||
nio4r (~> 2.0) | ||
websocket-driver (>= 0.6.1) | ||
actionmailbox (6.0.2) | ||
actionpack (= 6.0.2) | ||
activejob (= 6.0.2) | ||
activerecord (= 6.0.2) | ||
activestorage (= 6.0.2) | ||
activesupport (= 6.0.2) | ||
mail (>= 2.7.1) | ||
actionmailer (6.0.2) | ||
actionpack (= 6.0.2) | ||
actionview (= 6.0.2) | ||
activejob (= 6.0.2) | ||
mail (~> 2.5, >= 2.5.4) | ||
rails-dom-testing (~> 2.0) | ||
actionpack (6.0.2) | ||
actionview (= 6.0.2) | ||
activesupport (= 6.0.2) | ||
rack (~> 2.0) | ||
rack-test (>= 0.6.3) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.0, >= 1.2.0) | ||
actiontext (6.0.2) | ||
actionpack (= 6.0.2) | ||
activerecord (= 6.0.2) | ||
activestorage (= 6.0.2) | ||
activesupport (= 6.0.2) | ||
nokogiri (>= 1.8.5) | ||
actionview (6.0.2) | ||
activesupport (= 6.0.2) | ||
builder (~> 3.1) | ||
erubi (~> 1.4) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.1, >= 1.2.0) | ||
activejob (6.0.2) | ||
activesupport (= 6.0.2) | ||
globalid (>= 0.3.6) | ||
activemodel (6.0.2) | ||
activesupport (= 6.0.2) | ||
activerecord (6.0.2) | ||
activemodel (= 6.0.2) | ||
activesupport (= 6.0.2) | ||
activestorage (6.0.2) | ||
actionpack (= 6.0.2) | ||
activejob (= 6.0.2) | ||
activerecord (= 6.0.2) | ||
marcel (~> 0.3.1) | ||
activesupport (6.0.2) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (>= 0.7, < 2) | ||
minitest (~> 5.1) | ||
tzinfo (~> 1.1) | ||
zeitwerk (~> 2.2) | ||
bindex (0.8.1) | ||
bootsnap (1.4.5) | ||
msgpack (~> 1.0) | ||
builder (3.2.4) | ||
byebug (11.0.1) | ||
concurrent-ruby (1.1.5) | ||
crass (1.0.5) | ||
erubi (1.9.0) | ||
ffi (1.11.3) | ||
globalid (0.4.2) | ||
activesupport (>= 4.2.0) | ||
i18n (1.7.0) | ||
concurrent-ruby (~> 1.0) | ||
jbuilder (2.9.1) | ||
activesupport (>= 4.2.0) | ||
listen (3.1.5) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
ruby_dep (~> 1.2) | ||
loofah (2.4.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 (0.9.2) | ||
mimemagic (0.3.3) | ||
mini_mime (1.0.2) | ||
mini_portile2 (2.4.0) | ||
minitest (5.13.0) | ||
msgpack (1.3.1) | ||
nio4r (2.5.2) | ||
nokogiri (1.10.7) | ||
mini_portile2 (~> 2.4.0) | ||
pg (1.1.4) | ||
puma (4.3.1) | ||
nio4r (~> 2.0) | ||
rack (2.0.7) | ||
rack-proxy (0.6.5) | ||
rack | ||
rack-test (1.1.0) | ||
rack (>= 1.0, < 3) | ||
rails (6.0.2) | ||
actioncable (= 6.0.2) | ||
actionmailbox (= 6.0.2) | ||
actionmailer (= 6.0.2) | ||
actionpack (= 6.0.2) | ||
actiontext (= 6.0.2) | ||
actionview (= 6.0.2) | ||
activejob (= 6.0.2) | ||
activemodel (= 6.0.2) | ||
activerecord (= 6.0.2) | ||
activestorage (= 6.0.2) | ||
activesupport (= 6.0.2) | ||
bundler (>= 1.3.0) | ||
railties (= 6.0.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.2) | ||
actionpack (= 6.0.2) | ||
activesupport (= 6.0.2) | ||
method_source | ||
rake (>= 0.8.7) | ||
thor (>= 0.20.3, < 2.0) | ||
rake (13.0.1) | ||
rb-fsevent (0.10.3) | ||
rb-inotify (0.10.0) | ||
ffi (~> 1.0) | ||
ruby_dep (1.5.0) | ||
sass-rails (6.0.0) | ||
sassc-rails (~> 2.1, >= 2.1.1) | ||
sassc (2.2.1) | ||
ffi (~> 1.9) | ||
sassc-rails (2.1.2) | ||
railties (>= 4.0.0) | ||
sassc (>= 2.0) | ||
sprockets (> 3.0) | ||
sprockets-rails | ||
tilt | ||
spring (2.1.0) | ||
spring-watcher-listen (2.0.1) | ||
listen (>= 2.7, < 4.0) | ||
spring (>= 1.2, < 3.0) | ||
sprockets (4.0.0) | ||
concurrent-ruby (~> 1.0) | ||
rack (> 1, < 3) | ||
sprockets-rails (3.2.1) | ||
actionpack (>= 4.0) | ||
activesupport (>= 4.0) | ||
sprockets (>= 3.0.0) | ||
thor (1.0.0) | ||
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.5) | ||
thread_safe (~> 0.1) | ||
web-console (4.0.1) | ||
actionview (>= 6.0.0) | ||
activemodel (>= 6.0.0) | ||
bindex (>= 0.4.0) | ||
railties (>= 6.0.0) | ||
webpacker (4.2.2) | ||
activesupport (>= 4.2) | ||
rack-proxy (>= 0.6.1) | ||
railties (>= 4.2) | ||
websocket-driver (0.7.1) | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.4) | ||
zeitwerk (2.2.2) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
bootsnap (>= 1.4.2) | ||
byebug | ||
jbuilder (~> 2.7) | ||
listen (>= 3.0.5, < 3.2) | ||
pg (>= 0.18, < 2.0) | ||
puma (~> 4.1) | ||
rails (~> 6.0.2) | ||
sass-rails (>= 6) | ||
spring | ||
spring-watcher-listen (~> 2.0.0) | ||
turbolinks (~> 5) | ||
tzinfo-data | ||
web-console (>= 3.3.0) | ||
webpacker (~> 4.0) | ||
|
||
RUBY VERSION | ||
ruby 2.6.3p62 | ||
|
||
BUNDLED WITH | ||
2.0.2 |
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 @@ | ||
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.
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 | ||
*/ |
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 |
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 |
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.
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,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) |
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: 'from@example.com' | ||
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.
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 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>ExtremeInvoicingOctober2019</title> | ||
<%= csrf_meta_tags %> | ||
<%= csp_meta_tag %> | ||
|
||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> | ||
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> | ||
</head> | ||
|
||
<body> | ||
<%= yield %> | ||
</body> | ||
</html> |
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,13 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<style> | ||
/* Email styles need to be inline */ | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<%= yield %> | ||
</body> | ||
</html> |
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 @@ | ||
<%= yield %> |
Oops, something went wrong.