jekyll_picture_tag 1.10.1 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/.envrc +2 -0
  3. data/.github/workflows/code-checks.yml +43 -0
  4. data/.gitignore +3 -0
  5. data/.rubocop.yml +30 -0
  6. data/.ruby-version +1 -1
  7. data/docs/.envrc +2 -0
  8. data/docs/Gemfile +4 -2
  9. data/docs/Gemfile.lock +14 -12
  10. data/docs/_config.yml +6 -10
  11. data/docs/devs/contributing/code.md +46 -0
  12. data/docs/devs/contributing/docs.md +31 -0
  13. data/docs/devs/contributing/index.md +15 -0
  14. data/docs/devs/contributing/setup.md +33 -0
  15. data/docs/devs/contributing/testing.md +34 -0
  16. data/docs/devs/index.md +7 -0
  17. data/docs/{releases.md → devs/releases.md} +44 -15
  18. data/docs/index.md +42 -26
  19. data/docs/users/configuration/directories.md +34 -0
  20. data/docs/users/configuration/disable.md +24 -0
  21. data/docs/users/configuration/fast_build.md +28 -0
  22. data/docs/users/configuration/ignore_missing.md +23 -0
  23. data/docs/users/configuration/index.md +29 -0
  24. data/docs/users/configuration/kramdown_fix.md +20 -0
  25. data/docs/users/configuration/suppress_warnings.md +16 -0
  26. data/docs/users/configuration/urls.md +69 -0
  27. data/docs/users/index.md +7 -0
  28. data/docs/users/installation.md +52 -0
  29. data/docs/users/liquid_tag/argument_reference/alternate_images.md +18 -0
  30. data/docs/users/liquid_tag/argument_reference/attributes.md +42 -0
  31. data/docs/users/liquid_tag/argument_reference/base_image.md +12 -0
  32. data/docs/users/liquid_tag/argument_reference/crop.md +48 -0
  33. data/docs/users/liquid_tag/argument_reference/link.md +16 -0
  34. data/docs/users/liquid_tag/argument_reference/preset.md +17 -0
  35. data/docs/users/liquid_tag/argument_reference/readme.md +9 -0
  36. data/docs/users/liquid_tag/examples.md +93 -0
  37. data/docs/users/liquid_tag/index.md +31 -0
  38. data/docs/users/notes/git_lfs.md +7 -0
  39. data/docs/users/notes/github_pages.md +5 -0
  40. data/docs/users/notes/html_attributes.md +5 -0
  41. data/docs/users/notes/index.md +6 -0
  42. data/docs/users/notes/input_checking.md +6 -0
  43. data/docs/users/notes/kramdown_bug.md +41 -0
  44. data/docs/users/notes/managing_images.md +21 -0
  45. data/docs/{migration.md → users/notes/migration.md} +0 -0
  46. data/docs/users/presets/cropping.md +61 -0
  47. data/docs/users/presets/default.md +24 -0
  48. data/docs/users/presets/examples.md +79 -0
  49. data/docs/users/presets/fallback_image.md +28 -0
  50. data/docs/users/presets/html_attributes.md +26 -0
  51. data/docs/users/presets/image_formats.md +21 -0
  52. data/docs/users/presets/image_quality.md +105 -0
  53. data/docs/users/presets/index.md +101 -0
  54. data/docs/users/presets/link_source.md +16 -0
  55. data/docs/users/presets/markup_formats/fragments.md +48 -0
  56. data/docs/users/presets/markup_formats/javascript_friendly.md +57 -0
  57. data/docs/users/presets/markup_formats/readme.md +43 -0
  58. data/docs/users/presets/markup_formats/standard_html.md +25 -0
  59. data/docs/users/presets/media_queries.md +36 -0
  60. data/docs/users/presets/nomarkdown_override.md +17 -0
  61. data/docs/users/presets/pixel_ratio_srcsets.md +32 -0
  62. data/docs/users/presets/quality_width_graph.png +0 -0
  63. data/docs/users/presets/strip_metadata.md +13 -0
  64. data/docs/users/presets/width_height_attributes.md +34 -0
  65. data/docs/users/presets/width_srcsets.md +85 -0
  66. data/install_imagemagick.sh +23 -0
  67. data/jekyll_picture_tag.gemspec +10 -6
  68. data/lib/jekyll_picture_tag.rb +5 -5
  69. data/lib/jekyll_picture_tag/cache.rb +3 -0
  70. data/lib/jekyll_picture_tag/cache/base.rb +61 -0
  71. data/lib/jekyll_picture_tag/cache/generated.rb +20 -0
  72. data/lib/jekyll_picture_tag/cache/source.rb +19 -0
  73. data/lib/jekyll_picture_tag/defaults/global.yml +2 -0
  74. data/lib/jekyll_picture_tag/defaults/presets.yml +2 -0
  75. data/lib/jekyll_picture_tag/images.rb +3 -0
  76. data/lib/jekyll_picture_tag/images/generated_image.rb +130 -0
  77. data/lib/jekyll_picture_tag/{img_uri.rb → images/img_uri.rb} +4 -1
  78. data/lib/jekyll_picture_tag/images/source_image.rb +103 -0
  79. data/lib/jekyll_picture_tag/instructions/arg_splitter.rb +3 -2
  80. data/lib/jekyll_picture_tag/instructions/preset.rb +24 -4
  81. data/lib/jekyll_picture_tag/instructions/set.rb +5 -1
  82. data/lib/jekyll_picture_tag/output_formats/basic.rb +16 -14
  83. data/lib/jekyll_picture_tag/output_formats/img.rb +11 -0
  84. data/lib/jekyll_picture_tag/output_formats/picture.rb +22 -0
  85. data/lib/jekyll_picture_tag/router.rb +3 -2
  86. data/lib/jekyll_picture_tag/srcsets/basic.rb +10 -1
  87. data/lib/jekyll_picture_tag/utils.rb +14 -0
  88. data/lib/jekyll_picture_tag/version.rb +1 -1
  89. data/readme.md +13 -10
  90. metadata +139 -46
  91. data/.travis.yml +0 -8
  92. data/docs/_layouts/directory.html +0 -32
  93. data/docs/assets/style.css +0 -31
  94. data/docs/contributing.md +0 -109
  95. data/docs/example_presets.md +0 -116
  96. data/docs/global_configuration.md +0 -173
  97. data/docs/installation.md +0 -45
  98. data/docs/notes.md +0 -91
  99. data/docs/output.md +0 -63
  100. data/docs/presets.md +0 -361
  101. data/docs/usage.md +0 -143
  102. data/lib/jekyll_picture_tag/generated_image.rb +0 -161
  103. data/lib/jekyll_picture_tag/source_image.rb +0 -87
@@ -6,6 +6,10 @@ module PictureTag
6
6
  class Basic
7
7
  include ObjectiveElements
8
8
 
9
+ def to_s
10
+ wrap(base_markup).to_s
11
+ end
12
+
9
13
  # Used for both the fallback image, and for the complete markup.
10
14
  def build_base_img
11
15
  img = SingleTag.new 'img'
@@ -23,10 +27,6 @@ module PictureTag
23
27
  img
24
28
  end
25
29
 
26
- def to_s
27
- wrap(base_markup).to_s
28
- end
29
-
30
30
  private
31
31
 
32
32
  # Handles various wrappers around basic markup
@@ -73,24 +73,26 @@ module PictureTag
73
73
  def build_fallback_image
74
74
  return fallback_candidate if fallback_candidate.exists?
75
75
 
76
- build_new_fallback_image
77
- end
78
-
79
- def fallback_candidate
80
- @fallback_candidate ||= GeneratedImage.new(
76
+ image = GeneratedImage.new(
81
77
  source_file: PictureTag.source_images.first,
82
78
  format: PictureTag.fallback_format,
83
- width: PictureTag.fallback_width,
79
+ width: checked_fallback_width,
84
80
  crop: PictureTag.crop,
85
81
  gravity: PictureTag.gravity
86
82
  )
83
+
84
+ image.generate
85
+
86
+ image
87
87
  end
88
88
 
89
- def build_new_fallback_image
90
- GeneratedImage.new(
89
+ # It's only a candidate, because we don't know if the fallback width
90
+ # setting is larger than the source file.
91
+ def fallback_candidate
92
+ @fallback_candidate ||= GeneratedImage.new(
91
93
  source_file: PictureTag.source_images.first,
92
94
  format: PictureTag.fallback_format,
93
- width: checked_fallback_width,
95
+ width: PictureTag.fallback_width,
94
96
  crop: PictureTag.crop,
95
97
  gravity: PictureTag.gravity
96
98
  )
@@ -119,7 +121,7 @@ module PictureTag
119
121
 
120
122
  def source_width
121
123
  if PictureTag.crop
122
- fallback_candidate.cropped_source_width
124
+ fallback_candidate.source_width
123
125
  else
124
126
  source.width
125
127
  end
@@ -3,6 +3,8 @@ module PictureTag
3
3
  # Represents a bare <img> tag with a srcset attribute.
4
4
  # Used when <picture> is unnecessary.
5
5
  class Img < Basic
6
+ private
7
+
6
8
  def srcset
7
9
  @srcset ||= build_srcset(
8
10
  PictureTag.source_images.first, PictureTag.formats.first
@@ -17,8 +19,17 @@ module PictureTag
17
19
 
18
20
  img.attributes << PictureTag.html_attributes['parent']
19
21
 
22
+ add_dimensions(img, srcset)
23
+
20
24
  img
21
25
  end
26
+
27
+ def add_dimensions(img, srcset)
28
+ return unless PictureTag.preset['dimension_attributes']
29
+
30
+ img.width = srcset.width_attribute
31
+ img.height = srcset.height_attribute
32
+ end
22
33
  end
23
34
  end
24
35
  end
@@ -3,7 +3,13 @@ module PictureTag
3
3
  # Represents a <picture> tag, enclosing at least 2 <source> tags and an
4
4
  # <img> tag.
5
5
  class Picture < Basic
6
+ private
7
+
6
8
  def srcsets
9
+ @srcsets ||= build_srcsets
10
+ end
11
+
12
+ def build_srcsets
7
13
  formats = PictureTag.formats
8
14
  # Source images are provided in reverse order and must be flipped:
9
15
  images = PictureTag.source_images.reverse
@@ -37,6 +43,22 @@ module PictureTag
37
43
  source
38
44
  end
39
45
 
46
+ def build_base_img
47
+ img = super
48
+
49
+ # Only add source dimensions if there is a single source image.
50
+ # Currently you can't use both art direction and intrinsic image sizes.
51
+ if PictureTag.preset['dimension_attributes'] &&
52
+ PictureTag.source_images.length == 1
53
+ img.attributes << {
54
+ width: srcsets.first.width_attribute,
55
+ height: srcsets.first.height_attribute
56
+ }
57
+ end
58
+
59
+ img
60
+ end
61
+
40
62
  def base_markup
41
63
  picture = DoubleTag.new(
42
64
  'picture',
@@ -9,6 +9,7 @@ module PictureTag
9
9
  # gets big, I'll refactor.
10
10
  module Router
11
11
  attr_accessor :instructions, :context
12
+
12
13
  # Context forwarding
13
14
 
14
15
  # Global site data
@@ -107,8 +108,8 @@ module PictureTag
107
108
  preset.nomarkdown?
108
109
  end
109
110
 
110
- def quality(format)
111
- preset.quality(format)
111
+ def quality(format, width)
112
+ preset.quality(format, width)
112
113
  end
113
114
  end
114
115
  end
@@ -23,6 +23,7 @@ module PictureTag
23
23
  @format ||= files.first.format
24
24
  end
25
25
 
26
+ # GeneratedImage class
26
27
  def files
27
28
  @files ||= build_files
28
29
  end
@@ -51,6 +52,14 @@ module PictureTag
51
52
  "(#{PictureTag.media_presets[@media]})"
52
53
  end
53
54
 
55
+ def width_attribute
56
+ files.first.source_width.to_s
57
+ end
58
+
59
+ def height_attribute
60
+ files.first.source_height.to_s
61
+ end
62
+
54
63
  private
55
64
 
56
65
  def build_files
@@ -78,7 +87,7 @@ module PictureTag
78
87
 
79
88
  def source_width
80
89
  @source_width ||= if PictureTag.crop(@media)
81
- target_files.first.cropped_source_width
90
+ target_files.first.source_width
82
91
  else
83
92
  @source_image.width
84
93
  end
@@ -63,6 +63,20 @@ module PictureTag
63
63
  def titleize(input)
64
64
  input.split('_').map(&:capitalize).join
65
65
  end
66
+
67
+ # Linear interpolator. Pass it 2 values in the x array, 2 values
68
+ # in the y array, and an x value, returns a y value.
69
+ def interpolate(xvals, yvals, xval)
70
+ xvals.map!(&:to_f)
71
+ yvals.map!(&:to_f)
72
+
73
+ # Slope
74
+ m = (yvals.last - yvals.first) / (xvals.last - xvals.first)
75
+ # Value of y when x=0
76
+ b = yvals.first - (m * xvals.first)
77
+ # y = mx + b
78
+ (m * xval) + b
79
+ end
66
80
  end
67
81
  end
68
82
  end
@@ -1,3 +1,3 @@
1
1
  module PictureTag
2
- VERSION = '1.10.1'.freeze
2
+ VERSION = '1.14.0'.freeze
3
3
  end
data/readme.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Jekyll Picture Tag
2
2
 
3
+ ![Tests & Formatting](https://github.com/rbuchberger/jekyll_picture_tag/workflows/Tests%20&%20Formatting/badge.svg)
4
+
3
5
  **Responsive Images done correctly.**
4
6
 
5
7
  It's simple to throw a photo on a page and call it a day, but doing justice to users on all
@@ -24,7 +26,7 @@ different image entirely.
24
26
 
25
27
  **Developer Sanity:** If you want to serve multiple images in multiple formats and resolutions, you
26
28
  have a litany of markup to write and a big pile of images to generate and organize. Jekyll Picture
27
- Tag is your responsive images minion - give it simple instructions and it'll handle the rest.
29
+ Tag is your responsive images minion - give it simple instructions and it'll handle the rest.
28
30
 
29
31
  ## Features
30
32
 
@@ -39,21 +41,22 @@ https://rbuchberger.github.io/jekyll_picture_tag/
39
41
 
40
42
  ## Changelog:
41
43
 
42
- https://rbuchberger.github.io/jekyll_picture_tag/releases
44
+ https://rbuchberger.github.io/jekyll_picture_tag/devs/releases
43
45
 
44
- Latest versions:
46
+ Recent releases:
45
47
 
46
- * 1.10.0 May 11, 2020
47
- * **Image Cropping support!** access the power of ImageMagick's `crop` function.
48
- * Don't issue a warning when `default` preset is not found.
49
- * Documentation improvements
50
- * 1.10.1 July 2, 2020
51
- * Bugfix for erroneously regenerated images
48
+ * 1.14.0 January 10, 2021
49
+ * Gracefully handle empty tag arguments.
50
+ * Re-add metadata stripping. I removed it inadvertently when refactoring; now
51
+ there's a test and a setting to turn it off.
52
+ * Respect Jekyll's `--disable-disk-cache` argument.
53
+ * Add baseurl configuration, allowing increased plugin support (such as I18n via `jekyll-multiple-languages-plugin`)
54
+ * Tooling & test suite maintenance and improvements.
52
55
 
53
56
  ## Help Wanted
54
57
 
55
58
  Writing code is only part of the job; often the harder part is knowing what needs to be changed. Any
56
59
  and all feedback is greatly appreciated, especially in regards to documentation. What are your pain
57
60
  points? See the [contributing
58
- guidelines](https://rbuchberger.github.io/jekyll_picture_tag/contributing), or the
61
+ guidelines](https://rbuchberger.github.io/jekyll_picture_tag/devs/contributing), or the
59
62
  [issues](https://github.com/rbuchberger/jekyll_picture_tag/issues) page for more.
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: 1.10.1
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Wierzbowski
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-07-02 00:00:00.000000000 Z
13
+ date: 2021-01-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -40,6 +40,20 @@ dependencies:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '5.11'
43
+ - !ruby/object:Gem::Dependency
44
+ name: minitest-rg
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
43
57
  - !ruby/object:Gem::Dependency
44
58
  name: mocha
45
59
  requirement: !ruby/object:Gem::Requirement
@@ -100,114 +114,142 @@ dependencies:
100
114
  name: rubocop
101
115
  requirement: !ruby/object:Gem::Requirement
102
116
  requirements:
103
- - - ">="
117
+ - - "~>"
104
118
  - !ruby/object:Gem::Version
105
- version: '0'
119
+ version: 1.7.0
106
120
  type: :development
107
121
  prerelease: false
108
122
  version_requirements: !ruby/object:Gem::Requirement
109
123
  requirements:
110
- - - ">="
124
+ - - "~>"
111
125
  - !ruby/object:Gem::Version
112
- version: '0'
126
+ version: 1.7.0
113
127
  - !ruby/object:Gem::Dependency
114
- name: simplecov
128
+ name: rubocop-minitest
115
129
  requirement: !ruby/object:Gem::Requirement
116
130
  requirements:
117
- - - ">="
131
+ - - "~>"
118
132
  - !ruby/object:Gem::Version
119
- version: '0'
133
+ version: 0.10.0
120
134
  type: :development
121
135
  prerelease: false
122
136
  version_requirements: !ruby/object:Gem::Requirement
123
137
  requirements:
124
- - - ">="
138
+ - - "~>"
125
139
  - !ruby/object:Gem::Version
126
- version: '0'
140
+ version: 0.10.0
127
141
  - !ruby/object:Gem::Dependency
128
- name: solargraph
142
+ name: rubocop-performance
129
143
  requirement: !ruby/object:Gem::Requirement
130
144
  requirements:
131
- - - ">="
145
+ - - "~>"
132
146
  - !ruby/object:Gem::Version
133
- version: '0'
147
+ version: 1.9.0
134
148
  type: :development
135
149
  prerelease: false
136
150
  version_requirements: !ruby/object:Gem::Requirement
137
151
  requirements:
138
- - - ">="
152
+ - - "~>"
139
153
  - !ruby/object:Gem::Version
140
- version: '0'
154
+ version: 1.9.0
141
155
  - !ruby/object:Gem::Dependency
142
- name: addressable
156
+ name: rubocop-rake
143
157
  requirement: !ruby/object:Gem::Requirement
144
158
  requirements:
145
159
  - - "~>"
146
160
  - !ruby/object:Gem::Version
147
- version: '2.6'
148
- type: :runtime
161
+ version: 0.5.0
162
+ type: :development
149
163
  prerelease: false
150
164
  version_requirements: !ruby/object:Gem::Requirement
151
165
  requirements:
152
166
  - - "~>"
153
167
  - !ruby/object:Gem::Version
154
- version: '2.6'
168
+ version: 0.5.0
155
169
  - !ruby/object:Gem::Dependency
156
- name: base32
170
+ name: simplecov
157
171
  requirement: !ruby/object:Gem::Requirement
158
172
  requirements:
159
173
  - - "~>"
160
174
  - !ruby/object:Gem::Version
161
- version: '0.3'
175
+ version: 0.20.0
176
+ type: :development
177
+ prerelease: false
178
+ version_requirements: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - "~>"
181
+ - !ruby/object:Gem::Version
182
+ version: 0.20.0
183
+ - !ruby/object:Gem::Dependency
184
+ name: solargraph
185
+ requirement: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - ">="
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
190
+ type: :development
191
+ prerelease: false
192
+ version_requirements: !ruby/object:Gem::Requirement
193
+ requirements:
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ 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'
162
204
  type: :runtime
163
205
  prerelease: false
164
206
  version_requirements: !ruby/object:Gem::Requirement
165
207
  requirements:
166
208
  - - "~>"
167
209
  - !ruby/object:Gem::Version
168
- version: '0.3'
210
+ version: '2.6'
169
211
  - !ruby/object:Gem::Dependency
170
212
  name: mime-types
171
213
  requirement: !ruby/object:Gem::Requirement
172
214
  requirements:
173
215
  - - "~>"
174
216
  - !ruby/object:Gem::Version
175
- version: '3'
217
+ version: '3.0'
176
218
  type: :runtime
177
219
  prerelease: false
178
220
  version_requirements: !ruby/object:Gem::Requirement
179
221
  requirements:
180
222
  - - "~>"
181
223
  - !ruby/object:Gem::Version
182
- version: '3'
224
+ version: '3.0'
183
225
  - !ruby/object:Gem::Dependency
184
226
  name: mini_magick
185
227
  requirement: !ruby/object:Gem::Requirement
186
228
  requirements:
187
229
  - - "~>"
188
230
  - !ruby/object:Gem::Version
189
- version: '4'
231
+ version: '4.0'
190
232
  type: :runtime
191
233
  prerelease: false
192
234
  version_requirements: !ruby/object:Gem::Requirement
193
235
  requirements:
194
236
  - - "~>"
195
237
  - !ruby/object:Gem::Version
196
- version: '4'
238
+ version: '4.0'
197
239
  - !ruby/object:Gem::Dependency
198
240
  name: objective_elements
199
241
  requirement: !ruby/object:Gem::Requirement
200
242
  requirements:
201
243
  - - "~>"
202
244
  - !ruby/object:Gem::Version
203
- version: 1.1.2
245
+ version: '1.1'
204
246
  type: :runtime
205
247
  prerelease: false
206
248
  version_requirements: !ruby/object:Gem::Requirement
207
249
  requirements:
208
250
  - - "~>"
209
251
  - !ruby/object:Gem::Version
210
- version: 1.1.2
252
+ version: '1.1'
211
253
  - !ruby/object:Gem::Dependency
212
254
  name: jekyll
213
255
  requirement: !ruby/object:Gem::Requirement
@@ -234,39 +276,90 @@ executables: []
234
276
  extensions: []
235
277
  extra_rdoc_files: []
236
278
  files:
279
+ - ".envrc"
280
+ - ".github/workflows/code-checks.yml"
237
281
  - ".gitignore"
238
282
  - ".rubocop.yml"
239
283
  - ".ruby-version"
240
284
  - ".solargraph.yml"
241
- - ".travis.yml"
242
285
  - Dockerfile
243
286
  - Gemfile
244
287
  - LICENSE.txt
245
288
  - Rakefile
289
+ - docs/.envrc
246
290
  - docs/Gemfile
247
291
  - docs/Gemfile.lock
248
292
  - docs/_config.yml
249
- - docs/_layouts/directory.html
250
- - docs/assets/style.css
251
- - docs/contributing.md
252
- - docs/example_presets.md
253
- - docs/global_configuration.md
293
+ - docs/devs/contributing/code.md
294
+ - docs/devs/contributing/docs.md
295
+ - docs/devs/contributing/index.md
296
+ - docs/devs/contributing/setup.md
297
+ - docs/devs/contributing/testing.md
298
+ - docs/devs/index.md
299
+ - docs/devs/releases.md
254
300
  - docs/index.md
255
- - docs/installation.md
256
- - docs/migration.md
257
- - docs/notes.md
258
- - docs/output.md
259
- - docs/presets.md
260
- - docs/releases.md
261
- - docs/usage.md
301
+ - docs/users/configuration/directories.md
302
+ - docs/users/configuration/disable.md
303
+ - docs/users/configuration/fast_build.md
304
+ - docs/users/configuration/ignore_missing.md
305
+ - docs/users/configuration/index.md
306
+ - docs/users/configuration/kramdown_fix.md
307
+ - docs/users/configuration/suppress_warnings.md
308
+ - docs/users/configuration/urls.md
309
+ - docs/users/index.md
310
+ - docs/users/installation.md
311
+ - docs/users/liquid_tag/argument_reference/alternate_images.md
312
+ - docs/users/liquid_tag/argument_reference/attributes.md
313
+ - docs/users/liquid_tag/argument_reference/base_image.md
314
+ - docs/users/liquid_tag/argument_reference/crop.md
315
+ - docs/users/liquid_tag/argument_reference/link.md
316
+ - docs/users/liquid_tag/argument_reference/preset.md
317
+ - docs/users/liquid_tag/argument_reference/readme.md
318
+ - docs/users/liquid_tag/examples.md
319
+ - docs/users/liquid_tag/index.md
320
+ - docs/users/notes/git_lfs.md
321
+ - docs/users/notes/github_pages.md
322
+ - docs/users/notes/html_attributes.md
323
+ - docs/users/notes/index.md
324
+ - docs/users/notes/input_checking.md
325
+ - docs/users/notes/kramdown_bug.md
326
+ - docs/users/notes/managing_images.md
327
+ - docs/users/notes/migration.md
328
+ - docs/users/presets/cropping.md
329
+ - docs/users/presets/default.md
330
+ - docs/users/presets/examples.md
331
+ - docs/users/presets/fallback_image.md
332
+ - docs/users/presets/html_attributes.md
333
+ - docs/users/presets/image_formats.md
334
+ - docs/users/presets/image_quality.md
335
+ - docs/users/presets/index.md
336
+ - docs/users/presets/link_source.md
337
+ - docs/users/presets/markup_formats/fragments.md
338
+ - docs/users/presets/markup_formats/javascript_friendly.md
339
+ - docs/users/presets/markup_formats/readme.md
340
+ - docs/users/presets/markup_formats/standard_html.md
341
+ - docs/users/presets/media_queries.md
342
+ - docs/users/presets/nomarkdown_override.md
343
+ - docs/users/presets/pixel_ratio_srcsets.md
344
+ - docs/users/presets/quality_width_graph.png
345
+ - docs/users/presets/strip_metadata.md
346
+ - docs/users/presets/width_height_attributes.md
347
+ - docs/users/presets/width_srcsets.md
348
+ - install_imagemagick.sh
262
349
  - jekyll-picture-tag.gemspec
263
350
  - jekyll_picture_tag.gemspec
264
351
  - lib/jekyll-picture-tag.rb
265
352
  - lib/jekyll_picture_tag.rb
353
+ - lib/jekyll_picture_tag/cache.rb
354
+ - lib/jekyll_picture_tag/cache/base.rb
355
+ - lib/jekyll_picture_tag/cache/generated.rb
356
+ - lib/jekyll_picture_tag/cache/source.rb
266
357
  - lib/jekyll_picture_tag/defaults/global.yml
267
358
  - lib/jekyll_picture_tag/defaults/presets.yml
268
- - lib/jekyll_picture_tag/generated_image.rb
269
- - lib/jekyll_picture_tag/img_uri.rb
359
+ - lib/jekyll_picture_tag/images.rb
360
+ - lib/jekyll_picture_tag/images/generated_image.rb
361
+ - lib/jekyll_picture_tag/images/img_uri.rb
362
+ - lib/jekyll_picture_tag/images/source_image.rb
270
363
  - lib/jekyll_picture_tag/instructions.rb
271
364
  - lib/jekyll_picture_tag/instructions/arg_splitter.rb
272
365
  - lib/jekyll_picture_tag/instructions/configuration.rb
@@ -287,7 +380,6 @@ files:
287
380
  - lib/jekyll_picture_tag/output_formats/picture.rb
288
381
  - lib/jekyll_picture_tag/output_formats/readme.md
289
382
  - lib/jekyll_picture_tag/router.rb
290
- - lib/jekyll_picture_tag/source_image.rb
291
383
  - lib/jekyll_picture_tag/srcsets.rb
292
384
  - lib/jekyll_picture_tag/srcsets/basic.rb
293
385
  - lib/jekyll_picture_tag/srcsets/pixel_ratio.rb
@@ -317,7 +409,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
317
409
  - !ruby/object:Gem::Version
318
410
  version: '0'
319
411
  requirements: []
320
- rubygems_version: 3.1.4
412
+ rubyforge_project:
413
+ rubygems_version: 2.7.6.2
321
414
  signing_key:
322
415
  specification_version: 4
323
416
  summary: Easy responsive images for Jekyll.