powerbar 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/bin/powerbar-demo +5 -5
- data/lib/powerbar/version.rb +1 -1
- data/powerbar.gemspec +1 -1
- metadata +45 -69
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b45f823f33ebcefa93876e94ce58e6b4d3e02604
|
4
|
+
data.tar.gz: 9a7ee07b6e352b6a138504144090af09b42e071e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 50db1bf010c6316f6a9a4401e694302dbfa8b571d87fe6e39e38053eb10c817752ec16110885887e517f81adc221611ec97d705afaff3842e4d7c6541d9d1897
|
7
|
+
data.tar.gz: 644526c0d60133e02a576cdbd16e181749a40ccf6d83db19c6860d6ba3e8829cb955d50c58448225e755e621d1344dc607969e52ea48c0edb35ffc32a884d27c
|
data/Gemfile
CHANGED
data/bin/powerbar-demo
CHANGED
@@ -25,7 +25,7 @@ def demo_1
|
|
25
25
|
# for some reason 'done' may still be smaller than 'total'.
|
26
26
|
#
|
27
27
|
# this is not necessary in this example, and usually a bad idea,
|
28
|
-
# but
|
28
|
+
# but demonstrated here so you know it exists.
|
29
29
|
p.close(true)
|
30
30
|
end
|
31
31
|
|
@@ -81,11 +81,11 @@ def demo_4
|
|
81
81
|
p.settings.tty.finite.template.exit = "\e[?25h\e[0m" # clean up after us
|
82
82
|
p.settings.tty.finite.template.close = "\e[?25h\e[0m\n" # clean up after us
|
83
83
|
p.settings.tty.finite.output = Proc.new{ |s|
|
84
|
-
# The default output
|
85
|
-
# string to
|
84
|
+
# The default output-function truncates our
|
85
|
+
# string to enable the "squeezing" as seen in the
|
86
86
|
# previous demo. This doesn't mix so well with ANSI-colors,
|
87
|
-
#
|
88
|
-
# a little more naive. Like this:
|
87
|
+
# thus if you want to use colors you'll have to make the
|
88
|
+
# output-function a little more naive. Like this:
|
89
89
|
$stderr.print s
|
90
90
|
}
|
91
91
|
j = 0
|
data/lib/powerbar/version.rb
CHANGED
data/powerbar.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.description = %q{The last progressbar-library you'll ever need}
|
13
13
|
s.license = "MIT"
|
14
14
|
|
15
|
-
s.add_dependency "ansi", "~> 1.
|
15
|
+
s.add_dependency "ansi", "~> 1.5.0"
|
16
16
|
s.add_dependency "hashie", ">= 1.1.0"
|
17
17
|
|
18
18
|
s.files = `git ls-files`.split("\n")
|
metadata
CHANGED
@@ -1,65 +1,52 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: powerbar
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 11
|
10
|
-
version: 1.0.11
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.12
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Moe
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2015-01-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: ansi
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 7
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 4
|
32
|
-
- 0
|
33
|
-
version: 1.4.0
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.5.0
|
34
20
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: hashie
|
38
21
|
prerelease: false
|
39
|
-
|
40
|
-
|
41
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.5.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: hashie
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
42
31
|
- - ">="
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 19
|
45
|
-
segments:
|
46
|
-
- 1
|
47
|
-
- 1
|
48
|
-
- 0
|
32
|
+
- !ruby/object:Gem::Version
|
49
33
|
version: 1.1.0
|
50
34
|
type: :runtime
|
51
|
-
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.1.0
|
52
41
|
description: The last progressbar-library you'll ever need
|
53
|
-
email:
|
42
|
+
email:
|
54
43
|
- moe@busyloop.net
|
55
|
-
executables:
|
44
|
+
executables:
|
56
45
|
- powerbar-demo
|
57
46
|
extensions: []
|
58
|
-
|
59
47
|
extra_rdoc_files: []
|
60
|
-
|
61
|
-
|
62
|
-
- .gitignore
|
48
|
+
files:
|
49
|
+
- ".gitignore"
|
63
50
|
- Gemfile
|
64
51
|
- README.rdoc
|
65
52
|
- Rakefile
|
@@ -69,38 +56,27 @@ files:
|
|
69
56
|
- lib/powerbar/version.rb
|
70
57
|
- powerbar.gemspec
|
71
58
|
homepage: https://github.com/busyloop/powerbar
|
72
|
-
licenses:
|
59
|
+
licenses:
|
73
60
|
- MIT
|
61
|
+
metadata: {}
|
74
62
|
post_install_message:
|
75
63
|
rdoc_options: []
|
76
|
-
|
77
|
-
require_paths:
|
64
|
+
require_paths:
|
78
65
|
- lib
|
79
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
80
|
-
|
81
|
-
requirements:
|
66
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
82
68
|
- - ">="
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
version: "0"
|
88
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
91
73
|
- - ">="
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
|
94
|
-
segments:
|
95
|
-
- 0
|
96
|
-
version: "0"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
97
76
|
requirements: []
|
98
|
-
|
99
77
|
rubyforge_project:
|
100
|
-
rubygems_version:
|
78
|
+
rubygems_version: 2.4.5
|
101
79
|
signing_key:
|
102
|
-
specification_version:
|
80
|
+
specification_version: 4
|
103
81
|
summary: The last progressbar-library you'll ever need
|
104
82
|
test_files: []
|
105
|
-
|
106
|
-
has_rdoc:
|