jekyll 4.0.0.pre.alpha1 → 4.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +58 -17
  3. data/lib/jekyll.rb +5 -1
  4. data/lib/jekyll/cache.rb +71 -64
  5. data/lib/jekyll/cleaner.rb +5 -5
  6. data/lib/jekyll/collection.rb +6 -4
  7. data/lib/jekyll/command.rb +4 -2
  8. data/lib/jekyll/commands/new.rb +4 -4
  9. data/lib/jekyll/commands/serve.rb +9 -1
  10. data/lib/jekyll/commands/serve/servlet.rb +13 -14
  11. data/lib/jekyll/commands/serve/websockets.rb +1 -1
  12. data/lib/jekyll/configuration.rb +40 -129
  13. data/lib/jekyll/converters/identity.rb +2 -2
  14. data/lib/jekyll/converters/markdown/kramdown_parser.rb +70 -9
  15. data/lib/jekyll/convertible.rb +21 -20
  16. data/lib/jekyll/document.rb +56 -31
  17. data/lib/jekyll/drops/document_drop.rb +12 -0
  18. data/lib/jekyll/drops/drop.rb +14 -8
  19. data/lib/jekyll/drops/site_drop.rb +11 -1
  20. data/lib/jekyll/drops/url_drop.rb +52 -1
  21. data/lib/jekyll/entry_filter.rb +38 -44
  22. data/lib/jekyll/excerpt.rb +3 -3
  23. data/lib/jekyll/filters.rb +140 -22
  24. data/lib/jekyll/filters/url_filters.rb +41 -14
  25. data/lib/jekyll/frontmatter_defaults.rb +15 -20
  26. data/lib/jekyll/hooks.rb +2 -5
  27. data/lib/jekyll/inclusion.rb +32 -0
  28. data/lib/jekyll/liquid_renderer.rb +18 -15
  29. data/lib/jekyll/liquid_renderer/file.rb +10 -0
  30. data/lib/jekyll/liquid_renderer/table.rb +18 -61
  31. data/lib/jekyll/mime.types +53 -11
  32. data/lib/jekyll/page.rb +26 -2
  33. data/lib/jekyll/page_excerpt.rb +25 -0
  34. data/lib/jekyll/path_manager.rb +31 -0
  35. data/lib/jekyll/profiler.rb +58 -0
  36. data/lib/jekyll/reader.rb +4 -1
  37. data/lib/jekyll/readers/collection_reader.rb +1 -0
  38. data/lib/jekyll/readers/data_reader.rb +1 -0
  39. data/lib/jekyll/readers/layout_reader.rb +1 -0
  40. data/lib/jekyll/readers/page_reader.rb +5 -5
  41. data/lib/jekyll/readers/post_reader.rb +2 -1
  42. data/lib/jekyll/readers/static_file_reader.rb +3 -3
  43. data/lib/jekyll/readers/theme_assets_reader.rb +1 -0
  44. data/lib/jekyll/renderer.rb +9 -15
  45. data/lib/jekyll/site.rb +21 -12
  46. data/lib/jekyll/static_file.rb +15 -10
  47. data/lib/jekyll/tags/highlight.rb +2 -4
  48. data/lib/jekyll/tags/include.rb +67 -11
  49. data/lib/jekyll/tags/post_url.rb +8 -5
  50. data/lib/jekyll/theme.rb +19 -10
  51. data/lib/jekyll/url.rb +7 -3
  52. data/lib/jekyll/utils.rb +14 -18
  53. data/lib/jekyll/utils/platforms.rb +1 -1
  54. data/lib/jekyll/utils/win_tz.rb +1 -1
  55. data/lib/jekyll/version.rb +1 -1
  56. data/lib/theme_template/theme.gemspec.erb +1 -4
  57. metadata +33 -36
@@ -30,7 +30,7 @@ module Jekyll
30
30
  #
31
31
  # Format the hour as a two-digit number.
32
32
  # Establish the minutes based on modulo expression.
33
- hh = format("%02d", absolute_hour(difference).ceil)
33
+ hh = format("%<hour>02d", :hour => absolute_hour(difference).ceil)
34
34
  mm = modulo.zero? ? "00" : "30"
35
35
 
36
36
  Jekyll.logger.debug "Timezone:", "#{timezone} #{offset}#{hh}:#{mm}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jekyll
4
- VERSION = "4.0.0.pre.alpha1"
4
+ VERSION = "4.1.1"
5
5
  end
@@ -10,10 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.homepage = "TODO: Put your gem's website or public repo URL here."
11
11
  spec.license = "MIT"
12
12
 
13
- spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(<%= theme_directories.join("|") %>|LICENSE|README)!i) }
13
+ spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(<%= theme_directories.join("|") %>|LICENSE|README|_config\.yml)!i) }
14
14
 
15
15
  spec.add_runtime_dependency "jekyll", "~> <%= jekyll_version_with_minor %>"
16
-
17
- spec.add_development_dependency "bundler", "~> 1.16"
18
- spec.add_development_dependency "rake", "~> 12.0"
19
16
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.pre.alpha1
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner
8
8
  - Parker Moore
9
9
  - Matt Rogers
10
- autorequire:
10
+ autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2019-03-19 00:00:00.000000000 Z
13
+ date: 2020-06-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: addressable
@@ -58,36 +58,30 @@ dependencies:
58
58
  name: i18n
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: 0.9.5
64
- - - "<"
61
+ - - "~>"
65
62
  - !ruby/object:Gem::Version
66
- version: '2'
63
+ version: '1.0'
67
64
  type: :runtime
68
65
  prerelease: false
69
66
  version_requirements: !ruby/object:Gem::Requirement
70
67
  requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- version: 0.9.5
74
- - - "<"
68
+ - - "~>"
75
69
  - !ruby/object:Gem::Version
76
- version: '2'
70
+ version: '1.0'
77
71
  - !ruby/object:Gem::Dependency
78
72
  name: jekyll-sass-converter
79
73
  requirement: !ruby/object:Gem::Requirement
80
74
  requirements:
81
75
  - - "~>"
82
76
  - !ruby/object:Gem::Version
83
- version: '1.0'
77
+ version: '2.0'
84
78
  type: :runtime
85
79
  prerelease: false
86
80
  version_requirements: !ruby/object:Gem::Requirement
87
81
  requirements:
88
82
  - - "~>"
89
83
  - !ruby/object:Gem::Version
90
- version: '1.0'
84
+ version: '2.0'
91
85
  - !ruby/object:Gem::Dependency
92
86
  name: jekyll-watch
93
87
  requirement: !ruby/object:Gem::Requirement
@@ -150,14 +144,14 @@ dependencies:
150
144
  requirements:
151
145
  - - "~>"
152
146
  - !ruby/object:Gem::Version
153
- version: 0.3.3
147
+ version: 0.4.0
154
148
  type: :runtime
155
149
  prerelease: false
156
150
  version_requirements: !ruby/object:Gem::Requirement
157
151
  requirements:
158
152
  - - "~>"
159
153
  - !ruby/object:Gem::Version
160
- version: 0.3.3
154
+ version: 0.4.0
161
155
  - !ruby/object:Gem::Dependency
162
156
  name: pathutil
163
157
  requirement: !ruby/object:Gem::Requirement
@@ -200,6 +194,20 @@ dependencies:
200
194
  - - "~>"
201
195
  - !ruby/object:Gem::Version
202
196
  version: '1.0'
197
+ - !ruby/object:Gem::Dependency
198
+ name: terminal-table
199
+ requirement: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - "~>"
202
+ - !ruby/object:Gem::Version
203
+ version: '1.8'
204
+ type: :runtime
205
+ prerelease: false
206
+ version_requirements: !ruby/object:Gem::Requirement
207
+ requirements:
208
+ - - "~>"
209
+ - !ruby/object:Gem::Version
210
+ version: '1.8'
203
211
  description: Jekyll is a simple, blog aware, static site generator.
204
212
  email:
205
213
  - maintainers@jekyllrb.com
@@ -264,6 +272,7 @@ files:
264
272
  - lib/jekyll/frontmatter_defaults.rb
265
273
  - lib/jekyll/generator.rb
266
274
  - lib/jekyll/hooks.rb
275
+ - lib/jekyll/inclusion.rb
267
276
  - lib/jekyll/layout.rb
268
277
  - lib/jekyll/liquid_extensions.rb
269
278
  - lib/jekyll/liquid_renderer.rb
@@ -272,9 +281,12 @@ files:
272
281
  - lib/jekyll/log_adapter.rb
273
282
  - lib/jekyll/mime.types
274
283
  - lib/jekyll/page.rb
284
+ - lib/jekyll/page_excerpt.rb
275
285
  - lib/jekyll/page_without_a_file.rb
286
+ - lib/jekyll/path_manager.rb
276
287
  - lib/jekyll/plugin.rb
277
288
  - lib/jekyll/plugin_manager.rb
289
+ - lib/jekyll/profiler.rb
278
290
  - lib/jekyll/publisher.rb
279
291
  - lib/jekyll/reader.rb
280
292
  - lib/jekyll/readers/collection_reader.rb
@@ -332,26 +344,11 @@ homepage: https://jekyllrb.com
332
344
  licenses:
333
345
  - MIT
334
346
  metadata:
347
+ source_code_uri: https://github.com/jekyll/jekyll
335
348
  bug_tracker_uri: https://github.com/jekyll/jekyll/issues
336
349
  changelog_uri: https://github.com/jekyll/jekyll/releases
337
350
  homepage_uri: https://jekyllrb.com
338
- source_code_uri: https://github.com/jekyll/jekyll
339
- post_install_message: |
340
- ----------------------------------------------------------------------------------
341
- This version of Jekyll comes with some major changes.
342
-
343
- Most notably:
344
- * Our `link` tag now comes with the `relative_url` filter incorporated into it.
345
- You should no longer prepend `{{ site.baseurl }}` to `{% link foo.md %}`
346
- For further details: https://github.com/jekyll/jekyll/pull/6727
347
-
348
- * Our `highlight` tag no longer parses Liquid and Liquid-like constructs in the
349
- tag's content body. While this means you no longer need to enclose the content
350
- within a `{% raw %}{% endraw %}` block, it also means that you can no longer
351
- do the following as well:
352
- `{% highlight html %}{% include snippet.html %}{% endhighlight %}`
353
- For further details: https://github.com/jekyll/jekyll/pull/6821
354
- ----------------------------------------------------------------------------------
351
+ post_install_message:
355
352
  rdoc_options:
356
353
  - "--charset=UTF-8"
357
354
  require_paths:
@@ -367,8 +364,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
367
364
  - !ruby/object:Gem::Version
368
365
  version: 2.7.0
369
366
  requirements: []
370
- rubygems_version: 3.0.3
371
- signing_key:
367
+ rubygems_version: 3.1.2
368
+ signing_key:
372
369
  specification_version: 4
373
370
  summary: A simple, blog aware, static site generator.
374
371
  test_files: []