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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e6a8cc7d90968f1b505454af7b914ccacf832f7
4
- data.tar.gz: 0e763ab08a38c84623819443f662db7942660698
3
+ metadata.gz: 61e2a9867cd2592afac2920e0bc1552f1223427d
4
+ data.tar.gz: 6e6aaffbf94f25c78bce1c3b84be006306bc8818
5
5
  SHA512:
6
- metadata.gz: 29c4ea1ed8bc76c2f96d9b1f396ecc8327133a1eb409ee86cc1e9ff78a4532dec2d8e8e65eabb713efdfe95a065e6c05417980635278722a27ba026e68bb2895
7
- data.tar.gz: 3fa981176c7d6cc65ea819cf0ae043ef48d8fe77619f8a211286008bbe719315c2eda81c613f1d57746b993f8aeda8c80ad49298e1e38f6000738840d71b016f
6
+ metadata.gz: 1b88c5b3ce95a3a890a9e99fb27056ce6875e5dac5c8f9b03bf01c952a8d19d64d44119cb178e688390cd51aeec6504590c673fb14a17348beed4b56fdfadbf6
7
+ data.tar.gz: bd143f2726e67851741783b6691acc0c0bb66237e0aebca6aeb1530847ced39d19e532c3a80a94c9083b5b6c41c2fadbfacce709ce1321d3995497c541279792
@@ -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[1000D\e[K", # printed when 'wipe' is called
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[1000D\e[?25l",
84
+ :pre => "\e[1G\e[?25l",
85
85
  :main => "${<msg>}: ${<done> }${<rate>/s }${<elapsed>}",
86
86
  :post => "\e[K",
87
- :wipe => "\e[0m\e[1000D\e[K",
87
+ :wipe => "\e[0m\e[1G\e[K",
88
88
  :close => "\e[?25h\n",
89
89
  :exit => "\e[?25h",
90
90
  :barchar => RUBY18 ? '#' : "\u2588",
@@ -1,3 +1,3 @@
1
1
  class Powerbar
2
- VERSION = "1.0.14"
2
+ VERSION = "1.0.15"
3
3
  end
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.14
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-21 00:00:00.000000000 Z
11
+ date: 2015-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie