mermaid-publisher 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mermaid_cli.rb +6 -0
- data/mermaid-publisher.gemspec +1 -1
- data/puppeteer.json +4 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 837c507197fd338ca9edb9d11a4a4dfc672d2291
|
4
|
+
data.tar.gz: 3e454c257a4b78dc549ccc4a00a3fc7cf585ff1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42684fa5672459cb904445e054e96bab860539cb8e209e341a06497bf4fdae253542cfde590c46293f7293df0691534f3747a7e4d0c0c172d1990646a5c69877
|
7
|
+
data.tar.gz: bf8687c15b5ab810f42b9552ad76d2c09fec4ef824022332c989bfeed610185a201403a3dd4f00e06e0320670d2d7639d512cf8f4aa86f7575bd2a6935a9f990
|
data/lib/mermaid_cli.rb
CHANGED
@@ -55,6 +55,7 @@ class MermaidCLI
|
|
55
55
|
"-i", src_path,
|
56
56
|
"-C", css_path,
|
57
57
|
"-c", config_path,
|
58
|
+
"-p", puppeteer_config_path,
|
58
59
|
"-o", dest_pdf_path
|
59
60
|
].map { |part| Shellwords.escape(part) }
|
60
61
|
|
@@ -72,4 +73,9 @@ class MermaidCLI
|
|
72
73
|
def config_path
|
73
74
|
File.expand_path("../mermaid.json", __dir__)
|
74
75
|
end
|
76
|
+
|
77
|
+
def puppeteer_config_path
|
78
|
+
File.expand_path("../puppeteer.json", __dir__)
|
79
|
+
end
|
80
|
+
|
75
81
|
end
|
data/mermaid-publisher.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "mermaid-publisher"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.2"
|
8
8
|
spec.authors = ["Phuong Nguyen"]
|
9
9
|
spec.email = ["phuongnd08@gmail.com"]
|
10
10
|
spec.summary = %q{Publish mermaid to gdrive}
|
data/puppeteer.json
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mermaid-publisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phuong Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Publish mermaid to gdrive
|
14
14
|
email:
|
@@ -28,6 +28,7 @@ files:
|
|
28
28
|
- mermaid.css
|
29
29
|
- mermaid.json
|
30
30
|
- package.json
|
31
|
+
- puppeteer.json
|
31
32
|
- sample/flowchart.mmd
|
32
33
|
- yarn.lock
|
33
34
|
homepage: https://github.com/remitano/mermaid-publisher
|