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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 365505a045416de99180ea9c1cf68a9471499ac2a6c26c251018a4816ae025c1
4
- data.tar.gz: 989e62d45cdb2bfd45f6892683c70c5edf18f392d384da347fd346a1b443034a
3
+ metadata.gz: fab5dc94d05d184be658795e8470af249f9fdb4f3e8c8e0f376bb194f456b26e
4
+ data.tar.gz: 444cb4d3d3259107828b72077c2d77850860b4b10926fe9f86fbecb23577af2c
5
5
  SHA512:
6
- metadata.gz: 4f066bf2f71eb36305e30f0542581a4df0cc8258bbf112fdfe1653aeeb8644033cc13d07b9be76f054d7fe5eabe134d41617b9978a961168881aef2c8cfe650e
7
- data.tar.gz: d2899529b2d2120629bbf028f10a8754e8b09f18787bfcfb87aee1704e3d596f642d646d18f45bd18fd756f66898509801b5b73134015511fa7f83c5c84a2ee0
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 ||= OpenStruct.new({
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
@@ -1,3 +1,3 @@
1
1
  module Docwatch
2
- VERSION = '1.1.5'
2
+ VERSION = '1.1.6'
3
3
  end
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.5
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-10-12 00:00:00.000000000 Z
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.21
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