jekyll-responsive_image 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/responsive_image/image_processor.rb +1 -1
- data/lib/jekyll/responsive_image/version.rb +1 -1
- metadata +1 -3
- data/index.html +0 -1
- data/test-index.html +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9bfe7f43e1abb12c3fe6b03abad193eb83a7ff1
|
4
|
+
data.tar.gz: 260775cb8b359c8e0cd9feda7f8c528f5c3d449f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fc6edacd3891f277df7045f945fc599df13c8edc2ab93791d486c2c1195ba0b89f924de8e54c77b9835a94edd6939d9f05051ec0ae371c5d5035a2b7c8f905a
|
7
|
+
data.tar.gz: f7b33cf71dec29a5b695ad1d067a3110b9ccb796a67fb673c43b441644479fa7b27537df6cdc5b3455a04f7f9fe4189447d352ac9568fed653eabc3042601d74
|
@@ -4,7 +4,7 @@ module Jekyll
|
|
4
4
|
include ResponsiveImage::Utils
|
5
5
|
|
6
6
|
def process(image_path, config)
|
7
|
-
raise SyntaxError.new(
|
7
|
+
raise SyntaxError.new("Invalid image path specified: #{image_path}") unless File.exists?(image_path.to_s)
|
8
8
|
|
9
9
|
resize_handler = ResizeHandler.new
|
10
10
|
img = Magick::Image::read(image_path).first
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-responsive_image
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joseph Wynn
|
@@ -62,7 +62,6 @@ files:
|
|
62
62
|
- features/step_definitions/jekyll_steps.rb
|
63
63
|
- features/support/env.rb
|
64
64
|
- features/support/hooks.rb
|
65
|
-
- index.html
|
66
65
|
- jekyll-responsive_image.gemspec
|
67
66
|
- lib/jekyll/responsive_image.rb
|
68
67
|
- lib/jekyll/responsive_image/block.rb
|
@@ -72,7 +71,6 @@ files:
|
|
72
71
|
- lib/jekyll/responsive_image/tag.rb
|
73
72
|
- lib/jekyll/responsive_image/utils.rb
|
74
73
|
- lib/jekyll/responsive_image/version.rb
|
75
|
-
- test-index.html
|
76
74
|
homepage: https://github.com/wildlyinaccurate/jekyll-responsive-image
|
77
75
|
licenses:
|
78
76
|
- MIT
|
data/index.html
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{% responsive_image path: assets/test.jpg %}
|
data/test-index.html
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{% responsive_image path: assets/test.jpg %}
|