factory_toys 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
data/factory_toys.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "factory_toys"
8
- s.version = "1.0.1"
8
+ s.version = "1.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Henry", "Thomas Brand"]
@@ -50,7 +50,12 @@ module FactoryToys
50
50
 
51
51
  @outputs.each_with_index do |output, i|
52
52
  File.open(File.join(dir, "#{filename}_#{i}.feature"), 'w') do |f|
53
- f.puts (@header + output).join("\n") rescue (debugger; puts '????')
53
+ begin
54
+ f.puts (@header + output).join("\n")
55
+ rescue Exception => e
56
+ puts e
57
+ (debugger; puts '????')
58
+ end
54
59
  end
55
60
  end
56
61
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_toys
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Henry