remove trailing whitespaces ❤️

This commit is contained in:
Gosha Arinich
2013-02-25 19:42:20 +03:00
parent b50e0536c7
commit cafc75b238
383 changed files with 4220 additions and 2221 deletions

View File

@ -6,7 +6,7 @@ class RateLimiter
# We don't observe rate limits in test mode
def self.disabled?
Rails.env.test?
Rails.env.test?
end
def initialize(user, key, max, secs)
@ -41,7 +41,7 @@ class RateLimiter
# In case we go over, clamp it to the maximum
$redis.decr(@key)
raise LimitExceeded.new($redis.ttl(@key))
raise LimitExceeded.new($redis.ttl(@key))
end
end