madness 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/madness/commands/server.rb +4 -4
- data/lib/madness/templates/madness.yml +1 -1
- data/lib/madness/version.rb +1 -1
- 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: c0d9a7f338ee05bf69857049572b01b6e8be8c8d1aa3ba9d1a27e17c8faea809
|
|
4
|
+
data.tar.gz: 3e253530c148e67f61aaaadd7fad033c8c9ee9f41bde9b9b14b2f4716a0dfaba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 331a7165e63136a14ad027f259300774c6282fbea101ec62565ffd3360a79ab58b554ca1fc700d6ffa88c0416fbc92fa7147810aded6f67e1587ff37a7770e3f
|
|
7
|
+
data.tar.gz: 408bc8b9e0d34dc5abdaf975e510ed858bcd162972a94a23b57e70d49042e8741a9a237693d233ebb2e63cf32840445bf99b380117d985acadbaa8a5fcfe9e69
|
data/README.md
CHANGED
|
@@ -6,13 +6,13 @@ module Madness
|
|
|
6
6
|
usage 'madness server [PATH] [options]'
|
|
7
7
|
usage 'madness init (-h|--help)'
|
|
8
8
|
|
|
9
|
-
param 'PATH', 'Path to the markdown directory
|
|
9
|
+
param 'PATH', 'Path to the markdown directory (default: .)'
|
|
10
10
|
|
|
11
|
-
option '-p --port NUMBER', 'Set server port number
|
|
12
|
-
option '-b --bind ADDRESS', 'Set server listen address
|
|
11
|
+
option '-p --port NUMBER', 'Set server port number (default: 3000)'
|
|
12
|
+
option '-b --bind ADDRESS', 'Set server listen address (default: 0.0.0.0)'
|
|
13
13
|
option '-o --open', 'Open a web browser after launching'
|
|
14
14
|
option '--auth USER:PASS', 'Enable basic authentication'
|
|
15
|
-
option '--auth-zone NAME', 'The basic authentication
|
|
15
|
+
option '--auth-zone NAME', 'The basic authentication realm (default: Restricted Documentation)'
|
|
16
16
|
option '--theme FOLDER', 'Use a custom theme (either absolute or relative to the main documentation path)'
|
|
17
17
|
|
|
18
18
|
example 'madness server'
|
data/lib/madness/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: madness
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
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-
|
|
11
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|