jekyll-picture-tag-latest 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/Gemfile +1 -1
- data/bin/console +1 -1
- data/examples/_data/picture.yml +1 -1
- data/jekyll-picture-tag-latest.gemspec +2 -2
- data/lib/{jekyll-picture-tag.rb → jekyll-picture-tag-latest.rb} +10 -10
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/defaults/global.yml +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/defaults/presets.yml +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/generated_image.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/instructions.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/instructions/configuration.rb +3 -3
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/instructions/html_attributes.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/instructions/preset.rb +1 -1
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/instructions/tag_parser.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/output_formats.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/output_formats/auto.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/output_formats/basics.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/output_formats/data_attributes.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/output_formats/data_auto.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/output_formats/data_img.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/output_formats/data_picture.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/output_formats/direct_url.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/output_formats/img.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/output_formats/picture.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/source_image.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/srcsets.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/srcsets/basics.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/srcsets/pixel_ratio.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/srcsets/width.rb +0 -0
- data/lib/{jekyll-picture-tag → jekyll-picture-tag-latest}/utils.rb +0 -0
- data/lib/jekyll-picture-tag-latest/version.rb +3 -0
- data/readme.md +4 -4
- metadata +28 -28
- data/lib/jekyll-picture-tag/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a0f3aa25260a9199d8c707d3e61180bf8f198ce770bf71e367092b1e7cbd155
|
4
|
+
data.tar.gz: 3ad65f143896eebd9450e2c2f8104361a442d3fbea476b74399cdd4009f485a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d30642c6c0c699cb95c8847e1d02e713f3b2a4bdd0f301d4435d08d0296d00fef746beda97c6e10678e844962b4a273ea2b554cdd337f1c1205425b1e4b81666
|
7
|
+
data.tar.gz: 3252749e7e1125a03835a20014d75d8caa4e206a9be36ac74bc9c18f2b979f37ca214b2ff80f5854d9b8f5961eac17968ecfa1b46b90ca170afd6f06b791e9a1
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/bin/console
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
require 'bundler/setup'
|
4
|
-
require 'jekyll-picture-tag'
|
4
|
+
require 'jekyll-picture-tag-latest'
|
5
5
|
|
6
6
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
7
|
# with your gem easier. You can also use a different console, if you like.
|
data/examples/_data/picture.yml
CHANGED
@@ -67,7 +67,7 @@ markup_presets:
|
|
67
67
|
attributes:
|
68
68
|
img: 'class="icon"'
|
69
69
|
|
70
|
-
# Here's an example of how you'd configure jekyll-picture-tag to work with something like
|
70
|
+
# Here's an example of how you'd configure jekyll-picture-tag-latest to work with something like
|
71
71
|
# lazyload:
|
72
72
|
# https://github.com/verlok/lazyload
|
73
73
|
lazy:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
lib = File.expand_path('lib', __dir__)
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require 'jekyll-picture-tag/version'
|
3
|
+
require 'jekyll-picture-tag-latest/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'jekyll-picture-tag-latest'
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
source images, is fully configurable, and covers all use cases — including art direction and resolution switching —
|
18
18
|
with a little YAML configuration and a simple template tag.
|
19
19
|
HEREDOC
|
20
|
-
spec.homepage = 'https://github.com/robwierzbowski/jekyll-picture-tag'
|
20
|
+
spec.homepage = 'https://github.com/robwierzbowski/jekyll-picture-tag-latest'
|
21
21
|
spec.license = 'BSD-3-Clause'
|
22
22
|
spec.require_paths = ['lib']
|
23
23
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
require 'objective_elements'
|
2
2
|
|
3
|
-
require_relative 'jekyll-picture-tag/generated_image'
|
4
|
-
require_relative 'jekyll-picture-tag/source_image'
|
5
|
-
require_relative 'jekyll-picture-tag/instructions'
|
6
|
-
require_relative 'jekyll-picture-tag/output_formats'
|
7
|
-
require_relative 'jekyll-picture-tag/srcsets'
|
8
|
-
require_relative 'jekyll-picture-tag/utils'
|
9
|
-
require_relative 'jekyll-picture-tag/version'
|
3
|
+
require_relative 'jekyll-picture-tag-latest/generated_image'
|
4
|
+
require_relative 'jekyll-picture-tag-latest/source_image'
|
5
|
+
require_relative 'jekyll-picture-tag-latest/instructions'
|
6
|
+
require_relative 'jekyll-picture-tag-latest/output_formats'
|
7
|
+
require_relative 'jekyll-picture-tag-latest/srcsets'
|
8
|
+
require_relative 'jekyll-picture-tag-latest/utils'
|
9
|
+
require_relative 'jekyll-picture-tag-latest/version'
|
10
10
|
|
11
11
|
module PictureTag
|
12
12
|
ROOT_PATH = __dir__
|
@@ -18,9 +18,9 @@ module PictureTag
|
|
18
18
|
#
|
19
19
|
# Description: Easy responsive images for Jekyll.
|
20
20
|
#
|
21
|
-
# Download: https://github.com/robwierzbowski/jekyll-picture-tag
|
22
|
-
# Documentation: https://github.com/robwierzbowski/jekyll-picture-tag/readme.md
|
23
|
-
# Issues: https://github.com/robwierzbowski/jekyll-picture-tag/issues
|
21
|
+
# Download: https://github.com/robwierzbowski/jekyll-picture-tag-latest
|
22
|
+
# Documentation: https://github.com/robwierzbowski/jekyll-picture-tag-latest/readme.md
|
23
|
+
# Issues: https://github.com/robwierzbowski/jekyll-picture-tag-latest/issues
|
24
24
|
#
|
25
25
|
# Syntax:
|
26
26
|
# {% picture [preset] img.jpg [media_query: alt-img.jpg] [attr="value"] %}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -19,13 +19,13 @@ module PictureTag
|
|
19
19
|
end
|
20
20
|
|
21
21
|
# Site.source is the master jekyll source directory
|
22
|
-
# Source dir is the jekyll-picture-tag source directory.
|
22
|
+
# Source dir is the jekyll-picture-tag-latest source directory.
|
23
23
|
def source_dir
|
24
24
|
File.join PictureTag.site.source, self['picture']['source']
|
25
25
|
end
|
26
26
|
|
27
27
|
# site.dest is the master jekyll destination directory
|
28
|
-
# source_dest is the jekyll-picture-tag destination directory. (generated
|
28
|
+
# source_dest is the jekyll-picture-tag-latest destination directory. (generated
|
29
29
|
# file location setting.)
|
30
30
|
def dest_dir
|
31
31
|
File.join PictureTag.site.dest, self['picture']['output']
|
@@ -57,7 +57,7 @@ module PictureTag
|
|
57
57
|
YAML.safe_load(
|
58
58
|
# Jekyll Picture Tag Default settings
|
59
59
|
File.read(
|
60
|
-
File.join(ROOT_PATH, 'jekyll-picture-tag/defaults/global.yml')
|
60
|
+
File.join(ROOT_PATH, 'jekyll-picture-tag-latest/defaults/global.yml')
|
61
61
|
)
|
62
62
|
).merge(
|
63
63
|
# _config.yml defined settings
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/readme.md
CHANGED
@@ -76,7 +76,7 @@ Add j-p-t to your gemfile:
|
|
76
76
|
|
77
77
|
```ruby
|
78
78
|
group :jekyll_plugins do
|
79
|
-
gem 'jekyll-picture-tag', git: 'https://github.com/robwierzbowski/jekyll-picture-tag/'
|
79
|
+
gem 'jekyll-picture-tag-latest', git: 'https://github.com/robwierzbowski/jekyll-picture-tag-latest/'
|
80
80
|
end
|
81
81
|
```
|
82
82
|
|
@@ -167,13 +167,13 @@ Get this:
|
|
167
167
|
|
168
168
|
# Installation
|
169
169
|
|
170
|
-
Add `jekyll-picture-tag` to your Gemfile in the `:jekyll_plugins` group.
|
170
|
+
Add `jekyll-picture-tag-latest` to your Gemfile in the `:jekyll_plugins` group.
|
171
171
|
For now I don't have push access to RubyGems, meaning you have to point your gemfile at this git repo.
|
172
172
|
If you don't you'll get an old, incompatible version.
|
173
173
|
|
174
174
|
```ruby
|
175
175
|
group :jekyll_plugins do
|
176
|
-
gem 'jekyll-picture-tag', git: 'https://github.com/robwierzbowski/jekyll-picture-tag/'
|
176
|
+
gem 'jekyll-picture-tag-latest', git: 'https://github.com/robwierzbowski/jekyll-picture-tag-latest/'
|
177
177
|
end
|
178
178
|
```
|
179
179
|
|
@@ -796,7 +796,7 @@ while to remove unused images.
|
|
796
796
|
# Contribute
|
797
797
|
|
798
798
|
Report bugs and feature proposals in the
|
799
|
-
[Github issue tracker](https://github.com/robwierzbowski/jekyll-picture-tag/issues).
|
799
|
+
[Github issue tracker](https://github.com/robwierzbowski/jekyll-picture-tag-latest/issues).
|
800
800
|
|
801
801
|
Pull requests are encouraged. With a few exceptions, this plugin is written to follow the Rubocop
|
802
802
|
default settings (except the frozen string literal comment).
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-picture-tag-latest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Wierzbowski
|
@@ -148,35 +148,35 @@ files:
|
|
148
148
|
- examples/_data/picture.yml
|
149
149
|
- examples/post.md
|
150
150
|
- jekyll-picture-tag-latest.gemspec
|
151
|
-
- lib/jekyll-picture-tag.rb
|
152
|
-
- lib/jekyll-picture-tag/defaults/global.yml
|
153
|
-
- lib/jekyll-picture-tag/defaults/presets.yml
|
154
|
-
- lib/jekyll-picture-tag/generated_image.rb
|
155
|
-
- lib/jekyll-picture-tag/instructions.rb
|
156
|
-
- lib/jekyll-picture-tag/instructions/configuration.rb
|
157
|
-
- lib/jekyll-picture-tag/instructions/html_attributes.rb
|
158
|
-
- lib/jekyll-picture-tag/instructions/preset.rb
|
159
|
-
- lib/jekyll-picture-tag/instructions/tag_parser.rb
|
160
|
-
- lib/jekyll-picture-tag/output_formats.rb
|
161
|
-
- lib/jekyll-picture-tag/output_formats/auto.rb
|
162
|
-
- lib/jekyll-picture-tag/output_formats/basics.rb
|
163
|
-
- lib/jekyll-picture-tag/output_formats/data_attributes.rb
|
164
|
-
- lib/jekyll-picture-tag/output_formats/data_auto.rb
|
165
|
-
- lib/jekyll-picture-tag/output_formats/data_img.rb
|
166
|
-
- lib/jekyll-picture-tag/output_formats/data_picture.rb
|
167
|
-
- lib/jekyll-picture-tag/output_formats/direct_url.rb
|
168
|
-
- lib/jekyll-picture-tag/output_formats/img.rb
|
169
|
-
- lib/jekyll-picture-tag/output_formats/picture.rb
|
170
|
-
- lib/jekyll-picture-tag/source_image.rb
|
171
|
-
- lib/jekyll-picture-tag/srcsets.rb
|
172
|
-
- lib/jekyll-picture-tag/srcsets/basics.rb
|
173
|
-
- lib/jekyll-picture-tag/srcsets/pixel_ratio.rb
|
174
|
-
- lib/jekyll-picture-tag/srcsets/width.rb
|
175
|
-
- lib/jekyll-picture-tag/utils.rb
|
176
|
-
- lib/jekyll-picture-tag/version.rb
|
151
|
+
- lib/jekyll-picture-tag-latest.rb
|
152
|
+
- lib/jekyll-picture-tag-latest/defaults/global.yml
|
153
|
+
- lib/jekyll-picture-tag-latest/defaults/presets.yml
|
154
|
+
- lib/jekyll-picture-tag-latest/generated_image.rb
|
155
|
+
- lib/jekyll-picture-tag-latest/instructions.rb
|
156
|
+
- lib/jekyll-picture-tag-latest/instructions/configuration.rb
|
157
|
+
- lib/jekyll-picture-tag-latest/instructions/html_attributes.rb
|
158
|
+
- lib/jekyll-picture-tag-latest/instructions/preset.rb
|
159
|
+
- lib/jekyll-picture-tag-latest/instructions/tag_parser.rb
|
160
|
+
- lib/jekyll-picture-tag-latest/output_formats.rb
|
161
|
+
- lib/jekyll-picture-tag-latest/output_formats/auto.rb
|
162
|
+
- lib/jekyll-picture-tag-latest/output_formats/basics.rb
|
163
|
+
- lib/jekyll-picture-tag-latest/output_formats/data_attributes.rb
|
164
|
+
- lib/jekyll-picture-tag-latest/output_formats/data_auto.rb
|
165
|
+
- lib/jekyll-picture-tag-latest/output_formats/data_img.rb
|
166
|
+
- lib/jekyll-picture-tag-latest/output_formats/data_picture.rb
|
167
|
+
- lib/jekyll-picture-tag-latest/output_formats/direct_url.rb
|
168
|
+
- lib/jekyll-picture-tag-latest/output_formats/img.rb
|
169
|
+
- lib/jekyll-picture-tag-latest/output_formats/picture.rb
|
170
|
+
- lib/jekyll-picture-tag-latest/source_image.rb
|
171
|
+
- lib/jekyll-picture-tag-latest/srcsets.rb
|
172
|
+
- lib/jekyll-picture-tag-latest/srcsets/basics.rb
|
173
|
+
- lib/jekyll-picture-tag-latest/srcsets/pixel_ratio.rb
|
174
|
+
- lib/jekyll-picture-tag-latest/srcsets/width.rb
|
175
|
+
- lib/jekyll-picture-tag-latest/utils.rb
|
176
|
+
- lib/jekyll-picture-tag-latest/version.rb
|
177
177
|
- migration.md
|
178
178
|
- readme.md
|
179
|
-
homepage: https://github.com/robwierzbowski/jekyll-picture-tag
|
179
|
+
homepage: https://github.com/robwierzbowski/jekyll-picture-tag-latest
|
180
180
|
licenses:
|
181
181
|
- BSD-3-Clause
|
182
182
|
metadata: {}
|