jekyll-avatar 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-avatar.rb +3 -3
- data/lib/jekyll-avatar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57f59a0b5c71f471e024a0f91db8e90c0cf401a1
|
4
|
+
data.tar.gz: 2a42da6b9059b7dc338c2dbc53d0e81805c12f5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 179ebbb2c7105618cafd89b83cb3ae1882733664c95f224301900f1d4165e69959572dc08404015a1cee8ffe3c7e8ad4ff204a270c02c807de71fcfe4243874d
|
7
|
+
data.tar.gz: 21d59ba63d0602feb231ccda94b178f900ab94a00d53b0515b275be902f7aa47e7f85825bc73762c3df59cafb45f93b803cc14a20db15e76e14b9fcf48f070a1
|
data/lib/jekyll-avatar.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
module Jekyll
|
2
2
|
class Avatar < Liquid::Tag
|
3
|
-
SERVERS
|
3
|
+
SERVERS = 4
|
4
4
|
DEFAULT_SIZE = 40
|
5
|
-
|
5
|
+
API_VERSION = 3
|
6
6
|
|
7
7
|
def initialize(_tag_name, text, _tokens)
|
8
8
|
super
|
@@ -44,7 +44,7 @@ module Jekyll
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def path(scale = 1)
|
47
|
-
"#{username}?v=#{
|
47
|
+
"#{username}?v=#{API_VERSION}&s=#{size * scale}"
|
48
48
|
end
|
49
49
|
|
50
50
|
def server_number
|