hubbard 0.0.0 → 0.0.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.
- data/VERSION +1 -1
- data/bin/hubbard +6 -1
- metadata +1 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.1
|
data/bin/hubbard
CHANGED
|
@@ -6,7 +6,7 @@ PROJECT_REGEX='[a-zA-Z0-9\-]{1,32}'
|
|
|
6
6
|
REPOSITORY_REGEX='[a-zA-Z0-9\-]{1,32}'
|
|
7
7
|
USERNAME_REGEX='[a-zA-Z0-9\-]{1,32}'
|
|
8
8
|
|
|
9
|
-
HUB_DATA=ENV['HUB_DATA'] || File.expand_path("~/.hubbard")
|
|
9
|
+
HUB_DATA = ENV['HUB_DATA'] || File.expand_path("~/.hubbard")
|
|
10
10
|
|
|
11
11
|
FileUtils.mkdir_p(File.join(HUB_DATA, "projects"))
|
|
12
12
|
FileUtils.mkdir_p(File.join(HUB_DATA, "accounts"))
|
|
@@ -55,6 +55,11 @@ def validate_action_name(name)
|
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
username = next_arg "Please specify the username to run as"
|
|
58
|
+
|
|
59
|
+
if ENV['SSH_ORIGINAL_COMMAND']
|
|
60
|
+
ARGV = ENV['SSH_ORIGINAL_COMMAND'].split
|
|
61
|
+
end
|
|
62
|
+
|
|
58
63
|
command = next_arg "Please specify a command to run"
|
|
59
64
|
|
|
60
65
|
if command == "run-as"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hubbard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Foemmel
|
|
@@ -26,7 +26,6 @@ description: Hubbard is a command line tool for managing git repositories.
|
|
|
26
26
|
email: git@foemmel.com
|
|
27
27
|
executables:
|
|
28
28
|
- hubbard
|
|
29
|
-
- hubbard~
|
|
30
29
|
- hubbard
|
|
31
30
|
extensions: []
|
|
32
31
|
|