capistrano-simple-formatter 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -28,6 +28,14 @@ Set the Capistrano `format` to `:simple`:
28
28
  set :format, :simple
29
29
  ```
30
30
 
31
+ Adjust the log level as needed:
32
+
33
+ ```ruby
34
+ # deploy.rb
35
+
36
+ set :log_level, :fatal
37
+ ```
38
+
31
39
  Then, within any `task` block you can access the formatter through `SSHKit.config.output`, or just `output` within an `on` block.
32
40
 
33
41
  ### Examples
@@ -1,3 +1,3 @@
1
1
  module CapistranoSimpleFormatter
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -4,7 +4,7 @@ require 'sshkit'
4
4
 
5
5
  module SSHKit
6
6
  module Formatter
7
- class Simple < Abstract
7
+ class Simple < Pretty
8
8
  def initialize(original_output)
9
9
  super(original_output)
10
10
 
@@ -59,10 +59,6 @@ module SSHKit
59
59
  def success(message = '✔')
60
60
  result(message.green)
61
61
  end
62
-
63
- def write(message) end
64
-
65
- alias :<< :write
66
62
  end
67
63
  end
68
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-simple-formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: