vagrant-foodshow 0.0.4 → 0.0.5
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/README.md +13 -2
- data/lib/vagrant-foodshow/util/ngrok.rb +5 -1
- data/lib/vagrant-foodshow/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d9a2a3aa33ab4b9852786cb94ad4697c77ea98c
|
4
|
+
data.tar.gz: 56f3ffef3c5e3a51222669518bc01bd8d3f0cb55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48783f9c789cf808c3776c533823a05bf9b150a69ad43021a9826547e966fec023a7e81969ccb52d2fea87e486680379db41dc13284cc32faf9d184a6bcb460b
|
7
|
+
data.tar.gz: 01b1df53a0fe98d38f1aefa19371b7855fda4b4306d28bd88f8ddf824db88eab0e94a8d892a86904b3781ddf505c74e1a378f43690f56d2a357cb8eb59ba1328
|
data/README.md
CHANGED
@@ -1,14 +1,22 @@
|
|
1
1
|
# Foodshow: Share your [Vagrant](http://vagrantup.com) virtual machine
|
2
2
|
|
3
|
+
[](https://codeclimate.com/github/express42/vagrant-foodshow)
|
4
|
+
|
3
5
|
Vagrant-Foodshow plugin allows you to share tcp ports of your virtual machine via the Internet.
|
4
6
|
|
5
|
-
With
|
7
|
+
With this plugin you may show your web application to your colleague, present new feature for your customer and give ssh access to your ops guy.
|
6
8
|
|
7
9
|
All tunneling job performed by [Ngrok](http://ngrok.com) backend.
|
8
|
-
Ngrok tunnel
|
10
|
+
Ngrok tunnel can operate in TCP and HTTP modes. In HTTP tunnel mode `ngrok` provides access to HTTP requests and response from server to help you analyze the traffic. In TCP mode you can tunnel any binary protocol like `ssh`, `postgresql` or whatever you want, but there is no introspection in TCP tunnel.
|
9
11
|
|
10
12
|
## Installation
|
11
13
|
|
14
|
+
### Ngrok installation
|
15
|
+
|
16
|
+
You should go to [ngrok.com](http://ngrok.com) and download ngrok binary for your system. By default vagrant-foodshow will search ngrok binary at `~/bin/ngrok`. You must place binary into *bin* directory in your home folder. To change default location you must set `foodshow.ngrok_bin` option (See [Advanced tunnel example](#advanced-tunnel-example)).
|
17
|
+
|
18
|
+
### Plugin installation
|
19
|
+
|
12
20
|
To install this plugin just execute:
|
13
21
|
|
14
22
|
```bash
|
@@ -65,6 +73,9 @@ end
|
|
65
73
|
Vagrant.configure("2") do |config|
|
66
74
|
#Enable foodshow
|
67
75
|
config.foodshow.enabled = true
|
76
|
+
# Change ngrok binary location
|
77
|
+
config.foodshow.ngrok_bin = "/usr/local/bin/ngrok"
|
78
|
+
# Automaticly search ssh port and create tcp tunnel
|
68
79
|
config.foodshow.forward_ssh = true
|
69
80
|
...
|
70
81
|
# Define vms
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-foodshow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikita Borzykh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|