miso 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/miso/processor.rb +1 -1
- data/lib/miso/processor/image_magick.rb +1 -1
- data/miso.gemspec +1 -1
- data/spec/functional/processor/image_magick_spec.rb +2 -2
- data/spec/start.rb +2 -0
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.4
|
data/lib/miso/processor.rb
CHANGED
@@ -17,7 +17,7 @@ module Miso
|
|
17
17
|
# array.
|
18
18
|
def processor_class
|
19
19
|
@processor_class ||= processor_classes.find { |c| c.available? }
|
20
|
-
raise "None of the Miso::Processor classes
|
20
|
+
raise "None of the Miso::Processor classes are available." unless @processor_class
|
21
21
|
@processor_class
|
22
22
|
end
|
23
23
|
|
data/miso.gemspec
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
require File.expand_path('../../../start', __FILE__)
|
2
2
|
|
3
|
-
if
|
3
|
+
if Executioner::ClassMethods.find_executable('convert')
|
4
4
|
describe "Miso::Processor::ImageMagick" do
|
5
5
|
it "should check the load paths to see if ImageMagick is available" do
|
6
6
|
Miso::Processor::ImageMagick.should.be.available
|
7
7
|
|
8
|
-
Miso::Processor::ImageMagick.stubs(:
|
8
|
+
Miso::Processor::ImageMagick.stubs(:find_executable).returns(nil)
|
9
9
|
Miso::Processor::ImageMagick.should.not.be.available
|
10
10
|
end
|
11
11
|
end
|
data/spec/start.rb
CHANGED