progress_bar 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile CHANGED
@@ -7,6 +7,7 @@ gem "options"
7
7
  group :development, :test do
8
8
  gem "rspec"
9
9
  gem "timecop"
10
+ gem "perftools.rb"
10
11
  end
11
12
 
12
13
 
@@ -116,7 +116,7 @@ class ProgressBar
116
116
  end
117
117
 
118
118
  def terminal_width
119
- @hl.output_cols.to_i
119
+ @terminal_width ||= @hl.output_cols.to_i
120
120
  end
121
121
 
122
122
  def bar_width
@@ -1,3 +1,3 @@
1
1
  module ProgressBar
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
Binary file
Binary file
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: progress_bar
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.2
5
+ version: 0.3.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul Sadauskas
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-10 00:00:00 -06:00
13
+ date: 2011-04-17 00:00:00 -06:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -59,6 +59,10 @@ files:
59
59
  - lib/progress_bar/meters/percentage.rb
60
60
  - lib/progress_bar/version.rb
61
61
  - lib/progress_bar/version.rbc
62
+ - profile/shell_every_update
63
+ - profile/shell_every_update.gif
64
+ - profile/shell_once
65
+ - profile/shell_once.gif
62
66
  - progress_bar.gemspec
63
67
  - test/bar_test.rb
64
68
  - test/counter_test.rb