tty-progressbar 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/README.md +7 -5
- data/lib/tty/progressbar.rb +3 -1
- data/lib/tty/progressbar/version.rb +1 -1
- data/spec/unit/width_spec.rb +1 -2
- data/tty-progressbar.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f2cf9c0a69a06ce555230e540d06eb2ead51d7b
|
4
|
+
data.tar.gz: 658a14537dd201fbab6378aa4acc27c6e8cc216e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89b95358acafece957b2f627dfde1e70ba4455acde5c1f186555db8f669437521d53d9e266980c0cf4d2d1d5c838cc71decd1ef90e08c3ea53abafac6c031e62
|
7
|
+
data.tar.gz: 974c483f4a929549136c981213eefe26dd378eeadfcfc7cae6f97e7033f4593f8c321afbfbfdca50f25bc58f366197274168176892e0550a567f789ed5bf73ba
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
# TTY::ProgressBar
|
2
|
-
[![Gem Version](https://badge.fury.io/rb/tty-progressbar.
|
3
|
-
[![Build Status](https://secure.travis-ci.org/peter-murach/tty-progressbar.
|
4
|
-
[![Code Climate](https://codeclimate.com/github/peter-murach/tty-progressbar.
|
5
|
-
[![Coverage Status](https://coveralls.io/repos/peter-murach/tty-progressbar/badge.
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/tty-progressbar.svg)][gem]
|
3
|
+
[![Build Status](https://secure.travis-ci.org/peter-murach/tty-progressbar.svg?branch=master)][travis]
|
4
|
+
[![Code Climate](https://codeclimate.com/github/peter-murach/tty-progressbar/badges/gpa.svg)][codeclimate]
|
5
|
+
[![Coverage Status](https://coveralls.io/repos/peter-murach/tty-progressbar/badge.svg)][coverage]
|
6
|
+
[![Inline docs](http://inch-ci.org/github/peter-murach/tty-progressbar.svg?branch=master)][inchpages]
|
6
7
|
|
7
8
|
[gem]: http://badge.fury.io/rb/tty-progressbar
|
8
9
|
[travis]: http://travis-ci.org/peter-murach/tty-progressbar
|
9
10
|
[codeclimate]: https://codeclimate.com/github/peter-murach/tty-progressbar
|
10
11
|
[coverage]: https://coveralls.io/r/peter-murach/tty-progressbar
|
12
|
+
[inchpages]: http://inch-ci.org/github/peter-murach/tty-progressbar
|
11
13
|
|
12
14
|
> A flexible progress bars drawing in terminal emulators.
|
13
15
|
|
@@ -341,4 +343,4 @@ downloading [======================= ] 4.12MB/s
|
|
341
343
|
|
342
344
|
## Copyright
|
343
345
|
|
344
|
-
Copyright (c) 2015 Piotr Murach. See LICENSE for further details.
|
346
|
+
Copyright (c) 2014-2015 Piotr Murach. See LICENSE for further details.
|
data/lib/tty/progressbar.rb
CHANGED
data/spec/unit/width_spec.rb
CHANGED
@@ -11,8 +11,7 @@ RSpec.describe TTY::ProgressBar, 'width' do
|
|
11
11
|
config.total = 5
|
12
12
|
config.width = 1024
|
13
13
|
end
|
14
|
-
|
15
|
-
allow(TTY::Screen).to receive(:new).and_return(screen)
|
14
|
+
allow(TTY::Screen).to receive(:width).and_return(20)
|
16
15
|
5.times { progress.advance }
|
17
16
|
output.rewind
|
18
17
|
expect(output.read).to eq([
|
data/tty-progressbar.gemspec
CHANGED
@@ -18,7 +18,7 @@ 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.
|
21
|
+
spec.add_dependency "tty-screen", '~> 0.2.0'
|
22
22
|
|
23
23
|
spec.add_development_dependency 'bundler', '~> 1.6'
|
24
24
|
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.5.
|
4
|
+
version: 0.5.1
|
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-
|
11
|
+
date: 2015-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-screen
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.2.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.
|
26
|
+
version: 0.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|