capper 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/capper.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "capper"
3
- s.version = "0.3.0"
3
+ s.version = "0.3.1"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.licenses = ["MIT"]
6
6
  s.authors = ["Benedikt Böhm"]
data/lib/capper/gem.rb CHANGED
@@ -1,7 +1,9 @@
1
1
  require File.dirname(__FILE__) + '/base' unless defined?(Capper)
2
2
 
3
3
  Capper.load do
4
- task "gem:setup" do
5
- put("gem: --no-ri --no-rdoc", "#{deploy_to}/.gemrc")
4
+ namespace :gemrc do
5
+ task :setup do
6
+ put("gem: --no-ri --no-rdoc", "#{deploy_to}/.gemrc")
7
+ end
6
8
  end
7
9
  end
data/lib/capper/rvm.rb CHANGED
@@ -16,7 +16,7 @@ Capper.load do
16
16
  wo_gemset = rvm_ruby_string.gsub(/@.*/, '')
17
17
  run("if ! rvm list rubies | grep -q #{wo_gemset}; then " +
18
18
  "rvm install #{rvm_ruby_string}; fi && " +
19
- "rvm use --create #{rvm_ruby_string}",
19
+ "rvm use --create #{rvm_ruby_string} >/dev/null",
20
20
  :shell => "/bin/bash -l")
21
21
 
22
22
  # this ensures that Gentoos declare -x RUBYOPT="-rauto_gem" is ignored.
@@ -30,7 +30,7 @@ Capper.load do
30
30
  end
31
31
  end
32
32
 
33
- before "rvm:setup", "gem:setup"
33
+ before "rvm:setup", "gemrc:setup"
34
34
  before "deploy:setup", "rvm:setup"
35
35
  after "deploy:symlink", "rvm:trust_rvmrc"
36
36
  end
@@ -7,7 +7,7 @@ PIDFILE=<%= shared_path %>/pids/unicorn.pid
7
7
  CONFIG=<%= shared_path %>/config/unicorn.rb
8
8
  CMD="bundle exec unicorn -c $CONFIG -E $RAILS_ENV -D config.ru"
9
9
 
10
- cd <%= current_path %>
10
+ cd <%= current_path %> >/dev/null
11
11
 
12
12
  sig () {
13
13
  test -s "$PIDFILE" && kill -$1 $(<$PIDFILE)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-08-02 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: erubis
16
- requirement: &22259260 !ruby/object:Gem::Requirement
16
+ requirement: &10534580 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *22259260
24
+ version_requirements: *10534580
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: capistrano
27
- requirement: &22258820 !ruby/object:Gem::Requirement
27
+ requirement: &10534140 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *22258820
35
+ version_requirements: *10534140
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: capistrano_colors
38
- requirement: &22258400 !ruby/object:Gem::Requirement
38
+ requirement: &10533720 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *22258400
46
+ version_requirements: *10533720
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
- requirement: &22257900 !ruby/object:Gem::Requirement
49
+ requirement: &10533220 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 1.0.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *22257900
57
+ version_requirements: *10533220
58
58
  description: Capistrano is a collection of opinionated Capistrano recipes
59
59
  email:
60
60
  - bb@xnull.de