ruby2html 1.5.6 → 1.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gem/ruby2html/html_beautifier_middleware.rb +0 -2
- data/lib/gem/ruby2html/render.rb +1 -4
- data/lib/gem/ruby2html/version.rb +1 -1
- data/lib/gem/ruby2html.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bb81508767a3c0d752196a8407c2df91a238cfdd40adc74cb781108d12f252a
|
4
|
+
data.tar.gz: 88b6b41fc9d4b989dfbe8af188679f6bbf0052be18d269facca585e19d92803d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ed9c992d3b8bed296bc4f461cce5198df1e587df46c696c849defbd1e64c88868c7942b2c69fa0cdd6f7f4d6fda4ac400c692e6e06fa750cc2d73f95c9abb61
|
7
|
+
data.tar.gz: ca1c2d48d8cab767b2c81aa27858cef0c6b40a1254e29eb2340ebb01145428b901cb6dfce63f37e7abb102d72726ab3adcfc3dca87399ae77ab536bd1d4c0707
|
data/lib/gem/ruby2html/render.rb
CHANGED
@@ -1,8 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'cgi'
|
4
|
-
require 'stringio'
|
5
|
-
|
6
3
|
module Ruby2html
|
7
4
|
class Render
|
8
5
|
HTML5_TAGS = %w[
|
@@ -22,7 +19,7 @@ module Ruby2html
|
|
22
19
|
attr_reader :output
|
23
20
|
attr_accessor :current_output
|
24
21
|
|
25
|
-
def initialize(context, &root)
|
22
|
+
def initialize(context = nil, &root)
|
26
23
|
@context = context
|
27
24
|
@root = root
|
28
25
|
@output = StringIO.new
|
data/lib/gem/ruby2html.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby2html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sebi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlbeautifier
|