progress 0.1.1.3 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/Rakefile +24 -18
- data/VERSION +1 -0
- data/progress.gemspec +32 -12
- metadata +16 -23
- data/VERSION.yml +0 -1
data/Rakefile
CHANGED
@@ -1,22 +1,28 @@
|
|
1
|
-
|
2
|
-
require '
|
3
|
-
require 'rake'
|
4
|
-
require 'rake/clean'
|
5
|
-
require 'fileutils'
|
6
|
-
require 'echoe'
|
1
|
+
begin
|
2
|
+
require 'jeweler'
|
7
3
|
|
8
|
-
|
4
|
+
name = 'progress'
|
5
|
+
summary = 'Show progress of long running tasks'
|
9
6
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
7
|
+
jewel = Jeweler::Tasks.new do |j|
|
8
|
+
j.name = name
|
9
|
+
j.summary = summary
|
10
|
+
j.homepage = "http://github.com/toy/#{name}"
|
11
|
+
j.authors = ["Boba Fat"]
|
12
|
+
end
|
13
|
+
|
14
|
+
Jeweler::GemcutterTasks.new
|
15
|
+
|
16
|
+
require 'pathname'
|
17
|
+
desc "Replace system gem with symlink to this folder"
|
18
|
+
task 'ghost' do
|
19
|
+
gem_path = Pathname(Gem.searcher.find(name).full_gem_path)
|
20
|
+
current_path = Pathname('.').expand_path
|
21
|
+
cmd = gem_path.writable? && gem_path.parent.writable? ? %w() : %w(sudo)
|
22
|
+
system(*cmd + %W[rm -r #{gem_path}])
|
23
|
+
system(*cmd + %W[ln -s #{current_path} #{gem_path}])
|
24
|
+
end
|
14
25
|
|
15
|
-
|
16
|
-
|
17
|
-
gem_path = Pathname(Gem.searcher.find(echoe.name).full_gem_path)
|
18
|
-
current_path = Pathname('.').expand_path
|
19
|
-
cmd = gem_path.writable? && gem_path.parent.writable? ? %w() : %w(sudo)
|
20
|
-
system(*cmd + %W[rm -r #{gem_path}])
|
21
|
-
system(*cmd + %W[ln -s #{current_path} #{gem_path}])
|
26
|
+
rescue LoadError
|
27
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
22
28
|
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.2
|
data/progress.gemspec
CHANGED
@@ -1,22 +1,41 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
1
4
|
# -*- encoding: utf-8 -*-
|
2
5
|
|
3
6
|
Gem::Specification.new do |s|
|
4
7
|
s.name = %q{progress}
|
5
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
6
9
|
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">=
|
8
|
-
s.authors = ["
|
9
|
-
s.date = %q{2009-
|
10
|
-
s.
|
11
|
-
|
12
|
-
|
13
|
-
s.files = [
|
14
|
-
|
15
|
-
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Boba Fat"]
|
12
|
+
s.date = %q{2009-12-30}
|
13
|
+
s.extra_rdoc_files = [
|
14
|
+
"README.rdoc"
|
15
|
+
]
|
16
|
+
s.files = [
|
17
|
+
".gitignore",
|
18
|
+
"Manifest",
|
19
|
+
"README.rdoc",
|
20
|
+
"Rakefile",
|
21
|
+
"VERSION",
|
22
|
+
"lib/progress.rb",
|
23
|
+
"lib/progress/enumerable.rb",
|
24
|
+
"lib/progress/integer.rb",
|
25
|
+
"lib/progress/with_progress.rb",
|
26
|
+
"progress.gemspec",
|
27
|
+
"spec/progress_spec.rb",
|
28
|
+
"spec/spec_helper.rb"
|
29
|
+
]
|
30
|
+
s.homepage = %q{http://github.com/toy/progress}
|
31
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
16
32
|
s.require_paths = ["lib"]
|
17
|
-
s.rubyforge_project = %q{progress}
|
18
33
|
s.rubygems_version = %q{1.3.5}
|
19
|
-
s.summary = %q{
|
34
|
+
s.summary = %q{Show progress of long running tasks}
|
35
|
+
s.test_files = [
|
36
|
+
"spec/progress_spec.rb",
|
37
|
+
"spec/spec_helper.rb"
|
38
|
+
]
|
20
39
|
|
21
40
|
if s.respond_to? :specification_version then
|
22
41
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
@@ -28,3 +47,4 @@ Gem::Specification.new do |s|
|
|
28
47
|
else
|
29
48
|
end
|
30
49
|
end
|
50
|
+
|
metadata
CHANGED
@@ -1,54 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: progress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Boba Fat
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-12-30 00:00:00 +03:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
|
-
description:
|
17
|
-
email:
|
16
|
+
description:
|
17
|
+
email:
|
18
18
|
executables: []
|
19
19
|
|
20
20
|
extensions: []
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
23
|
- README.rdoc
|
24
|
-
- lib/progress.rb
|
25
|
-
- lib/progress/enumerable.rb
|
26
|
-
- lib/progress/integer.rb
|
27
|
-
- lib/progress/with_progress.rb
|
28
24
|
files:
|
25
|
+
- .gitignore
|
29
26
|
- Manifest
|
30
27
|
- README.rdoc
|
31
28
|
- Rakefile
|
32
|
-
- VERSION
|
29
|
+
- VERSION
|
33
30
|
- lib/progress.rb
|
34
31
|
- lib/progress/enumerable.rb
|
35
32
|
- lib/progress/integer.rb
|
36
33
|
- lib/progress/with_progress.rb
|
34
|
+
- progress.gemspec
|
37
35
|
- spec/progress_spec.rb
|
38
36
|
- spec/spec_helper.rb
|
39
|
-
- progress.gemspec
|
40
37
|
has_rdoc: true
|
41
|
-
homepage:
|
38
|
+
homepage: http://github.com/toy/progress
|
42
39
|
licenses: []
|
43
40
|
|
44
41
|
post_install_message:
|
45
42
|
rdoc_options:
|
46
|
-
- --
|
47
|
-
- --inline-source
|
48
|
-
- --title
|
49
|
-
- Progress
|
50
|
-
- --main
|
51
|
-
- README.rdoc
|
43
|
+
- --charset=UTF-8
|
52
44
|
require_paths:
|
53
45
|
- lib
|
54
46
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -61,14 +53,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
53
|
requirements:
|
62
54
|
- - ">="
|
63
55
|
- !ruby/object:Gem::Version
|
64
|
-
version: "
|
56
|
+
version: "0"
|
65
57
|
version:
|
66
58
|
requirements: []
|
67
59
|
|
68
|
-
rubyforge_project:
|
60
|
+
rubyforge_project:
|
69
61
|
rubygems_version: 1.3.5
|
70
62
|
signing_key:
|
71
63
|
specification_version: 3
|
72
|
-
summary:
|
73
|
-
test_files:
|
74
|
-
|
64
|
+
summary: Show progress of long running tasks
|
65
|
+
test_files:
|
66
|
+
- spec/progress_spec.rb
|
67
|
+
- spec/spec_helper.rb
|
data/VERSION.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
[0, 1, 1, 3]
|