terminalwire-server 0.3.0 → 0.3.1
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/lib/terminalwire/server/thor.rb +11 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 630e0b19ad77de7edd2b621901d9680ab163c1a3cc88f0c1b158c2fb6640f4dd
|
4
|
+
data.tar.gz: f6056b4b3d78595e45b4523542c6c3c6ec04ed1c186062ab2a99e8328e31d39a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9fcd89df4d47d42461894b041df74fbfbc426d8f9e15decc643bcfdb992792669651734dc9d395186207b23b20b4a3db0462e1247d869751d5d7f0b4b746880
|
7
|
+
data.tar.gz: 17fc02c1352b45d634cf0df5e700571d8336111ca89f14b0e48eb1bce7a7a93f642b46bcf3fee3b1705649ff083aab8097179de2f637129c54f96738a506cd99
|
@@ -57,10 +57,17 @@ module Terminalwire
|
|
57
57
|
end
|
58
58
|
|
59
59
|
module ClassMethods
|
60
|
-
def
|
61
|
-
|
62
|
-
|
63
|
-
|
60
|
+
def terminalwire(arguments:, context:)
|
61
|
+
# I have to manually hack into the Thor dispatcher to get access to the instance
|
62
|
+
# of the CLI so I can slap the Rails helper methods in there, or other helpes
|
63
|
+
# raise [context.inspect, arguments.inspect, self.inspect].inspect
|
64
|
+
dispatch(nil, arguments.dup, nil, shell: terminalwire_shell(context)) do |instance|
|
65
|
+
yield instance
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
def terminalwire_shell(context)
|
70
|
+
Terminalwire::Server::Thor::Shell.new(context)
|
64
71
|
end
|
65
72
|
end
|
66
73
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terminalwire-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Gessler
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-02-
|
10
|
+
date: 2025-02-24 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: thor
|
@@ -29,14 +29,14 @@ dependencies:
|
|
29
29
|
requirements:
|
30
30
|
- - '='
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.3.
|
32
|
+
version: 0.3.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - '='
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.3.
|
39
|
+
version: 0.3.1
|
40
40
|
description: Stream command-line apps from your server without a web API
|
41
41
|
email:
|
42
42
|
- brad@terminalwire.com
|