-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac47a80
commit aff13d4
Showing
173 changed files
with
1,309 additions
and
1,260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,67 @@ | ||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
gem 'rails', '~> 6.1.1' | ||
gem 'rails-i18n', '~> 7.0' | ||
gem "activeadmin", "~> 2.14" | ||
gem "active_storage_validations", "~> 1.1.3" | ||
gem "aws-sdk-s3", "~> 1.94", require: false | ||
gem "bootsnap", "~> 1.12.0", require: false | ||
gem "devise", "~> 4.9.1" | ||
gem "devise-i18n", "~> 1.11.0" | ||
gem "has_scope", "~> 0.7.2" | ||
gem "http_accept_language", "~> 2.1.1" | ||
gem "image_processing", "~> 1.12" | ||
gem "json_translate", "~> 4.0.0" | ||
gem "kaminari", "~> 1.2.1" | ||
gem "pg", "~> 1.4" | ||
gem "pg_search", "~> 2.3.5" | ||
gem "prawn", "~> 2.4.0" | ||
gem "prawn-table", "~> 0.2.2" | ||
gem "puma", ">= 5.0.0" | ||
gem 'rdiscount', '~> 2.2.7' | ||
gem 'rubyzip', '~> 2.3.0' | ||
gem 'activeadmin', '~> 2.14' | ||
gem 'bootsnap', '~> 1.12.0', require: false | ||
gem 'has_scope', '~> 0.7.2' | ||
gem 'pundit', '~> 2.1.0' | ||
gem 'pg', '~> 1.4' | ||
gem 'json_translate', '~> 4.0.0' | ||
gem 'devise', '~> 4.9.1' | ||
gem 'devise-i18n', '~> 1.11.0' | ||
gem 'http_accept_language', '~> 2.1.1' | ||
gem 'kaminari', '~> 1.2.1' | ||
gem 'simple_form', '~> 5.0.2' | ||
gem 'rollbar', '~> 2.22.1' | ||
gem 'prawn', '~> 2.4.0' | ||
gem 'prawn-table', '~> 0.2.2' | ||
gem 'pg_search', '~> 2.3.5' | ||
gem 'skylight', '~> 5.0' | ||
gem 'sidekiq', '~> 6.5' | ||
gem 'sidekiq-cron', '~> 1.9.1' | ||
gem 'aws-sdk-s3', '~> 1.94', require: false | ||
gem 'image_processing', '~> 1.12' | ||
gem 'active_storage_validations', '~> 1.1.3' | ||
gem "pundit", "~> 2.1.0" | ||
gem "rails", "~> 6.1.1" | ||
gem "rails-i18n", "~> 7.0" | ||
gem "rdiscount", "~> 2.2.7" | ||
gem "rollbar", "~> 2.22.1" | ||
gem "rubyzip", "~> 2.3.0" | ||
gem "sidekiq", "~> 6.5" | ||
gem "sidekiq-cron", "~> 1.9.1" | ||
gem "simple_form", "~> 5.0.2" | ||
gem "skylight", "~> 5.0" | ||
|
||
# Assets | ||
gem 'jquery-rails', '~> 4.4.0' | ||
gem 'bootstrap-sass', '~> 3.4' | ||
gem 'sassc-rails', '~> 2.1.2' | ||
gem 'select2-rails', '~> 4.0.13' | ||
gem "bootstrap-sass", "~> 3.4" | ||
gem "jquery-rails", "~> 4.4.0" | ||
gem "sassc-rails", "~> 2.1.2" | ||
gem "select2-rails", "~> 4.0.13" | ||
|
||
group :production do | ||
# we are using an ExecJS runtime only on the precompilation phase | ||
gem 'uglifier', '~> 4.2.0', require: false | ||
gem "uglifier", "~> 4.2.0", require: false | ||
end | ||
|
||
group :development do | ||
gem 'listen', '~> 3.2.0' | ||
gem 'localeapp', '~> 3.3', require: false | ||
gem 'letter_opener', '~> 1.7.0' | ||
gem 'web-console', '~> 4.1.0' | ||
gem 'uglifier', '~> 4.2.0' | ||
gem "letter_opener", "~> 1.7.0" | ||
gem "listen", "~> 3.2.0" | ||
gem "localeapp", "~> 3.3", require: false | ||
gem "uglifier", "~> 4.2.0" | ||
gem "web-console", "~> 4.1.0" | ||
end | ||
|
||
group :development, :test do | ||
gem 'byebug', '~> 11.0' | ||
gem 'rubocop', '~> 1.6', require: false | ||
gem 'rubocop-rails', '~> 2.9', require: false | ||
gem 'dotenv-rails', '~> 2.7.1' | ||
gem "byebug", "~> 11.0" | ||
gem "dotenv-rails", "~> 2.7.1" | ||
gem "rubocop", "~> 1.6", require: false | ||
gem "rubocop-rails", "~> 2.9", require: false | ||
end | ||
|
||
group :test do | ||
gem 'rspec-rails', '~> 4.0.0' | ||
gem 'rails-controller-testing' | ||
gem 'database_cleaner', '~> 1.8.5' | ||
gem 'shoulda-matchers', '~> 4.4' | ||
gem 'fabrication', '~> 2.20' | ||
gem 'faker', '~> 2.15' | ||
gem 'capybara', '~> 3.29' | ||
gem 'selenium-webdriver', '~> 4.1.0' | ||
gem 'webdrivers', '~> 5.3' | ||
gem 'simplecov', '~> 0.22', require: false | ||
gem "capybara", "~> 3.29" | ||
gem "database_cleaner", "~> 1.8.5" | ||
gem "fabrication", "~> 2.20" | ||
gem "faker", "~> 2.15" | ||
gem "rails-controller-testing" | ||
gem "rspec-rails", "~> 4.0.0" | ||
gem "selenium-webdriver", "~> 4.1.0" | ||
gem "shoulda-matchers", "~> 4.4" | ||
gem "simplecov", "~> 0.22", require: false | ||
gem "webdrivers", "~> 5.3" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
class ErrorsController < ApplicationController | ||
def not_found | ||
render status: 404 | ||
render status: :not_found | ||
end | ||
|
||
def internal_server_error | ||
render status: 500 | ||
render status: :internal_server_error | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
class PagesController < ApplicationController | ||
def show | ||
begin | ||
render template: "pages/#{params[:page]}" | ||
rescue ActionView::MissingTemplate | ||
render "errors/not_found", status: 404 | ||
end | ||
render template: "pages/#{params[:page]}" | ||
rescue ActionView::MissingTemplate | ||
render "errors/not_found", status: :not_found | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.