jekyll-cloudinary 1.12.2 → 1.12.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/RELEASES.md +81 -0
- data/lib/jekyll/cloudinary.rb +1 -1
- data/lib/jekyll/cloudinary/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8228598a5bc183237e10c467353f00470dc6ce61600c7f7fd5d18ee9dce525a7
|
4
|
+
data.tar.gz: d26f55eb89a57bc1c63b7bcb310d48311749bda1cabd508a4163543cf49558ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 267ea8c021df26cb8ba9ffe32008fde9ac3726c2b4863e1c4ec2da3d686d10f0245196a2c85ac5b08e7d1d289c47b0fa2f8899221a1fcd3e0879c71846446267
|
7
|
+
data.tar.gz: d0be90ddca6c7e4ca32f77e1a835b65c9254dc5a3c7ccb3ccf69f93a139aab0494dd7545ce50039cd5033ddc5e6275fa40c755183c423cb21630ee7e241c6c79
|
data/README.md
CHANGED
@@ -366,7 +366,7 @@ article {
|
|
366
366
|
|
367
367
|
## Contributing
|
368
368
|
|
369
|
-
Thanks for your interest in contributing! There are many ways to contribute to this project. Get started here
|
369
|
+
Thanks for your interest in contributing! There are many ways to contribute to this project. [Get started here](https://github.com/nhoizey/jekyll-cloudinary/blob/master/CONTRIBUTING.md).
|
370
370
|
|
371
371
|
## Do you use the plugin on a live site?
|
372
372
|
|
data/RELEASES.md
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
# Releases
|
2
|
+
|
3
|
+
## [v1.12.3](https://github.com/nhoizey/jekyll-cloudinary/releases/tag/v1.12.3)
|
4
|
+
|
5
|
+
Strings are now immutable by default, be careful. ([ca68ba7](https://github.com/nhoizey/jekyll-cloudinary/commit/ca68ba7743b69983836b993761d1004494197795))
|
6
|
+
|
7
|
+
## [v1.12.2](https://github.com/nhoizey/jekyll-cloudinary/releases/tag/v1.12.2)
|
8
|
+
|
9
|
+
Match jekyll's coding style thanks to [@DirtyF](https://github.com/DirtyF) with a little help from [Rubocop](http://rubocop.readthedocs.io/).
|
10
|
+
|
11
|
+
## [v1.12.1](https://github.com/nhoizey/jekyll-cloudinary/releases/tag/v1.12.1)
|
12
|
+
|
13
|
+
Break early if there is no `cloud_name` in `_config.yml`.
|
14
|
+
|
15
|
+
## [v1.12.0](https://github.com/nhoizey/jekyll-cloudinary/releases/tag/v1.12.0)
|
16
|
+
|
17
|
+
Thanks to [@suprafly](https://github.com/suprafly)'s [Pull Request](https://github.com/nhoizey/jekyll-cloudinary/pull/29), you can now host your source images on an origin domain different from your website domain.
|
18
|
+
|
19
|
+
## [v1.11.0](https://github.com/nhoizey/jekyll-cloudinary/releases/tag/v1.11.0)
|
20
|
+
|
21
|
+
Thanks to [Pascal Brokmeier](https://github.com/pascalwhoop)'s [Pull Request](https://github.com/nhoizey/jekyll-cloudinary/pull/34), you can now have responsive images HTML and Cloudinary URLs generated only when you build for production.
|
22
|
+
|
23
|
+
Just make sure to:
|
24
|
+
|
25
|
+
- set the new option `only_prod` to `true`
|
26
|
+
- and set the environment to `production` before building: `JEKYLL_ENV=production bundle exec jekyll build`
|
27
|
+
|
28
|
+
## [v1.10.0](https://github.com/nhoizey/jekyll-cloudinary/releases/tag/v1.10.0)
|
29
|
+
|
30
|
+
Fixes an issue caused by Jekyll 3.8.1 introducing a change to content's path, adding an `/#excerpt` at the end in case of an excerpt.
|
31
|
+
|
32
|
+
See https://github.com/nhoizey/jekyll-cloudinary/commit/5372e37e4d31bf1934d90665692b9e14f2ac2147
|
33
|
+
|
34
|
+
## [v1.9.1](https://github.com/nhoizey/jekyll-cloudinary/releases/tag/v1.9.1)
|
35
|
+
|
36
|
+
Better warning message when the local source image is missing.
|
37
|
+
|
38
|
+
## [v1.9.0](https://github.com/nhoizey/jekyll-cloudinary/releases/tag/v1.9.0)
|
39
|
+
|
40
|
+
Get the dimensions of the picture from the source path instead of the destination one ([#19](https://github.com/nhoizey/jekyll-cloudinary/issues/19))
|
41
|
+
|
42
|
+
## [v1.8.1](https://github.com/nhoizey/jekyll-cloudinary/releases/tag/v1.8.1)
|
43
|
+
|
44
|
+
Fixes an issue with local images.
|
45
|
+
|
46
|
+
## v1.8.0
|
47
|
+
|
48
|
+
Image size detection now uses FastImage instead of RMagick to remove imagemagick dependency, thanks to [@aarongustafson](https://github.com/aarongustafson) ([#25](https://github.com/nhoizey/jekyll-cloudinary/issues/25))
|
49
|
+
|
50
|
+
## v1.7.0
|
51
|
+
|
52
|
+
It is now possible to use all effects and transformations from the Cloudinary API, thanks to [@aarongustafson](https://github.com/aarongustafson) ([#24](https://github.com/nhoizey/jekyll-cloudinary/issues/24))
|
53
|
+
|
54
|
+
## v1.4.0
|
55
|
+
|
56
|
+
Now supports sites with baseurl ([#10](https://github.com/nhoizey/jekyll-cloudinary/issues/10))
|
57
|
+
|
58
|
+
## v1.3.1
|
59
|
+
|
60
|
+
Restores natural width if some computed ones are missing.
|
61
|
+
|
62
|
+
## v1.3.0
|
63
|
+
|
64
|
+
Restores `width` and `height` attributes.
|
65
|
+
|
66
|
+
## v1.2.17
|
67
|
+
|
68
|
+
Fixes a little typo with huge impact…
|
69
|
+
|
70
|
+
## v1.2.16
|
71
|
+
|
72
|
+
Code improvements thanks to Rubocop, initialized by [@DirtyF](https://github.com/DirtyF)
|
73
|
+
|
74
|
+
## v1.2.15
|
75
|
+
|
76
|
+
Fixed bugs:
|
77
|
+
- Don’t add `<img>` `height` & `width` attributes ([#7](https://github.com/nhoizey/jekyll-cloudinary/issues/7))
|
78
|
+
- Dont’t wrap `alt` text in `<p>` ([#8](https://github.com/nhoizey/jekyll-cloudinary/issues/8))
|
79
|
+
- `require 'rmagick'` tripped me up ([#11](https://github.com/nhoizey/jekyll-cloudinary/issues/11))
|
80
|
+
|
81
|
+
Thanks [@eeeps](https://github.com/eeeps) for catching these issues!
|
data/lib/jekyll/cloudinary.rb
CHANGED
@@ -178,7 +178,7 @@ module Jekyll
|
|
178
178
|
end
|
179
179
|
|
180
180
|
# alt and title attributes should go only to the <img> even when there is a caption
|
181
|
-
img_attr = ""
|
181
|
+
img_attr = "".dup
|
182
182
|
if html_attr["alt"]
|
183
183
|
img_attr << " alt=\"#{html_attr["alt"]}\""
|
184
184
|
html_attr.delete("alt")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-cloudinary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas Hoizey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastimage
|
@@ -90,6 +90,7 @@ files:
|
|
90
90
|
- Gemfile
|
91
91
|
- LICENSE
|
92
92
|
- README.md
|
93
|
+
- RELEASES.md
|
93
94
|
- Rakefile
|
94
95
|
- lib/jekyll-cloudinary.rb
|
95
96
|
- lib/jekyll/cloudinary.rb
|