capper 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- data/capper.gemspec +2 -2
- data/lib/capper.rb +8 -0
- data/lib/capper/bundler.rb +1 -1
- data/lib/capper/version.rb +1 -1
- metadata +6 -6
data/capper.gemspec
CHANGED
@@ -17,6 +17,6 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.require_paths = ["lib"]
|
18
18
|
|
19
19
|
s.add_dependency "erubis"
|
20
|
-
s.add_dependency "capistrano"
|
21
|
-
s.add_dependency "capistrano_colors"
|
20
|
+
s.add_dependency "capistrano", "~> 2.9.0"
|
21
|
+
s.add_dependency "capistrano_colors", "~> 0.5.5"
|
22
22
|
end
|
data/lib/capper.rb
CHANGED
@@ -10,6 +10,14 @@ include Capper::Utils::Multistage
|
|
10
10
|
require 'capper/utils/monit'
|
11
11
|
include Capper::Utils::Monit
|
12
12
|
|
13
|
+
# XXX: remove capture from kernel in case activesupport has been loaded. sigh.
|
14
|
+
module ::Kernel
|
15
|
+
begin
|
16
|
+
remove_method :capture
|
17
|
+
rescue NameError
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
13
21
|
# make sure capper recipes can be found by load() too
|
14
22
|
Capistrano::Configuration.instance(true).load do
|
15
23
|
load_paths << File.expand_path(File.dirname(__FILE__))
|
data/lib/capper/bundler.rb
CHANGED
data/lib/capper/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: capper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.9.
|
5
|
+
version: 0.9.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- "Benedikt B\xC3\xB6hm"
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-12-
|
13
|
+
date: 2011-12-16 00:00:00 +01:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -30,9 +30,9 @@ dependencies:
|
|
30
30
|
requirement: &id002 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - ~>
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
35
|
+
version: 2.9.0
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
@@ -41,9 +41,9 @@ dependencies:
|
|
41
41
|
requirement: &id003 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
|
-
- -
|
44
|
+
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: 0.5.5
|
47
47
|
type: :runtime
|
48
48
|
version_requirements: *id003
|
49
49
|
description: Capper is a collection of opinionated Capistrano recipes
|