capistrano_multiconfig_parallel 0.28.1 → 0.28.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e5b90fdb3d1e844ec4127ebfaae4b38e8d8095f
4
- data.tar.gz: 10f466aa16eef98f9636883255d148938096fa9a
3
+ metadata.gz: 447afb20605fc2277c83241f275548fe3406bed9
4
+ data.tar.gz: 679719c1cc09c786a54f0adfee64ce809ae0f02e
5
5
  SHA512:
6
- metadata.gz: aec632ffdd555d4f740a3e61d75febbee449ae9d7e6e323d454a46bda67ab09884ff0583b654f44787e67f9ac3b54e95c1c68e5c4b1759c7b9ba2730d0303138
7
- data.tar.gz: 253acf2c6881998a12be69ea6da8abdc89295c974865bd8f554a004fb335a0fe3b60dcf8a652942fdae532615a791ba51c02d744e899af3bdb388e3b04725a5e
6
+ metadata.gz: b6920166e95b651198c6a499a82703e47680e8c7d6cbb54e60e239583fe30b7eea2957b4ad7d511c55da678e007091958a6c3aef90dd4f11755d580ba7ef6890
7
+ data.tar.gz: fe6ac09924e0cfa83878bdbc0ecfbe1a50e1b2d87a5193c97f78c358b7fc7502552761c201e89d4896ba293a287df5988000e5ffd47392e3da0217244e850d1b
@@ -45,12 +45,17 @@ module CapistranoMulticonfigParallel
45
45
  puts string
46
46
  end
47
47
 
48
+ def move_to_home!
49
+ print "\e[2;1H"
50
+ erase_from_current_line_to_bottom
51
+ end
52
+
48
53
  def erase_from_current_line_to_bottom
49
54
  puts "\e[J"
50
55
  end
51
56
 
52
57
  def position_cursor(line, column)
53
- puts("\e[#{line};#{column}H")
58
+ puts("\eD\e[#{line};#{column}H")
54
59
  end
55
60
 
56
61
  def terminal_clear
@@ -29,6 +29,7 @@ module CapistranoMulticonfigParallel
29
29
  def run_the_application
30
30
  execute_with_rescue('stderr') do
31
31
  configuration_valid?
32
+ CapistranoMulticonfigParallel::Cursor.move_to_home!
32
33
  CapistranoMulticonfigParallel::Application.new.start
33
34
  end
34
35
  end
@@ -8,7 +8,7 @@ module CapistranoMulticonfigParallel
8
8
  module VERSION
9
9
  MAJOR = 0
10
10
  MINOR = 28
11
- TINY = 1
11
+ TINY = 2
12
12
  PRE = nil
13
13
 
14
14
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano_multiconfig_parallel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.1
4
+ version: 0.28.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada