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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 475ee02bafe22805fe38b7f4900f84083ad8d0d8
4
- data.tar.gz: 1122411192e47273a9116a31eb61a4fb6a39fd80
3
+ metadata.gz: 57f59a0b5c71f471e024a0f91db8e90c0cf401a1
4
+ data.tar.gz: 2a42da6b9059b7dc338c2dbc53d0e81805c12f5b
5
5
  SHA512:
6
- metadata.gz: e38e2f39d7cb8bbe76f942ff08ca6dcd801f86734c3095e654f031536f28324e9bd75ad5639d9acb1ca77a93a51de6be1ff0ff6142d3fa963d58cb38e160fc65
7
- data.tar.gz: b815e3a0c0164a0e59832ddde441c5bb1b6830b3bcc3ee8007e4047c05a9cf1aa1cc1f4d009f902770ffe2dd4c8ba4e786c54d8b5bfcc12a65ad82e2c28386de
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 = 4
3
+ SERVERS = 4
4
4
  DEFAULT_SIZE = 40
5
- VERSION = 3
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=#{VERSION}&s=#{size * scale}"
47
+ "#{username}?v=#{API_VERSION}&s=#{size * scale}"
48
48
  end
49
49
 
50
50
  def server_number
@@ -1,6 +1,6 @@
1
1
  module Liquid; class Tag; end; end
2
2
  module Jekyll
3
3
  class Avatar < Liquid::Tag
4
- VERSION = '0.3.0'.freeze
4
+ VERSION = '0.3.1'.freeze
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-avatar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter