vagrant-group 0.6.0 → 0.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c302d7362abf4ef0cb4af94c978d8bac66e9def
4
- data.tar.gz: 40147d05817797d3ed8512128bd9bc51859c2418
3
+ metadata.gz: 3c1f6abcfd5c7e098ea5f14e80e156b2fd962f75
4
+ data.tar.gz: 3f517f0379c46c37a76eeb9f574cc64eacf10f2e
5
5
  SHA512:
6
- metadata.gz: 627df585b47bb2016e7f8f9ec214a4007dff3cf7361e79094adbe5f5490dd634af813b107147bfb74c097097daca3cb968bc889b8ce4f679ea218a219dce2d0a
7
- data.tar.gz: 2a80033dbe4858a8cabdb2c72483e7d6625677dce4095158ad346f9b1f7930a1aef18a0eff94b1fe02c8e6b5bb75ac574d33463ded7ea3cd891f0cf5f7072e49
6
+ metadata.gz: 07fc04936abe946f94f9d716b4fa33998eae6facc04269395a497b25785367556850a16e2ec47755d3d940a2d7211163cf54fba4cbf58010bc1c0dcabf68eca8
7
+ data.tar.gz: 4928f9206bef104363bdcd9190a499cece92604fba14f88fd98b71fb48e83713d443a56389f406747b29cbb700eed7e76b150cc67f2fca65f5cc3a6afc759fdf
data/README.md CHANGED
@@ -42,16 +42,16 @@ end
42
42
  ## How to use
43
43
 
44
44
  ```sh
45
- $ vagrant group webservers up
46
- $ vagrant group databases halt
45
+ $ vagrant group up webservers
46
+ $ vagrant group halt databases
47
47
  ```
48
48
 
49
- At the moment you use commands `up`, `halt`, `provision`, `reload` and `destroy`.
49
+ At the moment you use commands `up`, `halt`, `provision`, `reload`, `suspend`, `resume` and `destroy`.
50
50
  Parameters are not supported except `--force` in `halt` and `destroy` commands.
51
51
 
52
52
  In order to list hosts associated to group issue below command:
53
53
  ```
54
- $ vagrant group webservers hosts
54
+ $ vagrant group hosts webservers
55
55
  ```
56
56
 
57
57
  ## Contributing
@@ -13,7 +13,7 @@ module VagrantPlugins
13
13
  :provision_ignore_sentinel => false, # otherwise reload command does provision
14
14
  }
15
15
  opts = OptionParser.new do |o|
16
- o.banner = sprintf("Usage: vagrant group <group-name> <%s>", COMMANDS.join("|"))
16
+ o.banner = sprintf("Usage: vagrant group <%s> <group-name>", COMMANDS.join("|"))
17
17
  o.separator ''
18
18
 
19
19
  o.on('-h', '--help', 'Print this help') do
@@ -32,7 +32,7 @@ module VagrantPlugins
32
32
 
33
33
  argv = parse_options(opts)
34
34
 
35
- group, action = argv[0], argv[1]
35
+ action, group = argv[0], argv[1]
36
36
 
37
37
  if !group || !action || !COMMANDS.include?(action)
38
38
  safe_puts(opts.help)
@@ -1,7 +1,7 @@
1
1
  module VagrantPlugins
2
2
  module Group
3
3
 
4
- VERSION = "0.6.0"
4
+ VERSION = "0.7.0"
5
5
 
6
6
  end # Group
7
7
  end # VagrantPlugins
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-group
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Magosa