ruby2html 1.5.6 → 1.5.7
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: 4c498562007af49a60be8dd1d6940906d3d58f6eee36b9de93765da5ece5d1a0
|
4
|
+
data.tar.gz: b82ef6779e2f18d5330e0280e487461d6c6d8da18464627015675b4853e6a0cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a6c7fae2edab3ea80ce2dca50fff2802ed11919d0eff2c4875b64c9feb81812c4f5e1a7bcd1dcd2064c0d9103497f17eb55d563023d6a2f3847edd5e05ebdae
|
7
|
+
data.tar.gz: 9fca95689d5bc91c3b19a154f218498065b79a7f463c520d1d0c84bc21cf4d4a9d5e7d41a4323ed745a322da14f37590160637de5a176e61451bac3beca78fbf
|
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.7
|
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
|