jekyll_img 0.1.4 → 0.1.5
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/CHANGELOG.md +3 -0
- data/README.md +3 -9
- data/jekyll_img.gemspec +2 -2
- data/lib/jekyll_img/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 680dc86da728e4001fcbaf29a400b217690bd0242dd64a85a38e803286e0caa6
|
|
4
|
+
data.tar.gz: 53e917f32db474dd507794e8467cd5e1fc6e3036428133e1b27f48fea0be4e4b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1792d517f0913bf3ef12a2c116e27f02d35ba56cf783d2bb230f0258c388a58861ad7e212783e4745f9a4ca261193e327d86fb965f2a576525ab54ae607c42b
|
|
7
|
+
data.tar.gz: 1c7f2ecc873f7b625bf18e42f50c191ccfeee09dcbc2a4a502b3f02ad8d81f1488730a51b9e9beb5580c13791e5bf1f784810aa4031d3c180db4d4075dd6940a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## 0.1.5 / 2023-05-30
|
|
2
|
+
* Updated dependencies
|
|
3
|
+
|
|
1
4
|
## 0.1.4 / 2023-04-02
|
|
2
5
|
* Added [`attribution` support](https://github.com/mslinn/jekyll_plugin_support#subclass-attribution).
|
|
3
6
|
* Fixed `style=' false'` that appeared when the `style` and `wrapper_style` attributes were not provided.
|
data/README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
[](https://badge.fury.io/rb/jekyll_img)
|
|
3
3
|
===========
|
|
4
4
|
|
|
5
|
-
`Jekyll_img` is a Jekyll plugin that
|
|
6
|
-
|
|
5
|
+
`Jekyll_img` is a Jekyll plugin that embeds images in HTML documents, with alignment options,
|
|
6
|
+
flexible resizing, default styling, overridable styling, an optional caption, and an optional URL.
|
|
7
7
|
|
|
8
8
|
See [demo/index.html](demo/index.html) for examples.
|
|
9
9
|
|
|
@@ -78,7 +78,7 @@ The wrapper allows for a simple, consistent approach regardless of whether a cap
|
|
|
78
78
|
The wrapper width is identical to the displayed image width.
|
|
79
79
|
Within the wrapper `<div />`, the embedded `<img />` is displayed with `width=100%`.
|
|
80
80
|
If a caption is required, the generated `<figure />` only makes the space taken by the generated HTML longer;
|
|
81
|
-
the image width and height
|
|
81
|
+
the image’s width and height are not affected.
|
|
82
82
|
|
|
83
83
|
The wrapper will not exceed the width of the tag that encloses it if the `size` parameter has values `eighthsize`, `fullsize`, `halfsize`, `initial` or `quartersize`.
|
|
84
84
|
|
|
@@ -99,12 +99,6 @@ group :jekyll_plugins do
|
|
|
99
99
|
end
|
|
100
100
|
```
|
|
101
101
|
|
|
102
|
-
Also add it to `_config.yml`:
|
|
103
|
-
```yaml
|
|
104
|
-
plugins:
|
|
105
|
-
- jekyll_img
|
|
106
|
-
```
|
|
107
|
-
|
|
108
102
|
And then execute:
|
|
109
103
|
|
|
110
104
|
$ bundle install
|
data/jekyll_img.gemspec
CHANGED
|
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
|
7
7
|
spec.authors = ['Mike Slinn']
|
|
8
8
|
spec.email = ['mslinn@mslinn.com']
|
|
9
9
|
spec.files = Dir['.rubocop.yml', 'LICENSE.*', 'Rakefile', '{lib,spec}/**/*', '*.gemspec', '*.md']
|
|
10
|
-
spec.homepage = 'https://mslinn.com/
|
|
10
|
+
spec.homepage = 'https://www.mslinn.com/jekyll_plugins/jekyll_img.html'
|
|
11
11
|
spec.license = 'MIT'
|
|
12
12
|
spec.metadata = {
|
|
13
13
|
'allowed_push_host' => 'https://rubygems.org',
|
|
@@ -29,5 +29,5 @@ Gem::Specification.new do |spec|
|
|
|
29
29
|
spec.version = JekyllImgVersion::VERSION
|
|
30
30
|
|
|
31
31
|
spec.add_dependency 'jekyll', '>= 3.5.0'
|
|
32
|
-
spec.add_dependency 'jekyll_plugin_support', '
|
|
32
|
+
spec.add_dependency 'jekyll_plugin_support', '>= 0.7.0'
|
|
33
33
|
end
|
data/lib/jekyll_img/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll_img
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Slinn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-06-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -28,16 +28,16 @@ dependencies:
|
|
|
28
28
|
name: jekyll_plugin_support
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - "
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.
|
|
33
|
+
version: 0.7.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- - "
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.
|
|
40
|
+
version: 0.7.0
|
|
41
41
|
description:
|
|
42
42
|
email:
|
|
43
43
|
- mslinn@mslinn.com
|
|
@@ -59,14 +59,14 @@ files:
|
|
|
59
59
|
- spec/img_props_spec.rb
|
|
60
60
|
- spec/jekyll_img_spec.rb
|
|
61
61
|
- spec/spec_helper.rb
|
|
62
|
-
homepage: https://mslinn.com/
|
|
62
|
+
homepage: https://www.mslinn.com/jekyll_plugins/jekyll_img.html
|
|
63
63
|
licenses:
|
|
64
64
|
- MIT
|
|
65
65
|
metadata:
|
|
66
66
|
allowed_push_host: https://rubygems.org
|
|
67
67
|
bug_tracker_uri: https://github.com/mslinn/jekyll_img/issues
|
|
68
68
|
changelog_uri: https://github.com/mslinn/jekyll_img/CHANGELOG.md
|
|
69
|
-
homepage_uri: https://mslinn.com/
|
|
69
|
+
homepage_uri: https://www.mslinn.com/jekyll_plugins/jekyll_img.html
|
|
70
70
|
source_code_uri: https://github.com/mslinn/jekyll_img
|
|
71
71
|
post_install_message: |2+
|
|
72
72
|
|