confetti 0.9.10 → 0.9.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/confetti/template_helper.rb +2 -2
- data/lib/confetti/version.rb +1 -1
- metadata +3 -3
@@ -24,8 +24,8 @@ module Confetti
|
|
24
24
|
filepath ||= File.join(Dir.pwd, template.output_filename)
|
25
25
|
|
26
26
|
open(filepath, 'w') { |f| f.puts output }
|
27
|
-
rescue
|
28
|
-
raise IOError, "unable to write template file"
|
27
|
+
rescue SystemCallError
|
28
|
+
raise IOError, "SystemCallError: unable to write template file"
|
29
29
|
end
|
30
30
|
end
|
31
31
|
end
|
data/lib/confetti/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 9
|
8
|
-
-
|
9
|
-
version: 0.9.
|
8
|
+
- 11
|
9
|
+
version: 0.9.11
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Andrew Lunny
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-10-
|
19
|
+
date: 2012-10-31 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|