progress 0.1.0.2 → 0.1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +5 -8
- data/Rakefile +19 -24
- data/VERSION.yml +1 -1
- data/progress.gemspec +4 -4
- metadata +9 -14
- data/CHANGELOG +0 -8
- data/spec/spec.opts +0 -1
- data/tasks/rspec.rake +0 -21
data/Manifest
CHANGED
@@ -1,13 +1,10 @@
|
|
1
|
-
|
1
|
+
Manifest
|
2
|
+
README.rdoc
|
3
|
+
Rakefile
|
4
|
+
VERSION.yml
|
5
|
+
lib/progress.rb
|
2
6
|
lib/progress/enumerable.rb
|
3
7
|
lib/progress/integer.rb
|
4
8
|
lib/progress/with_progress.rb
|
5
|
-
lib/progress.rb
|
6
|
-
Manifest
|
7
|
-
Rakefile
|
8
|
-
README.rdoc
|
9
9
|
spec/progress_spec.rb
|
10
|
-
spec/spec.opts
|
11
10
|
spec/spec_helper.rb
|
12
|
-
tasks/rspec.rake
|
13
|
-
VERSION.yml
|
data/Rakefile
CHANGED
@@ -1,24 +1,19 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'rake'
|
3
|
-
require 'rake/clean'
|
4
|
-
require 'fileutils'
|
5
|
-
require 'echoe'
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
task 'ghost' do
|
21
|
-
path = Gem.searcher.find(echoe.name).full_gem_path
|
22
|
-
system 'sudo', 'rm', '-r', path
|
23
|
-
symlink File.expand_path('.'), path
|
24
|
-
end
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
require 'rake/clean'
|
4
|
+
require 'fileutils'
|
5
|
+
require 'echoe'
|
6
|
+
|
7
|
+
version = YAML.load_file(File.join(File.dirname(__FILE__), 'VERSION.yml')).join('.') rescue nil
|
8
|
+
|
9
|
+
echoe = Echoe.new('progress', version) do |p|
|
10
|
+
p.author = 'toy'
|
11
|
+
p.summary = 'A library to show progress of long running tasks.'
|
12
|
+
end
|
13
|
+
|
14
|
+
desc "Replace system gem with symlink to this folder"
|
15
|
+
task :ghost do
|
16
|
+
path = Gem.searcher.find(echoe.name).full_gem_path
|
17
|
+
system 'sudo', 'rm', '-r', path
|
18
|
+
symlink File.expand_path('.'), path
|
19
|
+
end
|
data/VERSION.yml
CHANGED
@@ -1 +1 @@
|
|
1
|
-
[0, 1, 0,
|
1
|
+
[0, 1, 0, 3]
|
data/progress.gemspec
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{progress}
|
5
|
-
s.version = "0.1.0.
|
5
|
+
s.version = "0.1.0.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["toy"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-09-21}
|
10
10
|
s.description = %q{A library to show progress of long running tasks.}
|
11
11
|
s.email = %q{}
|
12
|
-
s.extra_rdoc_files = ["
|
13
|
-
s.files = ["
|
12
|
+
s.extra_rdoc_files = ["README.rdoc", "lib/progress.rb", "lib/progress/enumerable.rb", "lib/progress/integer.rb", "lib/progress/with_progress.rb"]
|
13
|
+
s.files = ["Manifest", "README.rdoc", "Rakefile", "VERSION.yml", "lib/progress.rb", "lib/progress/enumerable.rb", "lib/progress/integer.rb", "lib/progress/with_progress.rb", "spec/progress_spec.rb", "spec/spec_helper.rb", "progress.gemspec"]
|
14
14
|
s.homepage = %q{}
|
15
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Progress", "--main", "README.rdoc"]
|
16
16
|
s.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: progress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toy
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-09-21 00:00:00 +04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -20,27 +20,22 @@ executables: []
|
|
20
20
|
extensions: []
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
|
-
-
|
23
|
+
- README.rdoc
|
24
|
+
- lib/progress.rb
|
24
25
|
- lib/progress/enumerable.rb
|
25
26
|
- lib/progress/integer.rb
|
26
27
|
- lib/progress/with_progress.rb
|
27
|
-
- lib/progress.rb
|
28
|
-
- README.rdoc
|
29
|
-
- tasks/rspec.rake
|
30
28
|
files:
|
31
|
-
-
|
29
|
+
- Manifest
|
30
|
+
- README.rdoc
|
31
|
+
- Rakefile
|
32
|
+
- VERSION.yml
|
33
|
+
- lib/progress.rb
|
32
34
|
- lib/progress/enumerable.rb
|
33
35
|
- lib/progress/integer.rb
|
34
36
|
- lib/progress/with_progress.rb
|
35
|
-
- lib/progress.rb
|
36
|
-
- Manifest
|
37
|
-
- Rakefile
|
38
|
-
- README.rdoc
|
39
37
|
- spec/progress_spec.rb
|
40
|
-
- spec/spec.opts
|
41
38
|
- spec/spec_helper.rb
|
42
|
-
- tasks/rspec.rake
|
43
|
-
- VERSION.yml
|
44
39
|
- progress.gemspec
|
45
40
|
has_rdoc: true
|
46
41
|
homepage: ""
|
data/CHANGELOG
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
v0.0.7.1 2009-04-24 rake spec
|
2
|
-
v0.0.7 2009-03-24 moved to echoe
|
3
|
-
v0.0.6 2009-02-19 printing messages to stderr
|
4
|
-
v0.0.5 2008-11-07 piping result of block execution, changed default step count to 1 (from 100)
|
5
|
-
v0.0.4 2008-11-06 step now accept count of steps made
|
6
|
-
v0.0.3 2008-11-01 recreated with newgem, created specs, autospec now runs well, created documentation
|
7
|
-
v0.0.2 2008-10-31 added enclosed progress possibility
|
8
|
-
v0.0.1 initial release
|
data/spec/spec.opts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--colour
|
data/tasks/rspec.rake
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require 'spec'
|
3
|
-
rescue LoadError
|
4
|
-
require 'rubygems'
|
5
|
-
require 'spec'
|
6
|
-
end
|
7
|
-
begin
|
8
|
-
require 'spec/rake/spectask'
|
9
|
-
rescue LoadError
|
10
|
-
puts <<-EOS
|
11
|
-
To use rspec for testing you must install rspec gem:
|
12
|
-
gem install rspec
|
13
|
-
EOS
|
14
|
-
exit(0)
|
15
|
-
end
|
16
|
-
|
17
|
-
desc "Run the specs"
|
18
|
-
Spec::Rake::SpecTask.new do |t|
|
19
|
-
t.spec_opts = ['--options', "spec/spec.opts"]
|
20
|
-
t.spec_files = FileList['spec/**/*_spec.rb']
|
21
|
-
end
|