0x1eef 2023-03-12 17:23:41 -03:00
parent 0a3f8eac31
commit 3c75a90f0d
4 changed files with 182 additions and 19 deletions

View file

@ -7,7 +7,6 @@ runs:
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: Setup NodeJS
uses: actions/setup-node@v2
with:

View file

@ -18,9 +18,9 @@ jobs:
- name: Prepare environment
uses: './.github/actions/prepare-env'
- name: eslint
run: ruby -S rake lint:eslint
run: rake lint:eslint
- name: rubocop
run: ruby -S rake lint:rubocop
run: rake lint:rubocop
build:
runs-on: ubuntu-latest
steps:
@ -29,4 +29,4 @@ jobs:
- name: Prepare environment
uses: './.github/actions/prepare-env'
- name: nanoc
run: ruby -S rake build
run: rake build

21
Gemfile
View file

@ -1,5 +1,4 @@
# frozen_string_literal: true
source "https://rubygems.org"
##
@ -7,11 +6,6 @@ source "https://rubygems.org"
gem "nanoc", "~> 4.12"
gem "nanoc-live", "~> 1.0"
##
# Ruby web server
gem "adsf", "~> 1.4"
gem "puma", "~> 6.0"
##
# nanoc filters
gem "nanoc-gunzip.rb", github: "0x1eef/nanoc-gunzip.rb", tag: "v0.1.2"
@ -20,17 +14,14 @@ gem "rainpress", "~> 1.0"
gem "sass", "~> 3.7"
##
# Other
# Ruby web server
gem "adsf", "~> 1.4"
gem "puma", "~> 6.0"
##
# Everything else
gem "ryo.rb", "~> 0.3", github: "0x1eef/ryo.rb", tag: "v0.3.0"
gem "standard", "~> 1.16"
gem "paint", "~> 2.3"
gem "dotenv", "~> 2.8"
##
# Listen gem
require "rbconfig"
gem "listen", "~> 3.0"
case RbConfig::CONFIG["target_os"]
when /(?i-mx:bsd|dragonfly)/ # BSD
gem "rb-kqueue", "~> 0.2"
end

173
Gemfile.lock Normal file
View file

@ -0,0 +1,173 @@
GIT
remote: https://github.com/0x1eef/nanoc-gunzip.rb.git
revision: 925562bc2b5df1d6e9aa3dc3214651648716c72f
tag: v0.1.2
specs:
nanoc-gunzip.rb (0.1.2)
GIT
remote: https://github.com/0x1eef/nanoc-webpack.rb.git
revision: be0f625e3e1862b7cb6f1698074a9109abb26137
tag: v0.1.5
specs:
nanoc-webpack.rb (0.1.5)
GIT
remote: https://github.com/0x1eef/ryo.rb.git
revision: 1fc0e7a2187d8020aadfb71b6b066dbc3af2fc2e
tag: v0.3.0
specs:
ryo.rb (0.3.0)
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
adsf (1.4.6)
rack (>= 1.0.0, < 3.0.0)
adsf-live (1.4.6)
adsf (~> 1.3)
em-websocket (~> 0.5)
eventmachine (~> 1.2)
listen (~> 3.0)
rack-livereload (~> 0.3)
ast (2.4.2)
colored (1.2)
concurrent-ruby (1.2.2)
cri (2.15.11)
ddmetrics (1.0.1)
ddplugin (1.0.3)
diff-lcs (1.5.0)
dotenv (2.8.1)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5)
hamster (3.0.0)
concurrent-ruby (~> 1.0)
http_parser.rb (0.8.0)
json (2.6.3)
json_schema (0.21.0)
language_server-protocol (3.17.0.3)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
memo_wise (1.7.0)
nanoc (4.12.15)
addressable (~> 2.5)
colored (~> 1.2)
nanoc-checking (~> 1.0, >= 1.0.2)
nanoc-cli (= 4.12.15)
nanoc-core (= 4.12.15)
nanoc-deploying (~> 1.0)
parallel (~> 1.12)
tty-command (~> 0.8)
tty-which (~> 0.4)
nanoc-checking (1.0.2)
nanoc-cli (~> 4.12, >= 4.12.4)
nanoc-core (~> 4.12, >= 4.12.4)
nanoc-cli (4.12.15)
cri (~> 2.15)
diff-lcs (~> 1.3)
nanoc-core (= 4.12.15)
zeitwerk (~> 2.1)
nanoc-core (4.12.15)
concurrent-ruby (~> 1.1)
ddmetrics (~> 1.0)
ddplugin (~> 1.0)
hamster (~> 3.0)
json_schema (~> 0.19)
memo_wise (~> 1.5)
psych (~> 4.0)
slow_enumerator_tools (~> 1.0)
tty-platform (~> 0.2)
zeitwerk (~> 2.1)
nanoc-deploying (1.0.2)
nanoc-checking (~> 1.0)
nanoc-cli (~> 4.11, >= 4.11.15)
nanoc-core (~> 4.11, >= 4.11.15)
nanoc-live (1.0.0)
adsf-live (~> 1.4)
listen (~> 3.0)
nanoc-cli (~> 4.11, >= 4.11.14)
nanoc-core (~> 4.11, >= 4.11.14)
nio4r (2.5.8)
paint (2.3.0)
parallel (1.22.1)
parser (3.2.1.1)
ast (~> 2.4.1)
pastel (0.8.0)
tty-color (~> 0.5)
psych (4.0.6)
stringio
public_suffix (5.0.1)
puma (6.1.1)
nio4r (~> 2.0)
rack (2.2.6.3)
rack-livereload (0.3.17)
rack
rainbow (3.1.1)
rainpress (1.0.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
regexp_parser (2.7.0)
rexml (3.2.5)
rubocop (1.44.1)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.2.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.24.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.27.0)
parser (>= 3.2.1.0)
rubocop-performance (1.15.2)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
ruby-progressbar (1.13.0)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
slow_enumerator_tools (1.1.0)
standard (1.24.3)
language_server-protocol (~> 3.17.0.2)
rubocop (= 1.44.1)
rubocop-performance (= 1.15.2)
stringio (3.0.5)
tty-color (0.6.0)
tty-command (0.10.1)
pastel (~> 0.8)
tty-platform (0.3.0)
tty-which (0.5.0)
unicode-display_width (2.4.2)
zeitwerk (2.6.7)
PLATFORMS
amd64-freebsd-14
x86_64-linux
DEPENDENCIES
adsf (~> 1.4)
dotenv (~> 2.8)
listen (~> 3.0)
nanoc (~> 4.12)
nanoc-gunzip.rb!
nanoc-live (~> 1.0)
nanoc-webpack.rb!
paint (~> 2.3)
puma (~> 6.0)
rainpress (~> 1.0)
ryo.rb (~> 0.3)!
sass (~> 3.7)
standard (~> 1.24)
BUNDLED WITH
2.4.6