tilt 2.6.1 → 2.7.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.
data/lib/tilt/creole.rb DELETED
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
- require_relative 'template'
3
- require 'creole'
4
-
5
- warn 'tilt/creole is deprecated, as creole requires modifying string literals', uplevel: 1
6
-
7
- allowed_opts = [:allowed_schemes, :extensions, :no_escape].freeze
8
-
9
- # Creole implementation. See: http://www.wikicreole.org/
10
- Tilt::CreoleTemplate = Tilt::StaticTemplate.subclass do
11
- opts = {}
12
- allowed_opts.each do |k|
13
- opts[k] = @options[k] if @options[k]
14
- end
15
- Creole::Parser.new(@data, opts).to_html
16
- end