madman 0.3.1 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/madman +1 -1
- data/lib/madman/commands/nav.rb +2 -2
- data/lib/madman/commands/preview.rb +2 -2
- data/lib/madman/commands/readme.rb +1 -1
- data/lib/madman/commands/render.rb +1 -1
- data/lib/madman/commands/serve.rb +1 -1
- data/lib/madman/version.rb +1 -1
- metadata +23 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d86b3e20c48e1b0f777980889dd86de9835d89b3573e7273a484d4d2f0e17d9
|
4
|
+
data.tar.gz: 83ec7881c8d1fea4c17bf1cb77892f1eba75a75f4a7c9fe369965b993dc15010
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31e1b77625e8ac5964befbaeabc52b53fff96b9537ee316f494a237a9a0f63586dc6237aa3d2742983b4dad75d5aaccd151031a01f196cade5fd9503b2aada6f
|
7
|
+
data.tar.gz: bd47aa12c0c2667295afd499473552443dc49256a8a5cf834846e7ab0175595e1f111aa9f3b263128399fdd809b07b8cae2a16ce109d1e58f75d1f2cfd50c4f5
|
data/bin/madman
CHANGED
data/lib/madman/commands/nav.rb
CHANGED
@@ -40,14 +40,14 @@ module Madman
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def update_file(file)
|
43
|
-
say "Updating
|
43
|
+
say "Updating g`#{file}`"
|
44
44
|
file_dir = File.dirname file
|
45
45
|
toc = Madman::Navigation.new file_dir, depth: depth
|
46
46
|
doc = Madman::Document.from_file file
|
47
47
|
doc.inject toc.markdown, marker: marker, force: force?
|
48
48
|
|
49
49
|
if verbose?
|
50
|
-
say word_wrap "
|
50
|
+
say word_wrap " b`#{doc.text}`"
|
51
51
|
say ''
|
52
52
|
end
|
53
53
|
|
@@ -31,9 +31,9 @@ module Madman
|
|
31
31
|
port = args['--port']
|
32
32
|
bind = args['--bind']
|
33
33
|
|
34
|
-
say "Starting server at
|
34
|
+
say "Starting server at bu`localhost:#{port}`"
|
35
35
|
if ENV['GITHUB_ACCESS_TOKEN']
|
36
|
-
say "To view the GitHub API version go to
|
36
|
+
say "To view the GitHub API version go to bu`localhost:#{port}/github`"
|
37
37
|
end
|
38
38
|
say ''
|
39
39
|
|
@@ -26,7 +26,7 @@ module Madman
|
|
26
26
|
bind = args['--bind']
|
27
27
|
renderer = args['--github'] ? :github : :default
|
28
28
|
|
29
|
-
say "Starting server at
|
29
|
+
say "Starting server at bu`localhost:#{port}` using the g`#{renderer}` renderer\n"
|
30
30
|
|
31
31
|
Madman::DirServer.set bind: bind, port: port,
|
32
32
|
dir: dir, renderer: renderer
|
data/lib/madman/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: madman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -42,16 +42,22 @@ dependencies:
|
|
42
42
|
name: colsole
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.8.1
|
48
|
+
- - "<"
|
46
49
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
50
|
+
version: '2'
|
48
51
|
type: :runtime
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
|
-
- - "
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 0.8.1
|
58
|
+
- - "<"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
60
|
+
version: '2'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: commonmarker
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,14 +84,14 @@ dependencies:
|
|
78
84
|
requirements:
|
79
85
|
- - "~>"
|
80
86
|
- !ruby/object:Gem::Version
|
81
|
-
version: 0.7
|
87
|
+
version: '0.7'
|
82
88
|
type: :runtime
|
83
89
|
prerelease: false
|
84
90
|
version_requirements: !ruby/object:Gem::Requirement
|
85
91
|
requirements:
|
86
92
|
- - "~>"
|
87
93
|
- !ruby/object:Gem::Version
|
88
|
-
version: 0.7
|
94
|
+
version: '0.7'
|
89
95
|
- !ruby/object:Gem::Dependency
|
90
96
|
name: octokit
|
91
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -166,16 +172,22 @@ dependencies:
|
|
166
172
|
name: slim
|
167
173
|
requirement: !ruby/object:Gem::Requirement
|
168
174
|
requirements:
|
169
|
-
- - "
|
175
|
+
- - ">="
|
170
176
|
- !ruby/object:Gem::Version
|
171
177
|
version: '4.0'
|
178
|
+
- - "<"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '6'
|
172
181
|
type: :runtime
|
173
182
|
prerelease: false
|
174
183
|
version_requirements: !ruby/object:Gem::Requirement
|
175
184
|
requirements:
|
176
|
-
- - "
|
185
|
+
- - ">="
|
177
186
|
- !ruby/object:Gem::Version
|
178
187
|
version: '4.0'
|
188
|
+
- - "<"
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '6'
|
179
191
|
- !ruby/object:Gem::Dependency
|
180
192
|
name: string-direction
|
181
193
|
requirement: !ruby/object:Gem::Requirement
|
@@ -245,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
245
257
|
- !ruby/object:Gem::Version
|
246
258
|
version: '0'
|
247
259
|
requirements: []
|
248
|
-
rubygems_version: 3.4.
|
260
|
+
rubygems_version: 3.4.5
|
249
261
|
signing_key:
|
250
262
|
specification_version: 4
|
251
263
|
summary: The Markdown Swiss Army Knife
|