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#01 initial setup #3

Merged
merged 21 commits into from
May 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
8d81990
chore: Add template issues
marianoalarcon May 7, 2021
dd65c9f
chore: Add template pull request
marianoalarcon May 7, 2021
e3e8887
chore: Init rails app
marianoalarcon May 7, 2021
073ab44
chore: Add rubocop
marianoalarcon May 7, 2021
700b15b
chore: Add rubocop-rails
marianoalarcon May 7, 2021
8cc1cb3
chore: Add rubycritic
marianoalarcon May 7, 2021
9daf7b4
chore: Add rubycritic-small-badge
marianoalarcon May 7, 2021
39c7a96
chore: Add rake gem and run Rubocop to Gemfile
marianoalarcon May 7, 2021
f174a5f
chore: Add rpec-rails Gemfile
marianoalarcon May 7, 2021
1832abd
chore: Install rpec-rails
marianoalarcon May 7, 2021
2cc1d52
chore: Add bootstrap
marianoalarcon May 7, 2021
58e25eb
chore: Add sqlite3, for test and development environments
marianoalarcon May 7, 2021
182d889
chore: setup database.yml and slite3 for test and development environ…
marianoalarcon May 7, 2021
a2daaf4
chore: Postgresql config database.yml
SpidySamurai May 7, 2021
9b4acd3
chore(.ruby-version): update ruby-version in order to add the gemset …
marianoalarcon May 11, 2021
ea0eacc
chore: Add hamlit and hamlit-rails gems
marianoalarcon May 11, 2021
3cdaaa4
chore: Add simple_form gem
marianoalarcon May 11, 2021
91bbfa0
chore: Add annotate gem
marianoalarcon May 11, 2021
46b417d
chore: Install simple_form
marianoalarcon May 11, 2021
ffaac49
chore: Add sandi_meter gem and add rake tasks for metrics code
marianoalarcon May 12, 2021
1390f0c
Add simplecov and simplecov-small-badge for coverage and add config s…
marianoalarcon May 12, 2021
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
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
defaults
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# See https://git-scm.com/docs/gitattributes for more about git attribute files.

# Mark the database schema as having been generated.
db/schema.rb linguist-generated

# Mark the yarn lockfile as having been generated.
yarn.lock linguist-generated

# Mark any vendored files as having been vendored.
vendor/* linguist-vendored
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/brightcoders-issue-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: BrightCoders Issue Template
about: BrightCoders standard issue template
title: ''
labels: ''
assignees: ''

---

# REQUIREMENTS
Write a detailed description for this issue, provide all necessary information so any member of the project understands

# DESIGN
Provide references to images of the design, how it looks like now, and how it should look like.

# Acceptance Criteria
List all required acceptance criteria
- [ ] Criteria 1
- [ ] Criteria 2
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 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

/public/assets
.byebug_history

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

/public/packs
/public/packs-test
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity
coverage
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--require spec_helper
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby-2.7.2@kata8
68 changes: 68 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# frozen_string_literal: true

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

ruby '2.7.2'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
gem 'rails', '~> 6.1.3', '>= 6.1.3.2'
# Use postgresql as the database for Active Record
gem 'pg', '~> 1.1'
# Use Puma as the app server
gem 'puma', '~> 5.0'
# Use SCSS for stylesheets
gem 'sass-rails', '>= 6'
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
gem 'webpacker', '~> 5.0'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.7'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use Active Model has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Active Storage variant
# gem 'image_processing', '~> 1.2'

# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.4.4', require: false

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: %i[mri mingw x64_mingw]
gem 'rspec-rails', '~> 5.0'
end

group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'annotate', '~> 3.1', '>= 3.1.1'
gem 'web-console', '>= 4.1.0'
# Display performance information such as SQL time and flame graphs for each request in your browser.
# Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
gem 'listen', '~> 3.3'
gem 'rack-mini-profiler', '~> 2.0'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'rubocop', '~> 1.14'
gem 'spring'
# Metrics
gem 'rake', '~> 13.0'
gem 'rubocop-rails', '~> 2.10'
gem 'rubycritic', '~> 4.6'
gem 'rubycritic-small-badge', '~> 0.2.1'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could it be that you forgot to configure this gem? or are you going to do it later in other issue?

gem 'sandi_meter', '~> 1.2'
# Front
gem 'hamlit', '~> 2.15'
gem 'hamlit-rails', '~> 0.2.3'
gem 'simple_form', '~> 5.1'
end

group :test do
gem "simplecov", "~> 0.21.2"
gem "simplecov-small-badge", "~> 0.2.4"
end

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