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

Feature: login #2

Merged
merged 7 commits into from
Dec 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@


/public/assets
Brewfile.lock.json

# Ignore master key for decrypting credentials and more.
/config/master.key
/config/credentials/development.key
/config/credentials/test.key
10 changes: 10 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
inherit_gem:
rubocop-fnando: .rubocop-rails.yml

AllCops:
TargetRubyVersion: 3.0
TargetRailsVersion: 7.0

Metrics:
Enabled: false
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby 3.0.3
5 changes: 5 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

brew "forego"
brew "postgresql", restart_service: true
brew "mailhog", restart_service: true
45 changes: 28 additions & 17 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# frozen_string_literal: true

source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
git_source(:github) {|repo| "https://github.com/#{repo}.git" }

ruby "3.0.3"

# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 7.0.0.alpha2"
gem "rails", "~> 7.0.0"

# Use postgresql as the database for Active Record
gem "pg", "~> 1.1"
Expand All @@ -21,31 +23,40 @@ gem "turbo-rails", ">= 0.7.11"
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
gem "stimulus-rails", ">= 0.4.0"

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]

# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
# gem "bcrypt", "~> 3.1.7"

# Access environment variables. Also includes presence validation,
# type coercion and default values.
gem "superconfig"

gem "ar-bigint"
gem "ar-timestamptz"
gem "ar-uuid"
gem "attr_keyring"
gem "defaults"
gem "dotenv"
gem "haikunate"
gem "human_routes"
gem "rails-env"
gem "signal"
gem "simple_auth"
gem "url_signature"

group :development, :test do
# Start debugger with binding.b [https://github.com/ruby/debug]
gem "debug", ">= 1.0.0", platforms: %i[ mri mingw x64_mingw ]
gem "pry-meta"
end

group :development do
# Use console on exceptions pages [https://github.com/rails/web-console]
gem "web-console", ">= 4.1.0"

# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
# gem "rack-mini-profiler", ">= 2.3.3"

# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
# gem "spring"
gem "rubocop"
gem "rubocop-fnando"
gem "rubocop-performance"
gem "rubocop-rails"
end

group :test do
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
gem "capybara", ">= 3.26"
gem "capybara"
gem "minitest-utils"
gem "selenium-webdriver"
gem "webdrivers"
end