Skip to content
This repository was archived by the owner on Jun 16, 2024. It is now read-only.

Commit 1a6625f

Browse files
committed
rails new takeout-app --minimal -d postgresql --skip-test --skip-system-test
0 parents  commit 1a6625f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1197
-0
lines changed

.gitattributes

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# See https://git-scm.com/docs/gitattributes for more about git attribute files.
2+
3+
# Mark the database schema as having been generated.
4+
db/schema.rb linguist-generated
5+
6+
7+
# Mark any vendored files as having been vendored.
8+
vendor/* linguist-vendored

.gitignore

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore all logfiles and tempfiles.
11+
/log/*
12+
/tmp/*
13+
!/log/.keep
14+
!/tmp/.keep
15+
16+
# Ignore pidfiles, but keep the directory.
17+
/tmp/pids/*
18+
!/tmp/pids/
19+
!/tmp/pids/.keep
20+
21+
22+
/public/assets
23+
.byebug_history
24+
25+
# Ignore master key for decrypting credentials and more.
26+
/config/master.key

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0

Gemfile

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
source 'https://rubygems.org'
2+
ruby '~> 3.0.1' if ENV['STACK'] || ENV['IS_HEROKU']
3+
4+
gem 'rails', '~> 6.1.4'
5+
gem 'pg', '~> 1.1'
6+
gem 'puma', '~> 5.0'
7+
gem 'sass-rails', '>= 6'
8+
9+
group :development, :test do
10+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
11+
end
12+
13+
group :development do
14+
gem 'listen', '~> 3.3'
15+
end

Gemfile.lock

+165
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (6.1.4)
5+
actionpack (= 6.1.4)
6+
activesupport (= 6.1.4)
7+
nio4r (~> 2.0)
8+
websocket-driver (>= 0.6.1)
9+
actionmailbox (6.1.4)
10+
actionpack (= 6.1.4)
11+
activejob (= 6.1.4)
12+
activerecord (= 6.1.4)
13+
activestorage (= 6.1.4)
14+
activesupport (= 6.1.4)
15+
mail (>= 2.7.1)
16+
actionmailer (6.1.4)
17+
actionpack (= 6.1.4)
18+
actionview (= 6.1.4)
19+
activejob (= 6.1.4)
20+
activesupport (= 6.1.4)
21+
mail (~> 2.5, >= 2.5.4)
22+
rails-dom-testing (~> 2.0)
23+
actionpack (6.1.4)
24+
actionview (= 6.1.4)
25+
activesupport (= 6.1.4)
26+
rack (~> 2.0, >= 2.0.9)
27+
rack-test (>= 0.6.3)
28+
rails-dom-testing (~> 2.0)
29+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
30+
actiontext (6.1.4)
31+
actionpack (= 6.1.4)
32+
activerecord (= 6.1.4)
33+
activestorage (= 6.1.4)
34+
activesupport (= 6.1.4)
35+
nokogiri (>= 1.8.5)
36+
actionview (6.1.4)
37+
activesupport (= 6.1.4)
38+
builder (~> 3.1)
39+
erubi (~> 1.4)
40+
rails-dom-testing (~> 2.0)
41+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
42+
activejob (6.1.4)
43+
activesupport (= 6.1.4)
44+
globalid (>= 0.3.6)
45+
activemodel (6.1.4)
46+
activesupport (= 6.1.4)
47+
activerecord (6.1.4)
48+
activemodel (= 6.1.4)
49+
activesupport (= 6.1.4)
50+
activestorage (6.1.4)
51+
actionpack (= 6.1.4)
52+
activejob (= 6.1.4)
53+
activerecord (= 6.1.4)
54+
activesupport (= 6.1.4)
55+
marcel (~> 1.0.0)
56+
mini_mime (>= 1.1.0)
57+
activesupport (6.1.4)
58+
concurrent-ruby (~> 1.0, >= 1.0.2)
59+
i18n (>= 1.6, < 2)
60+
minitest (>= 5.1)
61+
tzinfo (~> 2.0)
62+
zeitwerk (~> 2.3)
63+
builder (3.2.4)
64+
byebug (11.1.3)
65+
concurrent-ruby (1.1.9)
66+
crass (1.0.6)
67+
erubi (1.10.0)
68+
ffi (1.15.3)
69+
globalid (0.4.2)
70+
activesupport (>= 4.2.0)
71+
i18n (1.8.10)
72+
concurrent-ruby (~> 1.0)
73+
listen (3.5.1)
74+
rb-fsevent (~> 0.10, >= 0.10.3)
75+
rb-inotify (~> 0.9, >= 0.9.10)
76+
loofah (2.10.0)
77+
crass (~> 1.0.2)
78+
nokogiri (>= 1.5.9)
79+
mail (2.7.1)
80+
mini_mime (>= 0.1.1)
81+
marcel (1.0.1)
82+
method_source (1.0.0)
83+
mini_mime (1.1.0)
84+
mini_portile2 (2.5.3)
85+
minitest (5.14.4)
86+
nio4r (2.5.7)
87+
nokogiri (1.11.7)
88+
mini_portile2 (~> 2.5.0)
89+
racc (~> 1.4)
90+
pg (1.2.3)
91+
puma (5.3.2)
92+
nio4r (~> 2.0)
93+
racc (1.5.2)
94+
rack (2.2.3)
95+
rack-test (1.1.0)
96+
rack (>= 1.0, < 3)
97+
rails (6.1.4)
98+
actioncable (= 6.1.4)
99+
actionmailbox (= 6.1.4)
100+
actionmailer (= 6.1.4)
101+
actionpack (= 6.1.4)
102+
actiontext (= 6.1.4)
103+
actionview (= 6.1.4)
104+
activejob (= 6.1.4)
105+
activemodel (= 6.1.4)
106+
activerecord (= 6.1.4)
107+
activestorage (= 6.1.4)
108+
activesupport (= 6.1.4)
109+
bundler (>= 1.15.0)
110+
railties (= 6.1.4)
111+
sprockets-rails (>= 2.0.0)
112+
rails-dom-testing (2.0.3)
113+
activesupport (>= 4.2.0)
114+
nokogiri (>= 1.6)
115+
rails-html-sanitizer (1.3.0)
116+
loofah (~> 2.3)
117+
railties (6.1.4)
118+
actionpack (= 6.1.4)
119+
activesupport (= 6.1.4)
120+
method_source
121+
rake (>= 0.13)
122+
thor (~> 1.0)
123+
rake (13.0.3)
124+
rb-fsevent (0.11.0)
125+
rb-inotify (0.10.1)
126+
ffi (~> 1.0)
127+
sass-rails (6.0.0)
128+
sassc-rails (~> 2.1, >= 2.1.1)
129+
sassc (2.4.0)
130+
ffi (~> 1.9)
131+
sassc-rails (2.1.2)
132+
railties (>= 4.0.0)
133+
sassc (>= 2.0)
134+
sprockets (> 3.0)
135+
sprockets-rails
136+
tilt
137+
sprockets (4.0.2)
138+
concurrent-ruby (~> 1.0)
139+
rack (> 1, < 3)
140+
sprockets-rails (3.2.2)
141+
actionpack (>= 4.0)
142+
activesupport (>= 4.0)
143+
sprockets (>= 3.0.0)
144+
thor (1.1.0)
145+
tilt (2.0.10)
146+
tzinfo (2.0.4)
147+
concurrent-ruby (~> 1.0)
148+
websocket-driver (0.7.5)
149+
websocket-extensions (>= 0.1.0)
150+
websocket-extensions (0.1.5)
151+
zeitwerk (2.4.2)
152+
153+
PLATFORMS
154+
ruby
155+
156+
DEPENDENCIES
157+
byebug
158+
listen (~> 3.3)
159+
pg (~> 1.1)
160+
puma (~> 5.0)
161+
rails (~> 6.1.4)
162+
sass-rails (>= 6)
163+
164+
BUNDLED WITH
165+
2.2.15

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# README
2+
3+
This README would normally document whatever steps are necessary to get the
4+
application up and running.
5+
6+
Things you may want to cover:
7+
8+
* Ruby version
9+
10+
* System dependencies
11+
12+
* Configuration
13+
14+
* Database creation
15+
16+
* Database initialization
17+
18+
* How to run the test suite
19+
20+
* Services (job queues, cache servers, search engines, etc.)
21+
22+
* Deployment instructions
23+
24+
* ...

Rakefile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Add your own tasks in files placed in lib/tasks ending in .rake,
2+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3+
4+
require_relative "config/application"
5+
6+
Rails.application.load_tasks

app/assets/config/manifest.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
//= link_tree ../images
2+
//= link_directory ../stylesheets .css

app/assets/images/.keep

Whitespace-only changes.
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* This is a manifest file that'll be compiled into application.css, which will include all the files
3+
* listed below.
4+
*
5+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
6+
* vendor/assets/stylesheets directory can be referenced here using a relative path.
7+
*
8+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
9+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10+
* files in this directory. Styles in this file should be added after the last require_* statement.
11+
* It is generally better to create a new file per style scope.
12+
*
13+
*= require_tree .
14+
*= require_self
15+
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class ApplicationController < ActionController::Base
2+
end

app/controllers/concerns/.keep

Whitespace-only changes.

app/helpers/application_helper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module ApplicationHelper
2+
end

app/javascript/.keep

Whitespace-only changes.

app/models/application_record.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class ApplicationRecord < ActiveRecord::Base
2+
self.abstract_class = true
3+
end

app/models/concerns/.keep

Whitespace-only changes.
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>TakeoutApp</title>
5+
<meta name="viewport" content="width=device-width,initial-scale=1">
6+
<%= csrf_meta_tags %>
7+
<%= csp_meta_tag %>
8+
9+
<%= stylesheet_link_tag 'application', media: 'all' %>
10+
</head>
11+
12+
<body>
13+
<%= yield %>
14+
</body>
15+
</html>

0 commit comments

Comments
 (0)