vagrant-simplecloud 0.0.1 → 0.0.2

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: f375943b185d2d11912d1b377fd48b175e0f0fdf
4
- data.tar.gz: 14eb29009783fb3f39a33cfaa0470da9ae0fa96a
3
+ metadata.gz: 94d59d90cf22e15c123153f566c701b593262de5
4
+ data.tar.gz: 9c2a179accc7183dfd95f2dc86d978dd17217f55
5
5
  SHA512:
6
- metadata.gz: b797329c016f36b9bd3b4484a0e7fef389c9661fb67558dfff8b7eb5447a7dde49b4adf0751cfcc4abf0ec2b986c8488c9b6e0a4ecc89c0aa46b7ee05840d662
7
- data.tar.gz: 9dda738e598ba6a9eae3f465b6f8de05e05c7b727ae57fed0ba2f84eed0d13c24159e987319195e19d26655012f675ea81140e5769f7bb34a5e904b0a6f94e63
6
+ metadata.gz: 1021d202183b64fde267f3b0b6257748165fb92e8d5538392fce4ed60e1f434342da610dd0e62db12dafa711e80a60968f17f6444d8b3186561f70973df52b9a
7
+ data.tar.gz: f1bf1787facc81062a231bb13d63808e92d0c18c2776186c0b2fa75a9666d79e0ca19ee58072c8ce92d454fc3b98ac30860f9fbd69980bb84998102d4302ed9d
@@ -1,6 +1,10 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 0.0.2
5
+ -----
6
+ - first version that pass test
7
+
4
8
  0.0.1
5
9
  -----
6
10
  - first test
data/README.md CHANGED
@@ -11,7 +11,7 @@ Features include:
11
11
  - setup a SSH public key for authentication
12
12
  - create a new user account during droplet creation
13
13
 
14
- The provider has been tested with Vagrant 1.1.5+ using Ubuntu 12.04 and CentOS 6.3 guest operating systems.
14
+ The provider has been tested with Vagrant 1.1.5+ using Debian 8 guest operating systems.
15
15
 
16
16
 
17
17
  Install
@@ -49,14 +49,14 @@ end
49
49
 
50
50
  The following attributes are available to further configure the provider:
51
51
  - `provider.image`
52
- * A string representing the image to use when creating a new droplet. It defaults to `ubuntu-14-04-x64`.
53
- List available images with the `simplecloud-list images $DIGITAL_OCEAN_TOKEN` command. Like when using the SimpleCloud API directly, [it can be an image ID or slug](http://simplecloud.ru/features/api-manual/#_Create-new-VPS).
52
+ * A string representing the image to use when creating a new droplet. It defaults to `123`.
53
+ List available images with the `simplecloud-list images $DO_TOKEN` command. Like when using the SimpleCloud API directly, [it can be an image ID or slug](http://simplecloud.ru/features/api-manual/#_Create-new-VPS).
54
54
  - `provider.ipv6`
55
55
  * A boolean flag indicating whether to enable IPv6
56
56
  - `provider.region`
57
- * A string representing the region to create the new droplet in. It defaults to `base`. List available regions with the `simplecloud-list regions $DIGITAL_OCEAN_TOKEN` command.
57
+ * A string representing the region to create the new droplet in. It defaults to `base`. List available regions with the `simplecloud-list regions $DO_TOKEN` command.
58
58
  - `provider.size`
59
- * A string representing the size to use when creating a new droplet (e.g. `1gb`). It defaults to `512mb`. List available sizes with the `simplecloud-list sizes $DIGITAL_OCEAN_TOKEN` command.
59
+ * A string representing the size to use when creating a new droplet (e.g. `1`). It defaults to `1`. List available sizes with the `simplecloud-list sizes $DO_TOKEN` command.
60
60
  - `provider.private_networking`
61
61
  * A boolean flag indicating whether to enable a private network interface (if the region supports private networking). It defaults to `false`.
62
62
  - `provider.backups_enabled`
@@ -141,3 +141,5 @@ To release a new version of vagrant-simplecloud you will need to do the followin
141
141
  4. Then, when John Doe runs the following, they will receive the updated vagrant-simplecloud plugin:
142
142
  * `vagrant plugin update`
143
143
  * `vagrant plugin update vagrant-simplecloud`
144
+ * `export DO_TOKEN="digital ocean type token"`
145
+ * `vagrant up --provider=simple_cloud`
@@ -29,8 +29,8 @@ module VagrantPlugins
29
29
  req['Authorization'] = connection_options[:headers][:authorization]
30
30
  req.set_form_data(params)
31
31
  res = https.request(req)
32
- unless /^2\d\d$/ =~ result.code.to_s
33
- raise "Server response error #{result.code} #{path} #{params} #{result.message} #{result.body}"
32
+ unless /^2\d\d$/ =~ res.code.to_s
33
+ raise "Server response error #{res.code} #{path} #{params} #{res.message} #{res.body}"
34
34
  end
35
35
  JSON.parse(res.body)
36
36
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module SimpleCloud
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-simplecloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Bender
@@ -106,6 +106,7 @@ files:
106
106
  - lib/vagrant-simplecloud/provider.rb
107
107
  - lib/vagrant-simplecloud/version.rb
108
108
  - locales/en.yml
109
+ - pkg/vagrant-simplecloud-0.0.1.gem
109
110
  - test/Vagrantfile
110
111
  - test/cookbooks/test/recipes/default.rb
111
112
  - test/scripts/provision.sh