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.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +4 -0
  3. data/.travis.yml +4 -7
  4. data/Dockerfile +9 -0
  5. data/docs/Gemfile +4 -2
  6. data/docs/Gemfile.lock +186 -89
  7. data/docs/_config.yml +6 -10
  8. data/docs/devs/contributing/code.md +44 -0
  9. data/docs/devs/contributing/docs.md +13 -0
  10. data/docs/devs/contributing/index.md +15 -0
  11. data/docs/devs/contributing/setup.md +13 -0
  12. data/docs/devs/contributing/testing.md +41 -0
  13. data/docs/devs/index.md +7 -0
  14. data/docs/{releases.md → devs/releases.md} +35 -13
  15. data/docs/index.md +58 -36
  16. data/docs/users/configuration/cdn.md +35 -0
  17. data/docs/users/configuration/directories.md +34 -0
  18. data/docs/users/configuration/disable.md +24 -0
  19. data/docs/users/configuration/fast_build.md +28 -0
  20. data/docs/users/configuration/ignore_missing.md +23 -0
  21. data/docs/users/configuration/index.md +29 -0
  22. data/docs/users/configuration/kramdown_fix.md +20 -0
  23. data/docs/users/configuration/relative_urls.md +15 -0
  24. data/docs/users/configuration/suppress_warnings.md +16 -0
  25. data/docs/users/index.md +7 -0
  26. data/docs/users/installation.md +52 -0
  27. data/docs/users/liquid_tag/argument_reference/alternate_images.md +18 -0
  28. data/docs/users/liquid_tag/argument_reference/attributes.md +42 -0
  29. data/docs/users/liquid_tag/argument_reference/base_image.md +12 -0
  30. data/docs/users/liquid_tag/argument_reference/crop.md +48 -0
  31. data/docs/users/liquid_tag/argument_reference/link.md +16 -0
  32. data/docs/users/liquid_tag/argument_reference/preset.md +17 -0
  33. data/docs/users/liquid_tag/argument_reference/readme.md +9 -0
  34. data/docs/users/liquid_tag/examples.md +81 -0
  35. data/docs/users/liquid_tag/index.md +31 -0
  36. data/docs/users/notes/git_lfs.md +7 -0
  37. data/docs/users/notes/github_pages.md +5 -0
  38. data/docs/users/notes/html_attributes.md +5 -0
  39. data/docs/users/notes/index.md +6 -0
  40. data/docs/users/notes/input_checking.md +6 -0
  41. data/docs/users/notes/kramdown_bug.md +41 -0
  42. data/docs/users/notes/managing_images.md +21 -0
  43. data/docs/{migration.md → users/notes/migration.md} +0 -0
  44. data/docs/users/presets/cropping.md +61 -0
  45. data/docs/users/presets/default.md +23 -0
  46. data/docs/users/presets/examples.md +79 -0
  47. data/docs/users/presets/fallback_image.md +28 -0
  48. data/docs/users/presets/html_attributes.md +26 -0
  49. data/docs/users/presets/image_formats.md +21 -0
  50. data/docs/users/presets/image_quality.md +43 -0
  51. data/docs/users/presets/index.md +101 -0
  52. data/docs/users/presets/link_source.md +16 -0
  53. data/docs/users/presets/markup_formats/fragments.md +48 -0
  54. data/docs/users/presets/markup_formats/javascript_friendly.md +57 -0
  55. data/docs/users/presets/markup_formats/readme.md +43 -0
  56. data/docs/users/presets/markup_formats/standard_html.md +25 -0
  57. data/docs/users/presets/media_queries.md +36 -0
  58. data/docs/users/presets/nomarkdown_override.md +17 -0
  59. data/docs/users/presets/pixel_ratio_srcsets.md +32 -0
  60. data/docs/users/presets/width_height_attributes.md +34 -0
  61. data/docs/users/presets/width_srcsets.md +85 -0
  62. data/jekyll_picture_tag.gemspec +1 -1
  63. data/lib/jekyll_picture_tag.rb +1 -0
  64. data/lib/jekyll_picture_tag/cache.rb +3 -0
  65. data/lib/jekyll_picture_tag/cache/base.rb +59 -0
  66. data/lib/jekyll_picture_tag/cache/generated.rb +20 -0
  67. data/lib/jekyll_picture_tag/cache/source.rb +19 -0
  68. data/lib/jekyll_picture_tag/defaults/presets.yml +2 -0
  69. data/lib/jekyll_picture_tag/generated_image.rb +52 -41
  70. data/lib/jekyll_picture_tag/img_uri.rb +1 -0
  71. data/lib/jekyll_picture_tag/instructions.rb +1 -0
  72. data/lib/jekyll_picture_tag/instructions/arg_splitter.rb +69 -0
  73. data/lib/jekyll_picture_tag/instructions/configuration.rb +1 -1
  74. data/lib/jekyll_picture_tag/instructions/preset.rb +40 -15
  75. data/lib/jekyll_picture_tag/instructions/set.rb +23 -9
  76. data/lib/jekyll_picture_tag/instructions/tag_parser.rb +59 -69
  77. data/lib/jekyll_picture_tag/output_formats/basic.rb +34 -15
  78. data/lib/jekyll_picture_tag/output_formats/img.rb +11 -0
  79. data/lib/jekyll_picture_tag/output_formats/picture.rb +22 -0
  80. data/lib/jekyll_picture_tag/router.rb +9 -0
  81. data/lib/jekyll_picture_tag/source_image.rb +60 -44
  82. data/lib/jekyll_picture_tag/srcsets/basic.rb +29 -7
  83. data/lib/jekyll_picture_tag/utils.rb +18 -0
  84. data/lib/jekyll_picture_tag/version.rb +1 -1
  85. data/readme.md +40 -16
  86. metadata +67 -20
  87. data/docs/_layouts/directory.html +0 -32
  88. data/docs/assets/style.css +0 -31
  89. data/docs/contributing.md +0 -75
  90. data/docs/example_presets.md +0 -116
  91. data/docs/global_configuration.md +0 -173
  92. data/docs/installation.md +0 -30
  93. data/docs/notes.md +0 -91
  94. data/docs/output.md +0 -63
  95. data/docs/presets.md +0 -309
  96. data/docs/usage.md +0 -113
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa7bf95094ae98a78cd4ff1d40fd70d74378590d68a39273300ba216280a9794
4
- data.tar.gz: 9e552372626ff7f1a54b8bacc902112b7cfd9c65ce01c6d8957fd411ff88a1ce
3
+ metadata.gz: 57fe7741c94cf1511eb8824dec643e9acb953b3251b2714b030e662742d62680
4
+ data.tar.gz: fcfae3154dcfe87509bc4759171ab6f2a27636ab75d6ec20d24b335f8535dc8c
5
5
  SHA512:
6
- metadata.gz: 8a7a4c78be31edc35758dc6fa5f5f90a0ba0bcc5801f3ebf570b13ba649d04f4b2df88472c8b583439b9e3888537e26f9eb3678a364abe5ef6d299a65b5fe216
7
- data.tar.gz: aab45d2868253d91d82e8ce63b0fab117a394427bc6b4a5248cf395b5a29e29e9bddbcfcdb8e4a365e087d3bde93a06bedfc16a8c37b9bef71aac2479d4fd84f
6
+ metadata.gz: af9a456fb275f80eedff3c26a1579c3ce95b2385fd66f1a7e203947de2e16deea596f2e6a1334f5cb475e4d61c26803569bd522a84356a574b826cc071961fa3
7
+ data.tar.gz: a6fb8984f4fe3b02564a60038d77136d15c5fd1625a1e8b5f654b656494eb8e9b1f7f497436145253e8f241d5cb902243df37ff38511a05b742c5c2de1c5730d
@@ -1,2 +1,6 @@
1
1
  Style/FrozenStringLiteralComment:
2
2
  Enabled: false
3
+
4
+ AllCops:
5
+ NewCops: enable
6
+
@@ -1,11 +1,8 @@
1
- language: ruby
2
- cache: bundler
1
+ services:
2
+ - docker
3
3
 
4
4
  before_install:
5
- - sudo apt-get install -y webp
6
- - gem update --system
7
- - gem install bundler
5
+ - docker build . -t jpt
8
6
 
9
7
  script:
10
- - bundle exec rake test
11
- - bundle exec rake rubocop
8
+ - docker run -t jpt
@@ -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
@@ -1,4 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'github-pages', group: :jekyll_plugins
4
- gem 'jekyll-theme-slate'
3
+ group :jekyll_plugins do
4
+ gem 'github-pages'
5
+ gem 'jekyll-rtd-theme'
6
+ end
@@ -1,130 +1,226 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- activesupport (4.2.7)
5
- i18n (~> 0.7)
6
- json (~> 1.7, >= 1.7.7)
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
- addressable (2.4.0)
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.12.2)
15
+ coffee-script-source (1.11.1)
15
16
  colorator (1.1.0)
16
- concurrent-ruby (1.1.5)
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.15.4)
29
+ faraday (1.0.1)
21
30
  multipart-post (>= 1.2, < 3)
22
- ffi (1.11.1)
31
+ ffi (1.13.1)
23
32
  forwardable-extended (2.6.0)
24
- gemoji (2.1.0)
25
- github-pages (104)
26
- activesupport (= 4.2.7)
27
- github-pages-health-check (= 1.2.0)
28
- jekyll (= 3.3.0)
29
- jekyll-avatar (= 0.4.2)
30
- jekyll-coffeescript (= 1.0.1)
31
- jekyll-feed (= 0.8.0)
32
- jekyll-gist (= 1.4.0)
33
- jekyll-github-metadata (= 2.2.0)
34
- jekyll-mentions (= 1.2.0)
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-redirect-from (= 0.11.0)
37
- jekyll-sass-converter (= 1.3.0)
38
- jekyll-seo-tag (= 2.1.0)
39
- jekyll-sitemap (= 0.12.0)
40
- jekyll-swiss (= 0.4.0)
41
- jemoji (= 0.7.0)
42
- kramdown (= 1.11.1)
43
- liquid (= 3.0.6)
44
- listen (= 3.0.6)
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.0.0)
47
- rouge (= 1.11.1)
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.2.0)
77
+ github-pages-health-check (1.16.1)
50
78
  addressable (~> 2.3)
51
- net-dns (~> 0.8)
79
+ dnsruby (~> 1.60)
52
80
  octokit (~> 4.0)
53
- public_suffix (~> 1.4)
54
- typhoeus (~> 0.7)
55
- html-pipeline (2.12.0)
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.3.0)
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 (~> 1.1)
65
- kramdown (~> 1.3)
66
- liquid (~> 3.0)
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 (~> 1.7)
100
+ rouge (>= 1.7, < 4)
70
101
  safe_yaml (~> 1.0)
71
- jekyll-avatar (0.4.2)
72
- jekyll (~> 3.0)
73
- jekyll-coffeescript (1.0.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
- jekyll-feed (0.8.0)
76
- jekyll (~> 3.3)
77
- jekyll-gist (1.4.0)
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.2.0)
80
- jekyll (~> 3.1)
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.2.0)
83
- activesupport (~> 4.0)
123
+ jekyll-mentions (1.5.1)
84
124
  html-pipeline (~> 2.3)
85
- jekyll (~> 3.0)
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-redirect-from (0.11.0)
88
- jekyll (>= 2.0)
89
- jekyll-sass-converter (1.3.0)
90
- sass (~> 3.2)
91
- jekyll-seo-tag (2.1.0)
92
- jekyll (~> 3.3)
93
- jekyll-sitemap (0.12.0)
94
- jekyll (~> 3.3)
95
- jekyll-swiss (0.4.0)
96
- jekyll-theme-slate (0.0.4)
97
- jekyll (~> 3.3)
98
- jekyll-watch (1.5.1)
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.7.0)
101
- activesupport (~> 4.0)
102
- gemoji (~> 2.0)
192
+ jemoji (0.11.1)
193
+ gemoji (~> 3.0)
103
194
  html-pipeline (~> 2.2)
104
- jekyll (>= 3.0)
105
- json (1.8.6)
106
- kramdown (1.11.1)
107
- liquid (3.0.6)
108
- listen (3.0.6)
109
- rb-fsevent (>= 0.9.3)
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.0.0)
114
- minitest (5.11.3)
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
- net-dns (0.9.0)
117
- nokogiri (1.10.4)
209
+ nokogiri (1.10.10)
118
210
  mini_portile2 (~> 2.4.0)
119
- octokit (4.14.0)
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.5.3)
124
- rb-fsevent (0.10.3)
125
- rb-inotify (0.10.0)
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 (1.11.1)
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 (0.8.0)
141
- ethon (>= 0.8.0)
142
- tzinfo (1.2.5)
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.6.0)
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-slate
248
+ jekyll-rtd-theme
152
249
 
153
250
  BUNDLED WITH
154
- 2.0.2
251
+ 2.1.4
@@ -1,13 +1,9 @@
1
- theme: jekyll-theme-slate
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
- defaults:
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.