mana 0.0.1 → 0.0.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.
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Mana
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/templates/Capfile ADDED
@@ -0,0 +1,8 @@
1
+ load 'deploy'
2
+
3
+ load 'deploy/assets'
4
+ require 'bundler/capistrano'
5
+
6
+ require 'mana/capistrano'
7
+
8
+ load 'config/deploy'
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.1
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