jekyll-octicons 4.0.1 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b714fc539bb92e49d04da2896325262bb8231488
4
- data.tar.gz: bcb88f67b317a12415f3b73537b1ca53344e12e7
3
+ metadata.gz: c8d549d2db7778376bf875b0795e30b522a9b2f0
4
+ data.tar.gz: f86f49ee74aac12cdc9e33688b7a7a45805ff6d9
5
5
  SHA512:
6
- metadata.gz: c601c712dab3175e3b81bc89fcfc9fede72b9425eb81a9698edc005ccc66c1d7e59da283afee77973ee3a8b79f96e43d8eced8a1c598a6dc7b9a3deec6110faa
7
- data.tar.gz: 741bae59542ad2c0fd33cc6759498005910bf60677e39e4ffd9fcc5509d61db59cc6e2b55cafa4e5d1c0bfe9a65a5c9c55d9916bca6d36201a3959670ac2edd0
6
+ metadata.gz: 2d396378c472bae862b3777d7a7ff331f76c9c547069887c9ceaf7f8ecd6232a228d5f96f0ecabb8a3096cec6b5faaa64ee6febce8081d56089e624d808ed0d9
7
+ data.tar.gz: ea4bd8abe7dbc30228d9d17a68cacda75f6458befa1f9e8bb745c37b9a5f0709822d3d9b22021349c0028ebb737f702ef34faa6d6b07c807ba5b9531258d373c
@@ -1,7 +1,8 @@
1
- require 'octicons'
2
- require 'jekyll-octicons/version'
3
- require 'liquid'
4
- require 'jekyll/liquid_extensions'
1
+ # rubocop:disable Naming/FileName
2
+ require "octicons"
3
+ require "jekyll-octicons/version"
4
+ require "liquid"
5
+ require "jekyll/liquid_extensions"
5
6
 
6
7
  module Jekyll
7
8
  class Octicons < Liquid::Tag
@@ -22,6 +23,7 @@ module Jekyll
22
23
  def initialize(tag_name, markup, options)
23
24
  super
24
25
  @markup = markup
26
+
25
27
  # If there's interpoaltion going on, we need to do this in render
26
28
  prepare(markup) unless match = markup.match(Variable)
27
29
  end
@@ -59,7 +61,7 @@ module Jekyll
59
61
 
60
62
  if match = markup.match(Syntax)
61
63
  markup.scan(TagAttributes) do |key, value|
62
- options[key.to_sym] = value.gsub(/\A"|"\z/, '')
64
+ options[key.to_sym] = value.gsub(/\A"|"\z/, "")
63
65
  end
64
66
  end
65
67
 
@@ -68,4 +70,4 @@ module Jekyll
68
70
  end
69
71
  end
70
72
 
71
- Liquid::Template.register_tag('octicon', Jekyll::Octicons)
73
+ Liquid::Template.register_tag("octicon", Jekyll::Octicons)
@@ -3,6 +3,6 @@ module Liquid; class Tag; end; end
3
3
 
4
4
  module Jekyll
5
5
  class Octicons < Liquid::Tag
6
- VERSION = '4.0.1'.freeze
6
+ VERSION = "4.0.3".freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-octicons
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-09 00:00:00.000000000 Z
11
+ date: 2017-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: octicons
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '4.0'
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '4.0'
40
+ version: '0'
41
41
  description: A jekyll liquid plugin that makes including svg Octicons simple.
42
42
  email:
43
43
  - support@github.com