-
Notifications
You must be signed in to change notification settings - Fork 7
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
0 parents
commit 7b708c9
Showing
80 changed files
with
1,787 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,12 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: bundler | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 |
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,59 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ruby-3.3.1 | ||
bundler-cache: true | ||
|
||
- name: Lint code for consistent style | ||
run: bin/rubocop -f github | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
|
||
# services: | ||
# redis: | ||
# image: redis | ||
# ports: | ||
# - 6379:6379 | ||
# options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5 | ||
steps: | ||
- name: Install packages | ||
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y build-essential git pkg-config google-chrome-stable | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ruby-3.3.1 | ||
bundler-cache: true | ||
|
||
- name: Run tests | ||
env: | ||
RAILS_ENV: test | ||
# REDIS_URL: redis://localhost:6379/0 | ||
run: bin/rails db:test:prepare test | ||
|
||
- name: Keep screenshots from failed system tests | ||
uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: screenshots | ||
path: ${{ github.workspace }}/tmp/screenshots | ||
if-no-files-found: ignore | ||
|
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,10 @@ | ||
/.bundle/ | ||
/doc/ | ||
/log/*.log | ||
/pkg/ | ||
/tmp/ | ||
/test/dummy/db/*.sqlite3 | ||
/test/dummy/db/*.sqlite3-* | ||
/test/dummy/log/*.log | ||
/test/dummy/storage/ | ||
/test/dummy/tmp/ |
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,8 @@ | ||
# Omakase Ruby styling for Rails | ||
inherit_gem: { rubocop-rails-omakase: rubocop.yml } | ||
|
||
# Overwrite or add rules to create your own house style | ||
# | ||
# # Use `[a, [b, c]]` not `[ a, [ b, c ] ]` | ||
# Layout/SpaceInsideArrayLiteralBrackets: | ||
# Enabled: false |
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,16 @@ | ||
source "https://rubygems.org" | ||
|
||
# Specify your gem's dependencies in marksmith.gemspec. | ||
gemspec | ||
|
||
gem "puma" | ||
|
||
gem "sqlite3" | ||
|
||
gem "propshaft" | ||
|
||
# Omakase Ruby styling [https://github.com/rails/rubocop-rails-omakase/] | ||
gem "rubocop-rails-omakase", require: false | ||
|
||
# Start debugger with binding.b [https://github.com/ruby/debug] | ||
# gem "debug", ">= 1.0.0" |
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,271 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
marksmith (0.1.0) | ||
rails (>= 8.0.1) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (8.0.1) | ||
actionpack (= 8.0.1) | ||
activesupport (= 8.0.1) | ||
nio4r (~> 2.0) | ||
websocket-driver (>= 0.6.1) | ||
zeitwerk (~> 2.6) | ||
actionmailbox (8.0.1) | ||
actionpack (= 8.0.1) | ||
activejob (= 8.0.1) | ||
activerecord (= 8.0.1) | ||
activestorage (= 8.0.1) | ||
activesupport (= 8.0.1) | ||
mail (>= 2.8.0) | ||
actionmailer (8.0.1) | ||
actionpack (= 8.0.1) | ||
actionview (= 8.0.1) | ||
activejob (= 8.0.1) | ||
activesupport (= 8.0.1) | ||
mail (>= 2.8.0) | ||
rails-dom-testing (~> 2.2) | ||
actionpack (8.0.1) | ||
actionview (= 8.0.1) | ||
activesupport (= 8.0.1) | ||
nokogiri (>= 1.8.5) | ||
rack (>= 2.2.4) | ||
rack-session (>= 1.0.1) | ||
rack-test (>= 0.6.3) | ||
rails-dom-testing (~> 2.2) | ||
rails-html-sanitizer (~> 1.6) | ||
useragent (~> 0.16) | ||
actiontext (8.0.1) | ||
actionpack (= 8.0.1) | ||
activerecord (= 8.0.1) | ||
activestorage (= 8.0.1) | ||
activesupport (= 8.0.1) | ||
globalid (>= 0.6.0) | ||
nokogiri (>= 1.8.5) | ||
actionview (8.0.1) | ||
activesupport (= 8.0.1) | ||
builder (~> 3.1) | ||
erubi (~> 1.11) | ||
rails-dom-testing (~> 2.2) | ||
rails-html-sanitizer (~> 1.6) | ||
activejob (8.0.1) | ||
activesupport (= 8.0.1) | ||
globalid (>= 0.3.6) | ||
activemodel (8.0.1) | ||
activesupport (= 8.0.1) | ||
activerecord (8.0.1) | ||
activemodel (= 8.0.1) | ||
activesupport (= 8.0.1) | ||
timeout (>= 0.4.0) | ||
activestorage (8.0.1) | ||
actionpack (= 8.0.1) | ||
activejob (= 8.0.1) | ||
activerecord (= 8.0.1) | ||
activesupport (= 8.0.1) | ||
marcel (~> 1.0) | ||
activesupport (8.0.1) | ||
base64 | ||
benchmark (>= 0.3) | ||
bigdecimal | ||
concurrent-ruby (~> 1.0, >= 1.3.1) | ||
connection_pool (>= 2.2.5) | ||
drb | ||
i18n (>= 1.6, < 2) | ||
logger (>= 1.4.2) | ||
minitest (>= 5.1) | ||
securerandom (>= 0.3) | ||
tzinfo (~> 2.0, >= 2.0.5) | ||
uri (>= 0.13.1) | ||
ast (2.4.2) | ||
base64 (0.2.0) | ||
benchmark (0.4.0) | ||
bigdecimal (3.1.9) | ||
builder (3.3.0) | ||
concurrent-ruby (1.3.5) | ||
connection_pool (2.5.0) | ||
crass (1.0.6) | ||
date (3.4.1) | ||
drb (2.2.1) | ||
erubi (1.13.1) | ||
globalid (1.2.1) | ||
activesupport (>= 6.1) | ||
i18n (1.14.6) | ||
concurrent-ruby (~> 1.0) | ||
io-console (0.8.0) | ||
irb (1.14.3) | ||
rdoc (>= 4.0.0) | ||
reline (>= 0.4.2) | ||
json (2.9.1) | ||
language_server-protocol (3.17.0.3) | ||
logger (1.6.5) | ||
loofah (2.24.0) | ||
crass (~> 1.0.2) | ||
nokogiri (>= 1.12.0) | ||
mail (2.8.1) | ||
mini_mime (>= 0.1.1) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
marcel (1.0.4) | ||
mini_mime (1.1.5) | ||
minitest (5.25.4) | ||
net-imap (0.5.5) | ||
date | ||
net-protocol | ||
net-pop (0.1.2) | ||
net-protocol | ||
net-protocol (0.2.2) | ||
timeout | ||
net-smtp (0.5.0) | ||
net-protocol | ||
nio4r (2.7.4) | ||
nokogiri (1.18.1-aarch64-linux-gnu) | ||
racc (~> 1.4) | ||
nokogiri (1.18.1-aarch64-linux-musl) | ||
racc (~> 1.4) | ||
nokogiri (1.18.1-arm-linux-gnu) | ||
racc (~> 1.4) | ||
nokogiri (1.18.1-arm-linux-musl) | ||
racc (~> 1.4) | ||
nokogiri (1.18.1-arm64-darwin) | ||
racc (~> 1.4) | ||
nokogiri (1.18.1-x86_64-darwin) | ||
racc (~> 1.4) | ||
nokogiri (1.18.1-x86_64-linux-gnu) | ||
racc (~> 1.4) | ||
nokogiri (1.18.1-x86_64-linux-musl) | ||
racc (~> 1.4) | ||
parallel (1.26.3) | ||
parser (3.3.7.0) | ||
ast (~> 2.4.1) | ||
racc | ||
propshaft (1.1.0) | ||
actionpack (>= 7.0.0) | ||
activesupport (>= 7.0.0) | ||
rack | ||
railties (>= 7.0.0) | ||
psych (5.2.3) | ||
date | ||
stringio | ||
puma (6.5.0) | ||
nio4r (~> 2.0) | ||
racc (1.8.1) | ||
rack (3.1.8) | ||
rack-session (2.1.0) | ||
base64 (>= 0.1.0) | ||
rack (>= 3.0.0) | ||
rack-test (2.2.0) | ||
rack (>= 1.3) | ||
rackup (2.2.1) | ||
rack (>= 3) | ||
rails (8.0.1) | ||
actioncable (= 8.0.1) | ||
actionmailbox (= 8.0.1) | ||
actionmailer (= 8.0.1) | ||
actionpack (= 8.0.1) | ||
actiontext (= 8.0.1) | ||
actionview (= 8.0.1) | ||
activejob (= 8.0.1) | ||
activemodel (= 8.0.1) | ||
activerecord (= 8.0.1) | ||
activestorage (= 8.0.1) | ||
activesupport (= 8.0.1) | ||
bundler (>= 1.15.0) | ||
railties (= 8.0.1) | ||
rails-dom-testing (2.2.0) | ||
activesupport (>= 5.0.0) | ||
minitest | ||
nokogiri (>= 1.6) | ||
rails-html-sanitizer (1.6.2) | ||
loofah (~> 2.21) | ||
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) | ||
railties (8.0.1) | ||
actionpack (= 8.0.1) | ||
activesupport (= 8.0.1) | ||
irb (~> 1.13) | ||
rackup (>= 1.0.0) | ||
rake (>= 12.2) | ||
thor (~> 1.0, >= 1.2.2) | ||
zeitwerk (~> 2.6) | ||
rainbow (3.1.1) | ||
rake (13.2.1) | ||
rdoc (6.11.0) | ||
psych (>= 4.0.0) | ||
regexp_parser (2.10.0) | ||
reline (0.6.0) | ||
io-console (~> 0.5) | ||
rubocop (1.70.0) | ||
json (~> 2.3) | ||
language_server-protocol (>= 3.17.0) | ||
parallel (~> 1.10) | ||
parser (>= 3.3.0.2) | ||
rainbow (>= 2.2.2, < 4.0) | ||
regexp_parser (>= 2.9.3, < 3.0) | ||
rubocop-ast (>= 1.36.2, < 2.0) | ||
ruby-progressbar (~> 1.7) | ||
unicode-display_width (>= 2.4.0, < 4.0) | ||
rubocop-ast (1.37.0) | ||
parser (>= 3.3.1.0) | ||
rubocop-minitest (0.36.0) | ||
rubocop (>= 1.61, < 2.0) | ||
rubocop-ast (>= 1.31.1, < 2.0) | ||
rubocop-performance (1.23.1) | ||
rubocop (>= 1.48.1, < 2.0) | ||
rubocop-ast (>= 1.31.1, < 2.0) | ||
rubocop-rails (2.29.0) | ||
activesupport (>= 4.2.0) | ||
rack (>= 1.1) | ||
rubocop (>= 1.52.0, < 2.0) | ||
rubocop-ast (>= 1.31.1, < 2.0) | ||
rubocop-rails-omakase (1.0.0) | ||
rubocop | ||
rubocop-minitest | ||
rubocop-performance | ||
rubocop-rails | ||
ruby-progressbar (1.13.0) | ||
securerandom (0.4.1) | ||
sqlite3 (2.5.0-aarch64-linux-gnu) | ||
sqlite3 (2.5.0-aarch64-linux-musl) | ||
sqlite3 (2.5.0-arm-linux-gnu) | ||
sqlite3 (2.5.0-arm-linux-musl) | ||
sqlite3 (2.5.0-arm64-darwin) | ||
sqlite3 (2.5.0-x86_64-darwin) | ||
sqlite3 (2.5.0-x86_64-linux-gnu) | ||
sqlite3 (2.5.0-x86_64-linux-musl) | ||
stringio (3.1.2) | ||
thor (1.3.2) | ||
timeout (0.4.3) | ||
tzinfo (2.0.6) | ||
concurrent-ruby (~> 1.0) | ||
unicode-display_width (3.1.4) | ||
unicode-emoji (~> 4.0, >= 4.0.4) | ||
unicode-emoji (4.0.4) | ||
uri (1.0.2) | ||
useragent (0.16.11) | ||
websocket-driver (0.7.7) | ||
base64 | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.5) | ||
zeitwerk (2.7.1) | ||
|
||
PLATFORMS | ||
aarch64-linux-gnu | ||
aarch64-linux-musl | ||
arm-linux-gnu | ||
arm-linux-musl | ||
arm64-darwin | ||
x86_64-darwin | ||
x86_64-linux-gnu | ||
x86_64-linux-musl | ||
|
||
DEPENDENCIES | ||
marksmith! | ||
propshaft | ||
puma | ||
rubocop-rails-omakase | ||
sqlite3 | ||
|
||
BUNDLED WITH | ||
2.5.22 |
Oops, something went wrong.