Skip to content

Commit

Permalink
admin-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
khungking909 committed Mar 21, 2024
1 parent 5767deb commit af0a68c
Show file tree
Hide file tree
Showing 36 changed files with 21,351 additions and 92 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@
config/settings.local.yml
config/settings/*.local.yml
config/environments/*.local.yml

/app/assets/builds/*
!/app/assets/builds/.keep

/node_modules
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Lint/AmbiguousBlockAssociation:
- "**/spec/**/*"

Lint/AssignmentInCondition:
AllowSafeAssignment: false
AllowSafeAssignment: true

Lint/BinaryOperatorWithIdenticalOperands:
Enabled: true
Expand Down
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ source "https://rubygems.org"
ruby "3.2.0"

# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "bootstrap-sass", "3.4.1"
gem "rails", "~> 7.1.3", ">= 7.1.3.2"
gem "sassc-rails"

Expand All @@ -21,6 +20,7 @@ gem "mysql2", "~> 0.5"
# Use the Puma web server [https://github.com/puma/puma]
gem "puma", ">= 5.0"

gem "pagy"
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
gem "importmap-rails"

Expand Down Expand Up @@ -72,3 +72,5 @@ group :test do
gem "capybara"
gem "selenium-webdriver"
end

gem "cssbundling-rails", "~> 1.4"
12 changes: 5 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,12 @@ GEM
tzinfo (~> 2.0)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
autoprefixer-rails (10.4.16.0)
execjs (~> 2)
base64 (0.2.0)
bcrypt (3.1.18)
bigdecimal (3.1.7)
bindex (0.8.1)
bootsnap (1.18.3)
msgpack (~> 1.2)
bootstrap-sass (3.4.1)
autoprefixer-rails (>= 5.2.1)
sassc (>= 2.0.0)
builder (3.2.4)
capybara (3.40.0)
addressable
Expand All @@ -103,14 +98,15 @@ GEM
deep_merge (~> 1.2, >= 1.2.1)
connection_pool (2.4.1)
crass (1.0.6)
cssbundling-rails (1.4.0)
railties (>= 6.0.0)
date (3.3.4)
debug (1.9.1)
irb (~> 1.10)
reline (>= 0.3.8)
deep_merge (1.2.2)
drb (2.2.1)
erubi (1.12.0)
execjs (2.9.1)
ffi (1.16.3)
globalid (1.2.1)
activesupport (>= 6.1)
Expand Down Expand Up @@ -164,6 +160,7 @@ GEM
racc (~> 1.4)
nokogiri (1.16.3-x86_64-linux)
racc (~> 1.4)
pagy (7.0.11)
psych (5.1.2)
stringio
public_suffix (5.0.4)
Expand Down Expand Up @@ -275,13 +272,14 @@ PLATFORMS
DEPENDENCIES
bcrypt (= 3.1.18)
bootsnap
bootstrap-sass (= 3.4.1)
capybara
config
cssbundling-rails (~> 1.4)
debug
importmap-rails
jbuilder
mysql2 (~> 0.5)
pagy
puma (>= 5.0)
rails (~> 7.1.3, >= 7.1.3.2)
rails-i18n
Expand Down
2 changes: 2 additions & 0 deletions Procfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
web: env RUBY_DEBUG_OPEN=true bin/rails server
css: yarn watch:css
Empty file added app/assets/builds/.keep
Empty file.
Loading

0 comments on commit af0a68c

Please sign in to comment.