docwatch-bin 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/docwatch +9 -2
- data/lib/docwatch/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fab5dc94d05d184be658795e8470af249f9fdb4f3e8c8e0f376bb194f456b26e
|
4
|
+
data.tar.gz: 444cb4d3d3259107828b72077c2d77850860b4b10926fe9f86fbecb23577af2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9424eccb478f69d96c2353088c998188593fcd25ac217e66fe0b705bfe3320aa3afe9bdcae1fcb198805d8526f1c2d88a5b098b586062733b38248b953982b0
|
7
|
+
data.tar.gz: 7c494c2bfef056300b98bb76320646d87e03c7fba80aac0426b14990d814b8d7f21549cae527543868c9c57ea0b6db7027592e822a2f5479308d95318220340a
|
data/bin/docwatch
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
require_relative '../lib/docwatch'
|
3
3
|
include Docwatch
|
4
4
|
|
5
|
+
Params = Struct.new(
|
6
|
+
:verbose,
|
7
|
+
:version,
|
8
|
+
:file_path,
|
9
|
+
keyword_init: true,
|
10
|
+
)
|
11
|
+
|
5
12
|
class Main
|
6
13
|
def initialize(opts)
|
7
14
|
@opts = opts
|
@@ -12,11 +19,11 @@ class Main
|
|
12
19
|
end
|
13
20
|
|
14
21
|
def params
|
15
|
-
@params ||=
|
22
|
+
@params ||= Params.new(
|
16
23
|
verbose: @opts['--verbose'],
|
17
24
|
version: @opts['--version'],
|
18
25
|
file_path: @opts['<file-path>'],
|
19
|
-
|
26
|
+
)
|
20
27
|
end
|
21
28
|
|
22
29
|
def port
|
data/lib/docwatch/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docwatch-bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- crdx
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -144,7 +144,8 @@ files:
|
|
144
144
|
homepage: https://github.com/crdx/docwatch
|
145
145
|
licenses:
|
146
146
|
- MIT
|
147
|
-
metadata:
|
147
|
+
metadata:
|
148
|
+
rubygems_mfa_required: 'true'
|
148
149
|
post_install_message:
|
149
150
|
rdoc_options: []
|
150
151
|
require_paths:
|
@@ -160,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
161
|
- !ruby/object:Gem::Version
|
161
162
|
version: '0'
|
162
163
|
requirements: []
|
163
|
-
rubygems_version: 3.2.
|
164
|
+
rubygems_version: 3.2.29
|
164
165
|
signing_key:
|
165
166
|
specification_version: 4
|
166
167
|
summary: Preview markdown documents in the browser with reload on change
|