jekyll_picture_tag 1.14.0 → 2.0.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 +4 -4
- data/.envrc +2 -0
- data/.github/workflows/code-checks.yml +2 -12
- data/.rubocop.yml +2 -0
- data/.ruby-version +1 -1
- data/docs/devs/contributing/code.md +11 -3
- data/docs/devs/contributing/testing.md +0 -11
- data/docs/devs/releases.md +38 -2
- data/docs/index.md +43 -18
- data/docs/logo.png +0 -0
- data/docs/logo.svg +880 -0
- data/docs/users/deployment.md +49 -0
- data/docs/users/getting_started.md +55 -0
- data/docs/users/installation.md +18 -38
- data/docs/users/liquid_tag/argument_reference/crop.md +21 -36
- data/docs/users/liquid_tag/examples.md +13 -25
- data/docs/users/liquid_tag/index.md +1 -1
- data/docs/users/notes/{migration.md → migration_1.md} +1 -1
- data/docs/users/notes/migration_2.md +99 -0
- data/docs/users/presets/cropping.md +21 -22
- data/docs/users/presets/default.md +10 -2
- data/docs/users/presets/examples.md +77 -45
- data/docs/users/presets/fallback_image.md +1 -1
- data/docs/users/presets/html_attributes.md +1 -1
- data/docs/users/presets/image_formats.md +3 -3
- data/docs/users/presets/image_quality.md +71 -56
- data/docs/users/presets/index.md +19 -45
- data/docs/users/presets/link_source.md +1 -1
- data/docs/users/presets/media_queries.md +1 -1
- data/docs/users/presets/nomarkdown_override.md +1 -1
- data/docs/users/presets/pixel_ratio_srcsets.md +1 -1
- data/docs/users/presets/width_height_attributes.md +1 -1
- data/docs/users/presets/width_srcsets.md +61 -23
- data/docs/users/presets/writing_presets.md +65 -0
- data/docs/users/tutorial.md +97 -0
- data/jekyll_picture_tag.gemspec +33 -23
- data/lib/jekyll_picture_tag.rb +8 -6
- data/lib/jekyll_picture_tag/cache.rb +64 -3
- data/lib/jekyll_picture_tag/defaults/global.rb +18 -0
- data/lib/jekyll_picture_tag/defaults/presets.rb +57 -0
- data/lib/jekyll_picture_tag/images.rb +1 -0
- data/lib/jekyll_picture_tag/images/generated_image.rb +25 -63
- data/lib/jekyll_picture_tag/images/image_file.rb +105 -0
- data/lib/jekyll_picture_tag/images/img_uri.rb +3 -12
- data/lib/jekyll_picture_tag/images/source_image.rb +44 -9
- data/lib/jekyll_picture_tag/instructions.rb +70 -6
- data/lib/jekyll_picture_tag/instructions/children/config.rb +128 -0
- data/lib/jekyll_picture_tag/instructions/children/context.rb +24 -0
- data/lib/jekyll_picture_tag/instructions/children/params.rb +90 -0
- data/lib/jekyll_picture_tag/instructions/children/parsers.rb +48 -0
- data/lib/jekyll_picture_tag/instructions/children/preset.rb +182 -0
- data/lib/jekyll_picture_tag/instructions/parents/conditional_instruction.rb +69 -0
- data/lib/jekyll_picture_tag/instructions/parents/env_instruction.rb +29 -0
- data/lib/jekyll_picture_tag/output_formats/basic.rb +5 -17
- data/lib/jekyll_picture_tag/parsers.rb +6 -0
- data/lib/jekyll_picture_tag/{instructions → parsers}/arg_splitter.rb +1 -1
- data/lib/jekyll_picture_tag/parsers/configuration.rb +28 -0
- data/lib/jekyll_picture_tag/{instructions → parsers}/html_attributes.rb +1 -1
- data/lib/jekyll_picture_tag/parsers/image_backend.rb +46 -0
- data/lib/jekyll_picture_tag/parsers/preset.rb +43 -0
- data/lib/jekyll_picture_tag/{instructions → parsers}/tag_parser.rb +15 -12
- data/lib/jekyll_picture_tag/router.rb +35 -93
- data/lib/jekyll_picture_tag/srcsets/basic.rb +4 -10
- data/lib/jekyll_picture_tag/utils.rb +10 -20
- data/lib/jekyll_picture_tag/version.rb +1 -1
- data/readme.md +38 -0
- metadata +126 -105
- data/Dockerfile +0 -9
- data/docs/users/notes/input_checking.md +0 -6
- data/docs/users/presets/strip_metadata.md +0 -13
- data/install_imagemagick.sh +0 -23
- data/jekyll-picture-tag.gemspec +0 -52
- data/lib/jekyll-picture-tag.rb +0 -25
- data/lib/jekyll_picture_tag/cache/base.rb +0 -61
- data/lib/jekyll_picture_tag/cache/generated.rb +0 -20
- data/lib/jekyll_picture_tag/cache/source.rb +0 -19
- data/lib/jekyll_picture_tag/defaults/global.yml +0 -13
- data/lib/jekyll_picture_tag/defaults/presets.yml +0 -12
- data/lib/jekyll_picture_tag/instructions/configuration.rb +0 -121
- data/lib/jekyll_picture_tag/instructions/preset.rb +0 -122
- data/lib/jekyll_picture_tag/instructions/set.rb +0 -75
@@ -53,11 +53,11 @@ module PictureTag
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def width_attribute
|
56
|
-
|
56
|
+
source_image.width.to_s
|
57
57
|
end
|
58
58
|
|
59
59
|
def height_attribute
|
60
|
-
|
60
|
+
source_image.height.to_s
|
61
61
|
end
|
62
62
|
|
63
63
|
private
|
@@ -86,11 +86,7 @@ module PictureTag
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def source_width
|
89
|
-
|
90
|
-
target_files.first.source_width
|
91
|
-
else
|
92
|
-
@source_image.width
|
93
|
-
end
|
89
|
+
source_image.width
|
94
90
|
end
|
95
91
|
|
96
92
|
def target_files
|
@@ -112,9 +108,7 @@ module PictureTag
|
|
112
108
|
GeneratedImage.new(
|
113
109
|
source_file: @source_image,
|
114
110
|
width: width,
|
115
|
-
format: @input_format
|
116
|
-
crop: PictureTag.crop(@media),
|
117
|
-
gravity: PictureTag.gravity(@media)
|
111
|
+
format: @input_format
|
118
112
|
)
|
119
113
|
end
|
120
114
|
end
|
@@ -2,28 +2,10 @@ module PictureTag
|
|
2
2
|
# This is a little module to hold logic that doesn't fit other places. If it
|
3
3
|
# starts getting big, refactor.
|
4
4
|
module Utils
|
5
|
-
# These are valid ImageMagick gravity arguments (relevant to our use
|
6
|
-
# case):
|
7
|
-
GRAVITIES =
|
8
|
-
%w[center
|
9
|
-
north
|
10
|
-
northeast
|
11
|
-
east
|
12
|
-
southeast
|
13
|
-
south
|
14
|
-
southwest
|
15
|
-
west
|
16
|
-
northwest].freeze
|
17
|
-
|
18
|
-
# This is an attempt to recognize valid imagemagick geometry arguments
|
19
|
-
# with regex. It only tries to match values which don't preserve aspect
|
20
|
-
# ratio, as they're the ones people might actually need here.
|
21
|
-
GEOMETRY_REGEX = /\A\d*%?[x:]?\d*[%!]?([+-]\d+){,2}\Z/i.freeze
|
22
|
-
|
23
5
|
class << self
|
24
6
|
# Configure Jekyll to keep our generated files
|
25
7
|
def keep_files
|
26
|
-
dest_dir = PictureTag.
|
8
|
+
dest_dir = PictureTag.pconfig['output']
|
27
9
|
|
28
10
|
# Chop a slash off the end, if it's there. Doesn't work otherwise.
|
29
11
|
dest_dir = dest_dir[0..-2] if dest_dir =~ %r{/\z}
|
@@ -35,7 +17,7 @@ module PictureTag
|
|
35
17
|
|
36
18
|
# Print a warning to the console
|
37
19
|
def warning(message)
|
38
|
-
return if PictureTag.
|
20
|
+
return if PictureTag.pconfig['suppress_warnings']
|
39
21
|
|
40
22
|
warn 'Jekyll Picture Tag Warning: '.yellow + message
|
41
23
|
end
|
@@ -64,6 +46,10 @@ module PictureTag
|
|
64
46
|
input.split('_').map(&:capitalize).join
|
65
47
|
end
|
66
48
|
|
49
|
+
def snakeize(input)
|
50
|
+
input.scan(/[A-Z][a-z]+/).map(&:downcase).join('_')
|
51
|
+
end
|
52
|
+
|
67
53
|
# Linear interpolator. Pass it 2 values in the x array, 2 values
|
68
54
|
# in the y array, and an x value, returns a y value.
|
69
55
|
def interpolate(xvals, yvals, xval)
|
@@ -77,6 +63,10 @@ module PictureTag
|
|
77
63
|
# y = mx + b
|
78
64
|
(m * xval) + b
|
79
65
|
end
|
66
|
+
|
67
|
+
def aspect_float(width, height)
|
68
|
+
width.to_f / height
|
69
|
+
end
|
80
70
|
end
|
81
71
|
end
|
82
72
|
end
|
data/readme.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+

|
2
|
+
|
1
3
|
# Jekyll Picture Tag
|
2
4
|
|
3
5
|

|
@@ -45,6 +47,42 @@ https://rbuchberger.github.io/jekyll_picture_tag/devs/releases
|
|
45
47
|
|
46
48
|
Recent releases:
|
47
49
|
|
50
|
+
* 2.0.3 April 1, 2021
|
51
|
+
* Improve backend format support detection
|
52
|
+
* 2.0.2 March 31, 2021
|
53
|
+
* Do not pass a quality argument when generating PNG files.
|
54
|
+
* It only works on newer versions of vips, breaking builds when using older
|
55
|
+
versions (such as when deploying to netlify.)
|
56
|
+
* It's not remarkably useful in the first place.
|
57
|
+
* 2.0.1 March 31, 2021
|
58
|
+
* Select imagemagick deliberately when appropriate, rather than simply rescuing all vips errors
|
59
|
+
and trying again. This will stop JPT from suppressing useful vips errors.
|
60
|
+
* **2.0** March 25, 2021 - [Migration guide](https://rbuchberger.github.io/jekyll_picture_tag/users/notes/migration_2)
|
61
|
+
* Switch from ImageMagick to libvips.
|
62
|
+
* 🚀🔥🔥**MUCH MORE FASTER**🔥🔥🚀
|
63
|
+
* Will still attempt to use imagemagick if libvips cannot handle a
|
64
|
+
particular image format.
|
65
|
+
* Eliminate the ImageMagick v7 on Ubuntu pain we've been dealing with for so
|
66
|
+
long.
|
67
|
+
* Require Ruby >= 2.6, support Ruby 3.0
|
68
|
+
* Require Jekyll >= 4.0
|
69
|
+
* Cropping is changing.
|
70
|
+
* We now use the libvips
|
71
|
+
[smartcrop function](https://www.rubydoc.info/gems/ruby-vips/Vips/Image#smartcrop-instance_method),
|
72
|
+
which does some magic to keep the most useful part of the image.
|
73
|
+
* Geometry is renamed to 'crop', and reduced to simple aspect ratios only. (`width:height`)
|
74
|
+
* Gravity is gone, replaced by 'keep' which is translated to a libvips
|
75
|
+
[interestingness](https://www.rubydoc.info/gems/ruby-vips/Vips/Interesting) setting.
|
76
|
+
* Add stock presets and media queries, under the `jpt-` prefix.
|
77
|
+
* Add `format_quality` default settings for webp, avif, and jp2.
|
78
|
+
* Add image-format-specific write options.
|
79
|
+
* Overhaul user input handling; we can now validate inputs and give error
|
80
|
+
messages which are less useless. Stronger validation and nicer errors will be added in future
|
81
|
+
releases.
|
82
|
+
* Drop support for `markup_presets` and `media_presets`. They are now
|
83
|
+
officially and only `presets` and `media_queries`.
|
84
|
+
* Improve docs with an introductory tutorial and 'how-to' flow.
|
85
|
+
|
48
86
|
* 1.14.0 January 10, 2021
|
49
87
|
* Gracefully handle empty tag arguments.
|
50
88
|
* Re-add metadata stripping. I removed it inadvertently when refactoring; now
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll_picture_tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Wierzbowski
|
@@ -10,8 +10,92 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-01
|
13
|
+
date: 2021-04-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: addressable
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - "~>"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '2.6'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - "~>"
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '2.6'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: jekyll
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - "~>"
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '4.0'
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '4.0'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: mime-types
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '3.0'
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '3.0'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: objective_elements
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '1.1'
|
64
|
+
type: :runtime
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - "~>"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '1.1'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rainbow
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '3.0'
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '3.0'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: ruby-vips
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 2.0.17
|
92
|
+
type: :runtime
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - "~>"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 2.0.17
|
15
99
|
- !ruby/object:Gem::Dependency
|
16
100
|
name: bundler
|
17
101
|
requirement: !ruby/object:Gem::Requirement
|
@@ -32,14 +116,14 @@ dependencies:
|
|
32
116
|
requirements:
|
33
117
|
- - "~>"
|
34
118
|
- !ruby/object:Gem::Version
|
35
|
-
version: '5.
|
119
|
+
version: '5.14'
|
36
120
|
type: :development
|
37
121
|
prerelease: false
|
38
122
|
version_requirements: !ruby/object:Gem::Requirement
|
39
123
|
requirements:
|
40
124
|
- - "~>"
|
41
125
|
- !ruby/object:Gem::Version
|
42
|
-
version: '5.
|
126
|
+
version: '5.14'
|
43
127
|
- !ruby/object:Gem::Dependency
|
44
128
|
name: minitest-rg
|
45
129
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,14 +158,14 @@ dependencies:
|
|
74
158
|
requirements:
|
75
159
|
- - "~>"
|
76
160
|
- !ruby/object:Gem::Version
|
77
|
-
version: '1.
|
161
|
+
version: '1.1'
|
78
162
|
type: :development
|
79
163
|
prerelease: false
|
80
164
|
version_requirements: !ruby/object:Gem::Requirement
|
81
165
|
requirements:
|
82
166
|
- - "~>"
|
83
167
|
- !ruby/object:Gem::Version
|
84
|
-
version: '1.
|
168
|
+
version: '1.1'
|
85
169
|
- !ruby/object:Gem::Dependency
|
86
170
|
name: pry
|
87
171
|
requirement: !ruby/object:Gem::Requirement
|
@@ -194,82 +278,11 @@ dependencies:
|
|
194
278
|
- - ">="
|
195
279
|
- !ruby/object:Gem::Version
|
196
280
|
version: '0'
|
197
|
-
- !ruby/object:Gem::Dependency
|
198
|
-
name: addressable
|
199
|
-
requirement: !ruby/object:Gem::Requirement
|
200
|
-
requirements:
|
201
|
-
- - "~>"
|
202
|
-
- !ruby/object:Gem::Version
|
203
|
-
version: '2.6'
|
204
|
-
type: :runtime
|
205
|
-
prerelease: false
|
206
|
-
version_requirements: !ruby/object:Gem::Requirement
|
207
|
-
requirements:
|
208
|
-
- - "~>"
|
209
|
-
- !ruby/object:Gem::Version
|
210
|
-
version: '2.6'
|
211
|
-
- !ruby/object:Gem::Dependency
|
212
|
-
name: mime-types
|
213
|
-
requirement: !ruby/object:Gem::Requirement
|
214
|
-
requirements:
|
215
|
-
- - "~>"
|
216
|
-
- !ruby/object:Gem::Version
|
217
|
-
version: '3.0'
|
218
|
-
type: :runtime
|
219
|
-
prerelease: false
|
220
|
-
version_requirements: !ruby/object:Gem::Requirement
|
221
|
-
requirements:
|
222
|
-
- - "~>"
|
223
|
-
- !ruby/object:Gem::Version
|
224
|
-
version: '3.0'
|
225
|
-
- !ruby/object:Gem::Dependency
|
226
|
-
name: mini_magick
|
227
|
-
requirement: !ruby/object:Gem::Requirement
|
228
|
-
requirements:
|
229
|
-
- - "~>"
|
230
|
-
- !ruby/object:Gem::Version
|
231
|
-
version: '4.0'
|
232
|
-
type: :runtime
|
233
|
-
prerelease: false
|
234
|
-
version_requirements: !ruby/object:Gem::Requirement
|
235
|
-
requirements:
|
236
|
-
- - "~>"
|
237
|
-
- !ruby/object:Gem::Version
|
238
|
-
version: '4.0'
|
239
|
-
- !ruby/object:Gem::Dependency
|
240
|
-
name: objective_elements
|
241
|
-
requirement: !ruby/object:Gem::Requirement
|
242
|
-
requirements:
|
243
|
-
- - "~>"
|
244
|
-
- !ruby/object:Gem::Version
|
245
|
-
version: '1.1'
|
246
|
-
type: :runtime
|
247
|
-
prerelease: false
|
248
|
-
version_requirements: !ruby/object:Gem::Requirement
|
249
|
-
requirements:
|
250
|
-
- - "~>"
|
251
|
-
- !ruby/object:Gem::Version
|
252
|
-
version: '1.1'
|
253
|
-
- !ruby/object:Gem::Dependency
|
254
|
-
name: jekyll
|
255
|
-
requirement: !ruby/object:Gem::Requirement
|
256
|
-
requirements:
|
257
|
-
- - "<"
|
258
|
-
- !ruby/object:Gem::Version
|
259
|
-
version: '5'
|
260
|
-
type: :runtime
|
261
|
-
prerelease: false
|
262
|
-
version_requirements: !ruby/object:Gem::Requirement
|
263
|
-
requirements:
|
264
|
-
- - "<"
|
265
|
-
- !ruby/object:Gem::Version
|
266
|
-
version: '5'
|
267
281
|
description: |2
|
268
|
-
Jekyll Picture Tag
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
simple template tag.
|
282
|
+
Jekyll Picture Tag adds responsive images to your Jekyll static site. It
|
283
|
+
automatically creates resized source images, is fully configurable, and
|
284
|
+
covers all use cases, including art direction and resolution switching, with
|
285
|
+
a little YAML configuration and a simple template tag.
|
273
286
|
email:
|
274
287
|
- robert@buchberger.cc
|
275
288
|
executables: []
|
@@ -282,7 +295,6 @@ files:
|
|
282
295
|
- ".rubocop.yml"
|
283
296
|
- ".ruby-version"
|
284
297
|
- ".solargraph.yml"
|
285
|
-
- Dockerfile
|
286
298
|
- Gemfile
|
287
299
|
- LICENSE.txt
|
288
300
|
- Rakefile
|
@@ -298,6 +310,8 @@ files:
|
|
298
310
|
- docs/devs/index.md
|
299
311
|
- docs/devs/releases.md
|
300
312
|
- docs/index.md
|
313
|
+
- docs/logo.png
|
314
|
+
- docs/logo.svg
|
301
315
|
- docs/users/configuration/directories.md
|
302
316
|
- docs/users/configuration/disable.md
|
303
317
|
- docs/users/configuration/fast_build.md
|
@@ -306,6 +320,8 @@ files:
|
|
306
320
|
- docs/users/configuration/kramdown_fix.md
|
307
321
|
- docs/users/configuration/suppress_warnings.md
|
308
322
|
- docs/users/configuration/urls.md
|
323
|
+
- docs/users/deployment.md
|
324
|
+
- docs/users/getting_started.md
|
309
325
|
- docs/users/index.md
|
310
326
|
- docs/users/installation.md
|
311
327
|
- docs/users/liquid_tag/argument_reference/alternate_images.md
|
@@ -321,10 +337,10 @@ files:
|
|
321
337
|
- docs/users/notes/github_pages.md
|
322
338
|
- docs/users/notes/html_attributes.md
|
323
339
|
- docs/users/notes/index.md
|
324
|
-
- docs/users/notes/input_checking.md
|
325
340
|
- docs/users/notes/kramdown_bug.md
|
326
341
|
- docs/users/notes/managing_images.md
|
327
|
-
- docs/users/notes/
|
342
|
+
- docs/users/notes/migration_1.md
|
343
|
+
- docs/users/notes/migration_2.md
|
328
344
|
- docs/users/presets/cropping.md
|
329
345
|
- docs/users/presets/default.md
|
330
346
|
- docs/users/presets/examples.md
|
@@ -342,31 +358,28 @@ files:
|
|
342
358
|
- docs/users/presets/nomarkdown_override.md
|
343
359
|
- docs/users/presets/pixel_ratio_srcsets.md
|
344
360
|
- docs/users/presets/quality_width_graph.png
|
345
|
-
- docs/users/presets/strip_metadata.md
|
346
361
|
- docs/users/presets/width_height_attributes.md
|
347
362
|
- docs/users/presets/width_srcsets.md
|
348
|
-
-
|
349
|
-
-
|
363
|
+
- docs/users/presets/writing_presets.md
|
364
|
+
- docs/users/tutorial.md
|
350
365
|
- jekyll_picture_tag.gemspec
|
351
|
-
- lib/jekyll-picture-tag.rb
|
352
366
|
- lib/jekyll_picture_tag.rb
|
353
367
|
- lib/jekyll_picture_tag/cache.rb
|
354
|
-
- lib/jekyll_picture_tag/
|
355
|
-
- lib/jekyll_picture_tag/
|
356
|
-
- lib/jekyll_picture_tag/cache/source.rb
|
357
|
-
- lib/jekyll_picture_tag/defaults/global.yml
|
358
|
-
- lib/jekyll_picture_tag/defaults/presets.yml
|
368
|
+
- lib/jekyll_picture_tag/defaults/global.rb
|
369
|
+
- lib/jekyll_picture_tag/defaults/presets.rb
|
359
370
|
- lib/jekyll_picture_tag/images.rb
|
360
371
|
- lib/jekyll_picture_tag/images/generated_image.rb
|
372
|
+
- lib/jekyll_picture_tag/images/image_file.rb
|
361
373
|
- lib/jekyll_picture_tag/images/img_uri.rb
|
362
374
|
- lib/jekyll_picture_tag/images/source_image.rb
|
363
375
|
- lib/jekyll_picture_tag/instructions.rb
|
364
|
-
- lib/jekyll_picture_tag/instructions/
|
365
|
-
- lib/jekyll_picture_tag/instructions/
|
366
|
-
- lib/jekyll_picture_tag/instructions/
|
367
|
-
- lib/jekyll_picture_tag/instructions/
|
368
|
-
- lib/jekyll_picture_tag/instructions/
|
369
|
-
- lib/jekyll_picture_tag/instructions/
|
376
|
+
- lib/jekyll_picture_tag/instructions/children/config.rb
|
377
|
+
- lib/jekyll_picture_tag/instructions/children/context.rb
|
378
|
+
- lib/jekyll_picture_tag/instructions/children/params.rb
|
379
|
+
- lib/jekyll_picture_tag/instructions/children/parsers.rb
|
380
|
+
- lib/jekyll_picture_tag/instructions/children/preset.rb
|
381
|
+
- lib/jekyll_picture_tag/instructions/parents/conditional_instruction.rb
|
382
|
+
- lib/jekyll_picture_tag/instructions/parents/env_instruction.rb
|
370
383
|
- lib/jekyll_picture_tag/output_formats.rb
|
371
384
|
- lib/jekyll_picture_tag/output_formats/auto.rb
|
372
385
|
- lib/jekyll_picture_tag/output_formats/basic.rb
|
@@ -379,6 +392,13 @@ files:
|
|
379
392
|
- lib/jekyll_picture_tag/output_formats/naked_srcset.rb
|
380
393
|
- lib/jekyll_picture_tag/output_formats/picture.rb
|
381
394
|
- lib/jekyll_picture_tag/output_formats/readme.md
|
395
|
+
- lib/jekyll_picture_tag/parsers.rb
|
396
|
+
- lib/jekyll_picture_tag/parsers/arg_splitter.rb
|
397
|
+
- lib/jekyll_picture_tag/parsers/configuration.rb
|
398
|
+
- lib/jekyll_picture_tag/parsers/html_attributes.rb
|
399
|
+
- lib/jekyll_picture_tag/parsers/image_backend.rb
|
400
|
+
- lib/jekyll_picture_tag/parsers/preset.rb
|
401
|
+
- lib/jekyll_picture_tag/parsers/tag_parser.rb
|
382
402
|
- lib/jekyll_picture_tag/router.rb
|
383
403
|
- lib/jekyll_picture_tag/srcsets.rb
|
384
404
|
- lib/jekyll_picture_tag/srcsets/basic.rb
|
@@ -390,7 +410,8 @@ files:
|
|
390
410
|
homepage: https://github.com/rbuchberger/jekyll_picture_tag
|
391
411
|
licenses:
|
392
412
|
- BSD-3-Clause
|
393
|
-
metadata:
|
413
|
+
metadata:
|
414
|
+
documentation_uri: https://rbuchberger.github.io/jekyll_picture_tag/
|
394
415
|
post_install_message:
|
395
416
|
rdoc_options: []
|
396
417
|
require_paths:
|
@@ -399,18 +420,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
399
420
|
requirements:
|
400
421
|
- - ">="
|
401
422
|
- !ruby/object:Gem::Version
|
402
|
-
version: '2.
|
423
|
+
version: '2.6'
|
403
424
|
- - "<"
|
404
425
|
- !ruby/object:Gem::Version
|
405
|
-
version: '
|
426
|
+
version: '4.0'
|
406
427
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
407
428
|
requirements:
|
408
429
|
- - ">="
|
409
430
|
- !ruby/object:Gem::Version
|
410
431
|
version: '0'
|
411
|
-
requirements:
|
412
|
-
|
413
|
-
rubygems_version: 2.
|
432
|
+
requirements:
|
433
|
+
- libvips
|
434
|
+
rubygems_version: 3.2.3
|
414
435
|
signing_key:
|
415
436
|
specification_version: 4
|
416
437
|
summary: Easy responsive images for Jekyll.
|