wing 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +37 -0
- data/Rakefile +2 -0
- data/bin/wing +5 -0
- data/lib/wing.rb +129 -0
- data/lib/wing/assets/github.css +126 -0
- data/lib/wing/assets/highlight.js +2 -0
- data/lib/wing/assets/markdown.css +212 -0
- data/lib/wing/assets/mermaid.js +17020 -0
- data/lib/wing/assets/normalize.css +427 -0
- data/lib/wing/assets/run.js +1 -0
- data/lib/wing/scripts/rasterize.js +50 -0
- data/lib/wing/templates/config.yml +2 -0
- data/lib/wing/templates/gitignore +1 -0
- data/lib/wing/templates/main.html +15 -0
- data/lib/wing/version.rb +3 -0
- data/wing.gemspec +25 -0
- metadata +106 -0
@@ -0,0 +1 @@
|
|
1
|
+
/build
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>[TITLE]</title>
|
5
|
+
<script type="text/javascript" src="assets/mermaid.js"></script>
|
6
|
+
<script type="text/javascript" src="assets/highlight.js"></script>
|
7
|
+
<script type="text/javascript" src="assets/run.js"></script>
|
8
|
+
<link rel="stylesheet" type="text/css" media="all" href="assets/normalize.css">
|
9
|
+
<link rel="stylesheet" type="text/css" media="all" href="assets/markdown.css">
|
10
|
+
<link rel="stylesheet" type="text/css" media="all" href="assets/github.css">
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
[BODY]
|
14
|
+
</body>
|
15
|
+
</html>
|
data/lib/wing/version.rb
ADDED
data/wing.gemspec
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'wing/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "wing"
|
8
|
+
spec.version = Wing::VERSION
|
9
|
+
spec.authors = ["Tymon Tobolski"]
|
10
|
+
spec.email = ["tymon.tobolski@monterail.com"]
|
11
|
+
spec.summary = %q{Markdown to PDF converter with superpowers}
|
12
|
+
spec.description = %q{Convert github markdown with mermaid diagrams to beautiful PDF.}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
|
24
|
+
spec.add_runtime_dependency "github-markdown"
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,106 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wing
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tymon Tobolski
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-01-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: github-markdown
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Convert github markdown with mermaid diagrams to beautiful PDF.
|
56
|
+
email:
|
57
|
+
- tymon.tobolski@monterail.com
|
58
|
+
executables:
|
59
|
+
- wing
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".gitignore"
|
64
|
+
- Gemfile
|
65
|
+
- LICENSE.txt
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- bin/wing
|
69
|
+
- lib/wing.rb
|
70
|
+
- lib/wing/assets/github.css
|
71
|
+
- lib/wing/assets/highlight.js
|
72
|
+
- lib/wing/assets/markdown.css
|
73
|
+
- lib/wing/assets/mermaid.js
|
74
|
+
- lib/wing/assets/normalize.css
|
75
|
+
- lib/wing/assets/run.js
|
76
|
+
- lib/wing/scripts/rasterize.js
|
77
|
+
- lib/wing/templates/config.yml
|
78
|
+
- lib/wing/templates/gitignore
|
79
|
+
- lib/wing/templates/main.html
|
80
|
+
- lib/wing/version.rb
|
81
|
+
- wing.gemspec
|
82
|
+
homepage: ''
|
83
|
+
licenses:
|
84
|
+
- MIT
|
85
|
+
metadata: {}
|
86
|
+
post_install_message:
|
87
|
+
rdoc_options: []
|
88
|
+
require_paths:
|
89
|
+
- lib
|
90
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
95
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
requirements: []
|
101
|
+
rubyforge_project:
|
102
|
+
rubygems_version: 2.2.2
|
103
|
+
signing_key:
|
104
|
+
specification_version: 4
|
105
|
+
summary: Markdown to PDF converter with superpowers
|
106
|
+
test_files: []
|