jekyll-cloudinary_fetcher 0.1.1 → 0.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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/jekyll/cloudinary_fetcher.rb +2 -1
- data/lib/jekyll/cloudinary_fetcher/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34bcea1fd0a4ed549d6680aae5f3e2cbf67fcdca2991d39a8ae323f72c0d506a
|
4
|
+
data.tar.gz: 6d89c72f9f3b4f8ae0b2252e20cfdf08937a02877609df30ea5079a8e506cea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2556f6d0ab393f16857ef727d07f22155c8a26ea4b6633ad5f83a0b4ada491cb6b8935aebdd2f8a775cca440fb7e497fa67f7dab53ac77ce26da64c73d171d48
|
7
|
+
data.tar.gz: 2c8c387e52c3059b42365e5f18d832e2446560536071b8b14bbaa17e3741c7d44772b745c444e5b3b361d5f3f70cc9f7807905f4e4b5c105d24e587d1c254bf8
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -41,7 +41,7 @@ make use of Cloudinary's Fetch feature.
|
|
41
41
|
You can also combine transformations with the Fetch feature to transform your images.
|
42
42
|
|
43
43
|
```Liquid
|
44
|
-
<img src="{%
|
44
|
+
<img src="{% cloudinary_fetch 'assets/image.png', w:600, q:auto, f:auto %}">
|
45
45
|
```
|
46
46
|
```HTML
|
47
47
|
<img src="https://res.cloudinary.com/<cloudinary_cloud_name>/image/fetch/w_600,q_auto,f_auto/<cloudinary_fetch_url>/image.png">
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require "jekyll/cloudinary_fetcher/version"
|
2
2
|
require "jekyll"
|
3
|
+
require "uri"
|
3
4
|
|
4
5
|
module Jekyll
|
5
6
|
module CloudinaryFetcher
|
@@ -48,4 +49,4 @@ module Jekyll
|
|
48
49
|
end
|
49
50
|
end
|
50
51
|
|
51
|
-
Liquid::Template.register_tag("cloudinary_fetch", Jekyll::CloudinaryFetcher)
|
52
|
+
Liquid::Template.register_tag("cloudinary_fetch", Jekyll::CloudinaryFetcher::Fetch)
|