Skip to content

Commit

Permalink
bump gems
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbradford committed Aug 29, 2023
1 parent cbef4a5 commit 571a158
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ GEM
rspec-mocks (~> 3.12)
rspec-support (~> 3.12)
rspec-support (3.12.1)
rubocop (1.56.1)
rubocop (1.56.2)
base64 (~> 0.1.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
Expand Down Expand Up @@ -356,7 +356,7 @@ GEM
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.4.2)
webmock (3.18.1)
webmock (3.19.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
Expand Down
6 changes: 3 additions & 3 deletions app/controllers/subscribers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SubscribersController < ApplicationController

def index
# only show the index page when logged out
return redirect_to(action: :manage) unless @subscriber.nil?
redirect_to(action: :manage) unless @subscriber.nil?
end

def new
Expand Down Expand Up @@ -151,7 +151,7 @@ def create
# confirm email
def confirm
@subscriber = Subscriber.find(params[:id])
return redirect_to action: :manage if @subscriber.is_confirmed?
redirect_to action: :manage if @subscriber.is_confirmed?
end

# handle link from confirmation email
Expand Down Expand Up @@ -353,7 +353,7 @@ def disable_subscription
private

def require_session
return reject("You must be logged in to perform this action.") if session[:subscriber].nil?
reject("You must be logged in to perform this action.") if session[:subscriber].nil?
end

def fix_email
Expand Down
2 changes: 1 addition & 1 deletion app/models/t403.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class T403 < ApplicationRecord
def self.description
"Pre-2000 Half-Hourly Weather and Soil"
end

def self.attr_human_readables
[
["date", "Date"],
Expand Down

0 comments on commit 571a158

Please sign in to comment.