jekyll_img 0.2.2 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a10a11e6cb03e677c6d6098d8a279435f15b2dc03cd81814526a5ebb3f7af367
4
- data.tar.gz: 2bf8aa36d93a53b7f9b39545cf76429eb84ba27484075f33b4589d0c604e59f1
3
+ metadata.gz: fda05bddcf8c3506b2a68947549a297afe1cceec2dd461c21cd24141d1ecfe8d
4
+ data.tar.gz: 374733466b41e6f70209ec49db53cd0e177c77f712a050cdc5ed61fa0406fa7a
5
5
  SHA512:
6
- metadata.gz: 9dd14b201c72f52997f8dac7bb55900fc0ae41754fb00a0dd75578f5d4dab2db8cdb5e106c495a02619c1e33ca5b14833f9ced60fbe30964b5ba39a44f0de81f
7
- data.tar.gz: 3f8ed134b38ddb608a1332eaed49eed3bf1fd97378c3f19c39bd0ab9c75b2497da8f32c14ab09b1092ffe26e4669f85120ff0251786b89b399b32d08be2dfd4e
6
+ metadata.gz: bbdaa8fb03b1cba56b855e0f02d747175ca07e248cf7343d1ba2eb6304ffaf09d86f6b30a38b44cf0116585cd4e6ecfe356c3c61853846d1e1b3523d77c873cd
7
+ data.tar.gz: 338caab74974775747ee4f21ab66c913dc2efd4a23ac0b2f9cb83d14add8f60e2a33d2d4dda3b0f72d20d782870deb4f1dbb067699d1abcd053368de021cb82f
data/.rubocop.yml CHANGED
File without changes
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.2.3 / 2024-04-27
4
+
5
+ * Depends on jekyll_plugin_support v0.8.5
6
+
7
+
3
8
  ## 0.2.2 / 2024-01-08
4
9
 
5
10
  * Added support for all image types except `avif`.
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
 
4
4
  `Jekyll_img` is a Jekyll plugin that embeds images in HTML documents, with alignment options,
5
- flexible resizing, default styling, overridable styling, an optional caption, and an optional URL.
5
+ flexible resizing, default styling, overridable styling, an optional caption, an optional URL,
6
+ and optional fullscreen zoom on mouseover.
6
7
 
7
8
  Muliple image formats are supported for each image.
8
9
  The user’s web browser determines the formats which it will accept.
@@ -131,6 +132,7 @@ $ demo/_bin/debug -r
131
132
  - `url='https://domain.com'` No default value
132
133
  - `wrapper_class='class1 class2 classN'` Extra CSS classes for wrapper <div>; no default value
133
134
  - `wrapper_style='background-color: black;'` CSS style for wrapper <div>; no default value
135
+ - `zoom` Fullscreen zoom on mouseover; presse escape or click outside image to dismiss
134
136
 
135
137
  [`unit`](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Values_and_units#numbers_lengths_and_percentages)
136
138
  is one of: `Q`, `ch`, `cm`, `em`, `dvh`, `dvw`, `ex`, `in`, `lh`,
data/Rakefile CHANGED
File without changes
data/jekyll_img.gemspec CHANGED
@@ -3,7 +3,6 @@ require_relative 'lib/jekyll_img/version'
3
3
  Gem::Specification.new do |spec|
4
4
  github = 'https://github.com/mslinn/jekyll_img'
5
5
 
6
- spec.bindir = 'exe'
7
6
  spec.authors = ['Mike Slinn']
8
7
  spec.email = ['mslinn@mslinn.com']
9
8
  spec.files = Dir['.rubocop.yml', 'LICENSE.*', 'Rakefile', '{lib,spec}/**/*', '*.gemspec', '*.md']
@@ -29,5 +28,5 @@ Gem::Specification.new do |spec|
29
28
  spec.version = JekyllImgVersion::VERSION
30
29
 
31
30
  spec.add_dependency 'jekyll', '>= 3.5.0'
32
- spec.add_dependency 'jekyll_plugin_support', '>= 0.8.0'
31
+ spec.add_dependency 'jekyll_plugin_support', '>= 0.8.5'
33
32
  end
data/lib/img_builder.rb CHANGED
File without changes
data/lib/img_props.rb CHANGED
File without changes
@@ -1,3 +1,3 @@
1
1
  module JekyllImgVersion
2
- VERSION = '0.2.2'.freeze
2
+ VERSION = '0.2.3'.freeze
3
3
  end
data/lib/jekyll_img.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'jekyll_plugin_support'
2
- require 'jekyll_plugin_helper'
2
+ require 'helper/jekyll_plugin_helper'
3
3
  require 'pry'
4
4
  require_relative 'img_builder'
5
5
  require_relative 'img_props'
File without changes
File without changes
File without changes
data/spec/spec_helper.rb CHANGED
File without changes
@@ -0,0 +1,10 @@
1
+ example_id | status | run_time |
2
+ ------------------------------- | ------ | --------------- |
3
+ ./spec/img_builder_spec.rb[1:1] | passed | 0.00073 seconds |
4
+ ./spec/img_props_spec.rb[1:1] | passed | 0.0001 seconds |
5
+ ./spec/img_props_spec.rb[1:2] | passed | 0.00008 seconds |
6
+ ./spec/img_props_spec.rb[1:3] | failed | 0.00051 seconds |
7
+ ./spec/img_props_spec.rb[1:4] | passed | 0.0011 seconds |
8
+ ./spec/img_props_spec.rb[1:5] | passed | 0.00019 seconds |
9
+ ./spec/img_props_spec.rb[1:6] | failed | 0.00008 seconds |
10
+ ./spec/jekyll_img_spec.rb[1:1] | failed | 0.00037 seconds |
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.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Slinn
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-28 00:00:00.000000000 Z
11
+ date: 2024-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.8.0
33
+ version: 0.8.5
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.8.0
40
+ version: 0.8.5
41
41
  description:
42
42
  email:
43
43
  - mslinn@mslinn.com
@@ -59,6 +59,7 @@ files:
59
59
  - spec/img_props_spec.rb
60
60
  - spec/jekyll_img_spec.rb
61
61
  - spec/spec_helper.rb
62
+ - spec/status_persistence.txt
62
63
  homepage: https://www.mslinn.com/jekyll_plugins/jekyll_img.html
63
64
  licenses:
64
65
  - MIT
@@ -86,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
87
  - !ruby/object:Gem::Version
87
88
  version: '0'
88
89
  requirements: []
89
- rubygems_version: 3.4.22
90
+ rubygems_version: 3.3.3
90
91
  signing_key:
91
92
  specification_version: 4
92
93
  summary: Provides a Jekyll tag that generates images.
@@ -95,4 +96,5 @@ test_files:
95
96
  - spec/img_props_spec.rb
96
97
  - spec/jekyll_img_spec.rb
97
98
  - spec/spec_helper.rb
99
+ - spec/status_persistence.txt
98
100
  ...