jekyll-cloudinary 1.12.2 → 1.12.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
  SHA256:
3
- metadata.gz: d39d5d7bdcaa38d3de57ddd3cbd10aa6ef579ebc7b18f642a5b63d34b6bb01bf
4
- data.tar.gz: ee3cd5fff0010f4ca4d2bbb6cd0831271878879ba44f41ae7543cedcda583127
3
+ metadata.gz: 8228598a5bc183237e10c467353f00470dc6ce61600c7f7fd5d18ee9dce525a7
4
+ data.tar.gz: d26f55eb89a57bc1c63b7bcb310d48311749bda1cabd508a4163543cf49558ea
5
5
  SHA512:
6
- metadata.gz: 48f1e535b94cdb6b209ba96bf1ca5f4da161bea9585e4d5b696258b3327e73990e3388b88ccc43afc4dd20e3f23532281584d32956e4d8fd357e4ba5bc2a4262
7
- data.tar.gz: e6057c4fc852ccd784dc43ab5b8e5adab40766b1dc490cb888d29471fe3c10802ae8d283382ca2b36d194bda03bede9b45b8f99bf17cea781b6d05915a13e50a
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 (https://github.com/nhoizey/jekyll-cloudinary/blob/master/CONTRIBUTING.md).
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
 
@@ -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!
@@ -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")
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Cloudinary
5
- VERSION = "1.12.2"
5
+ VERSION = "1.12.3"
6
6
  end
7
7
  end
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.2
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-05-30 00:00:00.000000000 Z
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