each_with_progress 0.0.1 → 0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/each_with_progress.rb +2 -1
  2. metadata +7 -5
@@ -6,7 +6,8 @@ module Enumerable
6
6
  out.print sprintf("%s", ewp_makeProgress(i,count)) + "\r"
7
7
  block.call element
8
8
  end
9
- out.print sprintf("%s",ewp_makeProgress(count, count)) + "\r"
9
+ out.print sprintf("%s"," " + "\r"
10
+ self
10
11
  end
11
12
 
12
13
  protected
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: each_with_progress
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 9
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
- - 0
8
8
  - 1
9
- version: 0.0.1
9
+ version: "0.1"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Adam Gamble
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-18 00:00:00 -06:00
17
+ date: 2011-02-15 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -42,6 +42,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
42
42
  requirements:
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
+ hash: 3
45
46
  segments:
46
47
  - 0
47
48
  version: "0"
@@ -50,13 +51,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
51
  requirements:
51
52
  - - ">="
52
53
  - !ruby/object:Gem::Version
54
+ hash: 3
53
55
  segments:
54
56
  - 0
55
57
  version: "0"
56
58
  requirements: []
57
59
 
58
60
  rubyforge_project: nowarning
59
- rubygems_version: 1.3.7
61
+ rubygems_version: 1.4.2
60
62
  signing_key:
61
63
  specification_version: 3
62
64
  summary: stand in replacement for Enumerable#each that will print a progress bar to the console as it loops