kdwatch 0.5.1 → 0.5.2

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: ec097b76b694691e1a066ec87c23ebe004f085940b5ce222e1ec8b383f7cbbd8
4
- data.tar.gz: 3f3b1dff065d860cc01a8a7e6598013faa679aeb9c0206dffd17a0dd85b9a6c8
3
+ metadata.gz: 78de5f5fc93f9cab8290038be3ef8671ad55616aa894a1adc8065ddaee91afe5
4
+ data.tar.gz: 8bbc03a04d4924a48ba6b44f911ae7e081f5e5c01d5e18bfd7b181efb50afeb7
5
5
  SHA512:
6
- metadata.gz: f105edcc85863d728f629c9b49fae44343b67e7f98af8943a1f22202b0f7ff4f88ad347a9a69b77672539dad159ab2ba0c51f08877a1a18e429794c365b764b7
7
- data.tar.gz: 17801699b473113c2b66b8aedf3ac5c15ee124d05a460a25b9023409130aed0c703dac48c831404f410eb53d9be148e64d4ca8566d52e2ddad716d8e6bc06e79
6
+ metadata.gz: c1401f0029d6a39e348d22c35a53e541f70400300dcf2fd0ddf60474733ca4871039a8e3890a16c5ba70dcf48e3a823ed6acf5f1248ebb2fa80af49f0ce8ec06
7
+ data.tar.gz: 4bd5673bb06462c267ff344509c6ec9c280a2d9856d8fe31cb98503de0a544b1ade1b4f6c095e558487b572e2f8482599bc958856814a5a95a48077386b67d5c
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 Carsten Bormann
3
+ Copyright (c) 2021, 2022 Carsten Bormann
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -121,6 +121,35 @@ another laptop), and save some screen real-estate on your laptop.
121
121
  With a globally routable address, kdwatch even can be used for joint
122
122
  viewing in a team.
123
123
 
124
+ ### Finding and accessing kdwatch servers
125
+
126
+ The `kds` tool can list active local (127.0.0.1) kdwatch servers and
127
+ optionally quickly open the page for a selected kdwatch server.
128
+
129
+ ```
130
+ Usage: kds [options] [match...]
131
+ Version: n.m.l (from kdwatch)
132
+ -v, --version Show version and exit
133
+ -h, --help Show option summary and exit
134
+ -f, --from=NUM Search from port number (7991)
135
+ -t, --to=NUM Search to port number (7999)
136
+ ```
137
+
138
+ ```
139
+ $ kds
140
+ http://127.0.0.1:7991 Packed CBOR
141
+ http://127.0.0.1:7992 Concise Problem Details For CoAP APIs
142
+ $ kds prob
143
+ http://127.0.0.1:7991 Packed CBOR
144
+ http://127.0.0.1:7992 Concise Problem Details For CoAP APIs
145
+ (...web page http://127.0.0.1:7992 opens...)
146
+ $
147
+ ```
148
+
149
+ Any match arguments are concatenated with spaces; for servers that
150
+ offer a page with the match string in the title (case insensitive), a
151
+ window is opened in the default browser.
152
+
124
153
  ## Feedback, please
125
154
 
126
155
  This has only been tested on macOS and briefly on Linux. No idea about WSL.
data/bin/kds CHANGED
@@ -23,10 +23,10 @@ BANNER
23
23
  puts opts
24
24
  exit
25
25
  end
26
- opts.on("-fNUM", "--from=NUM", Integer, "Search from port number") do |v|
26
+ opts.on("-fNUM", "--from=NUM", Integer, "Search from port number (#{loport})") do |v|
27
27
  loport = v
28
28
  end
29
- opts.on("-tNUM", "--to=NUM", Integer, "Search to port number") do |v|
29
+ opts.on("-tNUM", "--to=NUM", Integer, "Search to port number (#{hiport})") do |v|
30
30
  hiport = v
31
31
  end
32
32
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kdwatch
4
- VERSION = "0.5.1"
4
+ VERSION = "0.5.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kdwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Bormann