progress 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/progress.rb +1 -1
  3. data/progress.gemspec +2 -2
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/lib/progress.rb CHANGED
@@ -151,7 +151,7 @@ class Progress
151
151
  inner = 0
152
152
  levels.reverse.each do |l|
153
153
  current = l.to_f(inner)
154
- value = current == 0 ? '......' : '%5.1f%%' % (current * 100.0)
154
+ value = current == 0 ? '......' : "#{'%5.1f' % (current * 100.0)}%"
155
155
  messages << "#{l.title}: #{!highlight? || value == '100.0%' ? value : "\e[1m#{value}\e[0m"}"
156
156
  inner = current
157
157
  end
data/progress.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{progress}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Boba Fat"]
12
- s.date = %q{2010-01-16}
12
+ s.date = %q{2010-01-20}
13
13
  s.extra_rdoc_files = [
14
14
  "README.rdoc"
15
15
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: progress
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boba Fat
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-16 00:00:00 +03:00
12
+ date: 2010-01-20 00:00:00 +03:00
13
13
  default_executable:
14
14
  dependencies: []
15
15