hookapp 2.0.15 → 2.0.16

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: 4020d52eb2430378d681031dcc5f01d944673aa7a3e79e24f148008986dc270e
4
- data.tar.gz: 83b862600af8076bdb9d6297475eb4e4ef8102d5d9a1c3c19f3f388e1722bbd9
3
+ metadata.gz: b44765919b81d0e345de0a2f6a209c57f8d3be0d4de196215a9e5c4e061f682e
4
+ data.tar.gz: 8372344a2b3ff71302d63e9052bd627fbd7fdb7543173c3f4f25bf1399f5d305
5
5
  SHA512:
6
- metadata.gz: b9e70625eff3b1a098f517b599b4eaadc74cac865127bcb63877c27dd5921265ca601d006903c126198e9821407ae90bc3ce615155105a442c80e4b416da36c6
7
- data.tar.gz: 9fb4ef946c78073c24dbc5353dbdd6f98e089a3b30432190d7ae2a833885a5c59ee4ea7ec63643083376afb6a2b036b4614ae603c65e019247c63d90938d0cf6
6
+ metadata.gz: 14bf6681d695f971bad160873ce10ee84ee4b406ce118623abfaf1b8ee6c4ca09a8f4b5e3da7df31515974add9c19c4d2a487c94f9541ceb19513fca13ef6e47
7
+ data.tar.gz: e77f6a5f2822c461927d8c84120aa6f41dd16cb02cf13c6a7cd63b33f191488c71b583c62929a9d4d4284eb6f9b84467341cf21bf990a22bcd3107a4ad2d4da5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hookapp (2.0.15)
4
+ hookapp (2.0.16)
5
5
  gli (~> 2.20.1)
6
6
  tty-which (~> 0.5, >= 0.5.0)
7
7
 
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.15*
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-07-20 08:03
369
+ Documentation generated 2022-08-23 09:39
370
370
 
data/hook.rdoc CHANGED
@@ -4,7 +4,7 @@ Hook.app is a productivity tool for macOS <https://hookproductivity.com/>.
4
4
 
5
5
  This gem includes a `hook` binary that allows interaction with the features of Hook.app.
6
6
 
7
- v2.0.15
7
+ v2.0.16
8
8
 
9
9
  === Global Options
10
10
  === --help
@@ -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">&quot;\e[H\e[2J&quot;</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">if</span> <span class="ruby-identifier">msg</span>.<span class="ruby-identifier">good?</span>
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">&#39;--layout=reverse-list&#39;</span>,
314
314
  <span class="ruby-string">&#39;--header=&quot;esc: cancel, return: browse&quot;&#39;</span>,
315
315
  <span class="ruby-string">&#39;--prompt=&quot; Select file &gt; &quot;&#39;</span>,
316
- <span class="ruby-string">%(--preview=&#39;hook ls {}&#39;)</span>,
316
+ <span class="ruby-string">%(--preview=&#39;hook ls -o m {}&#39;)</span>,
317
317
  <span class="ruby-string">&#39;--height=60%&#39;</span>,
318
318
  <span class="ruby-string">&#39;--min-height=10&#39;</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">&quot;#{url.scheme} - #{url.hostname}&quot;</span>
1049
+ <span class="ruby-identifier">loc</span> = <span class="ruby-node">&quot;#{url.scheme} + &#39; - &#39; + url.hostname&quot;</span>
1050
1050
  <span class="ruby-keyword">else</span>
1051
1051
  <span class="ruby-identifier">loc</span> = <span class="ruby-string">&#39;&#39;</span>
1052
1052
  <span class="ruby-keyword">end</span>
@@ -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.15</p>
136
+ <p>v2.0.16</p>
137
137
 
138
138
  <h3 id="label-Global+Options">Global Options<span><a href="#label-Global+Options">&para;</a> <a href="#top">&uarr;</a></span></h3>
139
139
 
data/html/created.rid CHANGED
@@ -1,10 +1,10 @@
1
- Wed, 20 Jul 2022 08:04:13 -0500
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 Wed, 20 Jul 2022 08:01:12 -0500
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 Thu, 26 May 2022 08:20:13 -0500
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 Wed, 20 Jul 2022 08:03:21 -0500
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.15</p>
102
+ <p>v2.0.16</p>
103
103
 
104
104
  <h3 id="label-Global+Options">Global Options<span><a href="#label-Global+Options">&para;</a> <a href="#top">&uarr;</a></span></h3>
105
105
 
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} - #{url.hostname}"
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
@@ -7,7 +7,7 @@ module Hook
7
7
  ##
8
8
  def clear_screen(msg = nil)
9
9
  puts "\e[H\e[2J" if $stdout.tty?
10
- puts msg if msg.good?
10
+ puts msg unless msg.nil?
11
11
  end
12
12
 
13
13
  ##
data/lib/hook/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hook
4
- VERSION = '2.0.15'
4
+ VERSION = '2.0.16'
5
5
  end
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.15
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-07-20 00:00:00.000000000 Z
11
+ date: 2022-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aruba