-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install standard and apply automatic fixes
- Loading branch information
1 parent
8aaaa92
commit 4aa051d
Showing
81 changed files
with
531 additions
and
532 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,4 +1,4 @@ | ||
load 'deploy' | ||
load "deploy" | ||
# Uncomment if you are using Rails' asset pipeline | ||
# load 'deploy/assets' | ||
load 'config/deploy' # remove this line to skip loading any of the default tasks | ||
# load 'deploy/assets' | ||
load "config/deploy" # remove this line to skip loading any of the default tasks |
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,48 +1,48 @@ | ||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
ruby "3.1.1" | ||
|
||
gem 'rails', '~> 7.0.1' | ||
gem "rails", "~> 7.0.1" | ||
|
||
gem 'pg' | ||
gem "pg" | ||
|
||
# Assets | ||
gem 'cssbundling-rails' | ||
gem 'importmap-rails' | ||
gem 'propshaft' | ||
gem "cssbundling-rails" | ||
gem "importmap-rails" | ||
gem "propshaft" | ||
|
||
gem 'actionpack-page_caching' | ||
gem 'active_model_serializers' | ||
gem 'bigdecimal' | ||
gem 'pagy' | ||
gem 'rails-observers' | ||
gem "actionpack-page_caching" | ||
gem "active_model_serializers" | ||
gem "bigdecimal" | ||
gem "pagy" | ||
gem "rails-observers" | ||
|
||
gem 'oj' | ||
gem "oj" | ||
|
||
group :development do | ||
gem 'capistrano', '< 3.0' | ||
gem 'derailed' | ||
gem 'stackprof' | ||
gem "capistrano", "< 3.0" | ||
gem "derailed" | ||
gem "stackprof" | ||
end | ||
|
||
group :test, :development do | ||
gem 'rspec-rails' | ||
gem 'capybara' | ||
gem 'nokogiri', require: false | ||
gem 'poltergeist' | ||
gem 'domino' | ||
gem 'factory_bot_rails' | ||
gem 'rubocop', require: false | ||
gem 'pry' | ||
gem "rspec-rails" | ||
gem "capybara" | ||
gem "nokogiri", require: false | ||
gem "poltergeist" | ||
gem "domino" | ||
gem "factory_bot_rails" | ||
gem "standard", require: false | ||
gem "pry" | ||
end | ||
|
||
group :no_require do | ||
gem 'faye' | ||
gem "faye" | ||
# This gem is normally pulled in via faye, but cuurrent version | ||
# breaks with --enable=frozen-string-literal so remove when version > 0.7.5 | ||
# https://github.com/faye/websocket-driver-ruby/pull/85 | ||
gem "websocket-driver", github: "faye/websocket-driver-ruby" | ||
gem 'thin' | ||
gem 'raindrops' | ||
gem 'god' | ||
gem "thin" | ||
gem "raindrops" | ||
gem "god" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,6 @@ def create | |
def auth_params | ||
params.require(:rfid) | ||
end | ||
|
||
end | ||
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 |
---|---|---|
|
@@ -30,4 +30,4 @@ def user_params | |
end | ||
end | ||
end | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
class HomepageController < ApplicationController | ||
def index | ||
@beer_taps = BeerTap.order(:display_order) | ||
@pours = Pour.where('volume IS NOT NULL').order('created_at desc').limit(@beer_taps.size * 3) | ||
@pours = Pour.where("volume IS NOT NULL").order("created_at desc").limit(@beer_taps.size * 3) | ||
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
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,11 +1,11 @@ | ||
module HomepageHelper | ||
def homepage_tap_header(tap) | ||
header = tap.name.html_safe | ||
header += ': ' | ||
header += ": " | ||
header + if keg = tap.active_keg | ||
link_to keg.name, keg | ||
else | ||
'Offline' | ||
"Offline" | ||
end | ||
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
Oops, something went wrong.