hookapp 2.1.0 → 2.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6f20d258c61f15b65d3520c147dbcd2e0b6998fe04e1b75d535de76e0db14bd
4
- data.tar.gz: 57db4084be3e26d82496c8f8795aab3b821a29f48dffa9a564bc4526859c95fe
3
+ metadata.gz: e6b6d7132964f75dc93e20baa3176d8a4d8e405fe291fcc2245746685b0d60d0
4
+ data.tar.gz: b710447722b8c5ab55f4bf68d29aae161e4058af847f02b383f149a68e8b4de8
5
5
  SHA512:
6
- metadata.gz: 50e203166e31e5832973dbc927788b726f2e5f2c2a99b2612221d135e68db27ed9e6eef823d1bac2beff9854b04814c35623ab589f83ec592ebc90becd216b94
7
- data.tar.gz: e9bf80532aefc5224e86974530f500619a44b1d6a8574732251c76651563609c924d69de3058d0251b07683ed4e578e77370a1e5b2792865c04f94516cb23113
6
+ metadata.gz: c169a30c1848e2476d19a9ccd0a244164de1871cff701c04dec42f698e69f870836667c44688881f14d484bab3bbcc758ad28ff80ca72d48523cf5586d8adb77
7
+ data.tar.gz: 12f2ca9ab5d0528251a69aa5319c29a4cec939eb676339dd86d635b2c4ab44519fb596953e00eab861df351031fb3a35ef7426342cf177c50f82cbd9b9e82d07
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hookapp (2.1.0)
4
+ hookapp (2.1.1)
5
5
  gli (~> 2.20.1)
6
6
  tty-which (~> 0.5, >= 0.5.0)
7
7
 
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # hook CLI
2
2
 
3
- CLI interface for Hook.app (macOS)
3
+ CLI interface for Hookmark (macOS)
4
4
 
5
- > Hook.app is a productivity tool for macOS <https://hookproductivity.com/>.
5
+ > Hookmark is a productivity tool for macOS <https://hookproductivity.com/>.
6
6
 
7
- This gem includes a `hook` binary that allows interaction with the features of Hook.app.
7
+ This gem includes a `hook` binary that allows interaction with the features of Hookmark.
8
8
 
9
- *v2.1.0*
9
+ *v2.1.1*
10
10
 
11
11
  ## Installation
12
12
 
@@ -111,11 +111,11 @@ Display the program version
111
111
 
112
112
  ### `$ hook` <mark>`clip|cp`</mark> `FILE_OR_URL`
113
113
 
114
- *Copy Hook URL for file/url to clipboard*
114
+ *Copy Hookmark URL for file/url to clipboard*
115
115
 
116
- > Creates a bookmark for the specified file or URL and copies its Hook URL to the clipboard.
116
+ > Creates a bookmark for the specified file or URL and copies its Hookmark URL to the clipboard.
117
117
  >
118
- > The copied Hook URL can be used to link to other files (use `hook link --paste FILE/URL`,
118
+ > The copied Hookmark URL can be used to link to other files (use `hook link --paste FILE/URL`,
119
119
  > or to paste into another app as a link. Use the -m flag to copy a full Markdown link.
120
120
 
121
121
  #### Options
@@ -172,10 +172,10 @@ Separate results with NULL separator, only applies with "paths" output for singl
172
172
 
173
173
  ### `$ hook` <mark>`from`</mark> `APPLICATION_NAME`
174
174
 
175
- *Get a Hook URL for the frontmost window of an app*
175
+ *Get a Hookmark URL for the frontmost window of an app*
176
176
 
177
177
  > Specify an application by name (without '.app') to bring that app to the foreground and create a bookmark
178
- > for the active document, note, task, etc., returning a Hook URL.
178
+ > for the active document, note, task, etc., returning a Hookmark URL.
179
179
  >
180
180
  > Use -m to get the response as Markdown, and/or -c to copy the result directly to the clipboard.
181
181
 
@@ -263,9 +263,9 @@ Generate a menu to select hook(s) for opening
263
263
 
264
264
  ### `$ hook` <mark>`open|gui`</mark> `FILE_OR_URL`
265
265
 
266
- *Open the specified file or url in Hook GUI*
266
+ *Open the specified file or url in Hookmark GUI*
267
267
 
268
- > Opens Hook.app on the specified file/URL for browsing and performing actions.
268
+ > Opens Hookmark on the specified file/URL for browsing and performing actions.
269
269
  >
270
270
  > Exactly one argument (File/URL) required.
271
271
 
@@ -275,7 +275,7 @@ Generate a menu to select hook(s) for opening
275
275
 
276
276
  *Percent encode/decode a string*
277
277
 
278
- > Use encode or decode to apply Hook's url encoding to a string argument. Use '-' to read input from STDIN.
278
+ > Use encode or decode to apply Hookmark's url encoding to a string argument. Use '-' to read input from STDIN.
279
279
 
280
280
  #### Commands
281
281
 
@@ -366,5 +366,5 @@ This software is licensed under the MIT License.
366
366
  THE SOFTWARE.
367
367
 
368
368
 
369
- Documentation generated 2022-11-10 09:20
369
+ Documentation generated 2022-11-11 09:56
370
370
 
data/README.rdoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = hookapp
2
2
 
3
- A CLI for Hook.app on macOS.
3
+ A CLI for Hookmark on macOS.
4
4
 
5
5
  :include:hook.rdoc
6
6
 
data/bin/hook CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby -W1
1
+ #!/usr/bin/env ruby -W0
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require 'hook'
@@ -8,10 +8,10 @@ require 'shellwords'
8
8
  class App
9
9
  extend GLI::App
10
10
 
11
- program_desc 'CLI interface for Hook.app (macOS)'
12
- program_long_desc 'Hook.app is a productivity tool for macOS <https://hookproductivity.com/>.
11
+ program_desc 'CLI interface for Hookmark (macOS)'
12
+ program_long_desc 'Hookmark is a productivity tool for macOS <https://hookproductivity.com/>.
13
13
 
14
- This gem includes a `hook` binary that allows interaction with the features of Hook.app.'
14
+ This gem includes a `hook` binary that allows interaction with the features of Hookmark.'
15
15
  default_command 'help'
16
16
  autocomplete_commands = true
17
17
  synopsis_format(:terminal)
@@ -155,10 +155,10 @@ to be combined with one or more file/url arguments.
155
155
  end
156
156
  end
157
157
 
158
- desc 'Copy Hook URL for file/url to clipboard'
159
- long_desc %{Creates a bookmark for the specified file or URL and copies its Hook URL to the clipboard.
158
+ desc 'Copy Hookmark URL for file/url to clipboard'
159
+ long_desc %{Creates a bookmark for the specified file or URL and copies its Hookmark URL to the clipboard.
160
160
 
161
- The copied Hook URL can be used to link to other files (use `hook link --paste FILE/URL`,
161
+ The copied Hookmark URL can be used to link to other files (use `hook link --paste FILE/URL`,
162
162
  or to paste into another app as a link. Use the -m flag to copy a full Markdown link.}
163
163
  arg_name 'FILE_OR_URL'
164
164
  command %i[clip cp] do |c|
@@ -179,9 +179,9 @@ or to paste into another app as a link. Use the -m flag to copy a full Markdown
179
179
  end
180
180
  end
181
181
 
182
- desc 'Get a Hook URL for the frontmost window of an app'
182
+ desc 'Get a Hookmark URL for the frontmost window of an app'
183
183
  long_desc %(Specify an application by name (without '.app') to bring that app to the foreground and create a bookmark
184
- for the active document, note, task, etc., returning a Hook URL.
184
+ for the active document, note, task, etc., returning a Hookmark URL.
185
185
 
186
186
  Use -m to get the response as Markdown, and/or -c to copy the result directly to the clipboard.)
187
187
  arg_name 'APPLICATION_NAME'
@@ -251,8 +251,8 @@ filetype by macOS. Allows multiple selections with tab key, and type-ahead fuzzy
251
251
  end
252
252
  end
253
253
 
254
- desc 'Open the specified file or url in Hook GUI'
255
- long_desc 'Opens Hook.app on the specified file/URL for browsing and performing actions.
254
+ desc 'Open the specified file or url in Hookmark GUI'
255
+ long_desc 'Opens Hookmark on the specified file/URL for browsing and performing actions.
256
256
 
257
257
  Exactly one argument (File/URL) required.'
258
258
  arg_name 'FILE_OR_URL'
@@ -268,7 +268,7 @@ Exactly one argument (File/URL) required.'
268
268
  end
269
269
 
270
270
  desc 'Percent encode/decode a string'
271
- long_desc %(Use encode or decode to apply Hook's url encoding to a string argument. Use '-' to read input from STDIN.)
271
+ long_desc %(Use encode or decode to apply Hookmark's url encoding to a string argument. Use '-' to read input from STDIN.)
272
272
  arg_name 'STRING'
273
273
  command :percent do |c|
274
274
  c.desc 'percent encode a string'
data/hook.rdoc CHANGED
@@ -1,10 +1,10 @@
1
- == hook - CLI interface for Hook.app (macOS)
1
+ == hook - CLI interface for Hookmark (macOS)
2
2
 
3
- Hook.app is a productivity tool for macOS <https://hookproductivity.com/>.
3
+ Hookmark is a productivity tool for macOS <https://hookproductivity.com/>.
4
4
 
5
- This gem includes a `hook` binary that allows interaction with the features of Hook.app.
5
+ This gem includes a `hook` binary that allows interaction with the features of Hookmark.
6
6
 
7
- v2.1.0
7
+ v2.1.1
8
8
 
9
9
  === Global Options
10
10
  === --help
@@ -23,11 +23,11 @@ Browse hooks
23
23
 
24
24
  Select a file to see its hooks, navigate through descendents
25
25
  ==== Command: <tt>clip|cp FILE_OR_URL</tt>
26
- Copy Hook URL for file/url to clipboard
26
+ Copy Hookmark URL for file/url to clipboard
27
27
 
28
- Creates a bookmark for the specified file or URL and copies its Hook URL to the clipboard.
28
+ Creates a bookmark for the specified file or URL and copies its Hookmark URL to the clipboard.
29
29
 
30
- The copied Hook URL can be used to link to other files (use `hook link --paste FILE/URL`,
30
+ The copied Hookmark URL can be used to link to other files (use `hook link --paste FILE/URL`,
31
31
  or to paste into another app as a link. Use the -m flag to copy a full Markdown link.
32
32
  ===== Options
33
33
  ===== -a|--app APP_NAME
@@ -78,10 +78,10 @@ Separate results with NULL separator, only applies with "paths" output for singl
78
78
 
79
79
 
80
80
  ==== Command: <tt>from APPLICATION_NAME</tt>
81
- Get a Hook URL for the frontmost window of an app
81
+ Get a Hookmark URL for the frontmost window of an app
82
82
 
83
83
  Specify an application by name (without '.app') to bring that app to the foreground and create a bookmark
84
- for the active document, note, task, etc., returning a Hook URL.
84
+ for the active document, note, task, etc., returning a Hookmark URL.
85
85
 
86
86
  Use -m to get the response as Markdown, and/or -c to copy the result directly to the clipboard.
87
87
  ===== Options
@@ -156,15 +156,15 @@ Generate a menu to select hook(s) for opening
156
156
  This option is a shortcut to `hook select` and overrides any other arguments.
157
157
 
158
158
  ==== Command: <tt>open|gui FILE_OR_URL</tt>
159
- Open the specified file or url in Hook GUI
159
+ Open the specified file or url in Hookmark GUI
160
160
 
161
- Opens Hook.app on the specified file/URL for browsing and performing actions.
161
+ Opens Hookmark on the specified file/URL for browsing and performing actions.
162
162
 
163
163
  Exactly one argument (File/URL) required.
164
164
  ==== Command: <tt>percent STRING</tt>
165
165
  Percent encode/decode a string
166
166
 
167
- Use encode or decode to apply Hook's url encoding to a string argument. Use '-' to read input from STDIN.
167
+ Use encode or decode to apply Hookmark's url encoding to a string argument. Use '-' to read input from STDIN.
168
168
  ===== Commands
169
169
  ====== Command: <tt>decode STRING</tt>
170
170
  decode a percent-encoded string
data/hookapp.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Ensure we require the local version and not one we might have installed already
4
- require File.join([File.dirname(__FILE__), 'lib', 'hook', 'version.rb'])
4
+ require './lib/hook/version'
5
5
  Gem::Specification.new do |s|
6
6
  s.name = 'hookapp'
7
7
  s.version = Hook::VERSION
data/html/App.html CHANGED
@@ -1,11 +1,17 @@
1
1
  <!DOCTYPE html>
2
2
 
3
- <html>
3
+ <html lang="en">
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
7
 
7
8
  <title>class App - hookapp</title>
8
9
 
10
+ <meta name="keywords" content="ruby,class,App">
11
+
12
+ <meta name="description" content="class App: Main class for GLI app">
13
+
14
+
9
15
  <script type="text/javascript">
10
16
  var rdoc_rel_prefix = "./";
11
17
  var index_rel_prefix = "./";
@@ -22,7 +28,12 @@
22
28
 
23
29
 
24
30
  <body id="top" role="document" class="class">
25
- <nav role="navigation">
31
+ <div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
32
+ <span aria-hidden="true">&#9776;</span>
33
+ </div>
34
+
35
+
36
+ <nav id="navigation" role="navigation">
26
37
  <div id="project-navigation">
27
38
  <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
39
  <h2>
@@ -41,7 +52,7 @@
41
52
  <div id="search-field-wrapper">
42
53
  <input id="search-field" role="combobox" aria-label="Search"
43
54
  aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
55
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
56
  title="Type to search, Up and Down to navigate, Enter to load">
46
57
  </div>
47
58
 
@@ -54,18 +65,14 @@
54
65
  </div>
55
66
 
56
67
 
57
-
58
- <div id="class-metadata">
59
-
60
-
61
- <div id="parent-class-section" class="nav-section">
62
- <h3>Parent</h3>
63
-
64
- <p class="link"><a href="Object.html">Object</a>
68
+
69
+ <div id="parent-class-section" class="nav-section">
70
+ <h3>Ancestors</h3>
71
+ <ul><li><a href="Object.html">Object</a><ul><li>BasicObject</li></ul></li></ul>
65
72
  </div>
66
73
 
67
-
68
-
74
+
75
+
69
76
  <div id="extends-section" class="nav-section">
70
77
  <h3>Extended With Modules</h3>
71
78
 
@@ -74,12 +81,24 @@
74
81
  </ul>
75
82
  </div>
76
83
 
77
-
78
- </div>
84
+
85
+
86
+
87
+
88
+
89
+ <footer id="validator-badges" role="contentinfo">
90
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
91
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.14.0.
92
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
93
+ </footer>
94
+
79
95
  </nav>
80
96
 
81
97
  <main role="main" aria-labelledby="class-App">
82
- <h1 id="class-App" class="class">
98
+
99
+
100
+
101
+ <h1 id="class-App" class="anchor-link class">
83
102
  class App
84
103
  </h1>
85
104
 
@@ -89,7 +108,7 @@
89
108
 
90
109
  </section>
91
110
 
92
- <section id="5Buntitled-5D" class="documentation-section">
111
+ <section id="5Buntitled-5D" class="documentation-section anchor-link">
93
112
 
94
113
 
95
114
 
@@ -98,10 +117,3 @@
98
117
  </section>
99
118
  </main>
100
119
 
101
-
102
- <footer id="validator-badges" role="contentinfo">
103
- <p><a href="https://validator.w3.org/check/referer">Validate</a>
104
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.3.
105
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
106
- </footer>
107
-
@@ -1,11 +1,17 @@
1
1
  <!DOCTYPE html>
2
2
 
3
- <html>
3
+ <html lang="en">
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
7
 
7
8
  <title>module GLI::Commands::Doc - hookapp</title>
8
9
 
10
+ <meta name="keywords" content="ruby,module,GLI::Commands::Doc">
11
+
12
+ <meta name="description" content="Documentation for the GLI::Commands::Doc module">
13
+
14
+
9
15
  <script type="text/javascript">
10
16
  var rdoc_rel_prefix = "../../";
11
17
  var index_rel_prefix = "../../";
@@ -22,7 +28,12 @@
22
28
 
23
29
 
24
30
  <body id="top" role="document" class="module">
25
- <nav role="navigation">
31
+ <div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
32
+ <span aria-hidden="true">&#9776;</span>
33
+ </div>
34
+
35
+
36
+ <nav id="navigation" role="navigation">
26
37
  <div id="project-navigation">
27
38
  <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
39
  <h2>
@@ -41,7 +52,7 @@
41
52
  <div id="search-field-wrapper">
42
53
  <input id="search-field" role="combobox" aria-label="Search"
43
54
  aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
55
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
56
  title="Type to search, Up and Down to navigate, Enter to load">
46
57
  </div>
47
58
 
@@ -54,18 +65,50 @@
54
65
  </div>
55
66
 
56
67
 
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ <footer id="validator-badges" role="contentinfo">
78
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
79
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.14.0.
80
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
81
+ </footer>
57
82
 
58
- <div id="class-metadata">
59
-
60
-
61
-
62
-
63
-
64
- </div>
65
83
  </nav>
66
84
 
67
85
  <main role="main" aria-labelledby="module-GLI::Commands::Doc">
68
- <h1 id="module-GLI::Commands::Doc" class="module">
86
+
87
+
88
+ <ol role="navigation" aria-label="breadcrumb" class="breadcrumb">
89
+
90
+ <li>
91
+
92
+ <a href="../../GLI.html">GLI</a><span>::</span>
93
+
94
+ </li>
95
+
96
+ <li>
97
+
98
+ <a href="../../GLI/Commands.html">Commands</a><span>::</span>
99
+
100
+ </li>
101
+
102
+ <li>
103
+
104
+ <span>Doc</span>
105
+
106
+ </li>
107
+
108
+ </ol>
109
+
110
+
111
+ <h1 id="module-GLI::Commands::Doc" class="anchor-link module">
69
112
  module GLI::Commands::Doc
70
113
  </h1>
71
114
 
@@ -73,7 +116,7 @@
73
116
 
74
117
  </section>
75
118
 
76
- <section id="5Buntitled-5D" class="documentation-section">
119
+ <section id="5Buntitled-5D" class="documentation-section anchor-link">
77
120
 
78
121
 
79
122
 
@@ -82,10 +125,3 @@
82
125
  </section>
83
126
  </main>
84
127
 
85
-
86
- <footer id="validator-badges" role="contentinfo">
87
- <p><a href="https://validator.w3.org/check/referer">Validate</a>
88
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.3.
89
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
90
- </footer>
91
-