Commit 839f8440 authored by Cool Fire's avatar Cool Fire

Update rubocop

parent d4ec6eea
Pipeline #1398 passed with stage
in 2 minutes and 39 seconds
......@@ -12,7 +12,7 @@ GEM
git (1.5.0)
i18n (1.1.0)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.1)
jaro_winkler (1.5.2)
mail (2.7.0)
mini_mime (>= 0.1.1)
mini_mime (1.0.1)
......@@ -21,24 +21,24 @@ GEM
mustermann (1.0.3)
mysql2 (0.5.2)
net-ldap (0.16.1)
parallel (1.12.1)
parser (2.5.1.2)
parallel (1.14.0)
parser (2.6.2.0)
ast (~> 2.4.0)
pony (1.12)
mail (>= 2.0)
powerpack (0.1.2)
psych (3.1.0)
rack (2.0.5)
rack-protection (2.0.3)
rack
rainbow (3.0.0)
rubocop (0.58.2)
rubocop (0.66.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.5, != 2.5.1.1)
powerpack (~> 0.1)
psych (>= 3.1.0)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
unicode-display_width (>= 1.4.0, < 1.6)
ruby-progressbar (1.10.0)
sinatra (2.0.3)
mustermann (~> 1.0)
......@@ -57,7 +57,7 @@ GEM
tilt (2.0.8)
tzinfo (1.2.5)
thread_safe (~> 0.1)
unicode-display_width (1.4.0)
unicode-display_width (1.5.0)
PLATFORMS
ruby
......@@ -73,4 +73,4 @@ DEPENDENCIES
sinatra-contrib
BUNDLED WITH
1.16.4
1.16.6
......@@ -71,7 +71,6 @@ class Manager2Api < Sinatra::Base
end
# Check if user is allowed to generate invites
# rubocop:disable Metrics/AbcSize
def mysql_check_inviteable(username)
userdata = mysql_get_record username
......@@ -89,7 +88,6 @@ class Manager2Api < Sinatra::Base
message: "Must wait #{(waittime - daysago)} days to generate another invite"
}
end
# rubocop:enable Metrics/AbcSize
# Check if a user exists in the invite db
def mysql_check_user(username)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment