capper 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/capper.rb +4 -5
  2. data/lib/capper/version.rb +1 -1
  3. metadata +2 -2
@@ -10,11 +10,10 @@ 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
13
+ # see https://github.com/capistrano/capistrano/issues/168
14
+ Capistrano::Configuration::Namespaces::Namespace.class_eval do
15
+ def capture(*args)
16
+ parent.capture *args
18
17
  end
19
18
  end
20
19
 
@@ -1,3 +1,3 @@
1
1
  module Capper
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-14 00:00:00.000000000 Z
12
+ date: 2012-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: erubis