Skip to content

Commit

Permalink
fix for constant already initialized warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter committed Feb 18, 2016
1 parent dfd7c4c commit 52576ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/jekyll-avatar.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module Jekyll
class Avatar < Liquid::Tag
SERVERS = 4
SERVERS = 4
DEFAULT_SIZE = 40
VERSION = 3
API_VERSION = 3

def initialize(_tag_name, text, _tokens)
super
Expand Down Expand Up @@ -44,7 +44,7 @@ def size
end

def path(scale = 1)
"#{username}?v=#{VERSION}&s=#{size * scale}"
"#{username}?v=#{API_VERSION}&s=#{size * scale}"
end

def server_number
Expand Down

0 comments on commit 52576ff

Please sign in to comment.