jekyll_picture_tag 1.10.0 → 1.13.0
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/.rubocop.yml +79 -0
- data/docs/Gemfile +4 -2
- data/docs/Gemfile.lock +14 -12
- data/docs/_config.yml +6 -10
- data/docs/devs/contributing/code.md +44 -0
- data/docs/devs/contributing/docs.md +13 -0
- data/docs/devs/contributing/index.md +15 -0
- data/docs/devs/contributing/setup.md +13 -0
- data/docs/devs/contributing/testing.md +41 -0
- data/docs/devs/index.md +7 -0
- data/docs/{releases.md → devs/releases.md} +37 -13
- data/docs/index.md +42 -26
- data/docs/users/configuration/cdn.md +35 -0
- data/docs/users/configuration/directories.md +34 -0
- data/docs/users/configuration/disable.md +24 -0
- data/docs/users/configuration/fast_build.md +28 -0
- data/docs/users/configuration/ignore_missing.md +23 -0
- data/docs/users/configuration/index.md +29 -0
- data/docs/users/configuration/kramdown_fix.md +20 -0
- data/docs/users/configuration/relative_urls.md +15 -0
- data/docs/users/configuration/suppress_warnings.md +16 -0
- data/docs/users/index.md +7 -0
- data/docs/users/installation.md +52 -0
- data/docs/users/liquid_tag/argument_reference/alternate_images.md +18 -0
- data/docs/users/liquid_tag/argument_reference/attributes.md +42 -0
- data/docs/users/liquid_tag/argument_reference/base_image.md +12 -0
- data/docs/users/liquid_tag/argument_reference/crop.md +48 -0
- data/docs/users/liquid_tag/argument_reference/link.md +16 -0
- data/docs/users/liquid_tag/argument_reference/preset.md +17 -0
- data/docs/users/liquid_tag/argument_reference/readme.md +9 -0
- data/docs/users/liquid_tag/examples.md +93 -0
- data/docs/users/liquid_tag/index.md +31 -0
- data/docs/users/notes/git_lfs.md +7 -0
- data/docs/users/notes/github_pages.md +5 -0
- data/docs/users/notes/html_attributes.md +5 -0
- data/docs/users/notes/index.md +6 -0
- data/docs/users/notes/input_checking.md +6 -0
- data/docs/users/notes/kramdown_bug.md +41 -0
- data/docs/users/notes/managing_images.md +21 -0
- data/docs/{migration.md → users/notes/migration.md} +0 -0
- data/docs/users/presets/cropping.md +61 -0
- data/docs/users/presets/default.md +23 -0
- data/docs/users/presets/examples.md +79 -0
- data/docs/users/presets/fallback_image.md +28 -0
- data/docs/users/presets/html_attributes.md +26 -0
- data/docs/users/presets/image_formats.md +21 -0
- data/docs/users/presets/image_quality.md +105 -0
- data/docs/users/presets/index.md +101 -0
- data/docs/users/presets/link_source.md +16 -0
- data/docs/users/presets/markup_formats/fragments.md +48 -0
- data/docs/users/presets/markup_formats/javascript_friendly.md +57 -0
- data/docs/users/presets/markup_formats/readme.md +43 -0
- data/docs/users/presets/markup_formats/standard_html.md +25 -0
- data/docs/users/presets/media_queries.md +36 -0
- data/docs/users/presets/nomarkdown_override.md +17 -0
- data/docs/users/presets/pixel_ratio_srcsets.md +32 -0
- data/docs/users/presets/quality_width_graph.png +0 -0
- data/docs/users/presets/width_height_attributes.md +34 -0
- data/docs/users/presets/width_srcsets.md +85 -0
- data/jekyll_picture_tag.gemspec +4 -5
- data/lib/jekyll_picture_tag.rb +3 -4
- data/lib/jekyll_picture_tag/cache.rb +3 -0
- data/lib/jekyll_picture_tag/cache/base.rb +59 -0
- data/lib/jekyll_picture_tag/cache/generated.rb +20 -0
- data/lib/jekyll_picture_tag/cache/source.rb +19 -0
- data/lib/jekyll_picture_tag/defaults/presets.yml +1 -0
- data/lib/jekyll_picture_tag/images.rb +3 -0
- data/lib/jekyll_picture_tag/images/generated_image.rb +127 -0
- data/lib/jekyll_picture_tag/{img_uri.rb → images/img_uri.rb} +1 -0
- data/lib/jekyll_picture_tag/images/source_image.rb +103 -0
- data/lib/jekyll_picture_tag/instructions/arg_splitter.rb +3 -2
- data/lib/jekyll_picture_tag/instructions/configuration.rb +1 -1
- data/lib/jekyll_picture_tag/instructions/preset.rb +24 -4
- data/lib/jekyll_picture_tag/instructions/set.rb +5 -1
- data/lib/jekyll_picture_tag/output_formats/basic.rb +16 -14
- data/lib/jekyll_picture_tag/output_formats/img.rb +11 -0
- data/lib/jekyll_picture_tag/output_formats/picture.rb +22 -0
- data/lib/jekyll_picture_tag/router.rb +3 -2
- data/lib/jekyll_picture_tag/srcsets/basic.rb +10 -1
- data/lib/jekyll_picture_tag/utils.rb +14 -0
- data/lib/jekyll_picture_tag/version.rb +1 -1
- data/readme.md +9 -7
- metadata +78 -45
- data/docs/_layouts/directory.html +0 -32
- data/docs/assets/style.css +0 -31
- data/docs/contributing.md +0 -109
- data/docs/example_presets.md +0 -116
- data/docs/global_configuration.md +0 -173
- data/docs/installation.md +0 -45
- data/docs/notes.md +0 -91
- data/docs/output.md +0 -63
- data/docs/presets.md +0 -361
- data/docs/usage.md +0 -143
- data/lib/jekyll_picture_tag/generated_image.rb +0 -161
- data/lib/jekyll_picture_tag/source_image.rb +0 -87
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46fd8634e4d9eff8493b340560d84e8a398eb77db81a511529f0b670f111de7c
|
4
|
+
data.tar.gz: 103f00baec1839e018094b5c3d3522ecff13849e3bda46353ddde9e70e2040fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14afd21d6a1cd36bac48b20e79047e1df845b458e763d0eb590125fa45dd2eef431cc27836f22073878d807dc5118787f40fe8b2ffc15579bd6edf4c70f0411b
|
7
|
+
data.tar.gz: bd9131318cd312b340ff337db88127c9b8b14f78c2bfc64ec04dd6f9d27db87a08d36a59bf5aa550f51ede5c2a6b9cdda8554c60f2cecc64db5e914a1f28a84f
|
data/.rubocop.yml
CHANGED
@@ -1,2 +1,81 @@
|
|
1
|
+
# Disabled
|
1
2
|
Style/FrozenStringLiteralComment:
|
2
3
|
Enabled: false
|
4
|
+
|
5
|
+
Style/StringConcatenation:
|
6
|
+
Enabled: false
|
7
|
+
|
8
|
+
# New cops, enabled. We aren't using the 'NewCops' setting because then rubocop
|
9
|
+
# updates can break our CI.
|
10
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
11
|
+
Enabled: true
|
12
|
+
Layout/SpaceAroundMethodCallOperator:
|
13
|
+
Enabled: true
|
14
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
15
|
+
Enabled: true
|
16
|
+
Lint/DeprecatedOpenSSLConstant:
|
17
|
+
Enabled: true
|
18
|
+
Lint/DuplicateElsifCondition:
|
19
|
+
Enabled: true
|
20
|
+
Lint/DuplicateRescueException:
|
21
|
+
Enabled: true
|
22
|
+
Lint/EmptyConditionalBody:
|
23
|
+
Enabled: true
|
24
|
+
Lint/FloatComparison:
|
25
|
+
Enabled: true
|
26
|
+
Lint/MissingSuper:
|
27
|
+
Enabled: true
|
28
|
+
Lint/MixedRegexpCaptureTypes:
|
29
|
+
Enabled: true
|
30
|
+
Lint/OutOfRangeRegexpRef:
|
31
|
+
Enabled: true
|
32
|
+
Lint/RaiseException:
|
33
|
+
Enabled: true
|
34
|
+
Lint/SelfAssignment:
|
35
|
+
Enabled: true
|
36
|
+
Lint/StructNewOverride:
|
37
|
+
Enabled: true
|
38
|
+
Lint/TopLevelReturnWithArgument:
|
39
|
+
Enabled: true
|
40
|
+
Lint/UnreachableLoop:
|
41
|
+
Enabled: true
|
42
|
+
Style/AccessorGrouping:
|
43
|
+
Enabled: true
|
44
|
+
Style/ArrayCoercion:
|
45
|
+
Enabled: true
|
46
|
+
Style/BisectedAttrAccessor:
|
47
|
+
Enabled: true
|
48
|
+
Style/CaseLikeIf:
|
49
|
+
Enabled: true
|
50
|
+
Style/ExplicitBlockArgument:
|
51
|
+
Enabled: true
|
52
|
+
Style/ExponentialNotation:
|
53
|
+
Enabled: true
|
54
|
+
Style/GlobalStdStream:
|
55
|
+
Enabled: true
|
56
|
+
Style/HashAsLastArrayItem:
|
57
|
+
Enabled: true
|
58
|
+
Style/HashEachMethods:
|
59
|
+
Enabled: true
|
60
|
+
Style/HashLikeCase:
|
61
|
+
Enabled: true
|
62
|
+
Style/HashTransformKeys:
|
63
|
+
Enabled: true
|
64
|
+
Style/HashTransformValues:
|
65
|
+
Enabled: true
|
66
|
+
Style/OptionalBooleanParameter:
|
67
|
+
Enabled: true
|
68
|
+
Style/RedundantAssignment:
|
69
|
+
Enabled: true
|
70
|
+
Style/RedundantFetchBlock:
|
71
|
+
Enabled: true
|
72
|
+
Style/RedundantFileExtensionInRequire:
|
73
|
+
Enabled: true
|
74
|
+
Style/RedundantRegexpCharacterClass:
|
75
|
+
Enabled: true
|
76
|
+
Style/RedundantRegexpEscape:
|
77
|
+
Enabled: true
|
78
|
+
Style/SingleArgumentDig:
|
79
|
+
Enabled: true
|
80
|
+
Style/SlicingWithRange:
|
81
|
+
Enabled: true
|
data/docs/Gemfile
CHANGED
data/docs/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (6.0.3)
|
4
|
+
activesupport (6.0.3.2)
|
5
5
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
6
|
i18n (>= 0.7, < 2)
|
7
7
|
minitest (~> 5.1)
|
@@ -28,12 +28,12 @@ GEM
|
|
28
28
|
execjs (2.7.0)
|
29
29
|
faraday (1.0.1)
|
30
30
|
multipart-post (>= 1.2, < 3)
|
31
|
-
ffi (1.
|
31
|
+
ffi (1.13.1)
|
32
32
|
forwardable-extended (2.6.0)
|
33
33
|
gemoji (3.0.1)
|
34
|
-
github-pages (
|
34
|
+
github-pages (206)
|
35
35
|
github-pages-health-check (= 1.16.1)
|
36
|
-
jekyll (= 3.8.
|
36
|
+
jekyll (= 3.8.7)
|
37
37
|
jekyll-avatar (= 0.7.0)
|
38
38
|
jekyll-coffeescript (= 1.1.1)
|
39
39
|
jekyll-commonmark-ghpages (= 0.1.6)
|
@@ -72,7 +72,7 @@ GEM
|
|
72
72
|
mercenary (~> 0.3)
|
73
73
|
minima (= 2.5.1)
|
74
74
|
nokogiri (>= 1.10.4, < 2.0)
|
75
|
-
rouge (= 3.
|
75
|
+
rouge (= 3.19.0)
|
76
76
|
terminal-table (~> 1.4)
|
77
77
|
github-pages-health-check (1.16.1)
|
78
78
|
addressable (~> 2.3)
|
@@ -80,13 +80,13 @@ GEM
|
|
80
80
|
octokit (~> 4.0)
|
81
81
|
public_suffix (~> 3.0)
|
82
82
|
typhoeus (~> 1.3)
|
83
|
-
html-pipeline (2.
|
83
|
+
html-pipeline (2.13.0)
|
84
84
|
activesupport (>= 2)
|
85
85
|
nokogiri (>= 1.4)
|
86
86
|
http_parser.rb (0.6.0)
|
87
87
|
i18n (0.9.5)
|
88
88
|
concurrent-ruby (~> 1.0)
|
89
|
-
jekyll (3.8.
|
89
|
+
jekyll (3.8.7)
|
90
90
|
addressable (~> 2.4)
|
91
91
|
colorator (~> 1.0)
|
92
92
|
em-websocket (~> 0.5)
|
@@ -136,6 +136,8 @@ GEM
|
|
136
136
|
addressable (~> 2.0)
|
137
137
|
jekyll (>= 3.5, < 5.0)
|
138
138
|
rubyzip (>= 1.3.0)
|
139
|
+
jekyll-rtd-theme (0.1.6)
|
140
|
+
github-pages (~> 206)
|
139
141
|
jekyll-sass-converter (1.5.2)
|
140
142
|
sass (~> 3.4)
|
141
143
|
jekyll-seo-tag (2.6.1)
|
@@ -202,9 +204,9 @@ GEM
|
|
202
204
|
jekyll (>= 3.5, < 5.0)
|
203
205
|
jekyll-feed (~> 0.9)
|
204
206
|
jekyll-seo-tag (~> 2.1)
|
205
|
-
minitest (5.14.
|
207
|
+
minitest (5.14.1)
|
206
208
|
multipart-post (2.1.1)
|
207
|
-
nokogiri (1.10.
|
209
|
+
nokogiri (1.10.10)
|
208
210
|
mini_portile2 (~> 2.4.0)
|
209
211
|
octokit (4.18.0)
|
210
212
|
faraday (>= 0.9)
|
@@ -215,7 +217,7 @@ GEM
|
|
215
217
|
rb-fsevent (0.10.4)
|
216
218
|
rb-inotify (0.10.1)
|
217
219
|
ffi (~> 1.0)
|
218
|
-
rouge (3.
|
220
|
+
rouge (3.19.0)
|
219
221
|
ruby-enum (0.8.0)
|
220
222
|
i18n
|
221
223
|
rubyzip (2.3.0)
|
@@ -236,14 +238,14 @@ GEM
|
|
236
238
|
tzinfo (1.2.7)
|
237
239
|
thread_safe (~> 0.1)
|
238
240
|
unicode-display_width (1.7.0)
|
239
|
-
zeitwerk (2.
|
241
|
+
zeitwerk (2.4.0)
|
240
242
|
|
241
243
|
PLATFORMS
|
242
244
|
ruby
|
243
245
|
|
244
246
|
DEPENDENCIES
|
245
247
|
github-pages
|
246
|
-
jekyll-theme
|
248
|
+
jekyll-rtd-theme
|
247
249
|
|
248
250
|
BUNDLED WITH
|
249
251
|
2.1.4
|
data/docs/_config.yml
CHANGED
@@ -1,13 +1,9 @@
|
|
1
|
-
|
1
|
+
remote_theme: rundocs/jekyll-rtd-theme
|
2
|
+
|
2
3
|
title: Jekyll Picture Tag
|
4
|
+
description: Images for Jekyll, done correctly.
|
5
|
+
lang: en-US
|
3
6
|
|
4
|
-
url: ''
|
5
7
|
baseurl: '/jekyll_picture_tag'
|
6
|
-
|
7
|
-
|
8
|
-
-
|
9
|
-
scope:
|
10
|
-
path: ''
|
11
|
-
values:
|
12
|
-
layout: directory
|
13
|
-
|
8
|
+
readme_index:
|
9
|
+
with_frontmatter: true
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
sort: 4
|
3
|
+
---
|
4
|
+
|
5
|
+
# Code Guidelines
|
6
|
+
|
7
|
+
* Generally, go for straightforward and readable rather than terse and clever. I'm not actually a
|
8
|
+
very good programmer; I need simple code that's easy to understand.
|
9
|
+
|
10
|
+
* Refactoring is welcome, especially in the name of the previous point.
|
11
|
+
|
12
|
+
* I'm very reluctant to introduce breaking changes to configuration settings. This rule isn't
|
13
|
+
absolute, but I'm not going to do it without a good reason.
|
14
|
+
|
15
|
+
* Don't disable cops without strong justification.
|
16
|
+
|
17
|
+
* I generally try to write tests before writing code, especially when fixing bugs. This
|
18
|
+
gives us some confidence that what we think we're testing and what we're actually testing aren't
|
19
|
+
too different.
|
20
|
+
|
21
|
+
## Hard rules
|
22
|
+
|
23
|
+
These aren't the rules for submitting a pull request, these are the rules for merging into master.
|
24
|
+
I'm thrilled to receive any help at all, and I'm more than happy to help with meeting these
|
25
|
+
criteria:
|
26
|
+
|
27
|
+
* Liquid tag syntax can only be extended; no breaking changes. I'm not willing to force
|
28
|
+
users to dig through their entire site and change every picture tag in order to update to the
|
29
|
+
latest version.
|
30
|
+
|
31
|
+
* Maintain "no configuration required" - a new user must be able to add JPT to their gemfile, bundle
|
32
|
+
install, and start writing picture tags in their site without touching a yml file.
|
33
|
+
|
34
|
+
* 100% test coverage (Meaning that when running the unit and integration tests together, every line
|
35
|
+
of code in the `lib` folder must run at least once.)
|
36
|
+
|
37
|
+
* No failing tests
|
38
|
+
|
39
|
+
* No rubocop warnings
|
40
|
+
|
41
|
+
### Thanks!
|
42
|
+
|
43
|
+
As I said, don't let any of the rules & guidelines scare you away. They're the rules for merging
|
44
|
+
into master, not submitting a pull request. I'm thrilled to receive any help at all.
|
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
sort: 2
|
3
|
+
---
|
4
|
+
|
5
|
+
# Docs
|
6
|
+
|
7
|
+
They run on github pages, which is based on jekyll. You can preview as you edit:
|
8
|
+
|
9
|
+
0. Follow the [setup instructions](setup)
|
10
|
+
1. `$ cd docs`
|
11
|
+
2. `$ bundle install`
|
12
|
+
3. `$ bundle exec jekyll serve`
|
13
|
+
4. In a web browser, navigate to `localhost:4000/jekyll_picture_tag/`
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
# Contributing
|
4
|
+
|
5
|
+
Bug reports, feature requests, and feedback are very welcome, either through
|
6
|
+
github issues or via email: robert@buchberger.cc
|
7
|
+
|
8
|
+
Pull requests are encouraged! I'm happy to answer questions and provide
|
9
|
+
assistance along the way. Don't let any of the recommendations/requests in this
|
10
|
+
guide stop you from submitting one.
|
11
|
+
|
12
|
+
I think one of the biggest opportunities for improvement in this plugin is its
|
13
|
+
documentation. I'd really love help here, and all you need to know is markdown.
|
14
|
+
|
15
|
+
{% include list.liquid %}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
sort: 3
|
3
|
+
---
|
4
|
+
|
5
|
+
## How to run the tests
|
6
|
+
|
7
|
+
You probably only need to use docker if it's inconvenient to install ImageMagick 7.
|
8
|
+
|
9
|
+
### Bare Metal
|
10
|
+
|
11
|
+
```note
|
12
|
+
Depending on your environment, you may need to prefix all rake commands with
|
13
|
+
`bundle exec`.
|
14
|
+
```
|
15
|
+
|
16
|
+
`rake test` runs the test suite (both unit tests and integration tests). Ignore the mini_magick
|
17
|
+
`method redefined` warnings (unless you know how to fix them?)
|
18
|
+
|
19
|
+
`rake unit` runs just the unit tests, while `rake integration` runs the integration tests. The unit
|
20
|
+
test coverage isn't stellar, but both unit and integration tests together hit 100%.
|
21
|
+
|
22
|
+
Speaking of coverage, simplecov is set up -- you'll get a measurement of coverage in the test output
|
23
|
+
and a nice report in the `coverage` directory. I'd like to move to mutation based coverage testing,
|
24
|
+
but that's a project for another day.
|
25
|
+
|
26
|
+
The tests do output a few images to the `/tmp/` directory, which I'm pretty sure means it won't work
|
27
|
+
on Windows. This is fixable if there is a need, so if that gets in your way just ask.
|
28
|
+
|
29
|
+
`rake rubocop` checks code formatting, `rake rubocop:auto_correct` will try to fix any rubocop
|
30
|
+
issues, if possible.
|
31
|
+
|
32
|
+
`rake` will run all tests and rubocop.
|
33
|
+
|
34
|
+
### Docker
|
35
|
+
|
36
|
+
The following commands will build and run the tests inside a docker image.
|
37
|
+
|
38
|
+
```bash
|
39
|
+
$ docker build . -t jpt
|
40
|
+
$ docker run -t jpt
|
41
|
+
```
|
data/docs/devs/index.md
ADDED
@@ -1,7 +1,27 @@
|
|
1
1
|
---
|
2
2
|
---
|
3
3
|
# Release History
|
4
|
-
|
4
|
+
* 1.13.0 November 23, 2020
|
5
|
+
* Add image quality interpolation; allows for variable image quality based on image size.
|
6
|
+
* Bugfix: Perform format, resize, and quality changes simultaneously rather than individually.
|
7
|
+
* Allows for actual lossless webp: simply set quality to 100.
|
8
|
+
* Improves fresh (no cached images) build times by ~15%
|
9
|
+
* Fix problems with poor image quality.
|
10
|
+
* 1.12.0 July 30, 2020
|
11
|
+
* Documentation overhaul. Now with 87% less scrolling!
|
12
|
+
* Rename `markup_presets` and `media_presets` to `presets` and
|
13
|
+
`media_queries`. The old names were bad and caused confusion. The old names
|
14
|
+
will continue to work until the next major version is released.
|
15
|
+
* 1.11.0 July 27, 2020
|
16
|
+
* **Width and height attribute support!** Begone, page reflow.
|
17
|
+
* Cache image information between builds
|
18
|
+
* Change image naming format. This update will trigger all images to be
|
19
|
+
regenerated, so you may want to delete your generated images folder
|
20
|
+
beforehand.
|
21
|
+
* 1.10.2 July 6, 2020
|
22
|
+
* Bugfix for fallback image files not actually getting generated
|
23
|
+
* 1.10.1 July 2, 2020
|
24
|
+
* Bugfix for erroneously regenerated images
|
5
25
|
* 1.10.0 May 11, 2020
|
6
26
|
* **Image Cropping support!** access the power of ImageMagick's `crop` function.
|
7
27
|
* Don't issue a warning when `default` preset is not found.
|
@@ -9,23 +29,25 @@
|
|
9
29
|
* 1.9.0 Feb 2, 2020
|
10
30
|
* Add `fast_build` global setting
|
11
31
|
* Add `disabled` global setting
|
12
|
-
* Reduce unnecessary disk IO; sites with many source images should see build
|
13
|
-
|
14
|
-
* Add support for empty attributes; specifically so best-practice for
|
15
|
-
is possible.
|
32
|
+
* Reduce unnecessary disk IO; sites with many source images should see build
|
33
|
+
times improve when no new images need to be generated.
|
34
|
+
* Add support for empty attributes; specifically so best-practice for
|
35
|
+
decorative images (`alt=""`) is possible.
|
16
36
|
* 1.8.0 Nov 25, 2019
|
17
37
|
* Add `data_sizes` setting for the `data_` family of output formats.
|
18
38
|
* 1.7.1 Nov 14, 2019
|
19
39
|
* Fix some HTML attribute related bugs
|
20
40
|
* Add a few items to the FAQ
|
21
41
|
* 1.7.0 Aug 12, 2019
|
22
|
-
* Add support for setting generated image quality, either generally or
|
23
|
-
formats.
|
42
|
+
* Add support for setting generated image quality, either generally or
|
43
|
+
specific to given formats.
|
24
44
|
* Add support for spaces and other url-encoded characters in filenames
|
25
|
-
* Documentation restructure - Moved it out of the wiki, into the `docs`
|
45
|
+
* Documentation restructure - Moved it out of the wiki, into the `docs`
|
46
|
+
folder.
|
26
47
|
* Bugfix: Fallback image width will now be checked against source image width.
|
27
48
|
* Bugfix: Minor fix to nomarkdown wrapper output
|
28
|
-
* link_source will now target the base source image, rather than finding the
|
49
|
+
* link_source will now target the base source image, rather than finding the
|
50
|
+
biggest one.
|
29
51
|
* Remove fastimage dependency, add addressable dependency.
|
30
52
|
* Moderately significant refactoring and code cleanup
|
31
53
|
* Decent set of tests added
|
@@ -36,14 +58,15 @@
|
|
36
58
|
* better `{::nomarkdown}` necessity detection
|
37
59
|
* allow user to override `{::nomarkdown}` autodetection
|
38
60
|
* 1.4.0 Jun 26, 2019:
|
39
|
-
* Rename gem from `jekyll-picture-tag` to `jekyll_picture_tag`, allowing us to
|
61
|
+
* Rename gem from `jekyll-picture-tag` to `jekyll_picture_tag`, allowing us to
|
62
|
+
use rubygems again.
|
40
63
|
* Add new output format: `naked_srcset`.
|
41
64
|
* 1.3.1 Jun 21, 2019: Bugfix
|
42
65
|
* 1.3.0 Jun 7, 2019:
|
43
66
|
* Initial compatibility with Jekyll 4.0
|
44
67
|
* bugfixes
|
45
|
-
* change to generated image naming-- The first build after this update will be
|
46
|
-
might want to clear out your generated images.
|
68
|
+
* change to generated image naming-- The first build after this update will be
|
69
|
+
longer, and you might want to clear out your generated images.
|
47
70
|
* 1.2.0 Feb 9, 2019:
|
48
71
|
* Add nomarkdown fix
|
49
72
|
* noscript option
|
@@ -54,7 +77,8 @@
|
|
54
77
|
* auto-orient images before stripping metadata
|
55
78
|
* 1.0.2 Jan 18, 2019: Fix ruby version specification
|
56
79
|
* 1.0.1 Jan 13, 2019: Added ruby version checking
|
57
|
-
* **1.0.0** Nov 27, 2018: Rewrite from the ground up. See the
|
80
|
+
* **1.0.0** Nov 27, 2018: Rewrite from the ground up. See the
|
81
|
+
* [migration guide]({{ site.baseurl }}/users/notes/migration).
|
58
82
|
* 0.2.2 Aug 2, 2013: Bugfixes
|
59
83
|
* 0.2.1 Jul 17, 2013: Refactor again, add Liquid parsing.
|
60
84
|
* 0.2.0 Jul 14, 2013: Rewrite code base, bring in line with Jekyll Image Tag.
|