jekyll_picture_tag 1.9.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -0
- data/.travis.yml +4 -7
- data/Dockerfile +9 -0
- data/docs/Gemfile +4 -2
- data/docs/Gemfile.lock +186 -89
- 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} +35 -13
- data/docs/index.md +58 -36
- 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 +81 -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 +43 -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/width_height_attributes.md +34 -0
- data/docs/users/presets/width_srcsets.md +85 -0
- data/jekyll_picture_tag.gemspec +1 -1
- data/lib/jekyll_picture_tag.rb +1 -0
- 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 +2 -0
- data/lib/jekyll_picture_tag/generated_image.rb +52 -41
- data/lib/jekyll_picture_tag/img_uri.rb +1 -0
- data/lib/jekyll_picture_tag/instructions.rb +1 -0
- data/lib/jekyll_picture_tag/instructions/arg_splitter.rb +69 -0
- data/lib/jekyll_picture_tag/instructions/configuration.rb +1 -1
- data/lib/jekyll_picture_tag/instructions/preset.rb +40 -15
- data/lib/jekyll_picture_tag/instructions/set.rb +23 -9
- data/lib/jekyll_picture_tag/instructions/tag_parser.rb +59 -69
- data/lib/jekyll_picture_tag/output_formats/basic.rb +34 -15
- 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 +9 -0
- data/lib/jekyll_picture_tag/source_image.rb +60 -44
- data/lib/jekyll_picture_tag/srcsets/basic.rb +29 -7
- data/lib/jekyll_picture_tag/utils.rb +18 -0
- data/lib/jekyll_picture_tag/version.rb +1 -1
- data/readme.md +40 -16
- metadata +67 -20
- data/docs/_layouts/directory.html +0 -32
- data/docs/assets/style.css +0 -31
- data/docs/contributing.md +0 -75
- data/docs/example_presets.md +0 -116
- data/docs/global_configuration.md +0 -173
- data/docs/installation.md +0 -30
- data/docs/notes.md +0 -91
- data/docs/output.md +0 -63
- data/docs/presets.md +0 -309
- data/docs/usage.md +0 -113
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57fe7741c94cf1511eb8824dec643e9acb953b3251b2714b030e662742d62680
|
4
|
+
data.tar.gz: fcfae3154dcfe87509bc4759171ab6f2a27636ab75d6ec20d24b335f8535dc8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af9a456fb275f80eedff3c26a1579c3ce95b2385fd66f1a7e203947de2e16deea596f2e6a1334f5cb475e4d61c26803569bd522a84356a574b826cc071961fa3
|
7
|
+
data.tar.gz: a6fb8984f4fe3b02564a60038d77136d15c5fd1625a1e8b5f654b656494eb8e9b1f7f497436145253e8f241d5cb902243df37ff38511a05b742c5c2de1c5730d
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -1,11 +1,8 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
services:
|
2
|
+
- docker
|
3
3
|
|
4
4
|
before_install:
|
5
|
-
-
|
6
|
-
- gem update --system
|
7
|
-
- gem install bundler
|
5
|
+
- docker build . -t jpt
|
8
6
|
|
9
7
|
script:
|
10
|
-
-
|
11
|
-
- bundle exec rake rubocop
|
8
|
+
- docker run -t jpt
|
data/Dockerfile
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
FROM ruby:alpine
|
2
|
+
WORKDIR /root/jekyll_picture_tag
|
3
|
+
# Dependencies for nokogiri, eventmachine, and JPT
|
4
|
+
RUN apk add git imagemagick g++ musl-dev make libstdc++ zlib build-base
|
5
|
+
COPY Gemfile* jekyll_picture_tag.gemspec ./
|
6
|
+
COPY lib/jekyll_picture_tag/version.rb ./lib/jekyll_picture_tag/version.rb
|
7
|
+
RUN bundle install
|
8
|
+
COPY . .
|
9
|
+
CMD rake
|
data/docs/Gemfile
CHANGED
data/docs/Gemfile.lock
CHANGED
@@ -1,130 +1,226 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (
|
5
|
-
|
6
|
-
|
4
|
+
activesupport (6.0.3.2)
|
5
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
|
+
i18n (>= 0.7, < 2)
|
7
7
|
minitest (~> 5.1)
|
8
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
9
8
|
tzinfo (~> 1.1)
|
10
|
-
|
9
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
10
|
+
addressable (2.7.0)
|
11
|
+
public_suffix (>= 2.0.2, < 5.0)
|
11
12
|
coffee-script (2.4.1)
|
12
13
|
coffee-script-source
|
13
14
|
execjs
|
14
|
-
coffee-script-source (1.
|
15
|
+
coffee-script-source (1.11.1)
|
15
16
|
colorator (1.1.0)
|
16
|
-
|
17
|
+
commonmarker (0.17.13)
|
18
|
+
ruby-enum (~> 0.5)
|
19
|
+
concurrent-ruby (1.1.6)
|
20
|
+
dnsruby (1.61.3)
|
21
|
+
addressable (~> 2.5)
|
22
|
+
em-websocket (0.5.1)
|
23
|
+
eventmachine (>= 0.12.9)
|
24
|
+
http_parser.rb (~> 0.6.0)
|
17
25
|
ethon (0.12.0)
|
18
26
|
ffi (>= 1.3.0)
|
27
|
+
eventmachine (1.2.7)
|
19
28
|
execjs (2.7.0)
|
20
|
-
faraday (0.
|
29
|
+
faraday (1.0.1)
|
21
30
|
multipart-post (>= 1.2, < 3)
|
22
|
-
ffi (1.
|
31
|
+
ffi (1.13.1)
|
23
32
|
forwardable-extended (2.6.0)
|
24
|
-
gemoji (
|
25
|
-
github-pages (
|
26
|
-
|
27
|
-
|
28
|
-
jekyll (=
|
29
|
-
jekyll-
|
30
|
-
jekyll-
|
31
|
-
jekyll-
|
32
|
-
jekyll-
|
33
|
-
jekyll-
|
34
|
-
jekyll-
|
33
|
+
gemoji (3.0.1)
|
34
|
+
github-pages (206)
|
35
|
+
github-pages-health-check (= 1.16.1)
|
36
|
+
jekyll (= 3.8.7)
|
37
|
+
jekyll-avatar (= 0.7.0)
|
38
|
+
jekyll-coffeescript (= 1.1.1)
|
39
|
+
jekyll-commonmark-ghpages (= 0.1.6)
|
40
|
+
jekyll-default-layout (= 0.1.4)
|
41
|
+
jekyll-feed (= 0.13.0)
|
42
|
+
jekyll-gist (= 1.5.0)
|
43
|
+
jekyll-github-metadata (= 2.13.0)
|
44
|
+
jekyll-mentions (= 1.5.1)
|
45
|
+
jekyll-optional-front-matter (= 0.3.2)
|
35
46
|
jekyll-paginate (= 1.1.0)
|
36
|
-
jekyll-
|
37
|
-
jekyll-
|
38
|
-
jekyll-
|
39
|
-
jekyll-
|
40
|
-
jekyll-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
47
|
+
jekyll-readme-index (= 0.3.0)
|
48
|
+
jekyll-redirect-from (= 0.15.0)
|
49
|
+
jekyll-relative-links (= 0.6.1)
|
50
|
+
jekyll-remote-theme (= 0.4.1)
|
51
|
+
jekyll-sass-converter (= 1.5.2)
|
52
|
+
jekyll-seo-tag (= 2.6.1)
|
53
|
+
jekyll-sitemap (= 1.4.0)
|
54
|
+
jekyll-swiss (= 1.0.0)
|
55
|
+
jekyll-theme-architect (= 0.1.1)
|
56
|
+
jekyll-theme-cayman (= 0.1.1)
|
57
|
+
jekyll-theme-dinky (= 0.1.1)
|
58
|
+
jekyll-theme-hacker (= 0.1.1)
|
59
|
+
jekyll-theme-leap-day (= 0.1.1)
|
60
|
+
jekyll-theme-merlot (= 0.1.1)
|
61
|
+
jekyll-theme-midnight (= 0.1.1)
|
62
|
+
jekyll-theme-minimal (= 0.1.1)
|
63
|
+
jekyll-theme-modernist (= 0.1.1)
|
64
|
+
jekyll-theme-primer (= 0.5.4)
|
65
|
+
jekyll-theme-slate (= 0.1.1)
|
66
|
+
jekyll-theme-tactile (= 0.1.1)
|
67
|
+
jekyll-theme-time-machine (= 0.1.1)
|
68
|
+
jekyll-titles-from-headings (= 0.5.3)
|
69
|
+
jemoji (= 0.11.1)
|
70
|
+
kramdown (= 1.17.0)
|
71
|
+
liquid (= 4.0.3)
|
45
72
|
mercenary (~> 0.3)
|
46
|
-
minima (= 2.
|
47
|
-
|
73
|
+
minima (= 2.5.1)
|
74
|
+
nokogiri (>= 1.10.4, < 2.0)
|
75
|
+
rouge (= 3.19.0)
|
48
76
|
terminal-table (~> 1.4)
|
49
|
-
github-pages-health-check (1.
|
77
|
+
github-pages-health-check (1.16.1)
|
50
78
|
addressable (~> 2.3)
|
51
|
-
|
79
|
+
dnsruby (~> 1.60)
|
52
80
|
octokit (~> 4.0)
|
53
|
-
public_suffix (~>
|
54
|
-
typhoeus (~>
|
55
|
-
html-pipeline (2.
|
81
|
+
public_suffix (~> 3.0)
|
82
|
+
typhoeus (~> 1.3)
|
83
|
+
html-pipeline (2.13.0)
|
56
84
|
activesupport (>= 2)
|
57
85
|
nokogiri (>= 1.4)
|
86
|
+
http_parser.rb (0.6.0)
|
58
87
|
i18n (0.9.5)
|
59
88
|
concurrent-ruby (~> 1.0)
|
60
|
-
jekyll (3.
|
89
|
+
jekyll (3.8.7)
|
61
90
|
addressable (~> 2.4)
|
62
91
|
colorator (~> 1.0)
|
92
|
+
em-websocket (~> 0.5)
|
93
|
+
i18n (~> 0.7)
|
63
94
|
jekyll-sass-converter (~> 1.0)
|
64
|
-
jekyll-watch (~>
|
65
|
-
kramdown (~> 1.
|
66
|
-
liquid (~>
|
95
|
+
jekyll-watch (~> 2.0)
|
96
|
+
kramdown (~> 1.14)
|
97
|
+
liquid (~> 4.0)
|
67
98
|
mercenary (~> 0.3.3)
|
68
99
|
pathutil (~> 0.9)
|
69
|
-
rouge (
|
100
|
+
rouge (>= 1.7, < 4)
|
70
101
|
safe_yaml (~> 1.0)
|
71
|
-
jekyll-avatar (0.
|
72
|
-
jekyll (
|
73
|
-
jekyll-coffeescript (1.
|
102
|
+
jekyll-avatar (0.7.0)
|
103
|
+
jekyll (>= 3.0, < 5.0)
|
104
|
+
jekyll-coffeescript (1.1.1)
|
74
105
|
coffee-script (~> 2.2)
|
75
|
-
|
76
|
-
|
77
|
-
|
106
|
+
coffee-script-source (~> 1.11.1)
|
107
|
+
jekyll-commonmark (1.3.1)
|
108
|
+
commonmarker (~> 0.14)
|
109
|
+
jekyll (>= 3.7, < 5.0)
|
110
|
+
jekyll-commonmark-ghpages (0.1.6)
|
111
|
+
commonmarker (~> 0.17.6)
|
112
|
+
jekyll-commonmark (~> 1.2)
|
113
|
+
rouge (>= 2.0, < 4.0)
|
114
|
+
jekyll-default-layout (0.1.4)
|
115
|
+
jekyll (~> 3.0)
|
116
|
+
jekyll-feed (0.13.0)
|
117
|
+
jekyll (>= 3.7, < 5.0)
|
118
|
+
jekyll-gist (1.5.0)
|
78
119
|
octokit (~> 4.2)
|
79
|
-
jekyll-github-metadata (2.
|
80
|
-
jekyll (
|
120
|
+
jekyll-github-metadata (2.13.0)
|
121
|
+
jekyll (>= 3.4, < 5.0)
|
81
122
|
octokit (~> 4.0, != 4.4.0)
|
82
|
-
jekyll-mentions (1.
|
83
|
-
activesupport (~> 4.0)
|
123
|
+
jekyll-mentions (1.5.1)
|
84
124
|
html-pipeline (~> 2.3)
|
85
|
-
jekyll (
|
125
|
+
jekyll (>= 3.7, < 5.0)
|
126
|
+
jekyll-optional-front-matter (0.3.2)
|
127
|
+
jekyll (>= 3.0, < 5.0)
|
86
128
|
jekyll-paginate (1.1.0)
|
87
|
-
jekyll-
|
88
|
-
jekyll (>=
|
89
|
-
jekyll-
|
90
|
-
|
91
|
-
jekyll-
|
92
|
-
jekyll (
|
93
|
-
jekyll-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
129
|
+
jekyll-readme-index (0.3.0)
|
130
|
+
jekyll (>= 3.0, < 5.0)
|
131
|
+
jekyll-redirect-from (0.15.0)
|
132
|
+
jekyll (>= 3.3, < 5.0)
|
133
|
+
jekyll-relative-links (0.6.1)
|
134
|
+
jekyll (>= 3.3, < 5.0)
|
135
|
+
jekyll-remote-theme (0.4.1)
|
136
|
+
addressable (~> 2.0)
|
137
|
+
jekyll (>= 3.5, < 5.0)
|
138
|
+
rubyzip (>= 1.3.0)
|
139
|
+
jekyll-rtd-theme (0.1.6)
|
140
|
+
github-pages (~> 206)
|
141
|
+
jekyll-sass-converter (1.5.2)
|
142
|
+
sass (~> 3.4)
|
143
|
+
jekyll-seo-tag (2.6.1)
|
144
|
+
jekyll (>= 3.3, < 5.0)
|
145
|
+
jekyll-sitemap (1.4.0)
|
146
|
+
jekyll (>= 3.7, < 5.0)
|
147
|
+
jekyll-swiss (1.0.0)
|
148
|
+
jekyll-theme-architect (0.1.1)
|
149
|
+
jekyll (~> 3.5)
|
150
|
+
jekyll-seo-tag (~> 2.0)
|
151
|
+
jekyll-theme-cayman (0.1.1)
|
152
|
+
jekyll (~> 3.5)
|
153
|
+
jekyll-seo-tag (~> 2.0)
|
154
|
+
jekyll-theme-dinky (0.1.1)
|
155
|
+
jekyll (~> 3.5)
|
156
|
+
jekyll-seo-tag (~> 2.0)
|
157
|
+
jekyll-theme-hacker (0.1.1)
|
158
|
+
jekyll (~> 3.5)
|
159
|
+
jekyll-seo-tag (~> 2.0)
|
160
|
+
jekyll-theme-leap-day (0.1.1)
|
161
|
+
jekyll (~> 3.5)
|
162
|
+
jekyll-seo-tag (~> 2.0)
|
163
|
+
jekyll-theme-merlot (0.1.1)
|
164
|
+
jekyll (~> 3.5)
|
165
|
+
jekyll-seo-tag (~> 2.0)
|
166
|
+
jekyll-theme-midnight (0.1.1)
|
167
|
+
jekyll (~> 3.5)
|
168
|
+
jekyll-seo-tag (~> 2.0)
|
169
|
+
jekyll-theme-minimal (0.1.1)
|
170
|
+
jekyll (~> 3.5)
|
171
|
+
jekyll-seo-tag (~> 2.0)
|
172
|
+
jekyll-theme-modernist (0.1.1)
|
173
|
+
jekyll (~> 3.5)
|
174
|
+
jekyll-seo-tag (~> 2.0)
|
175
|
+
jekyll-theme-primer (0.5.4)
|
176
|
+
jekyll (> 3.5, < 5.0)
|
177
|
+
jekyll-github-metadata (~> 2.9)
|
178
|
+
jekyll-seo-tag (~> 2.0)
|
179
|
+
jekyll-theme-slate (0.1.1)
|
180
|
+
jekyll (~> 3.5)
|
181
|
+
jekyll-seo-tag (~> 2.0)
|
182
|
+
jekyll-theme-tactile (0.1.1)
|
183
|
+
jekyll (~> 3.5)
|
184
|
+
jekyll-seo-tag (~> 2.0)
|
185
|
+
jekyll-theme-time-machine (0.1.1)
|
186
|
+
jekyll (~> 3.5)
|
187
|
+
jekyll-seo-tag (~> 2.0)
|
188
|
+
jekyll-titles-from-headings (0.5.3)
|
189
|
+
jekyll (>= 3.3, < 5.0)
|
190
|
+
jekyll-watch (2.2.1)
|
99
191
|
listen (~> 3.0)
|
100
|
-
jemoji (0.
|
101
|
-
|
102
|
-
gemoji (~> 2.0)
|
192
|
+
jemoji (0.11.1)
|
193
|
+
gemoji (~> 3.0)
|
103
194
|
html-pipeline (~> 2.2)
|
104
|
-
jekyll (>= 3.0)
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
rb-
|
110
|
-
rb-inotify (>= 0.9.7)
|
195
|
+
jekyll (>= 3.0, < 5.0)
|
196
|
+
kramdown (1.17.0)
|
197
|
+
liquid (4.0.3)
|
198
|
+
listen (3.2.1)
|
199
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
200
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
111
201
|
mercenary (0.3.6)
|
112
202
|
mini_portile2 (2.4.0)
|
113
|
-
minima (2.
|
114
|
-
|
203
|
+
minima (2.5.1)
|
204
|
+
jekyll (>= 3.5, < 5.0)
|
205
|
+
jekyll-feed (~> 0.9)
|
206
|
+
jekyll-seo-tag (~> 2.1)
|
207
|
+
minitest (5.14.1)
|
115
208
|
multipart-post (2.1.1)
|
116
|
-
|
117
|
-
nokogiri (1.10.4)
|
209
|
+
nokogiri (1.10.10)
|
118
210
|
mini_portile2 (~> 2.4.0)
|
119
|
-
octokit (4.
|
211
|
+
octokit (4.18.0)
|
212
|
+
faraday (>= 0.9)
|
120
213
|
sawyer (~> 0.8.0, >= 0.5.3)
|
121
214
|
pathutil (0.16.2)
|
122
215
|
forwardable-extended (~> 2.6)
|
123
|
-
public_suffix (1.
|
124
|
-
rb-fsevent (0.10.
|
125
|
-
rb-inotify (0.10.
|
216
|
+
public_suffix (3.1.1)
|
217
|
+
rb-fsevent (0.10.4)
|
218
|
+
rb-inotify (0.10.1)
|
126
219
|
ffi (~> 1.0)
|
127
|
-
rouge (
|
220
|
+
rouge (3.19.0)
|
221
|
+
ruby-enum (0.8.0)
|
222
|
+
i18n
|
223
|
+
rubyzip (2.3.0)
|
128
224
|
safe_yaml (1.0.5)
|
129
225
|
sass (3.7.4)
|
130
226
|
sass-listen (~> 4.0.0)
|
@@ -137,18 +233,19 @@ GEM
|
|
137
233
|
terminal-table (1.8.0)
|
138
234
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
139
235
|
thread_safe (0.3.6)
|
140
|
-
typhoeus (
|
141
|
-
ethon (>= 0.
|
142
|
-
tzinfo (1.2.
|
236
|
+
typhoeus (1.4.0)
|
237
|
+
ethon (>= 0.9.0)
|
238
|
+
tzinfo (1.2.7)
|
143
239
|
thread_safe (~> 0.1)
|
144
|
-
unicode-display_width (1.
|
240
|
+
unicode-display_width (1.7.0)
|
241
|
+
zeitwerk (2.4.0)
|
145
242
|
|
146
243
|
PLATFORMS
|
147
244
|
ruby
|
148
245
|
|
149
246
|
DEPENDENCIES
|
150
247
|
github-pages
|
151
|
-
jekyll-theme
|
248
|
+
jekyll-rtd-theme
|
152
249
|
|
153
250
|
BUNDLED WITH
|
154
|
-
2.
|
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.
|