jekyll-cloudinary 1.5.0 → 1.5.1

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
  SHA1:
3
- metadata.gz: 04e0c61adde5295cf2b79d9de3fc9dba9053020a
4
- data.tar.gz: b7e771d892b4eee737a632908f005b03f34b6e15
3
+ metadata.gz: 7217937a34d1e668a7a405f87ce5b8e324b5a9bc
4
+ data.tar.gz: d9445e7192d3ded7780a1dddd31e923178aee1db
5
5
  SHA512:
6
- metadata.gz: dfa1f66da4bbe3d6edd7da3e109befb6c7f17c301459a1e55db3dcc68f65c2382e57288604f3f85ca76b73c2724319838ab99f755dc0e727af74f1258a5b93d0
7
- data.tar.gz: 759caacb59bcd481083f52df3aea60d21b926aaa95e568f927b0ecbb1782143a62a22a13c5579b686797aae8d8a422022cb16614c666cf47b04e7a96c3d4693f
6
+ metadata.gz: aa183f3520be07af0f2697728c3426e84177292e9de2185f8f7c8e715dbae439a42268b1939817598f164844fc6f882dbc1031605bc0cf998204f37f1371b96b
7
+ data.tar.gz: 7431f4dfd321718045774f2d113759cb85583f2ae742c2fcb440dace73a2963b9d11000bdde3a9494780129f4a1fd58bcc5d0377536332f9f9a5c6641f0971fe
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Cloudinary
3
- VERSION = "1.5.0".freeze
3
+ VERSION = "1.5.1".freeze
4
4
  end
5
5
  end
@@ -82,7 +82,7 @@ module Jekyll
82
82
  natural_width = image.columns
83
83
  natural_height = image.rows
84
84
  width_height = "width=\"#{natural_width}\" height=\"#{natural_height}\""
85
- fallback_url = "https://res.cloudinary.com/#{settings["cloud_name"]}/image/fetch/c_limit,w_#{fallback_max_width},q_auto,f_auto/#{image_url}"
85
+ fallback_url = "https://res.cloudinary.com/#{settings["cloud_name"]}/image/fetch/c_limit,w_#{settings["fallback_max_width"]},q_auto,f_auto/#{image_url}"
86
86
  else
87
87
  natural_width = 100_000
88
88
  width_height = ""
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-cloudinary
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Hoizey