mana 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mana/capistrano.rb +6 -0
- data/lib/mana/version.rb +1 -1
- data/templates/Capfile +8 -0
- metadata +2 -1
data/lib/mana/capistrano.rb
CHANGED
@@ -2,6 +2,12 @@ require 'roundsman/capistrano'
|
|
2
2
|
require 'capistrano_colors'
|
3
3
|
require 'capistrano/ext/multistage'
|
4
4
|
|
5
|
+
Capistrano::Configuration.default_io_proc = ->(ch, stream, out){
|
6
|
+
next if out.strip.empty?
|
7
|
+
level = stream == :err ? :important : :info
|
8
|
+
ch[:options][:logger].send(level, out.strip, "#{stream} :: #{ch[:server]}")
|
9
|
+
}
|
10
|
+
|
5
11
|
Capistrano::Configuration.instance(:must_exist).load do
|
6
12
|
|
7
13
|
# Convinient defaults
|
data/lib/mana/version.rb
CHANGED
data/templates/Capfile
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -106,6 +106,7 @@ files:
|
|
106
106
|
- lib/mana/version.rb
|
107
107
|
- lib/tasks/mana.rake
|
108
108
|
- mana.gemspec
|
109
|
+
- templates/Capfile
|
109
110
|
- templates/Vagrantfile
|
110
111
|
- templates/config/deploy.rb
|
111
112
|
- templates/config/deploy/vagrant.rb
|