tilt 2.7.0 → 2.8.0

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: e425f100107f57bdcf754dde8fcabc9a1d63ad9ee1ad5e2bffe2b5103affc712
4
- data.tar.gz: 655f9f6617846da59ce0011c4ad15cb20ec01b55045662a4ef6d4537b6ff523c
3
+ metadata.gz: 4277574fbcafae6077fd4e64a6528e3117cae4aa653a471ab9179942a1440a3a
4
+ data.tar.gz: 0ebc6d611b50d8ef82eb91b6b09a5184788909716c4f6961dac770537b02aae6
5
5
  SHA512:
6
- metadata.gz: 18339cfc7b770f714aa272fa5bc8d9d0726b23b0cff8df69c45f2bafa3a341705c50c152bff1c20187b328e46c05b08a0e7a2ab0339352e42afd871559fecf8b
7
- data.tar.gz: c0d5aee0ec0c2cab1f30aef4bc783432ce945dd446c929b3af370f2f57175718d76ae5f55e0ba1df29de2dc64720d4c911592c9ea0516b8e6abfd06daef656c7
6
+ metadata.gz: 0c1b60402b38beff691e96630126af11e12a596df74923718e5ef99e66b2961218456d2dc0e7b87af1d2256603cee8cc0dba6823c8e39613fd790ebe39bd9b58
7
+ data.tar.gz: a55b63755285f279625ccc296fd637e22f3931c46549712ec8105c312e2bf537fac38882492691d6c1ad788f76e418ded62cbd6e6b2e54e3f3819cfc2f61b045
data/COPYING CHANGED
@@ -1,5 +1,5 @@
1
1
  Copyright (c) 2010-2016 Ryan Tomayko <http://tomayko.com/about>
2
- Copyright (c) 2015-2023 Jeremy Evans
2
+ Copyright (c) 2015-2026 Jeremy Evans and contributors
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to
@@ -50,14 +50,24 @@ if defined?(::Commonmarker)
50
50
  parse_opts = [
51
51
  :smart,
52
52
  :default_info_string,
53
+ :relaxed_tasklist_matching,
54
+ :relaxed_autolinks,
55
+ :leave_footnote_definitions,
56
+ :ignore_setext,
53
57
  ].freeze
54
58
  render_opts = [
55
59
  :hardbreaks,
56
60
  :github_pre_lang,
61
+ :full_info_string,
57
62
  :width,
58
63
  :unsafe,
59
64
  :escape,
60
65
  :sourcepos,
66
+ :escaped_char_spans,
67
+ :ignore_empty_links,
68
+ :gfm_quirks,
69
+ :prefer_fenced,
70
+ :tasklist_classes,
61
71
  ].freeze
62
72
  exts = [
63
73
  :strikethrough,
@@ -68,9 +78,23 @@ if defined?(::Commonmarker)
68
78
  :superscript,
69
79
  :header_ids,
70
80
  :footnotes,
81
+ :inline_footnotes,
71
82
  :description_lists,
72
83
  :front_matter_delimiter,
84
+ :multiline_block_quotes,
85
+ :math_dollars,
86
+ :math_code,
73
87
  :shortcodes,
88
+ :wikilinks_title_before_pipe,
89
+ :wikilinks_title_after_pipe,
90
+ :underline,
91
+ :spoiler,
92
+ :greentext,
93
+ :subscript,
94
+ :subtext,
95
+ :alerts,
96
+ :cjk_friendly_emphasis,
97
+ :highlight,
74
98
  ].freeze
75
99
 
76
100
  Tilt::CommonMarkerTemplate = Tilt::StaticTemplate.subclass do
data/lib/tilt/rdoc.rb CHANGED
@@ -28,6 +28,14 @@ require 'rdoc/markup'
28
28
  require 'rdoc/markup/to_html'
29
29
  require 'rdoc/options'
30
30
 
31
- Tilt::RDocTemplate = Tilt::StaticTemplate.subclass do
32
- RDoc::Markup::ToHtml.new(RDoc::Options.new, nil).convert(@data).to_s
31
+ Tilt::RDocTemplate = if defined?(RDoc::VERSION) && RDoc::VERSION >= "8"
32
+ Tilt::StaticTemplate.subclass do
33
+ RDoc::Markup::ToHtml.new.convert(@data).to_s
34
+ end
35
+ # :nocov:
36
+ else
37
+ Tilt::StaticTemplate.subclass do
38
+ RDoc::Markup::ToHtml.new(RDoc::Options.new, nil).convert(@data).to_s
39
+ end
33
40
  end
41
+ # :nocov:
data/lib/tilt.rb CHANGED
@@ -5,7 +5,7 @@ require_relative 'tilt/template'
5
5
  # Namespace for Tilt. This module is not intended to be included anywhere.
6
6
  module Tilt
7
7
  # Current version.
8
- VERSION = '2.7.0'
8
+ VERSION = '2.8.0'
9
9
 
10
10
  EMPTY_ARRAY = [].freeze
11
11
  private_constant :EMPTY_ARRAY
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tilt
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Tomayko
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
- rubygems_version: 4.0.3
90
+ rubygems_version: 4.0.10
91
91
  specification_version: 4
92
92
  summary: Generic interface to multiple Ruby template engines
93
93
  test_files: []