barge 0.5.0 → 0.6.0
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 +15 -5
- data/lib/barge/resource/droplet.rb +1 -1
- data/lib/barge/resource/image.rb +1 -1
- data/lib/barge/resource/key.rb +4 -0
- data/lib/barge/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: 14cc331d2afc2f1568d5b02b05b2535a3d9129d1
|
|
4
|
+
data.tar.gz: 3b5a8377d815db33367aef61f048bf4cfd12a9bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae136b0230f015bde2688a91a8f93c960a7d686c154d3a4aaeab78eb5ebbc51cc4b6812675289a47818015f06b206e403ff6d644722172a27cb8a265ff0c0923
|
|
7
|
+
data.tar.gz: 03525331f0589dc7238aa0c28056a367d1a82fafadebeaf5ef9eae6dbad27148b6564bfd691c38b05cece8e233645c4edb4474c558c92af95ec6c9faee2f05a8
|
data/README.md
CHANGED
|
@@ -103,7 +103,7 @@ barge.droplet.create(options)
|
|
|
103
103
|
|
|
104
104
|
See the [API documentation][droplet-create] for options.
|
|
105
105
|
|
|
106
|
-
[droplet-create]: https://
|
|
106
|
+
[droplet-create]: https://developers.digitalocean.com/#create-a-new-droplet
|
|
107
107
|
|
|
108
108
|
### Show all droplets
|
|
109
109
|
|
|
@@ -248,7 +248,7 @@ barge.image.update(image_id, options)
|
|
|
248
248
|
|
|
249
249
|
See the [API documentation][image-update] for options.
|
|
250
250
|
|
|
251
|
-
[image-update]: https://
|
|
251
|
+
[image-update]: https://developers.digitalocean.com/#update-an-image
|
|
252
252
|
|
|
253
253
|
### Destroy image
|
|
254
254
|
|
|
@@ -281,7 +281,7 @@ barge.domain.create(options)
|
|
|
281
281
|
|
|
282
282
|
See the [API documentation][domain-create] for options.
|
|
283
283
|
|
|
284
|
-
[domain-create]: https://
|
|
284
|
+
[domain-create]: https://developers.digitalocean.com/#create-a-new-domain
|
|
285
285
|
|
|
286
286
|
### Show all domains
|
|
287
287
|
|
|
@@ -309,7 +309,7 @@ barge.domain.create_record(domain_name, options)
|
|
|
309
309
|
|
|
310
310
|
See the [API documentation][domain-create-record] for options.
|
|
311
311
|
|
|
312
|
-
[domain-create-record]: https://
|
|
312
|
+
[domain-create-record]: https://developers.digitalocean.com/#create-a-new-domain-record
|
|
313
313
|
|
|
314
314
|
### Show all domain records
|
|
315
315
|
|
|
@@ -346,7 +346,7 @@ barge.key.create(options)
|
|
|
346
346
|
|
|
347
347
|
See the [API documentation][key-create] for options.
|
|
348
348
|
|
|
349
|
-
[key-create]: https://
|
|
349
|
+
[key-create]: https://developers.digitalocean.com/#create-a-new-key
|
|
350
350
|
|
|
351
351
|
### Show all keys
|
|
352
352
|
|
|
@@ -360,6 +360,16 @@ barge.key.all
|
|
|
360
360
|
barge.key.show(key_id_or_fingerprint)
|
|
361
361
|
```
|
|
362
362
|
|
|
363
|
+
### Update key
|
|
364
|
+
|
|
365
|
+
``` ruby
|
|
366
|
+
barge.key.update(key_id_or_fingerprint, options)
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
See the [API documentation][key-update] for options.
|
|
370
|
+
|
|
371
|
+
[key-update]: https://developers.digitalocean.com/#update-a-key
|
|
372
|
+
|
|
363
373
|
### Destroy key
|
|
364
374
|
|
|
365
375
|
``` ruby
|
data/lib/barge/resource/image.rb
CHANGED
data/lib/barge/resource/key.rb
CHANGED
data/lib/barge/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: barge
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- "Ørjan Blom"
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-07-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|