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.
Files changed (6) hide show
  1. data/.gitignore +5 -0
  2. data/Rakefile +24 -18
  3. data/VERSION +1 -0
  4. data/progress.gemspec +32 -12
  5. metadata +16 -23
  6. data/VERSION.yml +0 -1
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ .DS_Store
2
+ pkg
3
+ doc
4
+ *.gem
5
+ *.swp
data/Rakefile CHANGED
@@ -1,22 +1,28 @@
1
- require 'pathname'
2
- require 'rubygems'
3
- require 'rake'
4
- require 'rake/clean'
5
- require 'fileutils'
6
- require 'echoe'
1
+ begin
2
+ require 'jeweler'
7
3
 
8
- version = YAML.load_file(Pathname(__FILE__).dirname + 'VERSION.yml').join('.') rescue nil
4
+ name = 'progress'
5
+ summary = 'Show progress of long running tasks'
9
6
 
10
- echoe = Echoe.new('progress', version) do |p|
11
- p.author = 'toy'
12
- p.summary = 'A library to show progress of long running tasks.'
13
- end
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
- desc "Replace system gem with symlink to this folder"
16
- task 'ghost' do
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.1.3"
8
+ s.version = "0.1.2"
6
9
 
7
- s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["toy"]
9
- s.date = %q{2009-09-28}
10
- s.description = %q{A library to show progress of long running tasks.}
11
- s.email = %q{}
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
- s.homepage = %q{}
15
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Progress", "--main", "README.rdoc"]
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{A library to show progress of long running tasks.}
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.1.3
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
- - toy
7
+ - Boba Fat
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-28 00:00:00 +04:00
12
+ date: 2009-12-30 00:00:00 +03:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: A library to show progress of long running tasks.
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.yml
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
- - --line-numbers
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: "1.2"
56
+ version: "0"
65
57
  version:
66
58
  requirements: []
67
59
 
68
- rubyforge_project: progress
60
+ rubyforge_project:
69
61
  rubygems_version: 1.3.5
70
62
  signing_key:
71
63
  specification_version: 3
72
- summary: A library to show progress of long running tasks.
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]