capo 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -22,7 +22,7 @@ Or install it yourself as:
22
22
 
23
23
  Run `capo begin` to set up capistrano in your project. It will create a `Capfile` and `config/deploy.rb` in the folder where you run the command.
24
24
 
25
- Run `capo list` to get a list of aailable recipes. Install recipes with `capo install a_recipe`.
25
+ Run `capo list` to get a list of aailable recipes. Install recipes with `capo add a_recipe`. You can also install multiple recipes at once by running `capo add recipe_1 recipe_2 recipe_3`.
26
26
 
27
27
  You can get a list of installed recipes with `capo added`.
28
28
 
data/bin/capo CHANGED
@@ -40,7 +40,7 @@ when 'list'
40
40
  Capo::Recipes.list
41
41
  when 'add'
42
42
  Capo::Init.fetch_repository
43
- Capo::Recipes.add ARGV[1]
43
+ Capo::Recipes.add ARGV[1..ARGV.size]
44
44
  when 'added'
45
45
  Capo::Init.fetch_repository
46
46
  Capo::Recipes.added
data/lib/capo/recipes.rb CHANGED
@@ -10,6 +10,7 @@ module Capo
10
10
  end
11
11
 
12
12
  def add name
13
+ return name.each{|recipe| add recipe} if name.is_a?(Array)
13
14
  recipe = recipes.select{|r| r[:name] == name}.first
14
15
  raise "Recipe '#{name}' not found" unless recipe
15
16
 
data/lib/capo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Capo
2
- VERSION = '0.9.0'
2
+ VERSION = '0.9.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: