vagrant-foodshow 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 88f6cec9d2f7c57b8a2e92e0bec90135fab7e9a1
4
- data.tar.gz: 30e62916d8ec460e30e4cdb16b7dd0752be5cc54
3
+ metadata.gz: 4d9a2a3aa33ab4b9852786cb94ad4697c77ea98c
4
+ data.tar.gz: 56f3ffef3c5e3a51222669518bc01bd8d3f0cb55
5
5
  SHA512:
6
- metadata.gz: 374c1b799cc844e393271ac642e34f64dbe48faeb8c3bf4e23d313eeda4f4e45f030e760386e5784eba77bb963e54c323d93de3fbc8dd761fcea8a804c6410df
7
- data.tar.gz: 5098467446f496b68312946dc81d077b1ca768c7331cc75ec33246bf6d777e88e0dfb47835d51ae6f359fdb0c79a144d52baa5f4099e62ef5291fa7085e4a31e
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
+ [![Code Climate](https://codeclimate.com/github/express42/vagrant-foodshow.png)](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 Vagrant You may show your web application to your colleague, present new feature for your customer and give ssh access to your ops guy.
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 operates in TCP and HTTP mode. In HTTP tunnel mode ngrok provides access to HTTP requests and server answers, so you can analyze your traffic. TCP mode allows you tunnel any binary protocol like a `ssh` or `postgresql` or whatever you want, but there is no introspection in TCP 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
@@ -80,7 +80,11 @@ module VagrantPlugins
80
80
  end
81
81
 
82
82
  if stdout_str.include? "[EROR]"
83
- return 1, stdout_str, debug_output
83
+ if stdout_str.include? "Error while checking for update"
84
+ next
85
+ else
86
+ return 1, stdout_str, debug_output
87
+ end
84
88
  end
85
89
  end
86
90
  end
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Foodshow
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
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
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-01-30 00:00:00.000000000 Z
11
+ date: 2014-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler