progressbar 0.21.0 → 1.8.1

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.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/LICENSE.txt +19 -0
  5. data/README.md +38 -0
  6. data/Rakefile +2 -14
  7. data/lib/progressbar.rb +14 -284
  8. data/lib/ruby-progressbar/base.rb +161 -0
  9. data/lib/ruby-progressbar/calculators/length.rb +88 -0
  10. data/lib/ruby-progressbar/calculators/length_spec.rb +9 -0
  11. data/lib/ruby-progressbar/calculators/running_average.rb +9 -0
  12. data/lib/ruby-progressbar/components.rb +5 -0
  13. data/lib/ruby-progressbar/components/bar.rb +96 -0
  14. data/lib/ruby-progressbar/components/percentage.rb +29 -0
  15. data/lib/ruby-progressbar/components/rate.rb +43 -0
  16. data/lib/ruby-progressbar/components/time.rb +103 -0
  17. data/lib/ruby-progressbar/components/title.rb +13 -0
  18. data/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
  19. data/lib/ruby-progressbar/format.rb +3 -0
  20. data/lib/ruby-progressbar/format/formatter.rb +27 -0
  21. data/lib/ruby-progressbar/format/molecule.rb +58 -0
  22. data/lib/ruby-progressbar/format/string.rb +36 -0
  23. data/lib/ruby-progressbar/output.rb +61 -0
  24. data/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
  25. data/lib/ruby-progressbar/outputs/tty.rb +32 -0
  26. data/lib/ruby-progressbar/progress.rb +114 -0
  27. data/lib/ruby-progressbar/throttle.rb +25 -0
  28. data/lib/ruby-progressbar/time.rb +30 -0
  29. data/lib/ruby-progressbar/timer.rb +72 -0
  30. data/lib/ruby-progressbar/version.rb +3 -0
  31. data/spec/fixtures/benchmark.rb +28 -0
  32. data/spec/ruby-progressbar/base_spec.rb +949 -0
  33. data/spec/ruby-progressbar/calculators/length_calculator_spec.rb +17 -0
  34. data/spec/ruby-progressbar/calculators/running_average_spec.rb +19 -0
  35. data/spec/ruby-progressbar/components/bar_spec.rb +234 -0
  36. data/spec/ruby-progressbar/components/percentage_spec.rb +9 -0
  37. data/spec/ruby-progressbar/components/rate_spec.rb +9 -0
  38. data/spec/ruby-progressbar/components/throttle_spec.rb +157 -0
  39. data/spec/ruby-progressbar/components/time_spec.rb +307 -0
  40. data/spec/ruby-progressbar/components/title_spec.rb +12 -0
  41. data/spec/ruby-progressbar/format/formatter_spec.rb +9 -0
  42. data/spec/ruby-progressbar/format/molecule_spec.rb +30 -0
  43. data/spec/ruby-progressbar/format/string_spec.rb +9 -0
  44. data/spec/ruby-progressbar/output_spec.rb +7 -0
  45. data/spec/ruby-progressbar/outputs/non_tty_spec.rb +9 -0
  46. data/spec/ruby-progressbar/outputs/tty_spec.rb +9 -0
  47. data/spec/ruby-progressbar/progress_spec.rb +156 -0
  48. data/spec/ruby-progressbar/time_spec.rb +45 -0
  49. data/spec/ruby-progressbar/timer_spec.rb +7 -0
  50. data/spec/spec_helper.rb +6 -0
  51. data/spec/support/time.rb +17 -0
  52. metadata +134 -69
  53. metadata.gz.sig +3 -0
  54. data/.gitignore +0 -23
  55. data/.ruby-version +0 -1
  56. data/.travis.yml +0 -6
  57. data/ChangeLog +0 -113
  58. data/Gemfile +0 -4
  59. data/Gemfile.lock +0 -27
  60. data/LICENSE +0 -1
  61. data/README.rdoc +0 -116
  62. data/progressbar.gemspec +0 -29
  63. data/test/test.rb +0 -125
@@ -0,0 +1,45 @@
1
+ require 'spec_helper'
2
+
3
+ class TimeMockedWithTimecop
4
+ def self.now_without_mock_time; end
5
+ end
6
+
7
+ class TimeMockedWithDelorean
8
+ def self.now_without_delorean; end
9
+ end
10
+
11
+ class TimeMockedWithActiveSupport
12
+ def self.__simple_stub__now; end
13
+ end
14
+
15
+ class UnmockedTime
16
+ def self.now; end
17
+ end
18
+
19
+ class ProgressBar
20
+ RSpec.describe Time do
21
+ it 'when Time is being mocked by Timecop retrieves the unmocked Timecop time' do
22
+ expect(TimeMockedWithTimecop).to receive(:now_without_mock_time).once
23
+
24
+ Time.new(TimeMockedWithTimecop).now
25
+ end
26
+
27
+ it 'when Time is being mocked by Delorean retrieves the unmocked Delorean time' do
28
+ expect(TimeMockedWithDelorean).to receive(:now_without_delorean).once
29
+
30
+ Time.new(TimeMockedWithDelorean).now
31
+ end
32
+
33
+ it 'when Time is being mocked by ActiveSupport retrieves the unmocked time' do
34
+ expect(TimeMockedWithActiveSupport).to receive(:__simple_stub__now).once
35
+
36
+ Time.new(TimeMockedWithActiveSupport).now
37
+ end
38
+
39
+ it 'when Time is not being mocked will return the actual time' do
40
+ expect(UnmockedTime).to receive(:now).once
41
+
42
+ Time.new(UnmockedTime).now
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,7 @@
1
+ require 'rspectacular'
2
+ require 'ruby-progressbar/timer'
3
+
4
+ class ProgressBar
5
+ RSpec.describe Timer do
6
+ end
7
+ end
@@ -0,0 +1,6 @@
1
+ require 'rspectacular'
2
+ require 'warning_filter' if Kernel.respond_to?(:require_relative)
3
+
4
+ RSpec.configure do |config|
5
+ config.warnings = true
6
+ end
@@ -0,0 +1,17 @@
1
+ ###
2
+ # In our specs, I want to make sure time gets mocked so I can accurately test
3
+ # times displayed to the user.
4
+ #
5
+ class PBTimeTester
6
+ def self.now
7
+ ::Time.now
8
+ end
9
+ end
10
+
11
+ class ProgressBar
12
+ class Time
13
+ def initialize(time = ::PBTimeTester)
14
+ self.time = time
15
+ end
16
+ end
17
+ end
metadata CHANGED
@@ -1,144 +1,209 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: progressbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
- - Satoru Takabayashi
8
- - Jose Peleteiro
7
+ - thekompanee
8
+ - jfelchner
9
9
  autorequire:
10
10
  bindir: bin
11
- cert_chain: []
12
- date: 2013-09-13 00:00:00.000000000 Z
11
+ cert_chain:
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
14
+ MIIDrjCCApagAwIBAgIBATANBgkqhkiG9w0BAQUFADBOMRowGAYDVQQDDBFhY2Nv
15
+ dW50c19ydWJ5Z2VtczEbMBkGCgmSJomT8ixkARkWC3RoZWtvbXBhbmVlMRMwEQYK
16
+ CZImiZPyLGQBGRYDY29tMB4XDTE2MDQyNDAyNTEyM1oXDTE3MDQyNDAyNTEyM1ow
17
+ TjEaMBgGA1UEAwwRYWNjb3VudHNfcnVieWdlbXMxGzAZBgoJkiaJk/IsZAEZFgt0
18
+ aGVrb21wYW5lZTETMBEGCgmSJomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEB
19
+ BQADggEPADCCAQoCggEBANklzdaVeHtut6LTe/hrl6Krz2Z60InEbNb+TMG43tww
20
+ jBpWZrdU/SBkR3EYbTAQv/yGTuMHoVKGK2kDlFvdofW2hX0d14qPyYJUNYt+7VWE
21
+ 3UhPSxw1i6MxeU1QwfkIyaN8A5lj0225+rwI/mbplv+lSXPlJEroCQ9EfniZD4jL
22
+ URlrHWl/UejcQ32C1IzBwth3+nacrO1197v5nSdozFzQwm4groaggXn9F/WpThu+
23
+ MhcE4bfttwEjAfU3zAThyzOFoVPpACP+SwOuyPJSl02+9BiwzeAnFJDfge7+rsd5
24
+ 64W/VzBIklEKUZMmxZwr5DwpSXLrknBDtHLABG9Nr3cCAwEAAaOBljCBkzAJBgNV
25
+ HRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUP7v0f/qfa0LMrhkzHRI3l10X
26
+ LYIwLAYDVR0RBCUwI4EhYWNjb3VudHMrcnVieWdlbXNAdGhla29tcGFuZWUuY29t
27
+ MCwGA1UdEgQlMCOBIWFjY291bnRzK3J1YnlnZW1zQHRoZWtvbXBhbmVlLmNvbTAN
28
+ BgkqhkiG9w0BAQUFAAOCAQEASqdfJKMun1twosHfvdDH7Vgrb5VqX28qJ6MgnhjF
29
+ p+3HYTjYo/KMQqu78TegUFO5xQ4oumU0FTXADW0ryXZvUGV74M0zwqpFqeo8onII
30
+ lsVsWdMCLZS21M0uCQmcV+OQMNxL8jV3c0D3x9Srr9yO4oamW3seIdb+b9RfhmV2
31
+ ryr+NH8U/4xgzdJ4hWV4qk93nwigp4lwJ4u93XJ7Cdyw7itvaEPnn8HpCfzsiLcw
32
+ QwSfDGz6+zsImi5N3UT71+mk7YcviQSgvMRl3VkAv8MZ6wcJ5SQRpf9w0OeFH6Ln
33
+ nNbCoHiYeXX/lz/M6AIbxDIZZTwxcyvF7bdrQ2fbH5MsfQ==
34
+ -----END CERTIFICATE-----
35
+ date: 2016-12-10 00:00:00.000000000 Z
13
36
  dependencies:
14
37
  - !ruby/object:Gem::Dependency
15
- name: bundler
38
+ name: rspec
16
39
  requirement: !ruby/object:Gem::Requirement
17
40
  requirements:
18
- - - '>='
41
+ - - "~>"
19
42
  - !ruby/object:Gem::Version
20
- version: 1.0.0
43
+ version: '3.2'
21
44
  type: :development
22
45
  prerelease: false
23
46
  version_requirements: !ruby/object:Gem::Requirement
24
47
  requirements:
25
- - - '>='
48
+ - - "~>"
26
49
  - !ruby/object:Gem::Version
27
- version: 1.0.0
50
+ version: '3.2'
28
51
  - !ruby/object:Gem::Dependency
29
- name: minitest
52
+ name: rspectacular
30
53
  requirement: !ruby/object:Gem::Requirement
31
54
  requirements:
32
- - - '>='
55
+ - - "~>"
33
56
  - !ruby/object:Gem::Version
34
- version: '0'
57
+ version: 0.70.6
35
58
  type: :development
36
59
  prerelease: false
37
60
  version_requirements: !ruby/object:Gem::Requirement
38
61
  requirements:
39
- - - '>='
62
+ - - "~>"
40
63
  - !ruby/object:Gem::Version
41
- version: '0'
64
+ version: 0.70.6
42
65
  - !ruby/object:Gem::Dependency
43
- name: yard
66
+ name: fuubar
44
67
  requirement: !ruby/object:Gem::Requirement
45
68
  requirements:
46
- - - '>='
69
+ - - "~>"
47
70
  - !ruby/object:Gem::Version
48
- version: '0'
71
+ version: '2.0'
49
72
  type: :development
50
73
  prerelease: false
51
74
  version_requirements: !ruby/object:Gem::Requirement
52
75
  requirements:
53
- - - '>='
76
+ - - "~>"
54
77
  - !ruby/object:Gem::Version
55
- version: '0'
78
+ version: '2.0'
56
79
  - !ruby/object:Gem::Dependency
57
- name: rake
80
+ name: warning_filter
58
81
  requirement: !ruby/object:Gem::Requirement
59
82
  requirements:
60
- - - '>='
83
+ - - "~>"
61
84
  - !ruby/object:Gem::Version
62
- version: '0'
85
+ version: 0.0.2
63
86
  type: :development
64
87
  prerelease: false
65
88
  version_requirements: !ruby/object:Gem::Requirement
66
89
  requirements:
67
- - - '>='
90
+ - - "~>"
68
91
  - !ruby/object:Gem::Version
69
- version: '0'
92
+ version: 0.0.2
70
93
  - !ruby/object:Gem::Dependency
71
- name: simplecov
94
+ name: timecop
72
95
  requirement: !ruby/object:Gem::Requirement
73
96
  requirements:
74
- - - '>='
97
+ - - '='
75
98
  - !ruby/object:Gem::Version
76
- version: 0.3.5
99
+ version: 0.6.1
77
100
  type: :development
78
101
  prerelease: false
79
102
  version_requirements: !ruby/object:Gem::Requirement
80
103
  requirements:
81
- - - '>='
104
+ - - '='
82
105
  - !ruby/object:Gem::Version
83
- version: 0.3.5
84
- - !ruby/object:Gem::Dependency
85
- name: bluecloth
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - '>='
89
- - !ruby/object:Gem::Version
90
- version: 0.3.5
91
- type: :development
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - '>='
96
- - !ruby/object:Gem::Version
97
- version: 0.3.5
98
- description: Ruby/ProgressBar is a text progress bar library for Ruby. It can indicate
99
- progress with percentage, a progress bar, and estimated remaining time.
100
- email:
101
- - satoru@0xcc.net
102
- - jose@peleteiro.net
106
+ version: 0.6.1
107
+ description: |
108
+ Ruby/ProgressBar is an extremely flexible text progress bar library for Ruby.
109
+ The output can be customized with a flexible formatting system including:
110
+ percentage, bars of various formats, elapsed time and estimated time remaining.
111
+ email: support@thekompanee.com
103
112
  executables: []
104
113
  extensions: []
105
114
  extra_rdoc_files: []
106
115
  files:
107
- - .gitignore
108
- - .ruby-version
109
- - .travis.yml
110
- - ChangeLog
111
- - Gemfile
112
- - Gemfile.lock
113
- - LICENSE
114
- - README.rdoc
116
+ - LICENSE.txt
117
+ - README.md
115
118
  - Rakefile
116
119
  - lib/progressbar.rb
117
- - progressbar.gemspec
118
- - test/test.rb
119
- homepage: http://github.com/peleteiro/progressbar
120
+ - lib/ruby-progressbar/base.rb
121
+ - lib/ruby-progressbar/calculators/length.rb
122
+ - lib/ruby-progressbar/calculators/length_spec.rb
123
+ - lib/ruby-progressbar/calculators/running_average.rb
124
+ - lib/ruby-progressbar/components.rb
125
+ - lib/ruby-progressbar/components/bar.rb
126
+ - lib/ruby-progressbar/components/percentage.rb
127
+ - lib/ruby-progressbar/components/rate.rb
128
+ - lib/ruby-progressbar/components/time.rb
129
+ - lib/ruby-progressbar/components/title.rb
130
+ - lib/ruby-progressbar/errors/invalid_progress_error.rb
131
+ - lib/ruby-progressbar/format.rb
132
+ - lib/ruby-progressbar/format/formatter.rb
133
+ - lib/ruby-progressbar/format/molecule.rb
134
+ - lib/ruby-progressbar/format/string.rb
135
+ - lib/ruby-progressbar/output.rb
136
+ - lib/ruby-progressbar/outputs/non_tty.rb
137
+ - lib/ruby-progressbar/outputs/tty.rb
138
+ - lib/ruby-progressbar/progress.rb
139
+ - lib/ruby-progressbar/throttle.rb
140
+ - lib/ruby-progressbar/time.rb
141
+ - lib/ruby-progressbar/timer.rb
142
+ - lib/ruby-progressbar/version.rb
143
+ - spec/fixtures/benchmark.rb
144
+ - spec/ruby-progressbar/base_spec.rb
145
+ - spec/ruby-progressbar/calculators/length_calculator_spec.rb
146
+ - spec/ruby-progressbar/calculators/running_average_spec.rb
147
+ - spec/ruby-progressbar/components/bar_spec.rb
148
+ - spec/ruby-progressbar/components/percentage_spec.rb
149
+ - spec/ruby-progressbar/components/rate_spec.rb
150
+ - spec/ruby-progressbar/components/throttle_spec.rb
151
+ - spec/ruby-progressbar/components/time_spec.rb
152
+ - spec/ruby-progressbar/components/title_spec.rb
153
+ - spec/ruby-progressbar/format/formatter_spec.rb
154
+ - spec/ruby-progressbar/format/molecule_spec.rb
155
+ - spec/ruby-progressbar/format/string_spec.rb
156
+ - spec/ruby-progressbar/output_spec.rb
157
+ - spec/ruby-progressbar/outputs/non_tty_spec.rb
158
+ - spec/ruby-progressbar/outputs/tty_spec.rb
159
+ - spec/ruby-progressbar/progress_spec.rb
160
+ - spec/ruby-progressbar/time_spec.rb
161
+ - spec/ruby-progressbar/timer_spec.rb
162
+ - spec/spec_helper.rb
163
+ - spec/support/time.rb
164
+ homepage: https://github.com/jfelchner/ruby-progressbar
120
165
  licenses:
121
- - Ruby
166
+ - MIT
122
167
  metadata: {}
123
168
  post_install_message:
124
- rdoc_options:
125
- - --charset=UTF-8
169
+ rdoc_options: []
126
170
  require_paths:
127
171
  - lib
128
172
  required_ruby_version: !ruby/object:Gem::Requirement
129
173
  requirements:
130
- - - '>='
174
+ - - ">="
131
175
  - !ruby/object:Gem::Version
132
176
  version: '0'
133
177
  required_rubygems_version: !ruby/object:Gem::Requirement
134
178
  requirements:
135
- - - '>='
179
+ - - ">="
136
180
  - !ruby/object:Gem::Version
137
- version: 1.3.6
181
+ version: '0'
138
182
  requirements: []
139
183
  rubyforge_project:
140
- rubygems_version: 2.0.6
184
+ rubygems_version: 2.5.1
141
185
  signing_key:
142
186
  specification_version: 4
143
- summary: Ruby/ProgressBar is a text progress bar library for Ruby.
144
- test_files: []
187
+ summary: Ruby/ProgressBar is a flexible text progress bar library for Ruby.
188
+ test_files:
189
+ - spec/fixtures/benchmark.rb
190
+ - spec/ruby-progressbar/base_spec.rb
191
+ - spec/ruby-progressbar/calculators/length_calculator_spec.rb
192
+ - spec/ruby-progressbar/calculators/running_average_spec.rb
193
+ - spec/ruby-progressbar/components/bar_spec.rb
194
+ - spec/ruby-progressbar/components/percentage_spec.rb
195
+ - spec/ruby-progressbar/components/rate_spec.rb
196
+ - spec/ruby-progressbar/components/throttle_spec.rb
197
+ - spec/ruby-progressbar/components/time_spec.rb
198
+ - spec/ruby-progressbar/components/title_spec.rb
199
+ - spec/ruby-progressbar/format/formatter_spec.rb
200
+ - spec/ruby-progressbar/format/molecule_spec.rb
201
+ - spec/ruby-progressbar/format/string_spec.rb
202
+ - spec/ruby-progressbar/output_spec.rb
203
+ - spec/ruby-progressbar/outputs/non_tty_spec.rb
204
+ - spec/ruby-progressbar/outputs/tty_spec.rb
205
+ - spec/ruby-progressbar/progress_spec.rb
206
+ - spec/ruby-progressbar/time_spec.rb
207
+ - spec/ruby-progressbar/timer_spec.rb
208
+ - spec/spec_helper.rb
209
+ - spec/support/time.rb
metadata.gz.sig ADDED
@@ -0,0 +1,3 @@
1
+ z�a�-Gied�m���?��F?l�?�~þ`��G��Nm��J���ӷ�%L�
2
+ ����Yo�&���t�B ���]�j�
3
+ �����
data/.gitignore DELETED
@@ -1,23 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- .document
18
- coverage
19
- rdoc
20
- pkg
21
-
22
- ## PROJECT::SPECIFIC
23
- /.rake_t_cache
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.0.0
data/.travis.yml DELETED
@@ -1,6 +0,0 @@
1
- rvm:
2
- - 1.8.7
3
- - 1.9.2
4
- - 1.9.3
5
- - jruby
6
- - ree
data/ChangeLog DELETED
@@ -1,113 +0,0 @@
1
- 2005-05-21 Satoru Takabayashi <satoru@namazu.org>
2
-
3
- * progressbar.rb (ProgressBar::show): Call IO#flush. Suggestted by
4
- "Geert Fannes" <Geert.Fannes at ikanconsulting.com>
5
-
6
- 2005-01-07 Satoru Takabayashi <satoru@namazu.org>
7
-
8
- * progressbar.rb (ProgressBar::VERSION): Bumped version number to 0.9.
9
- (ProgressBar::finished?): New method.
10
- (ProgressBar::current): New attribute.
11
- (ProgressBar::total): New attribute.
12
- (ProgressBar::title): New attribute.
13
- (ProgressBar::start_time): New attribute.
14
- (ProgressBar::inspect): Change the format.
15
- (ProgressBar::show_if_needed): Renamed from show_progress.
16
- (ProgressBar::clear): New method.
17
- (ProgressBar::initialize): Renamed a field: bar_width ->
18
- terminal_width.
19
- (ProgressBar::do_percentage): New method.
20
- (ProgressBar::percentage): Use it.
21
- (ReversedProgressBar): New class.
22
- (ProgressBar::initialize): Use #clear.
23
- (ProgressBar::fmt_bar): Ditto.
24
- (ProgressBar::fmt_percentage): Renamed from percentage.
25
- (ProgressBar::fmt_stat): Ditto.
26
- (ProgressBar::fmt_stat_for_file_transfer): Ditto.
27
- (ProgressBar::fmt_title): Ditto.
28
-
29
- * test.rb: Use Test::Unit.
30
-
31
- * Makefile (docs): Removed.
32
- (progressbar.ja.html): Ditto.
33
- (progressbar.en.html): Ditto.
34
- (dist): New rule.
35
- (check): New rule.
36
-
37
- 2004-02-05 Satoru Takabayashi <satoru@namazu.org>
38
-
39
- * Ruby/ProgressBar: Version 0.8 released!
40
-
41
- * progressbar.rb (ProgressBar::set): Fixed the bug when caused by
42
- the invalid count. <http://bugs.debian.org/231009>
43
- (ProgressBar::VERSION): Bumped version number to 0.8.
44
-
45
- 2004-01-19 Satoru Takabayashi <satoru@namazu.org>
46
-
47
- * Ruby/ProgressBar: Version 0.7 released!
48
-
49
- * progressbar.rb (ProgressBar::initialize): Rename a field:
50
- @bar_length -> @bar_width.
51
- (ProgressBar::initialize): New field: @title_width.
52
- (ProgressBar::title): use it.
53
- (ProgressBar::initialize): New field: @previous_time.
54
- (ProgressBar::show_progress): Use it and update the progress bar
55
- if one sec. elapsed.
56
- (ProgressBar::initialize): Call show instead of show_progress.
57
-
58
- 2004-01-16 Satoru Takabayashi <satoru@namazu.org>
59
-
60
- * Ruby/ProgressBar: Version 0.6 released!
61
-
62
- * progressbar.rb (ProgressBar::show): Remove the useless condition
63
- after "else". Thanks to Neil Spring <nspring@cs.washington.edu>
64
- for the report.
65
- <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=227966>
66
- (ProgressBar):
67
-
68
- 2003-07-24 Satoru Takabayashi <satoru@namazu.org>
69
-
70
- * Ruby/ProgressBar: Version 0.5 released!
71
-
72
- * progressbar.rb (ProgressBar::initialize): New parameter: config.
73
- (ProgressBar::convert_prefix_multiplier): New method.
74
- (ProgressBar::transfer_rate): New method.
75
- (ProgressBar::percentage): New method.
76
- (ProgressBar::title): New method.
77
- (ProgressBar::initialize): New fields: @bar_mark, @format,
78
- @arguments.
79
- (ProgressBar::get_width): New method.
80
- (ProgressBar::stat_for_file_transfer): New method.
81
- (ProgressBar::stat): Renamed from time.
82
- (ProgressBar::format=): New method.
83
- (ProgressBar::format_arguments=): New method.
84
- (ProgressBar::convert_bytes): New method.
85
- (ProgressBar::file_transfer_mode): New method.
86
-
87
- 2002-10-21 Satoru Takabayashi <satoru@namazu.org>
88
-
89
- * Ruby/ProgressBar: Version 0.4 released!
90
-
91
- * progressbar.rb (ProgressBar::halt): New method. allowing a
92
- "broken" ProgressBar in the event of error.
93
- - Suggestted by Austin Ziegler <austin@halostatue.ca>
94
-
95
- 2002-01-05 Satoru Takabayashi <satoru@namazu.org>
96
-
97
- * Ruby/ProgressBar: Version 0.3 released!
98
-
99
- * progressbar.rb (ProgressBar::show): Shorten @title to fall into
100
- the format well.
101
-
102
- 2001-11-03 Satoru Takabayashi <satoru@namazu.org>
103
-
104
- * Ruby/ProgressBar: Version 0.2 released!
105
-
106
- * progressbar.rb (ProgressBar::eta): Remove an unnecessary condition.
107
-
108
- * progressbar.rb (ProgressBar::eta): Fix the return value bug.
109
-
110
- * progressbar.rb (ProgressBar::inc): Add an optional parameter `step'.
111
-
112
- * Ruby/ProgressBar: Version 0.1 released!
113
-