attached 0.2.5 → 0.2.6

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.
@@ -55,6 +55,8 @@ module Attached
55
55
 
56
56
  `lame #{parameters}`
57
57
 
58
+ raise Errno::ENOENT if $?.exitstatus == 127
59
+
58
60
  rescue Errno::ENOENT
59
61
  raise "command 'lame' not found: ensure LAME is installed"
60
62
  end
@@ -74,6 +74,8 @@ module Attached
74
74
  parameters = parameters.join(" ").squeeze(" ")
75
75
 
76
76
  `convert #{parameters}`
77
+
78
+ raise Errno::ENOENT if $?.exitstatus == 127
77
79
 
78
80
  rescue Errno::ENOENT
79
81
  raise "command 'convert' not found: ensure ImageMagick is installed"
@@ -1,3 +1,3 @@
1
1
  module Attached
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: attached
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.5
5
+ version: 0.2.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kevin Sylvestre
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-12 00:00:00 -05:00
13
+ date: 2011-02-20 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency