docrb-html 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -5
- data/exe/docrb-html +1 -1
- data/lib/renderer/version.rb +1 -1
- data/lib/renderer.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 417c97961cb771b13c6fd2ba73c50071b0c8f9d7b8c8347720d7a6122507b939
|
4
|
+
data.tar.gz: c8cffc343a5f6c1252504bcf040ed1c1037bbf4c61ad93e2d642d434bc219d2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c6d0faef4f2bedb06dd746dd7b611185cc33d8d33664e4f6c666613748a892dd691be08eaa24520b6f4c396bc341e09e3da246fd374b64c919ec97de0971625
|
7
|
+
data.tar.gz: 69d245a02ef403e4c9be4eabe0120876570208ffc354e8c5529ff0057337e3bc1817271b0d4e1aa6ef570e2ca74af0951bafbc40a22c865ba36d6266188d6e00
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
docrb-html (0.2.
|
4
|
+
docrb-html (0.2.1)
|
5
5
|
nokogiri (~> 1.14)
|
6
6
|
sassc (~> 2.4)
|
7
7
|
|
@@ -10,10 +10,6 @@ GEM
|
|
10
10
|
specs:
|
11
11
|
byebug (11.1.3)
|
12
12
|
ffi (1.15.5)
|
13
|
-
mini_portile2 (2.8.1)
|
14
|
-
nokogiri (1.14.2)
|
15
|
-
mini_portile2 (~> 2.8.0)
|
16
|
-
racc (~> 1.4)
|
17
13
|
nokogiri (1.14.2-arm64-darwin)
|
18
14
|
racc (~> 1.4)
|
19
15
|
nokogiri (1.14.2-x86_64-darwin)
|
data/exe/docrb-html
CHANGED
data/lib/renderer/version.rb
CHANGED
data/lib/renderer.rb
CHANGED
@@ -23,14 +23,14 @@ class Renderer
|
|
23
23
|
|
24
24
|
def now = Time.now.strftime("%A, %-d %b %Y %H:%M:%S %Z")
|
25
25
|
|
26
|
-
def initialize
|
27
|
-
@base = Pathname.new(
|
28
|
-
@output = Pathname.new(
|
26
|
+
def initialize(base, output)
|
27
|
+
@base = Pathname.new(base)
|
28
|
+
@output = Pathname.new(output)
|
29
29
|
end
|
30
30
|
|
31
31
|
def metadata = @metadata ||= Metadata.new(@base)
|
32
32
|
def defs = @defs ||= Defs.new(@base, metadata)
|
33
|
-
def footer = @footer ||= Component::Footer.new(version:
|
33
|
+
def footer = @footer ||= Component::Footer.new(version: VERSION, updated_at: now)
|
34
34
|
|
35
35
|
def render
|
36
36
|
project_header = Component::ProjectHeader.new(
|