hookapp 2.0.15 → 2.0.16
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/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/hook.rdoc +1 -1
- data/html/Hook/PromptSTD.html +1 -1
- data/html/HookApp.html +2 -2
- data/html/README_rdoc.html +1 -1
- data/html/created.rid +4 -4
- data/html/index.html +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/lib/hook/hookapp.rb +2 -2
- data/lib/hook/prompt.rb +1 -1
- data/lib/hook/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: b44765919b81d0e345de0a2f6a209c57f8d3be0d4de196215a9e5c4e061f682e
|
|
4
|
+
data.tar.gz: 8372344a2b3ff71302d63e9052bd627fbd7fdb7543173c3f4f25bf1399f5d305
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14bf6681d695f971bad160873ce10ee84ee4b406ce118623abfaf1b8ee6c4ca09a8f4b5e3da7df31515974add9c19c4d2a487c94f9541ceb19513fca13ef6e47
|
|
7
|
+
data.tar.gz: e77f6a5f2822c461927d8c84120aa6f41dd16cb02cf13c6a7cd63b33f191488c71b583c62929a9d4d4284eb6f9b84467341cf21bf990a22bcd3107a4ad2d4da5
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@ CLI interface for Hook.app (macOS)
|
|
|
6
6
|
|
|
7
7
|
This gem includes a `hook` binary that allows interaction with the features of Hook.app.
|
|
8
8
|
|
|
9
|
-
*v2.0.
|
|
9
|
+
*v2.0.16*
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
@@ -366,5 +366,5 @@ This software is licensed under the MIT License.
|
|
|
366
366
|
THE SOFTWARE.
|
|
367
367
|
|
|
368
368
|
|
|
369
|
-
Documentation generated 2022-
|
|
369
|
+
Documentation generated 2022-08-23 09:39
|
|
370
370
|
|
data/hook.rdoc
CHANGED
data/html/Hook/PromptSTD.html
CHANGED
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
<pre><span class="ruby-comment"># File lib/hook/prompt.rb, line 8</span>
|
|
110
110
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">clear_screen</span>(<span class="ruby-identifier">msg</span> = <span class="ruby-keyword">nil</span>)
|
|
111
111
|
<span class="ruby-identifier">puts</span> <span class="ruby-string">"\e[H\e[2J"</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">$stdout</span>.<span class="ruby-identifier">tty?</span>
|
|
112
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">msg</span> <span class="ruby-keyword">
|
|
112
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">msg</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">msg</span>.<span class="ruby-identifier">nil?</span>
|
|
113
113
|
<span class="ruby-keyword">end</span></pre>
|
|
114
114
|
</div>
|
|
115
115
|
</div>
|
data/html/HookApp.html
CHANGED
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
<span class="ruby-identifier">args</span> = [<span class="ruby-string">'--layout=reverse-list'</span>,
|
|
314
314
|
<span class="ruby-string">'--header="esc: cancel, return: browse"'</span>,
|
|
315
315
|
<span class="ruby-string">'--prompt=" Select file > "'</span>,
|
|
316
|
-
<span class="ruby-string">%(--preview='hook ls {}')</span>,
|
|
316
|
+
<span class="ruby-string">%(--preview='hook ls -o m {}')</span>,
|
|
317
317
|
<span class="ruby-string">'--height=60%'</span>,
|
|
318
318
|
<span class="ruby-string">'--min-height=10'</span>]
|
|
319
319
|
|
|
@@ -1046,7 +1046,7 @@ APPLESCRIPT`</span>.<span class="ruby-identifier">strip</span>.<span class="ruby
|
|
|
1046
1046
|
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">mark</span>[<span class="ruby-value">:url</span>]
|
|
1047
1047
|
<span class="ruby-identifier">url</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">mark</span>[<span class="ruby-value">:url</span>])
|
|
1048
1048
|
<span class="ruby-identifier">id</span> = <span class="ruby-identifier">mark</span>[<span class="ruby-value">:url</span>]
|
|
1049
|
-
<span class="ruby-identifier">loc</span> = <span class="ruby-node">"#{url.scheme} -
|
|
1049
|
+
<span class="ruby-identifier">loc</span> = <span class="ruby-node">"#{url.scheme} + ' - ' + url.hostname"</span>
|
|
1050
1050
|
<span class="ruby-keyword">else</span>
|
|
1051
1051
|
<span class="ruby-identifier">loc</span> = <span class="ruby-string">''</span>
|
|
1052
1052
|
<span class="ruby-keyword">end</span>
|
data/html/README_rdoc.html
CHANGED
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
|
|
134
134
|
<p>This gem includes a `hook` binary that allows interaction with the features of Hook.app.</p>
|
|
135
135
|
|
|
136
|
-
<p>v2.0.
|
|
136
|
+
<p>v2.0.16</p>
|
|
137
137
|
|
|
138
138
|
<h3 id="label-Global+Options">Global Options<span><a href="#label-Global+Options">¶</a> <a href="#top">↑</a></span></h3>
|
|
139
139
|
|
data/html/created.rid
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
Tue, 23 Aug 2022 09:39:55 -0500
|
|
2
2
|
README.rdoc Tue, 07 Jul 2020 16:57:07 -0500
|
|
3
3
|
lib/hook.rb Thu, 26 May 2022 08:20:27 -0500
|
|
4
|
-
lib/hook/hookapp.rb
|
|
4
|
+
lib/hook/hookapp.rb Tue, 23 Aug 2022 09:37:26 -0500
|
|
5
5
|
lib/hook/hooker.rb Sun, 31 Oct 2021 07:54:46 -0500
|
|
6
6
|
lib/hook/markdown_document_listener.rb Sun, 26 Sep 2021 07:45:59 -0500
|
|
7
|
-
lib/hook/prompt.rb
|
|
7
|
+
lib/hook/prompt.rb Tue, 23 Aug 2022 06:17:15 -0500
|
|
8
8
|
lib/hook/string.rb Sun, 31 Oct 2021 07:03:15 -0500
|
|
9
|
-
lib/hook/version.rb
|
|
9
|
+
lib/hook/version.rb Tue, 23 Aug 2022 09:38:49 -0500
|
|
10
10
|
bin/hook Tue, 19 Jul 2022 14:11:16 -0500
|
data/html/index.html
CHANGED
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
|
|
100
100
|
<p>This gem includes a `hook` binary that allows interaction with the features of Hook.app.</p>
|
|
101
101
|
|
|
102
|
-
<p>v2.0.
|
|
102
|
+
<p>v2.0.16</p>
|
|
103
103
|
|
|
104
104
|
<h3 id="label-Global+Options">Global Options<span><a href="#label-Global+Options">¶</a> <a href="#top">↑</a></span></h3>
|
|
105
105
|
|
data/html/js/search_index.js.gz
CHANGED
|
Binary file
|
data/lib/hook/hookapp.rb
CHANGED
|
@@ -224,7 +224,7 @@ class HookApp
|
|
|
224
224
|
elsif mark[:url]
|
|
225
225
|
url = URI.parse(mark[:url])
|
|
226
226
|
id = mark[:url]
|
|
227
|
-
loc = "#{url.scheme} -
|
|
227
|
+
loc = "#{url.scheme} + ' - ' + url.hostname"
|
|
228
228
|
else
|
|
229
229
|
loc = ''
|
|
230
230
|
end
|
|
@@ -273,7 +273,7 @@ class HookApp
|
|
|
273
273
|
args = ['--layout=reverse-list',
|
|
274
274
|
'--header="esc: cancel, return: browse"',
|
|
275
275
|
'--prompt=" Select file > "',
|
|
276
|
-
%(--preview='hook ls {}'),
|
|
276
|
+
%(--preview='hook ls -o m {}'),
|
|
277
277
|
'--height=60%',
|
|
278
278
|
'--min-height=10']
|
|
279
279
|
|
data/lib/hook/prompt.rb
CHANGED
data/lib/hook/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hookapp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brett Terpstra
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aruba
|