Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boilerplate v2 #3

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
b6c7da8
Initial commit of refactoring boilerplate as a gem
spencerldixon Jun 25, 2024
547911a
WIP designing interface
spencerldixon Jun 26, 2024
03c687b
Working on spliting installers into modules
spencerldixon Jul 2, 2024
5898e73
WIP patterns for extending generator
spencerldixon Jul 10, 2024
ba83b58
WIP proof of concept on silent install mode
spencerldixon Jul 11, 2024
e557dd8
Added bullet and devise
spencerldixon Jul 11, 2024
cff12f6
Added metatags gem
spencerldixon Jul 11, 2024
aec8ff0
Add legal pages
spencerldixon Jul 11, 2024
c7e79a2
Added font awesome
spencerldixon Jul 11, 2024
5bfe55d
Update readme
spencerldixon Jul 11, 2024
2e548fc
Improve demo gif
spencerldixon Jul 11, 2024
f07f238
Update readme
spencerldixon Jul 11, 2024
ec608c8
Add modules for robots.txt and removing trailing slashes with rack-re…
spencerldixon Jul 12, 2024
2f8beff
Generate admin boolean migration in devise module
spencerldixon Jul 12, 2024
45882a0
Add terms and conditions to devise module
spencerldixon Jul 12, 2024
d2cfa6d
Fixed devise modules issue
spencerldixon Jul 17, 2024
5898457
WIP Good job module
spencerldixon Jul 17, 2024
9d7c7e1
Fixed good job
spencerldixon Jul 18, 2024
ec2206b
Fixed --omakase flag for skipping the prompts
spencerldixon Jul 18, 2024
c923bd5
Add seeds module
spencerldixon Jul 21, 2024
d2bb5ff
Added gitignore moddule
spencerldixon Jul 22, 2024
0ab0006
Fixed conflicts
spencerldixon Nov 7, 2024
294b7cd
Fixed readme
spencerldixon Nov 7, 2024
963544e
Added js installer
spencerldixon Nov 8, 2024
b1565bf
Fixed boilerplate to accept other rails args and added agnostic js in…
spencerldixon Nov 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .dockerignore

This file was deleted.

10 changes: 0 additions & 10 deletions .gitattributes

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Ruby

on:
push:
branches:
- v2

pull_request:

jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.0.2'

steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run the default task
run: bundle exec rake
60 changes: 11 additions & 49 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,49 +1,11 @@
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# Ignore pidfiles, but keep the directory.
/tmp/pids/*
!/tmp/pids/
!/tmp/pids/.keep

# Ignore uploaded files in development.
/storage/*
!/storage/.keep
/tmp/storage/*
!/tmp/storage/
!/tmp/storage/.keep

/public/assets

# Ignore master key for decrypting credentials and more.
/config/master.key

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

/node_modules

.env
.DS_Store

# Ignore any DB dumps
*.sql
*.sqlite
*.dump

# Ignore credential keys
/config/credentials/production.key
/config/credentials/development.key
/config/credentials/test.key
/.bundle/
/.yardoc
/_yardoc/
/coverage/
/doc/
/pkg/
/spec/reports/
/tmp/

# rspec failure tracking
.rspec_status
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
--format documentation
--color
--require spec_helper
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

3 changes: 3 additions & 0 deletions .standard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# For available configuration options, see:
# https://github.com/standardrb/standard
ruby_version: 3.0
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## [Unreleased]

## [0.1.0] - 2024-06-25

- Initial release
71 changes: 0 additions & 71 deletions Dockerfile

This file was deleted.

54 changes: 11 additions & 43 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,46 +1,14 @@
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "3.2.2"

gem "rails", "~> 7.1.2"
gem "sprockets-rails", "~> 3.4.2"
gem "pg", "~> 1.5.4"
gem "puma", "~> 6.4.0"
gem "jsbundling-rails", "~> 1.2.1"
gem "turbo-rails", "~> 1.5.0"
gem "stimulus-rails", "~> 1.3.0"
gem "cssbundling-rails", "~> 1.3.3"
gem "redis", "~> 5.0.8"
gem "tzinfo-data", platforms: %i[mingw mswin x64_mingw jruby]
gem "bootsnap", "~> 1.16.0", require: false
gem "good_job", "~> 3.21.1"
gem "cancancan", "~> 3.5.0"
gem "sitemap_generator", "~> 6.3.0"
gem "rack-rewrite", "~> 1.5.1"
gem "aws-sdk-s3", "~> 1.136.0", require: false
gem "active_link_to", "~> 1.0.5"
# frozen_string_literal: true

# Gems
gem "devise", '~> 4.9.3'
gem "inline_svg", "~> 1.9.0"

group :development, :test do
gem "debug", platforms: %i[mri mingw x64_mingw]
gem "rspec-rails", "~> 6.1.0"
gem "factory_bot_rails", "~> 6.4.0"
gem "standard", "~> 1.32.0"
gem "brakeman", "~> 6.0.1", require: false
gem "faker", "~> 3.2.2"
gem "bullet", "~> 7.1.4"
end
source "https://rubygems.org"

group :test do
gem "capybara", "~> 3.39.2"
gem "selenium-webdriver", "~> 4.15.0"
end
# Specify your gem's dependencies in boilerplate.gemspec
gemspec

group :development do
gem "web-console", "~> 4.2.1"
gem "letter_opener", "~> 1.8.1"
end
gem "rake", "~> 13.0"
gem "rspec", "~> 3.0"
gem "standard", "~> 1.3"
gem "tty-prompt", '~> 0.23.1'
gem "thor", '~> 1.3.1'
gem "activesupport"
gem "byebug"
Loading
Loading