appfog-tunnel-vmc-plugin 0.0.1.3 → 0.0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Rakefile +2 -2
- data/lib/appfog-tunnel-vmc-plugin/plugin.rb +2 -2
- data/lib/appfog-tunnel-vmc-plugin/tunnel.rb +1 -1
- data/lib/appfog-tunnel-vmc-plugin/version.rb +2 -2
- data/spec/plugin_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDE1YjM1ZGNjODQ2NjdmMWRkOGY3Mjk5YzZhNWNhNzg0MGQ2NWUzMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjIwZGNlY2U1ODk2ZDU4YjUwMTZhYWUxZjEyMmI2ZGRhOTZhMTViMA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDkyMTE3N2MzY2UzYjExMWE1MWIyMDI5ZWE5ZDEzYzg2Yjk3Nzc3ZmU2YjE0
|
10
|
+
NTM1ZDE3ODBmMTUxNGY0MWNmNDdiMzE4Zjk4YTRhOGI5ZjA5ODI3MTdmYzYz
|
11
|
+
ZmYxODllNWQ4MzViODUyZjE3Y2Y5MWMyYmFkZjQ3NTk4NzE2YzY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTM0Yjc1MTcyZmRhOTU5NzA3Yjk4M2IwYmMwMDExMzQ3MzBkMzc0YmQzOTA5
|
14
|
+
ZDMyNDAyMjVlMmEwNGQ2YTFiYTQ3NTU3NjUzNzA1M2YyM2E1MzQ3ZGZmODg4
|
15
|
+
YTcwNjE4ZWFhZTAwMmE1YWQ0ZTY3Y2NiMjUwZDk4YjViZTYzMzM=
|
data/Rakefile
CHANGED
@@ -16,7 +16,7 @@ task :build do
|
|
16
16
|
end
|
17
17
|
|
18
18
|
task :install => :build do
|
19
|
-
sh "gem install --local appfog-tunnel-vmc-plugin-#{
|
19
|
+
sh "gem install --local appfog-tunnel-vmc-plugin-#{AFTunnel::VERSION}.gem"
|
20
20
|
end
|
21
21
|
|
22
22
|
task :uninstall do
|
@@ -26,7 +26,7 @@ end
|
|
26
26
|
task :reinstall => [:uninstall, :install]
|
27
27
|
|
28
28
|
task :release => :build do
|
29
|
-
sh "gem push appfog-tunnel-vmc-plugin-#{
|
29
|
+
sh "gem push appfog-tunnel-vmc-plugin-#{AFTunnel::VERSION}.gem"
|
30
30
|
end
|
31
31
|
|
32
32
|
namespace "bundler" do
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require "vmc/cli"
|
2
2
|
require "appfog-tunnel-vmc-plugin/tunnel"
|
3
3
|
|
4
|
-
module
|
4
|
+
module AFTunnel
|
5
5
|
class Tunnel < VMC::CLI
|
6
6
|
CLIENTS_FILE = "#{VMC::CONFIG_DIR}/tunnel-clients.yml"
|
7
7
|
STOCK_CLIENTS = File.expand_path("../../../config/clients.yml", __FILE__)
|
@@ -33,7 +33,7 @@ module VMCTunnel
|
|
33
33
|
clients = tunnel_clients[vendor] || {}
|
34
34
|
client_name = input[:client, clients]
|
35
35
|
|
36
|
-
tunnel =
|
36
|
+
tunnel = AFTunnel.new(client, instance)
|
37
37
|
port = tunnel.pick_port!(input[:port])
|
38
38
|
|
39
39
|
conn_info =
|
@@ -1,3 +1,3 @@
|
|
1
|
-
module
|
2
|
-
VERSION = "0.0.1.
|
1
|
+
module AFTunnel
|
2
|
+
VERSION = "0.0.1.4".freeze
|
3
3
|
end
|
data/spec/plugin_spec.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
|
-
describe
|
3
|
+
describe AFTunnel::Tunnel do
|
4
4
|
describe "#tunnel_clients" do
|
5
5
|
context "when the user has a custom clients.yml in their vmc directory" do
|
6
6
|
use_fake_home_dir { "#{SPEC_ROOT}/fixtures/fake_home_dirs/with_custom_clients" }
|