vagrant-flow 1.0.16 → 1.0.18
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 +7 -0
- data/lib/vagrant-flow/command/digitalocean_api.rb +2 -5
- data/lib/vagrant-flow/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b8c6ebc9a12b11772d177513f513ae112682473f
|
|
4
|
+
data.tar.gz: b1ac38886ea0e0f1405374c2fd26994efafade28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6696c8cccf39abf764fa77b20ac9f8b2b3ed6bbe4796aa26d5c0569d67a24bcf5a57a7a34124cb189215c4f637bd64466977adb58a3beb2b1a0613134b32e122
|
|
7
|
+
data.tar.gz: ccecc1ef4be7d76364100f3ba19fca1f4bde20623820037a107e1c03c7228c5adfa156769f1c468d98d613fe98d07930570b3aa80936c26e569ff6448699c4b0
|
data/README.md
CHANGED
|
@@ -70,6 +70,12 @@ vagrant ssh boxname1 ping boxname2
|
|
|
70
70
|
vagrant ssh boxname2 ping boxname1
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
+
#DemandCube Boxes
|
|
74
|
+
Publically available boxes in vagrantcloud from DemandCube:
|
|
75
|
+
- vagrant init demandcube/centos-64_x86_64-VB-4.3.8
|
|
76
|
+
- vagrant init demandcube/centos-65_x86_64-VB-4.3.8
|
|
77
|
+
|
|
78
|
+
|
|
73
79
|
|
|
74
80
|
# Usage
|
|
75
81
|
|
|
@@ -479,3 +485,4 @@ rake install # It's a helper that will build and install locally
|
|
|
479
485
|
rake release # It's a helper that will push/release to rubygems
|
|
480
486
|
|
|
481
487
|
```
|
|
488
|
+
!!!!
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
require "net/http"
|
|
2
2
|
require "uri"
|
|
3
3
|
require "json"
|
|
4
|
+
require "uri"
|
|
4
5
|
|
|
5
6
|
class DigitalOcean_Api
|
|
6
7
|
|
|
@@ -10,11 +11,7 @@ class DigitalOcean_Api
|
|
|
10
11
|
|
|
11
12
|
#getparams should be a hash that will get turned into a url
|
|
12
13
|
def makeApiCall(getparams)
|
|
13
|
-
url = @DIGITALOCEAN_URL
|
|
14
|
-
getparams.each {|key,val|
|
|
15
|
-
url+=key+"="+val+"&"
|
|
16
|
-
}
|
|
17
|
-
url = url.chomp("&")
|
|
14
|
+
url = @DIGITALOCEAN_URL + URI.encode_www_form(getparams)
|
|
18
15
|
|
|
19
16
|
response = Net::HTTP.get_response(URI.parse(url))
|
|
20
17
|
|
data/lib/vagrant-flow/version.rb
CHANGED