brightbox-cli 1.5.0 → 1.6.0

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: bf43e59f5f1a48d1640ab74aa4b0a10405704b44
4
- data.tar.gz: ddccb12e250a6b96e087f38c9bfb9bc30f8ac9eb
3
+ metadata.gz: 43defe28c23747fafd903e47eee5571e40ee24be
4
+ data.tar.gz: 67bf40bd9f0c37e2644b89ab1ded54cbb400834d
5
5
  SHA512:
6
- metadata.gz: 7b3ea4869fcd217e4f8ea3e0418e5bac03607d7be2579f136f4babb6b3d3e00e7fe63511b5e36f447e3c20e4b0291e08b45d497f301040cdfe861261fe5a625c
7
- data.tar.gz: 998d29050504582fd18e37acb3f0ea885559ae77f2fcb72bd763ecb37d870ea694a0602df42fadf8be948db2ea1d2f906ca915df4cf8658ef8f3e630845cca7f
6
+ metadata.gz: 56df170c6bbf9d0c64dd87380534948cb392164746e597241f37da16d7fc2067a536b2448e34b6d183e6493b91342ac1299bafd69b1b66cdb454f506a2024714
7
+ data.tar.gz: db3b661105fe4a95c075ed0e82f0e20ef8f0ca520eafa86ec11dedcfd65b39374fc6a900dcf704fef4440b320ddbc098d3c6b6598536c30d4d4515981a3f4d3b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ### v1.6.0 / 2015-04-24
2
+ [Full Changelog](https://github.com/brightbox/brightbox-cli/compare/v1.5.0...v1.6.0)
3
+
4
+ Enhancements:
5
+
6
+ * Updated list of autocompleted server handles to include all current versions
7
+ including SSD versions.
8
+
9
+ Changes:
10
+
11
+ * Default server type has changed to `1gb.ssd`. This can be changed with the
12
+ `--type (-t)` argument to specify alternatives as before.
13
+
1
14
  ### v1.5.0 / 2015-02-13
2
15
  [Full Changelog](https://github.com/brightbox/brightbox-cli/compare/v1.4.3...v1.5.0)
3
16
 
@@ -225,7 +225,25 @@ SPEC = { "brightbox" =>
225
225
  "-d=" => "--destination",
226
226
  "--destination=" => [find_identifiers(%w(grp- srv-), %w(any))],
227
227
  "-s=" => "--source",
228
- "--source=" => [find_identifiers(%w(grp- srv-), %w(any))],
228
+ "--source=" => [find_identifiers(%w(grp- srv- lba-), %w(any))],
229
+ "-e=" => "--dport=",
230
+ "--dport=" => [find_network_services],
231
+ "-t=" => "--sport=",
232
+ "--sport=" => true,
233
+ "-i=" => "--icmptype=",
234
+ "--icmptype=" => [find_icmp_types],
235
+ "-p=" => "--protocol=",
236
+ "--protocol=" => [%w(tcp udp icmp)]
237
+ },
238
+ "destroy" => find_identifiers("fwr-"),
239
+ "list" => find_identifiers("fwp-"),
240
+ "show" => find_identifiers("fwp-"),
241
+ "update" =>
242
+ {
243
+ "-d=" => "--destination",
244
+ "--destination=" => [find_identifiers(%w(grp- srv-), %w(any))],
245
+ "-s=" => "--source",
246
+ "--source=" => [find_identifiers(%w(grp- srv- lba-), %w(any))],
229
247
  "-e=" => "--dport=",
230
248
  "--dport=" => [find_network_services],
231
249
  "-t=" => "--sport=",
@@ -16,7 +16,7 @@ module Brightbox
16
16
  c.flag [:z, "zone"]
17
17
 
18
18
  c.desc "Type of server to create"
19
- c.default_value "nano"
19
+ c.default_value "1gb.ssd"
20
20
  c.flag [:t, :type]
21
21
 
22
22
  c.desc "Specify user data"
@@ -1,3 +1,3 @@
1
1
  module Brightbox
2
- VERSION = "1.5.0" unless defined?(Brightbox::VERSION)
2
+ VERSION = "1.6.0" unless defined?(Brightbox::VERSION)
3
3
  end
@@ -45,7 +45,7 @@ _brightbox()
45
45
  return 0
46
46
  ;;
47
47
  -t|--type)
48
- COMPREPLY=( $( compgen -W 'nano mini small medium large' -- "$cur" ) )
48
+ COMPREPLY=( $( compgen -W 'nano mini small medium large xl xxl nano.high-io mini.high-io small.high-io medium.high-io large.high-io xl.high-io xxl.high-io 512mb.ssd 1gb.ssd 2gb.ssd 4gb.ssd 8gb.ssd 16gb.ssd 32gb.ssd 48gb.ssd 64gb.ssd 16gb.ssd-high-io 32gb.ssd-high-io 48gb.ssd-high-io 64gb.ssd-high-io' -- "$cur" ) )
49
49
  return 0
50
50
  ;;
51
51
  esac
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brightbox-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Leach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-13 00:00:00.000000000 Z
11
+ date: 2015-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-brightbox
@@ -962,3 +962,4 @@ test_files:
962
962
  - spec/unit/ruby_core_ext_spec.rb
963
963
  - spec/unit/temporary_home_spec.rb
964
964
  - spec/unit/tmp_config_spec.rb
965
+ has_rdoc: