Skip to content

Commit e32e751

Browse files
committed
$ rails new --skip-action-mailer --skip-action-mailbox --skip-action-text --skip-active-storage --asset-pipeline=propshaft --skip-jbuilder --skip-test devops-talos-manager
0 parents  commit e32e751

Some content is hidden

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

61 files changed

+1191
-0
lines changed

.gitattributes

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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+
# Mark any vendored files as having been vendored.
7+
vendor/* linguist-vendored

.gitignore

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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 the default SQLite database.
11+
/db/*.sqlite3
12+
/db/*.sqlite3-*
13+
14+
# Ignore all logfiles and tempfiles.
15+
/log/*
16+
/tmp/*
17+
!/log/.keep
18+
!/tmp/.keep
19+
20+
# Ignore pidfiles, but keep the directory.
21+
/tmp/pids/*
22+
!/tmp/pids/
23+
!/tmp/pids/.keep
24+
25+
26+
/public/assets
27+
28+
# Ignore master key for decrypting credentials and more.
29+
/config/master.key

.ruby-version

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

Gemfile

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
source "https://rubygems.org"
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
4+
ruby "3.2.0"
5+
6+
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
7+
gem "rails", "~> 7.0.4", ">= 7.0.4.2"
8+
9+
# The modern asset pipeline for Rails [https://github.com/rails/propshaft]
10+
gem "propshaft"
11+
12+
# Use sqlite3 as the database for Active Record
13+
gem "sqlite3", "~> 1.4"
14+
15+
# Use the Puma web server [https://github.com/puma/puma]
16+
gem "puma", "~> 5.0"
17+
18+
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
19+
gem "importmap-rails"
20+
21+
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
22+
gem "turbo-rails"
23+
24+
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
25+
gem "stimulus-rails"
26+
27+
# Use Redis adapter to run Action Cable in production
28+
gem "redis", "~> 4.0"
29+
30+
# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
31+
# gem "kredis"
32+
33+
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
34+
# gem "bcrypt", "~> 3.1.7"
35+
36+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
37+
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]
38+
39+
# Reduces boot times through caching; required in config/boot.rb
40+
gem "bootsnap", require: false
41+
42+
group :development, :test do
43+
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
44+
gem "debug", platforms: %i[ mri mingw x64_mingw ]
45+
end
46+
47+
group :development do
48+
# Use console on exceptions pages [https://github.com/rails/web-console]
49+
gem "web-console"
50+
51+
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
52+
# gem "rack-mini-profiler"
53+
54+
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
55+
# gem "spring"
56+
end
57+

Gemfile.lock

+198
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,198 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (7.0.4.2)
5+
actionpack (= 7.0.4.2)
6+
activesupport (= 7.0.4.2)
7+
nio4r (~> 2.0)
8+
websocket-driver (>= 0.6.1)
9+
actionmailbox (7.0.4.2)
10+
actionpack (= 7.0.4.2)
11+
activejob (= 7.0.4.2)
12+
activerecord (= 7.0.4.2)
13+
activestorage (= 7.0.4.2)
14+
activesupport (= 7.0.4.2)
15+
mail (>= 2.7.1)
16+
net-imap
17+
net-pop
18+
net-smtp
19+
actionmailer (7.0.4.2)
20+
actionpack (= 7.0.4.2)
21+
actionview (= 7.0.4.2)
22+
activejob (= 7.0.4.2)
23+
activesupport (= 7.0.4.2)
24+
mail (~> 2.5, >= 2.5.4)
25+
net-imap
26+
net-pop
27+
net-smtp
28+
rails-dom-testing (~> 2.0)
29+
actionpack (7.0.4.2)
30+
actionview (= 7.0.4.2)
31+
activesupport (= 7.0.4.2)
32+
rack (~> 2.0, >= 2.2.0)
33+
rack-test (>= 0.6.3)
34+
rails-dom-testing (~> 2.0)
35+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
36+
actiontext (7.0.4.2)
37+
actionpack (= 7.0.4.2)
38+
activerecord (= 7.0.4.2)
39+
activestorage (= 7.0.4.2)
40+
activesupport (= 7.0.4.2)
41+
globalid (>= 0.6.0)
42+
nokogiri (>= 1.8.5)
43+
actionview (7.0.4.2)
44+
activesupport (= 7.0.4.2)
45+
builder (~> 3.1)
46+
erubi (~> 1.4)
47+
rails-dom-testing (~> 2.0)
48+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
49+
activejob (7.0.4.2)
50+
activesupport (= 7.0.4.2)
51+
globalid (>= 0.3.6)
52+
activemodel (7.0.4.2)
53+
activesupport (= 7.0.4.2)
54+
activerecord (7.0.4.2)
55+
activemodel (= 7.0.4.2)
56+
activesupport (= 7.0.4.2)
57+
activestorage (7.0.4.2)
58+
actionpack (= 7.0.4.2)
59+
activejob (= 7.0.4.2)
60+
activerecord (= 7.0.4.2)
61+
activesupport (= 7.0.4.2)
62+
marcel (~> 1.0)
63+
mini_mime (>= 1.1.0)
64+
activesupport (7.0.4.2)
65+
concurrent-ruby (~> 1.0, >= 1.0.2)
66+
i18n (>= 1.6, < 2)
67+
minitest (>= 5.1)
68+
tzinfo (~> 2.0)
69+
bindex (0.8.1)
70+
bootsnap (1.16.0)
71+
msgpack (~> 1.2)
72+
builder (3.2.4)
73+
concurrent-ruby (1.2.0)
74+
crass (1.0.6)
75+
date (3.3.3)
76+
debug (1.7.1)
77+
irb (>= 1.5.0)
78+
reline (>= 0.3.1)
79+
erubi (1.12.0)
80+
globalid (1.1.0)
81+
activesupport (>= 5.0)
82+
i18n (1.12.0)
83+
concurrent-ruby (~> 1.0)
84+
importmap-rails (1.1.5)
85+
actionpack (>= 6.0.0)
86+
railties (>= 6.0.0)
87+
io-console (0.6.0)
88+
irb (1.6.2)
89+
reline (>= 0.3.0)
90+
loofah (2.19.1)
91+
crass (~> 1.0.2)
92+
nokogiri (>= 1.5.9)
93+
mail (2.8.1)
94+
mini_mime (>= 0.1.1)
95+
net-imap
96+
net-pop
97+
net-smtp
98+
marcel (1.0.2)
99+
method_source (1.0.0)
100+
mini_mime (1.1.2)
101+
minitest (5.17.0)
102+
msgpack (1.6.0)
103+
net-imap (0.3.4)
104+
date
105+
net-protocol
106+
net-pop (0.1.2)
107+
net-protocol
108+
net-protocol (0.2.1)
109+
timeout
110+
net-smtp (0.3.3)
111+
net-protocol
112+
nio4r (2.5.8)
113+
nokogiri (1.14.2-arm64-darwin)
114+
racc (~> 1.4)
115+
propshaft (0.6.4)
116+
actionpack (>= 7.0.0)
117+
activesupport (>= 7.0.0)
118+
rack
119+
railties (>= 7.0.0)
120+
puma (5.6.5)
121+
nio4r (~> 2.0)
122+
racc (1.6.2)
123+
rack (2.2.6.2)
124+
rack-test (2.0.2)
125+
rack (>= 1.3)
126+
rails (7.0.4.2)
127+
actioncable (= 7.0.4.2)
128+
actionmailbox (= 7.0.4.2)
129+
actionmailer (= 7.0.4.2)
130+
actionpack (= 7.0.4.2)
131+
actiontext (= 7.0.4.2)
132+
actionview (= 7.0.4.2)
133+
activejob (= 7.0.4.2)
134+
activemodel (= 7.0.4.2)
135+
activerecord (= 7.0.4.2)
136+
activestorage (= 7.0.4.2)
137+
activesupport (= 7.0.4.2)
138+
bundler (>= 1.15.0)
139+
railties (= 7.0.4.2)
140+
rails-dom-testing (2.0.3)
141+
activesupport (>= 4.2.0)
142+
nokogiri (>= 1.6)
143+
rails-html-sanitizer (1.5.0)
144+
loofah (~> 2.19, >= 2.19.1)
145+
railties (7.0.4.2)
146+
actionpack (= 7.0.4.2)
147+
activesupport (= 7.0.4.2)
148+
method_source
149+
rake (>= 12.2)
150+
thor (~> 1.0)
151+
zeitwerk (~> 2.5)
152+
rake (13.0.6)
153+
redis (4.8.1)
154+
reline (0.3.2)
155+
io-console (~> 0.5)
156+
sqlite3 (1.6.0-arm64-darwin)
157+
stimulus-rails (1.2.1)
158+
railties (>= 6.0.0)
159+
thor (1.2.1)
160+
timeout (0.3.1)
161+
turbo-rails (1.3.3)
162+
actionpack (>= 6.0.0)
163+
activejob (>= 6.0.0)
164+
railties (>= 6.0.0)
165+
tzinfo (2.0.6)
166+
concurrent-ruby (~> 1.0)
167+
web-console (4.2.0)
168+
actionview (>= 6.0.0)
169+
activemodel (>= 6.0.0)
170+
bindex (>= 0.4.0)
171+
railties (>= 6.0.0)
172+
websocket-driver (0.7.5)
173+
websocket-extensions (>= 0.1.0)
174+
websocket-extensions (0.1.5)
175+
zeitwerk (2.6.7)
176+
177+
PLATFORMS
178+
arm64-darwin-22
179+
180+
DEPENDENCIES
181+
bootsnap
182+
debug
183+
importmap-rails
184+
propshaft
185+
puma (~> 5.0)
186+
rails (~> 7.0.4, >= 7.0.4.2)
187+
redis (~> 4.0)
188+
sqlite3 (~> 1.4)
189+
stimulus-rails
190+
turbo-rails
191+
tzinfo-data
192+
web-console
193+
194+
RUBY VERSION
195+
ruby 3.2.0p0
196+
197+
BUNDLED WITH
198+
2.4.6

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/images/.keep

Whitespace-only changes.
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* Application styles */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module ApplicationCable
2+
class Channel < ActionCable::Channel::Base
3+
end
4+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module ApplicationCable
2+
class Connection < ActionCable::Connection::Base
3+
end
4+
end
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/application.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails
2+
import "@hotwired/turbo-rails"
3+
import "controllers"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { Application } from "@hotwired/stimulus"
2+
3+
const application = Application.start()
4+
5+
// Configure Stimulus development experience
6+
application.debug = false
7+
window.Stimulus = application
8+
9+
export { application }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { Controller } from "@hotwired/stimulus"
2+
3+
export default class extends Controller {
4+
connect() {
5+
this.element.textContent = "Hello World!"
6+
}
7+
}

app/javascript/controllers/index.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Import and register all your controllers from the importmap under controllers/*
2+
3+
import { application } from "controllers/application"
4+
5+
// Eager load all controllers defined in the import map under controllers/**/*_controller
6+
import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading"
7+
eagerLoadControllersFrom("controllers", application)
8+
9+
// Lazy load controllers as they appear in the DOM (remember not to preload controllers in import map!)
10+
// import { lazyLoadControllersFrom } from "@hotwired/stimulus-loading"
11+
// lazyLoadControllersFrom("controllers", application)

app/jobs/application_job.rb

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
class ApplicationJob < ActiveJob::Base
2+
# Automatically retry jobs that encountered a deadlock
3+
# retry_on ActiveRecord::Deadlocked
4+
5+
# Most jobs are safe to ignore if the underlying records are no longer available
6+
# discard_on ActiveJob::DeserializationError
7+
end

app/models/application_record.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class ApplicationRecord < ActiveRecord::Base
2+
primary_abstract_class
3+
end

app/models/concerns/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)