Skip to content

Commit

Permalink
Add all the code from the rewrite repo
Browse files Browse the repository at this point in the history
This is the code from the rewrite that I started writing in August 2023.
  • Loading branch information
aalin committed Mar 24, 2024
1 parent 8fd7c05 commit 5188eb3
Show file tree
Hide file tree
Showing 309 changed files with 11,011 additions and 15,577 deletions.
91 changes: 37 additions & 54 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,29 @@ PATH
remote: .
specs:
mayu-live (0.0.6)
async (~> 2.8.0)
async-container (~> 0.16.12)
async-http (~> 0.61.0)
async (~> 2.8)
async-http (~> 0.62.0)
async-io (~> 1.41)
base64 (~> 0.2.0)
brotli (~> 0.4.0)
image_size (~> 3.2.0)
kramdown (~> 2.4.0)
listen (~> 3.7.1)
localhost (~> 1.1.9)
filewatcher (~> 2.1)
image_size (~> 3.4)
localhost (~> 1.1)
mayu-css (~> 0.1.2)
mime-types (~> 3.4.1)
msgpack (~> 1.6.0)
nanoid (~> 2.0.0)
prometheus-client (~> 4.0.0)
protocol-http (~> 0.25.0)
mime-types (~> 3.5)
minitest (~> 5.21)
msgpack (~> 1.7)
nokogiri (~> 1.16)
pry (~> 0.14.2)
rack (>= 3.0.4.1, < 3.0.10.0)
rake (~> 13.0.6)
rbnacl (~> 7.1.1)
rmagick (~> 5.3.0)
rouge (~> 4.0.0)
sorbet-runtime (~> 0.5.10634)
source_map (~> 3.0.1)
syntax_tree (~> 5.3.0)
syntax_tree-haml (~> 3.0.0)
rake (~> 13.1)
rbnacl (~> 7.1)
rouge (~> 4.2)
syntax_tree (~> 6.2)
syntax_tree-haml (~> 4.0)
syntax_tree-xml (~> 0.1.0)
terminal-table (~> 3.0.2)
toml-rb (~> 2.2.0)
toml (~> 0.3.0)
tsort (~> 0.2.0)

GEM
remote: https://rubygems.org/
Expand All @@ -41,33 +36,31 @@ GEM
fiber-annotation
io-event (~> 1.1)
timers (~> 4.1)
async-container (0.16.12)
async
async-io
async-http (0.61.0)
async-http (0.62.0)
async (>= 1.25)
async-io (>= 1.28)
async-pool (>= 0.2)
protocol-http (~> 0.25.0)
protocol-http1 (~> 0.16.0)
protocol-http2 (~> 0.15.0)
traces (>= 0.10.0)
async-io (1.38.1)
async-io (1.41.0)
async
async-pool (0.4.0)
async (>= 1.25)
base64 (0.2.0)
benchmark (0.3.0)
brotli (0.4.0)
builder (3.2.4)
citrus (3.0.2)
coderay (1.1.3)
console (1.23.3)
fiber-annotation
fiber-local
ffi (1.16.3)
fiber-annotation (0.2.0)
fiber-local (1.0.0)
filewatcher (2.1.0)
module_methods (~> 0.1.0)
formatador (1.1.0)
fuzzy_match (2.1.0)
guard (2.18.1)
Expand All @@ -83,12 +76,9 @@ GEM
temple (>= 0.8.2)
thor
tilt
image_size (3.2.0)
image_size (3.4.0)
io-console (0.7.1)
io-event (1.4.1)
json (2.7.1)
kramdown (2.4.0)
rexml
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
Expand All @@ -98,17 +88,17 @@ GEM
mayu-css (0.1.2-x86_64-darwin)
mayu-css (0.1.2-x86_64-linux)
method_source (1.0.0)
mime-types (3.4.1)
mime-types (3.5.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2023.1205)
minitest (5.20.0)
minitest (5.22.3)
minitest-reporters (1.6.1)
ansi
builder
minitest (>= 5.0)
ruby-progressbar
msgpack (1.6.1)
nanoid (2.0.0)
module_methods (0.1.0)
msgpack (1.7.2)
nenv (0.3.0)
netrc (0.11.0)
nokogiri (1.16.2-arm64-darwin)
Expand All @@ -121,14 +111,13 @@ GEM
nenv (~> 0.1)
shellany (~> 0.0)
parallel (1.24.0)
pkg-config (1.5.6)
parslet (2.0.0)
prettier (4.0.4)
syntax_tree (>= 4.0.1)
syntax_tree-haml (>= 2.0.0)
syntax_tree-rbs (>= 0.2.0)
prettier_print (1.2.1)
prism (0.19.0)
prometheus-client (4.0.0)
protocol-hpack (1.4.2)
protocol-http (0.25.0)
protocol-http1 (0.16.1)
Expand All @@ -141,7 +130,7 @@ GEM
method_source (~> 1.0)
racc (1.7.3)
rack (3.0.9.1)
rake (13.0.6)
rake (13.1.0)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
Expand All @@ -155,9 +144,7 @@ GEM
reline (0.4.2)
io-console (~> 0.5)
rexml (3.2.6)
rmagick (5.3.0)
pkg-config (~> 1.4)
rouge (4.0.1)
rouge (4.2.1)
ruby-prof (1.7.0)
ruby-progressbar (1.13.0)
shellany (0.0.1)
Expand All @@ -169,18 +156,16 @@ GEM
sorbet-static-and-runtime (0.5.11181)
sorbet (= 0.5.11181)
sorbet-runtime (= 0.5.11181)
source_map (3.0.1)
json
spoom (1.2.1)
sorbet (>= 0.5.10187)
sorbet-runtime (>= 0.5.9204)
thor (>= 0.19.2)
syntax_tree (5.3.0)
syntax_tree (6.2.0)
prettier_print (>= 1.2.0)
syntax_tree-haml (3.0.0)
haml (>= 5.2, != 6.0.0)
prettier_print (>= 1.0.0)
syntax_tree (>= 5.0.1)
syntax_tree-haml (4.0.3)
haml (>= 5.2)
prettier_print (>= 1.2.1)
syntax_tree (>= 6.0.0)
syntax_tree-rbs (1.0.0)
prettier_print
rbs
Expand All @@ -198,15 +183,13 @@ GEM
thor (>= 1.2.0)
yard-sorbet
temple (0.10.3)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
thor (1.3.0)
tilt (2.3.0)
timers (4.3.5)
toml-rb (2.2.0)
citrus (~> 3.0, > 3.0)
toml (0.3.0)
parslet (>= 1.8.0, < 3.0.0)
traces (0.11.1)
unicode-display_width (2.5.0)
tsort (0.2.0)
yard (0.9.36)
yard-sorbet (0.8.1)
sorbet-runtime (>= 0.5)
Expand Down
4 changes: 0 additions & 4 deletions lib/mayu.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# typed: strict

require "sorbet-runtime"
require_relative "mayu/version"
require_relative "mayu/banner"

module Mayu
end
33 changes: 33 additions & 0 deletions lib/mayu/__test__/configuration/test.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[dev]
secret_key = "dev"

[dev.server]
listen = "https://localhost:9292"

hmr = true

render_exceptions = true
self_signed_cert = true

generate_assets = true

[dev.metrics]
enabled = true
listen = "http://localhost:9293"

[prod]
secret_key = "$SECRET_KEY"

[prod.server]
listen = "http://localhost:3000"

hmr = false

render_exceptions = false
self_signed_cert = false

generate_assets = false

[prod.metrics]
enabled = true
listen = "http://localhost:9091"
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
93 changes: 0 additions & 93 deletions lib/mayu/app_metrics.rb

This file was deleted.

12 changes: 0 additions & 12 deletions lib/mayu/banner.rb

This file was deleted.

1 change: 0 additions & 1 deletion lib/mayu/client/.dockerignore

This file was deleted.

4 changes: 1 addition & 3 deletions lib/mayu/client/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
dist
node_modules
stats.html
dist/
17 changes: 0 additions & 17 deletions lib/mayu/client/README.md

This file was deleted.

Loading

0 comments on commit 5188eb3

Please sign in to comment.