terminalwire-client 0.3.0.alpha3 → 0.3.0.alpha5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/terminalwire/client/entitlement/policy.rb +4 -14
- data/lib/terminalwire/client/handler.rb +2 -1
- 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: 5f31d070a24242c39904da2d0b6bc2232ea4db33612c03ed352bc7d632d44e9a
|
4
|
+
data.tar.gz: 0f4beb60abb454283850cd9afa458fac56ba9e163329d84f7720ad9f3fbc8f5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65497410e921dbaeb596e556b047e9590872111facbc70411e474d9183d11d9abbbb8cca00dfc223dfab5d56db7086f23b2c6a01ef4139e0d6c0f446291e16b9
|
7
|
+
data.tar.gz: 3f4f997ba07e5941ca6b5a1ed7472d72d6bdd03fe2b3cd0f5bc356d6216ffb1dadd3954b607576e297a6d5f017d4f1ec4c7fea0c3598da3ef73243dde8e5bbfa
|
@@ -52,19 +52,6 @@ module Terminalwire::Client::Entitlement
|
|
52
52
|
class Root < Base
|
53
53
|
AUTHORITY = "terminalwire.com".freeze
|
54
54
|
|
55
|
-
# Terminalwire checks these to install the binary stubs path.
|
56
|
-
SHELL_INITIALIZATION_FILE_PATHS = %w[
|
57
|
-
~/.bash_profile
|
58
|
-
~/.bashrc
|
59
|
-
~/.zprofile
|
60
|
-
~/.zshrc
|
61
|
-
~/.profile
|
62
|
-
~/.config/fish/config.fish
|
63
|
-
~/.bash_login
|
64
|
-
~/.cshrc
|
65
|
-
~/.tcshrc
|
66
|
-
].freeze
|
67
|
-
|
68
55
|
# Ensure the binary stubs are executable. This increases the
|
69
56
|
# file mode entitlement so that stubs created in ./bin are executable.
|
70
57
|
BINARY_PATH_FILE_MODE = 0o755
|
@@ -77,7 +64,7 @@ module Terminalwire::Client::Entitlement
|
|
77
64
|
@paths.permit root_path
|
78
65
|
@paths.permit root_pattern
|
79
66
|
# Permit the dotfiles so terminalwire can install the binary stubs.
|
80
|
-
|
67
|
+
Terminalwire::Shells::All.login_files.each do |path|
|
81
68
|
@paths.permit path
|
82
69
|
end
|
83
70
|
|
@@ -86,6 +73,9 @@ module Terminalwire::Client::Entitlement
|
|
86
73
|
|
87
74
|
# Used to check if terminalwire is setup in the user's PATH environment variable.
|
88
75
|
@environment_variables.permit "PATH"
|
76
|
+
|
77
|
+
# Permit the shell environment variable so we can detect the user's shell.
|
78
|
+
@environment_variables.permit "SHELL"
|
89
79
|
end
|
90
80
|
|
91
81
|
# Grant access to the `~/.terminalwire/**/*` path so users can install
|
@@ -2,7 +2,8 @@ module Terminalwire::Client
|
|
2
2
|
# The handler is the main class that connects to the Terminalwire server and
|
3
3
|
# dispatches messages to the appropriate resources.
|
4
4
|
class Handler
|
5
|
-
|
5
|
+
# The version of the Terminalwire client.
|
6
|
+
VERSION = Terminalwire::VERSION
|
6
7
|
|
7
8
|
include Terminalwire::Logging
|
8
9
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terminalwire-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.0.
|
4
|
+
version: 0.3.0.alpha5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Gessler
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: launchy
|
@@ -29,14 +29,14 @@ dependencies:
|
|
29
29
|
requirements:
|
30
30
|
- - '='
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.3.0.
|
32
|
+
version: 0.3.0.alpha5
|
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.0.
|
39
|
+
version: 0.3.0.alpha5
|
40
40
|
description: Stream command-line apps from your server without a web API
|
41
41
|
email:
|
42
42
|
- brad@terminalwire.com
|