capo 0.9.1 → 0.9.2

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.
data/capo.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
8
8
  gem.version = Capo::VERSION
9
9
  gem.authors = ['Jeroen Jacobs', 'Joren De Groof', 'Steven De Coeyer', 'Hannes Fostie']
10
10
  gem.email = ['mail@capo.io']
11
- gem.description = 'Command line utility to fetch and manage recipes'
12
- gem.summary = 'Command line utility to fetch and manage recipes'
11
+ gem.description = 'Command line utility to fetch and manage Capistrano recipes'
12
+ gem.summary = 'Command line utility to fetch and manage Capistrano recipes'
13
13
  gem.homepage = 'http://capo.io'
14
14
 
15
15
  gem.files = `git ls-files`.split($/)
data/lib/capo/capfile.rb CHANGED
@@ -25,6 +25,7 @@ module Capo
25
25
  load 'deploy'
26
26
 
27
27
  load 'config/deploy'
28
+
28
29
  FILE
29
30
  end
30
31
 
@@ -50,7 +51,7 @@ module Capo
50
51
 
51
52
  def unindent string
52
53
  indentation = string[/\A\s*/]
53
- string.strip.gsub /^#{indentation}/, ''
54
+ string.gsub /^#{indentation}/, ''
54
55
  end
55
56
  end
56
57
  end
data/lib/capo/recipes.rb CHANGED
@@ -24,7 +24,7 @@ module Capo
24
24
 
25
25
  app_recipe_path = File.join app_deploy_path, "#{name}.rb"
26
26
 
27
- Dir.mkdir(app_deploy_path) unless Dir.exists?(app_deploy_path)
27
+ Dir.mkdir(app_deploy_path) unless File.exists?(app_deploy_path)
28
28
 
29
29
  puts "[#{name}] Copying recipe to #{app_recipe_path}"
30
30
  FileUtils.copy File.join(Capo.repository_path, 'recipes', name, "#{name}.rb"), app_recipe_path
data/lib/capo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Capo
2
- VERSION = '0.9.1'
2
+ VERSION = '0.9.2'
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.1
4
+ version: 0.9.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2012-10-14 00:00:00.000000000 Z
15
+ date: 2013-01-09 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: capistrano
@@ -46,7 +46,7 @@ dependencies:
46
46
  - - ! '>='
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
- description: Command line utility to fetch and manage recipes
49
+ description: Command line utility to fetch and manage Capistrano recipes
50
50
  email:
51
51
  - mail@capo.io
52
52
  executables:
@@ -89,5 +89,5 @@ rubyforge_project:
89
89
  rubygems_version: 1.8.24
90
90
  signing_key:
91
91
  specification_version: 3
92
- summary: Command line utility to fetch and manage recipes
92
+ summary: Command line utility to fetch and manage Capistrano recipes
93
93
  test_files: []