batch 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gems ADDED
@@ -0,0 +1 @@
1
+ contest -v 0.1.3
@@ -0,0 +1,2 @@
1
+ /pkg
2
+ .gs
@@ -1,9 +1,11 @@
1
+ require "./lib/batch"
2
+
1
3
  Gem::Specification.new do |s|
2
4
  s.name = "batch"
3
- s.version = "1.0.1"
5
+ s.version = Batch::VERSION
4
6
  s.summary = "Iterate Enumerables with progress reporting."
5
7
  s.authors = ["Damian Janowski", "Michel Martens"]
6
8
  s.email = ["djanowski@dimaion.com", "michel@soveran.com"]
7
9
  s.homepage = "http://github.com/djanowski/batch"
8
- s.files = ["UNLICENSE", "README.markdown", "Rakefile", "lib/batch.rb", "batch.gemspec", "test/batch_test.rb", "test/test_helper.rb"]
10
+ s.files = `git ls-files`.split("\n")
9
11
  end
@@ -0,0 +1,17 @@
1
+ <% require "./lib/batch" -%>
2
+ Gem::Specification.new do |s|
3
+ s.name = "batch"
4
+ s.version = "<%= Batch::VERSION %>"
5
+ s.summary = "Iterate Enumerables with progress reporting."
6
+ s.authors = ["Damian Janowski", "Michel Martens"]
7
+ s.email = ["djanowski@dimaion.com", "michel@soveran.com"]
8
+ s.homepage = "http://github.com/djanowski/batch"
9
+ s.files = <%= Dir[
10
+ "LICENSE",
11
+ "README.markdown",
12
+ "Rakefile",
13
+ "lib/**/*.rb",
14
+ "*.gemspec",
15
+ "test/*.*"
16
+ ].inspect %>
17
+ end
@@ -1,5 +1,5 @@
1
1
  class Batch
2
- VERSION = "0.0.3"
2
+ VERSION = "1.0.2"
3
3
 
4
4
  attr :enumerable
5
5
 
@@ -21,6 +21,7 @@ class Batch
21
21
  print "."
22
22
 
23
23
  rescue Interrupt => e
24
+ report_errors
24
25
  raise e
25
26
 
26
27
  rescue Exception => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-07 00:00:00.000000000 Z
13
+ date: 2013-01-21 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description:
16
16
  email:
@@ -20,11 +20,14 @@ executables: []
20
20
  extensions: []
21
21
  extra_rdoc_files: []
22
22
  files:
23
- - UNLICENSE
23
+ - .gems
24
+ - .gitignore
24
25
  - README.markdown
25
26
  - Rakefile
26
- - lib/batch.rb
27
+ - UNLICENSE
27
28
  - batch.gemspec
29
+ - batch.gemspec.erb
30
+ - lib/batch.rb
28
31
  - test/batch_test.rb
29
32
  - test/test_helper.rb
30
33
  homepage: http://github.com/djanowski/batch
@@ -47,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
50
  version: '0'
48
51
  requirements: []
49
52
  rubyforge_project:
50
- rubygems_version: 1.8.21
53
+ rubygems_version: 1.8.23
51
54
  signing_key:
52
55
  specification_version: 3
53
56
  summary: Iterate Enumerables with progress reporting.