powerbar 1.0.14 → 1.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/powerbar.rb +3 -3
- data/lib/powerbar/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61e2a9867cd2592afac2920e0bc1552f1223427d
|
4
|
+
data.tar.gz: 6e6aaffbf94f25c78bce1c3b84be006306bc8818
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b88c5b3ce95a3a890a9e99fb27056ce6875e5dac5c8f9b03bf01c952a8d19d64d44119cb178e688390cd51aeec6504590c673fb14a17348beed4b56fdfadbf6
|
7
|
+
data.tar.gz: bd143f2726e67851741783b6691acc0c0bb66237e0aebca6aeb1530847ced39d19e532c3a80a94c9083b5b6c41c2fadbfacce709ce1321d3995497c541279792
|
data/lib/powerbar.rb
CHANGED
@@ -69,7 +69,7 @@ class PowerBar
|
|
69
69
|
# evaluates to something other than nil.
|
70
70
|
:main => '${<msg>}: ${[<bar>] }${<rate>/s }${<percent>% }${<elapsed>}${, ETA: <eta>}',
|
71
71
|
:post => '', # printed after the progressbar
|
72
|
-
:wipe => "\e[0m\e[
|
72
|
+
:wipe => "\e[0m\e[1G\e[K", # printed when 'wipe' is called
|
73
73
|
:close => "\e[?25h\n", # printed when 'close' is called
|
74
74
|
:exit => "\e[?25h", # printed if the process exits unexpectedly
|
75
75
|
:barchar => RUBY18 ? '#' : "\u2588", # fill-char for the progress-bar
|
@@ -81,10 +81,10 @@ class PowerBar
|
|
81
81
|
:interval => 0.1,
|
82
82
|
:show_eta => false,
|
83
83
|
:template => {
|
84
|
-
:pre => "\e[
|
84
|
+
:pre => "\e[1G\e[?25l",
|
85
85
|
:main => "${<msg>}: ${<done> }${<rate>/s }${<elapsed>}",
|
86
86
|
:post => "\e[K",
|
87
|
-
:wipe => "\e[0m\e[
|
87
|
+
:wipe => "\e[0m\e[1G\e[K",
|
88
88
|
:close => "\e[?25h\n",
|
89
89
|
:exit => "\e[?25h",
|
90
90
|
:barchar => RUBY18 ? '#' : "\u2588",
|
data/lib/powerbar/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: powerbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Moe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|