tty-progressbar 0.7.0 → 0.8.0

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: 8b293795c429df9002e6203bafff2b4a105b662d
4
- data.tar.gz: 3cef0a82d1360e75116b3b4b600600bf314f5cce
3
+ metadata.gz: 7cfa129b15dd05ae8aa61f50a438bad476dc1e05
4
+ data.tar.gz: 1c3250520ab0679a59d2c0cc4ab5484ee89aa63e
5
5
  SHA512:
6
- metadata.gz: c7bf8bae6d956d832f0a9dcae1e95b84948beaf97d13e55b0d5b797bf8663803ba22292da49728c6870ac73505e480d32988f49558b8ee3befc9780e82cf9af5
7
- data.tar.gz: 4fd63ef9a5394b32255927bf87c0d579f2cfef48445e748bb92438b59bb1923f11299de926f1b4ebd7d98093bf6f1eea4b8b079ba62054edfa0e52daae4d7527
6
+ metadata.gz: 43591871c9a77b4ecfd937381bdaf447f9d7df956c00b44821b0dfdbfa14aa19ddfac4d40a24ee8c02b728764902ae21ce9c14b74dad8726f2d97b138fe66347
7
+ data.tar.gz: 931e0a313f3393456d2488fff96592ec0b6c012d42805346f9bf95a7d0b4966f1a1458b4a2fe4b793f2cf463abe0c60e1baf39377b18fd9b149156c0a9d2e028
data/.travis.yml CHANGED
@@ -1,11 +1,14 @@
1
+ ---
1
2
  language: ruby
2
- bundler_args: --without yard benchmarks
3
+ sudo: false
4
+ cache: bundler
3
5
  script: "bundle exec rake ci"
4
6
  rvm:
5
7
  - 1.9.3
6
8
  - 2.0.0
7
9
  - 2.1.0
8
10
  - 2.2.0
11
+ - 2.3.0
9
12
  - ruby-head
10
13
  matrix:
11
14
  include:
@@ -20,3 +23,5 @@ matrix:
20
23
  fast_finish: true
21
24
  branches:
22
25
  only: master
26
+ notifications:
27
+ email: false
data/CHANGELOG.md CHANGED
@@ -1,46 +1,80 @@
1
- 0.7.0 (Sept 20, 2015)
1
+ # Change log
2
2
 
3
+ ## [v0.8.0] - 2016-02-07
4
+
5
+ ### Changed
3
6
  * Update tty-screen dependency
4
7
 
5
- 0.6.0 (June 27, 2015)
8
+ ## [v0.7.0] - 2015-09-20
9
+
10
+ * Update tty-screen dependency
6
11
 
12
+ ## [v0.6.0] - 2015-06-27
13
+
14
+ ### Added
7
15
  * Add ability to add custom tokens
16
+
17
+ ### Changed
8
18
  * Internal cleanup of parameters for formatters and pipeline
9
19
  * Fix ratio to avoid division by zero by @sleewoo issue #9
10
20
 
11
- 0.5.1 (May 31, 2015)
21
+ ## [v0.5.1] - 2015-05-31
12
22
 
13
23
  * Update tty-screen dependency with bug fixes
14
24
 
15
- 0.5.0 (January 1, 2015)
25
+ ## [v0.5.0] - 2015-01-01
16
26
 
27
+ ### Added
17
28
  * Add ability to reset progress
18
29
  * Add start method for manually setting the timer
19
- * Fix bug with finish not rendering the bar full
20
30
  * Add meter to measure speed rate
21
31
  * Add to_seconds converter
22
32
  * Add :rate, :mean_rate, :byte_rate & :mean_byte formatters
23
33
 
24
- 0.4.0 (December 25, 2014)
34
+ ### Changed
35
+ * Fix bug with finish not rendering the bar full
36
+
37
+ ## [v0.4.0] - 2014-12-25
25
38
 
39
+ ### Added
26
40
  * Add :total_byte, :current_byte formatters by @vincentjames501
27
41
  * Add current= method for updating progress to a given value by @vincentjames501
28
42
  * Add ratio= method for updating progress ratio
29
43
 
30
- 0.3.0 (December 21, 2014)
44
+ ## [v0.3.0] - 2014-12-21
31
45
 
32
- * Catch INT signal and cleanly end progress
46
+ ### Added
33
47
  * Add tty-screen dependency for terminal size detection
34
48
  * Add to_bytes converter
35
49
  * Add formatter for managing formats pipeline
36
- * Change to add matching condition to formatter
37
50
  * Add block configuration
38
51
 
39
- 0.2.0 (November 9, 2014)
52
+ ### Changed
53
+ * Catch INT signal and cleanly end progress
54
+ * Change to add matching condition to formatter
55
+
56
+ ## [v0.2.0] - 2014-11-09
40
57
 
58
+ ### Added
41
59
  * Add estimated time formatter.
42
60
  * Add frequency option to limit repainting of progress.
43
61
  * Add log method for printing out during progress rendering.
44
62
  * Add complete? for checking progress bar state
63
+
64
+ ### Changed
45
65
  * Fix bug with hide_cursor option
46
66
  * Increase test coverage
67
+
68
+ ## [v0.1.0] - 2014-11-01
69
+
70
+ * Initial implementation and release
71
+
72
+ [v0.8.0]: https://github.com/peter-murach/tty-progressbar/compare/v0.7.0...v0.8.0
73
+ [v0.7.0]: https://github.com/peter-murach/tty-progressbar/compare/v0.6.0...v0.7.0
74
+ [v0.6.0]: https://github.com/peter-murach/tty-progressbar/compare/v0.5.1...v0.6.0
75
+ [v0.5.1]: https://github.com/peter-murach/tty-progressbar/compare/v0.5.0...v0.5.1
76
+ [v0.5.0]: https://github.com/peter-murach/tty-progressbar/compare/v0.4.0...v0.5.0
77
+ [v0.4.0]: https://github.com/peter-murach/tty-progressbar/compare/v0.3.0...v0.4.0
78
+ [v0.3.0]: https://github.com/peter-murach/tty-progressbar/compare/v0.2.0...v0.3.0
79
+ [v0.2.0]: https://github.com/peter-murach/tty-progressbar/compare/v0.1.0...v0.2.0
80
+ [v0.1.0]: https://github.com/peter-murach/tty-progressbar/compare/v0.1.0
data/Gemfile CHANGED
@@ -3,15 +3,14 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development do
6
- gem 'rake', '~> 10.3.2'
7
- gem 'rspec', '~> 3.3.0'
6
+ gem 'rspec', '~> 3.4.0'
8
7
  gem 'yard', '~> 0.8.7'
9
8
  gem 'timecop', '~> 0.7.1'
10
- gem 'pastel', '~> 0.4.0'
9
+ gem 'pastel', '~> 0.6.0'
11
10
  end
12
11
 
13
12
  group :metrics do
14
- gem 'coveralls', '~> 0.7.0'
15
- gem 'simplecov', '~> 0.8.2'
13
+ gem 'coveralls', '~> 0.8.10'
14
+ gem 'simplecov', '~> 0.11.2'
16
15
  gem 'yardstick', '~> 0.9.9'
17
16
  end
data/README.md CHANGED
@@ -361,4 +361,4 @@ downloading [======================= ] 4.12MB/s
361
361
 
362
362
  ## Copyright
363
363
 
364
- Copyright (c) 2014-2015 Piotr Murach. See LICENSE for further details.
364
+ Copyright (c) 2014-2016 Piotr Murach. See LICENSE for further details.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TTY
4
4
  class ProgressBar
5
- VERSION = '0.7.0'
5
+ VERSION = '0.8.0'
6
6
  end # ProgressBar
7
7
  end # TTY
@@ -18,7 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "tty-screen", '~> 0.4.0'
21
+ spec.add_dependency "tty-screen", '~> 0.5.0'
22
22
 
23
- spec.add_development_dependency 'bundler', '~> 1.6'
23
+ spec.add_development_dependency 'bundler', '>= 1.5.0', '< 2.0'
24
+ spec.add_development_dependency 'rake'
24
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty-progressbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Murach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-20 00:00:00.000000000 Z
11
+ date: 2016-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-screen
@@ -16,28 +16,48 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 0.4.0
19
+ version: 0.5.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 0.4.0
26
+ version: 0.5.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 1.5.0
34
+ - - <
32
35
  - !ruby/object:Gem::Version
33
- version: '1.6'
36
+ version: '2.0'
34
37
  type: :development
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - ~>
41
+ - - '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 1.5.0
44
+ - - <
45
+ - !ruby/object:Gem::Version
46
+ version: '2.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - '>='
39
59
  - !ruby/object:Gem::Version
40
- version: '1.6'
60
+ version: '0'
41
61
  description: A flexible progress bars drawing in terminal emulators.
42
62
  email:
43
63
  - ''
@@ -47,7 +67,6 @@ extra_rdoc_files: []
47
67
  files:
48
68
  - .gitignore
49
69
  - .rspec
50
- - .ruby-version
51
70
  - .travis.yml
52
71
  - CHANGELOG.md
53
72
  - Gemfile
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.0.0