jekyll-inline-svg 1.1.1 → 1.1.2
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 +5 -5
- data/jekyll-inline-svg.gemspec +1 -1
- data/lib/jekyll-inline-svg.rb +1 -1
- data/spec/jekyll-inline-svg_spec.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4a3c39ac9f30abe77514d69eb546193b93455330a29a8ff2bc23654ce4e61614
|
4
|
+
data.tar.gz: 4440daa2bbafdd7bf4ce49dd0f793554f8efffa021eb6c3ddd42907178aca917
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e9aaae43f8183b47c08bd178b2f0a3e1d88c75e39c12793ce2b0067fbb85f950291f5d926d1ae231a5345c4254428488b39f14c53d3310c164ea2bcf7fa4c20
|
7
|
+
data.tar.gz: ee36e40b08ced7b981c57d327ad1a6e4cfdd7b8020daea490ff769cbed66542fa56dd98e375cda0e30d502d8f81667de2d04d73bd844b64685dceecb037f2406
|
data/jekyll-inline-svg.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
A Liquid tag to inline and optimize SVG images in your HTML
|
8
8
|
Supports custom DOM Attributes parameters and variables interpretation.
|
9
9
|
EOF
|
10
|
-
spec.version = "1.1.
|
10
|
+
spec.version = "1.1.2"
|
11
11
|
spec.authors = ["Sebastien DUMETZ"]
|
12
12
|
spec.email = "s.dumetz@holusion.com"
|
13
13
|
spec.homepage = "https://github.com/sdumetz/jekyll-inline-svg"
|
data/lib/jekyll-inline-svg.rb
CHANGED
@@ -66,6 +66,7 @@ describe(Jekyll::Tags::JekyllInlineSvg) do
|
|
66
66
|
before(:context) do
|
67
67
|
site = Jekyll::Site.new(config)
|
68
68
|
site.process
|
69
|
+
@text = read('index.html')
|
69
70
|
@data = parse("index.html")
|
70
71
|
@base = @data.css("#base").css("svg").first
|
71
72
|
end
|
@@ -124,6 +125,9 @@ describe(Jekyll::Tags::JekyllInlineSvg) do
|
|
124
125
|
expect(data.first.get_attribute("data-foo")).to is_opt ? be_falsy : eql("")
|
125
126
|
expect(data.xpath("//comment()").first).to is_opt ? be_falsy : be_truthy
|
126
127
|
end
|
128
|
+
it "don't add <?xml> junk" do
|
129
|
+
expect(@text).not_to include("<?xml")
|
130
|
+
end
|
127
131
|
end
|
128
132
|
end
|
129
133
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-inline-svg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastien DUMETZ
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.
|
127
|
+
rubygems_version: 2.7.8
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
130
|
summary: A SVG Inliner for Jekyll
|