testdata 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/testdata.rb +2 -2
  2. metadata +1 -1
data/lib/testdata.rb CHANGED
@@ -55,8 +55,8 @@ class Testdata
55
55
  def paths()
56
56
  begin
57
57
  @success << yield(path = Path.new(@doc))
58
- rescue
59
- nil
58
+ ensure
59
+ @success << false
60
60
  end
61
61
  end
62
62
  def read_file(s) File.open(s, 'r').read end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testdata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors: []
7
7