cli_markdown 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +3 -0
- data/lib/cli_markdown/creator.rb +2 -1
- data/lib/cli_markdown/index.rb +2 -1
- data/lib/cli_markdown/version.rb +1 -1
- metadata +1 -2
- data/Gemfile.lock +0 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3395ee3d4d02aeab220f8dc804d0ce22a6ffc874cfb1161147ea3b4ba7ac2f34
|
4
|
+
data.tar.gz: a929398aeb1e43fcfbcd4581de1f8027bd03461962cb0f2629a75160c262d2d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c73f301fce9233277012b134bcabd71df05426cd1c46ff7f8001bfe3dd588f1ab96341d33e085236e17fa42e530fa65c18a265f82f14976124bc8ac02a90c5f
|
7
|
+
data.tar.gz: 77035faa1dbbc0e67454c28abd82bee1c4517b8bd07d2139e4b0d6c3c97581c6b6036aef88e941cccbabad1b4f23a6e5462fbb3e1bcbd4c149864b967b76cea8
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/cli_markdown/creator.rb
CHANGED
@@ -25,7 +25,8 @@ module CliMarkdown
|
|
25
25
|
def create_all
|
26
26
|
create_index unless @parent_command_name
|
27
27
|
|
28
|
-
@cli_class.commands.
|
28
|
+
commands = @cli_class.commands.reject { |command_name, command| command.hidden? }
|
29
|
+
commands.keys.each do |command_name|
|
29
30
|
page = Page.new(
|
30
31
|
cli_class: @cli_class,
|
31
32
|
cli_name: @cli_name,
|
data/lib/cli_markdown/index.rb
CHANGED
@@ -10,7 +10,8 @@ module CliMarkdown
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def command_list
|
13
|
-
@cli_class.commands.
|
13
|
+
commands = @cli_class.commands.reject { |command_name, command| command.hidden? }
|
14
|
+
commands.keys.sort.map.each do |command_name|
|
14
15
|
page = Page.new(
|
15
16
|
cli_class: @cli_class,
|
16
17
|
cli_name: @cli_name,
|
data/lib/cli_markdown/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cli_markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
@@ -63,7 +63,6 @@ files:
|
|
63
63
|
- ".rspec"
|
64
64
|
- CHANGELOG.md
|
65
65
|
- Gemfile
|
66
|
-
- Gemfile.lock
|
67
66
|
- README.md
|
68
67
|
- Rakefile
|
69
68
|
- cli_markdown.gemspec
|
data/Gemfile.lock
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
cli_markdown (0.1.1)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: https://rubygems.org/
|
8
|
-
specs:
|
9
|
-
diff-lcs (1.5.0)
|
10
|
-
rake (13.0.6)
|
11
|
-
rspec (3.10.0)
|
12
|
-
rspec-core (~> 3.10.0)
|
13
|
-
rspec-expectations (~> 3.10.0)
|
14
|
-
rspec-mocks (~> 3.10.0)
|
15
|
-
rspec-core (3.10.1)
|
16
|
-
rspec-support (~> 3.10.0)
|
17
|
-
rspec-expectations (3.10.1)
|
18
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
19
|
-
rspec-support (~> 3.10.0)
|
20
|
-
rspec-mocks (3.10.2)
|
21
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
-
rspec-support (~> 3.10.0)
|
23
|
-
rspec-support (3.10.3)
|
24
|
-
|
25
|
-
PLATFORMS
|
26
|
-
x86_64-linux
|
27
|
-
|
28
|
-
DEPENDENCIES
|
29
|
-
bundler
|
30
|
-
cli_markdown!
|
31
|
-
rake
|
32
|
-
rspec
|
33
|
-
|
34
|
-
BUNDLED WITH
|
35
|
-
2.2.32
|