infobar 0.6.1 → 0.6.2
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/README.md +3 -0
- data/VERSION +1 -1
- data/infobar.gemspec +14 -23
- data/lib/infobar.rb +1 -1
- data/lib/infobar/number.rb +0 -1
- data/lib/infobar/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b602d88378fa5681581c31be06eab1f4b2271e95c410c1d916bccc1a7654bb4
|
4
|
+
data.tar.gz: 206c7c77cfc084c69abee58784e01e16a77a74f8e5da3de1020c743ccefd1131
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1685013e9c1044b663be3ec669b2f616023ca7eba3ce5f3424ff33498bcbcaa014cf93739d40e4da6ae4cad33746c9ffabcd7aa4c7658644fe4c42d9de0a1b5b
|
7
|
+
data.tar.gz: b2f15bf03ef23565525660a8978d4ac49b08a2b2093c027ce13db29755e83a9851e218bd145f2b2aae1b9e8109addbcb66c168ad60d43f982a2cd1b189f74e69
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.2
|
data/infobar.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: infobar 0.6.
|
2
|
+
# stub: infobar 0.6.2 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "infobar".freeze
|
6
|
-
s.version = "0.6.
|
6
|
+
s.version = "0.6.2"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
10
10
|
s.authors = ["Florian Frank".freeze]
|
11
|
-
s.date = "
|
11
|
+
s.date = "2020-05-15"
|
12
12
|
s.description = "This gem displays progress of computations and additional information to the terminal.".freeze
|
13
13
|
s.email = "flori@ping.de".freeze
|
14
14
|
s.extra_rdoc_files = ["README.md".freeze, "lib/infobar.rb".freeze, "lib/infobar/counter.rb".freeze, "lib/infobar/display.rb".freeze, "lib/infobar/duration.rb".freeze, "lib/infobar/fancy_interface.rb".freeze, "lib/infobar/fifo.rb".freeze, "lib/infobar/frequency.rb".freeze, "lib/infobar/input_output.rb".freeze, "lib/infobar/message.rb".freeze, "lib/infobar/number.rb".freeze, "lib/infobar/rate.rb".freeze, "lib/infobar/spinner.rb".freeze, "lib/infobar/timer.rb".freeze, "lib/infobar/trend.rb".freeze, "lib/infobar/version.rb".freeze]
|
@@ -16,32 +16,23 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.homepage = "http://flori.github.com/infobar".freeze
|
17
17
|
s.rdoc_options = ["--title".freeze, "Infobar".freeze, "--main".freeze, "README.md".freeze]
|
18
18
|
s.required_ruby_version = Gem::Requirement.new(">= 2.3".freeze)
|
19
|
-
s.rubygems_version = "3.
|
19
|
+
s.rubygems_version = "3.1.2".freeze
|
20
20
|
s.summary = "Gem to display information about computations.".freeze
|
21
21
|
s.test_files = ["spec/infobar/config_spec.rb".freeze, "spec/infobar/counter_spec.rb".freeze, "spec/infobar/display_spec.rb".freeze, "spec/infobar/duration_spec.rb".freeze, "spec/infobar/fifo_spec.rb".freeze, "spec/infobar/frequency_spec.rb".freeze, "spec/infobar/input_output_spec.rb".freeze, "spec/infobar/message_spec.rb".freeze, "spec/infobar/number_spec.rb".freeze, "spec/infobar/rate_spec.rb".freeze, "spec/infobar/spinner_spec.rb".freeze, "spec/infobar/timer_spec.rb".freeze, "spec/infobar/trend_spec.rb".freeze, "spec/infobar_spec.rb".freeze, "spec/spec_helper.rb".freeze]
|
22
22
|
|
23
23
|
if s.respond_to? :specification_version then
|
24
24
|
s.specification_version = 4
|
25
|
+
end
|
25
26
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
else
|
36
|
-
s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
|
37
|
-
s.add_dependency(%q<rake>.freeze, [">= 0"])
|
38
|
-
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
39
|
-
s.add_dependency(%q<rspec>.freeze, [">= 0"])
|
40
|
-
s.add_dependency(%q<tins>.freeze, ["~> 1.0", ">= 1.15.0"])
|
41
|
-
s.add_dependency(%q<term-ansicolor>.freeze, ["~> 1.4"])
|
42
|
-
s.add_dependency(%q<complex_config>.freeze, ["~> 0.10"])
|
43
|
-
s.add_dependency(%q<more_math>.freeze, [">= 0"])
|
44
|
-
end
|
27
|
+
if s.respond_to? :add_runtime_dependency then
|
28
|
+
s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
|
29
|
+
s.add_development_dependency(%q<rake>.freeze, [">= 0"])
|
30
|
+
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
31
|
+
s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
|
32
|
+
s.add_runtime_dependency(%q<tins>.freeze, ["~> 1.0", ">= 1.15.0"])
|
33
|
+
s.add_runtime_dependency(%q<term-ansicolor>.freeze, ["~> 1.4"])
|
34
|
+
s.add_runtime_dependency(%q<complex_config>.freeze, ["~> 0.10"])
|
35
|
+
s.add_runtime_dependency(%q<more_math>.freeze, [">= 0"])
|
45
36
|
else
|
46
37
|
s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
|
47
38
|
s.add_dependency(%q<rake>.freeze, [">= 0"])
|
data/lib/infobar.rb
CHANGED
@@ -87,7 +87,7 @@ class Infobar
|
|
87
87
|
def busy(**opts)
|
88
88
|
block_given? or raise ArgumentError, 'block is required as an argument'
|
89
89
|
duration = opts.delete(:sleep) || 0.1
|
90
|
-
call(opts | {
|
90
|
+
call(**opts | {
|
91
91
|
total: Float::INFINITY,
|
92
92
|
message: { format: ' %l %te %s ', '%s' => { frames: :circle1 } },
|
93
93
|
})
|
data/lib/infobar/number.rb
CHANGED
data/lib/infobar/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infobar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Frank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
215
|
- !ruby/object:Gem::Version
|
216
216
|
version: '0'
|
217
217
|
requirements: []
|
218
|
-
rubygems_version: 3.
|
218
|
+
rubygems_version: 3.1.2
|
219
219
|
signing_key:
|
220
220
|
specification_version: 4
|
221
221
|
summary: Gem to display information about computations.
|