terminalwire 0.1.5 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/terminalwire +9 -2
- data/lib/terminalwire/client/entitlement.rb +2 -0
- data/lib/terminalwire/client/exec.rb +1 -1
- data/lib/terminalwire/server.rb +2 -0
- data/lib/terminalwire/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: 8bd8279b508f75e2d707b7dc94d58321694f3920de9781b65e45f44e3c83595e
|
4
|
+
data.tar.gz: 9899e73daed242f8516a03c419f5c07c6f675399fff147125dca99d4515f847a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9136ff6080599802796f2b96089785341128b3a2c814eb53527d47c993b7f21da000a716f4b7aad920bd2da91ff06bb88c34170db83636218d6b7351e2a7ce6d
|
7
|
+
data.tar.gz: 114660aa187d13544186409f6b65c9ff2ff429050ab9df49c70440b326c0f1961b30571e81227cc8b44d9c23059915c93ef0bf821ef77eea150100da57542d3b
|
data/exe/terminalwire
CHANGED
@@ -1,2 +1,9 @@
|
|
1
|
-
#!/usr/bin/env
|
2
|
-
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require_relative "../lib/terminalwire.rb"
|
3
|
+
|
4
|
+
begin
|
5
|
+
Terminalwire::Client.websocket(url: "wss://terminalwire.com/terminal")
|
6
|
+
rescue Terminalwire::Error => e
|
7
|
+
puts e.message
|
8
|
+
exit 1
|
9
|
+
end
|
@@ -9,7 +9,7 @@ module Terminalwire::Client
|
|
9
9
|
def initialize(path:, arguments:)
|
10
10
|
@arguments = arguments
|
11
11
|
@path = Pathname.new(path)
|
12
|
-
@configuration = YAML.
|
12
|
+
@configuration = YAML.safe_load_file(@path)
|
13
13
|
@url = URI(@configuration.fetch("url"))
|
14
14
|
rescue Errno::ENOENT => e
|
15
15
|
raise Terminalwire::Error, "File not found: #{@path}"
|
data/lib/terminalwire/server.rb
CHANGED
data/lib/terminalwire/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terminalwire
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Gessler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-websocket
|