jekyll-cloudinary 1.2.3 → 1.2.4

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: 408ac46626985805823ac87811707e17b897c573
4
- data.tar.gz: 77429ecb014044377cde1803b89943c27489e63c
3
+ metadata.gz: 9454e362dcbd136146acd67b082c6ca68cb9955e
4
+ data.tar.gz: a38575e2b679cba222c4930f9628283ebfe0b4b8
5
5
  SHA512:
6
- metadata.gz: 203511e28b057d1df0b46ef6e151c73a12a1179fdfbd3f7b76a6e62fc3d7c6c79f8968caf8febf8f58fe162d453c5b176664fd91906e0711a99086c345af1b59
7
- data.tar.gz: 400fe463e73d397f17942c4a0583499f80cd26856635135e6b1da2e6ccd974165beac99fcf2c7a8742da48cc10c183678a52e14cb097fca1465dafc0859fc861
6
+ metadata.gz: 7a6ebb8408a8433d6039bb0e5a12079058494db8b8b65cc5acd34ae65df1a2772e0938ca2836d5af0bc486956454c6024ef7eddcfd558e6fa2a0c93f59f5c120
7
+ data.tar.gz: d9644047722723f97244cafb0596e872b49ab3db144411d8a0bfd0fbee82d9795ce20e4bd492daac9476450c1d5e8d524febedbad7a6be176acc3e5eb23b2831
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Cloudinary
3
- VERSION = "1.2.3"
3
+ VERSION = "1.2.4"
4
4
  end
5
5
  end
@@ -129,12 +129,12 @@ module Jekyll
129
129
  if settings['verbose']
130
130
  puts "[Cloudinary] Natural width of source image '#{File.basename(image_src)}' (#{natural_width}px) in #{context['page'].path} not enough for creating any srcset version"
131
131
  end
132
- srcset << "http://res.cloudinary.com/#{settings['cloud_name']}/image/fetch/q_auto,f_auto/#{image_url} #{natural_width}w"
132
+ srcset << "https://res.cloudinary.com/#{settings['cloud_name']}/image/fetch/q_auto,f_auto/#{image_url} #{natural_width}w"
133
133
  else
134
134
  (1..steps).each do |factor|
135
135
  width = min_width + (factor - 1) * step_width
136
136
  if width <= natural_width
137
- srcset << "http://res.cloudinary.com/#{settings['cloud_name']}/image/fetch/c_scale,w_#{width},q_auto,f_auto/#{image_url} #{width}w"
137
+ srcset << "https://res.cloudinary.com/#{settings['cloud_name']}/image/fetch/c_scale,w_#{width},q_auto,f_auto/#{image_url} #{width}w"
138
138
  else
139
139
  if settings['verbose']
140
140
  puts "[Cloudinary] Natural width of source image '#{File.basename(image_src)}' (#{natural_width}px) in #{context['page'].path} not enough for creating #{width}px version"
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.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Hoizey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-11 00:00:00.000000000 Z
11
+ date: 2016-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll