tty-progressbar 0.12.2 → 0.13.0
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 -2
- data/CHANGELOG.md +8 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +0 -1
- data/README.md +2 -0
- data/appveyor.yml +2 -4
- data/lib/tty-progressbar.rb +0 -2
- data/lib/tty/progressbar.rb +0 -1
- data/lib/tty/progressbar/configuration.rb +0 -2
- data/lib/tty/progressbar/converter.rb +0 -1
- data/lib/tty/progressbar/formatter.rb +0 -1
- data/lib/tty/progressbar/formatter/bar.rb +0 -1
- data/lib/tty/progressbar/formatter/byte_rate.rb +0 -1
- data/lib/tty/progressbar/formatter/current.rb +0 -1
- data/lib/tty/progressbar/formatter/current_byte.rb +0 -1
- data/lib/tty/progressbar/formatter/elapsed.rb +0 -1
- data/lib/tty/progressbar/formatter/estimated.rb +0 -1
- data/lib/tty/progressbar/formatter/mean_byte.rb +0 -1
- data/lib/tty/progressbar/formatter/mean_rate.rb +0 -1
- data/lib/tty/progressbar/formatter/percent.rb +0 -1
- data/lib/tty/progressbar/formatter/rate.rb +0 -1
- data/lib/tty/progressbar/formatter/total.rb +0 -1
- data/lib/tty/progressbar/formatter/total_byte.rb +0 -1
- data/lib/tty/progressbar/meter.rb +0 -1
- data/lib/tty/progressbar/multi.rb +0 -1
- data/lib/tty/progressbar/pipeline.rb +0 -2
- data/lib/tty/progressbar/version.rb +1 -3
- data/spec/spec_helper.rb +1 -3
- data/spec/unit/advance_spec.rb +0 -2
- data/spec/unit/clear_spec.rb +0 -2
- data/spec/unit/complete_spec.rb +0 -2
- data/spec/unit/converter/to_bytes_spec.rb +0 -2
- data/spec/unit/converter/to_seconds_spec.rb +0 -2
- data/spec/unit/converter/to_time_spec.rb +0 -2
- data/spec/unit/custom_formatter_spec.rb +0 -2
- data/spec/unit/custom_token_spec.rb +0 -2
- data/spec/unit/events_spec.rb +0 -2
- data/spec/unit/finish_spec.rb +0 -2
- data/spec/unit/formatter/bar_spec.rb +0 -2
- data/spec/unit/formatter/byte_rate_spec.rb +0 -2
- data/spec/unit/formatter/current_byte_spec.rb +0 -2
- data/spec/unit/formatter/current_spec.rb +0 -2
- data/spec/unit/formatter/elapsed_spec.rb +0 -2
- data/spec/unit/formatter/estimated_spec.rb +0 -2
- data/spec/unit/formatter/mean_byte_spec.rb +0 -2
- data/spec/unit/formatter/mean_rate_spec.rb +0 -2
- data/spec/unit/formatter/percent_spec.rb +0 -2
- data/spec/unit/formatter/rate_spec.rb +0 -2
- data/spec/unit/formatter/total_byte_spec.rb +0 -2
- data/spec/unit/formatter/total_spec.rb +0 -2
- data/spec/unit/frequency_spec.rb +0 -2
- data/spec/unit/head_spec.rb +0 -2
- data/spec/unit/hide_cursor_spec.rb +0 -2
- data/spec/unit/inspect_spec.rb +0 -2
- data/spec/unit/iterate_spec.rb +0 -2
- data/spec/unit/log_spec.rb +0 -2
- data/spec/unit/meter_spec.rb +0 -2
- data/spec/unit/multi/advance_spec.rb +0 -2
- data/spec/unit/multi/events_spec.rb +0 -2
- data/spec/unit/multi/finish_spec.rb +0 -2
- data/spec/unit/multi/line_inset_spec.rb +0 -2
- data/spec/unit/multi/register_spec.rb +0 -2
- data/spec/unit/multi/stop_spec.rb +0 -2
- data/spec/unit/new_spec.rb +0 -2
- data/spec/unit/pipeline_spec.rb +0 -2
- data/spec/unit/ratio_spec.rb +0 -2
- data/spec/unit/reset_spec.rb +0 -2
- data/spec/unit/resize_spec.rb +0 -2
- data/spec/unit/set_current_spec.rb +0 -2
- data/spec/unit/start_spec.rb +0 -2
- data/spec/unit/stop_spec.rb +0 -2
- data/spec/unit/update_spec.rb +0 -2
- data/spec/unit/width_spec.rb +0 -2
- data/tasks/console.rake +1 -3
- data/tasks/coverage.rake +0 -2
- data/tasks/spec.rake +0 -2
- data/tty-progressbar.gemspec +3 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffbc5e8dbfe59fffa658892053d84d3f571ae501
|
4
|
+
data.tar.gz: 2605c62530355c6ddde735c12395f6a7a0d35cbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fedfcab4a057cd7d1488f003b4ab300fb33197ac8d3ad8157057d82684d357057b825d9e06fed00186c075a5bca97e73779ec210b191002a57b07dee64d24690
|
7
|
+
data.tar.gz: c203b0789b771f1bb9aadd1a7a19a4e7933d0d31591d6f2a0e48043013115ed3762d557167d5299098d427d5e003fa0f4d7061ee7c32217c8d0a4fe051f86d12
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## [v0.13.0] - 2017-10-29
|
4
|
+
|
5
|
+
### Changed
|
6
|
+
* Change tty-screen dependency version
|
7
|
+
* Change gemspec to require Ruby >= 2.0.0
|
8
|
+
* Remove encoding comments
|
9
|
+
|
3
10
|
## [v0.12.2] - 2017-09-15
|
4
11
|
|
5
12
|
### Changed
|
@@ -144,6 +151,7 @@
|
|
144
151
|
|
145
152
|
* Initial implementation and release
|
146
153
|
|
154
|
+
[v0.13.0]: https://github.com/peter-murach/tty-progressbar/compare/v0.12.2...v0.13.0
|
147
155
|
[v0.12.2]: https://github.com/peter-murach/tty-progressbar/compare/v0.12.1...v0.12.2
|
148
156
|
[v0.12.1]: https://github.com/peter-murach/tty-progressbar/compare/v0.12.0...v0.12.1
|
149
157
|
[v0.12.0]: https://github.com/peter-murach/tty-progressbar/compare/v0.11.0...v0.12.0
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at [email]. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -629,6 +629,8 @@ This will result in output similar to:
|
|
629
629
|
4. Push to the branch (`git push origin my-new-feature`)
|
630
630
|
5. Create a new Pull Request
|
631
631
|
|
632
|
+
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
633
|
+
|
632
634
|
## Copyright
|
633
635
|
|
634
636
|
Copyright (c) 2014-2017 Piotr Murach. See LICENSE for further details.
|
data/appveyor.yml
CHANGED
@@ -9,7 +9,6 @@ test_script:
|
|
9
9
|
- bundle exec rake ci
|
10
10
|
environment:
|
11
11
|
matrix:
|
12
|
-
- ruby_version: "193"
|
13
12
|
- ruby_version: "200"
|
14
13
|
- ruby_version: "200-x64"
|
15
14
|
- ruby_version: "21"
|
@@ -18,6 +17,5 @@ environment:
|
|
18
17
|
- ruby_version: "22-x64"
|
19
18
|
- ruby_version: "23"
|
20
19
|
- ruby_version: "23-x64"
|
21
|
-
|
22
|
-
|
23
|
-
- ruby_version: "193"
|
20
|
+
- ruby_version: "24"
|
21
|
+
- ruby_version: "24-x64"
|
data/lib/tty-progressbar.rb
CHANGED
data/lib/tty/progressbar.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/spec/unit/advance_spec.rb
CHANGED
data/spec/unit/clear_spec.rb
CHANGED
data/spec/unit/complete_spec.rb
CHANGED
data/spec/unit/events_spec.rb
CHANGED
data/spec/unit/finish_spec.rb
CHANGED
data/spec/unit/frequency_spec.rb
CHANGED
data/spec/unit/head_spec.rb
CHANGED
data/spec/unit/inspect_spec.rb
CHANGED
data/spec/unit/iterate_spec.rb
CHANGED
data/spec/unit/log_spec.rb
CHANGED
data/spec/unit/meter_spec.rb
CHANGED
data/spec/unit/new_spec.rb
CHANGED
data/spec/unit/pipeline_spec.rb
CHANGED
data/spec/unit/ratio_spec.rb
CHANGED
data/spec/unit/reset_spec.rb
CHANGED
data/spec/unit/resize_spec.rb
CHANGED
data/spec/unit/start_spec.rb
CHANGED
data/spec/unit/stop_spec.rb
CHANGED
data/spec/unit/update_spec.rb
CHANGED
data/spec/unit/width_spec.rb
CHANGED
data/tasks/console.rake
CHANGED
data/tasks/coverage.rake
CHANGED
data/tasks/spec.rake
CHANGED
data/tty-progressbar.gemspec
CHANGED
@@ -18,8 +18,10 @@ 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.required_ruby_version = '>= 2.0.0'
|
22
|
+
|
21
23
|
spec.add_dependency "tty-cursor", '~> 0.5.0'
|
22
|
-
spec.add_dependency "tty-screen", '~> 0.
|
24
|
+
spec.add_dependency "tty-screen", '~> 0.6.0'
|
23
25
|
|
24
26
|
spec.add_development_dependency 'bundler', '>= 1.5.0', '< 2.0'
|
25
27
|
spec.add_development_dependency 'rspec', '~> 3.1'
|
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.
|
4
|
+
version: 0.13.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: 2017-
|
11
|
+
date: 2017-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-cursor
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.6.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.6.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,6 +98,7 @@ files:
|
|
98
98
|
- ".rspec"
|
99
99
|
- ".travis.yml"
|
100
100
|
- CHANGELOG.md
|
101
|
+
- CODE_OF_CONDUCT.md
|
101
102
|
- Gemfile
|
102
103
|
- LICENSE.txt
|
103
104
|
- README.md
|
@@ -195,7 +196,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
195
196
|
requirements:
|
196
197
|
- - ">="
|
197
198
|
- !ruby/object:Gem::Version
|
198
|
-
version:
|
199
|
+
version: 2.0.0
|
199
200
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
201
|
requirements:
|
201
202
|
- - ">="
|