rake-progressbar 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/rake-progressbar.rb +1 -3
- data/rake-progressbar.gemspec +2 -2
- metadata +9 -9
data/Rakefile
CHANGED
@@ -17,7 +17,7 @@ Jeweler::Tasks.new do |gem|
|
|
17
17
|
gem.name = "rake-progressbar"
|
18
18
|
gem.homepage = "http://github.com/ondrejbartas/rake-progressbar"
|
19
19
|
gem.license = "MIT"
|
20
|
-
gem.version = "0.0.
|
20
|
+
gem.version = "0.0.5"
|
21
21
|
gem.summary = "Showing progress of long going rake tasks - importing, archivieng etc."
|
22
22
|
gem.description = "Easy to use, shows estimated time to finish, elapsed time, percantage, not slowing with very fast jobs (terminal rescreen issue)"
|
23
23
|
gem.email = "o.bartas@gmail.com"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/lib/rake-progressbar.rb
CHANGED
@@ -1,6 +1,4 @@
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
2
|
-
# Progress Bar a la Homebrew for Ruby Scripts
|
3
|
-
# ===========================================
|
4
2
|
|
5
3
|
class RakeProgressbar
|
6
4
|
attr_accessor :maximal, :actual, :cols, :finish, :started, :percent, :last_percent, :last_time_dif
|
@@ -13,7 +11,7 @@ class RakeProgressbar
|
|
13
11
|
self.started = Time.now
|
14
12
|
self.actual = -1
|
15
13
|
self.last_percent = -1
|
16
|
-
self.cols = detect_terminal_size[0] - 3
|
14
|
+
self.cols = detect_terminal_size[0] - 3 if detect_terminal_size
|
17
15
|
self.cols = 80 if self.cols.nil? || self.cols < 80
|
18
16
|
self.finish = false
|
19
17
|
if maximal == 0
|
data/rake-progressbar.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "rake-progressbar"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ondrej Bartas"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2012-02-25"
|
13
13
|
s.description = "Easy to use, shows estimated time to finish, elapsed time, percantage, not slowing with very fast jobs (terminal rescreen issue)"
|
14
14
|
s.email = "o.bartas@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake-progressbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-02-25 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shoulda
|
16
|
-
requirement: &
|
16
|
+
requirement: &70285736340140 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70285736340140
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &70285736332480 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.0.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70285736332480
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: jeweler
|
38
|
-
requirement: &
|
38
|
+
requirement: &70285736331300 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: 1.6.4
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70285736331300
|
47
47
|
description: Easy to use, shows estimated time to finish, elapsed time, percantage,
|
48
48
|
not slowing with very fast jobs (terminal rescreen issue)
|
49
49
|
email: o.bartas@gmail.com
|
@@ -79,7 +79,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version: '0'
|
80
80
|
segments:
|
81
81
|
- 0
|
82
|
-
hash: -
|
82
|
+
hash: -3508397194489271602
|
83
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|