miso 0.3.2 → 0.3.3

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.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009
1
+ Copyright (c) 2009 - 2010
2
2
  Manfred Stienstra, Fingertips <manfred@fngtps.com>
3
3
  Eloy Duran, Fingertips <eloy@fngtps.com>
4
4
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
@@ -1,8 +1,8 @@
1
+ require 'miso/image'
2
+ require 'miso/factory'
3
+ require 'miso/processor'
4
+
1
5
  module Miso
2
- autoload :Factory, 'miso/factory'
3
- autoload :Image, 'miso/image'
4
- autoload :Processor, 'miso/processor'
5
-
6
6
  class MisoError < StandardError; end
7
7
  class NotImplementedError < MisoError; end
8
8
  class UnsupportedFileType < MisoError
@@ -1,9 +1,9 @@
1
+ require 'miso/processor/core_image'
2
+ require 'miso/processor/image_magick'
3
+ require 'miso/processor/graphics_magick'
4
+
1
5
  module Miso
2
6
  class Processor
3
- autoload :CoreImage, 'miso/processor/core_image'
4
- autoload :GraphicsMagick, 'miso/processor/graphics_magick'
5
- autoload :ImageMagick, 'miso/processor/image_magick'
6
-
7
7
  class << self
8
8
  # Sets the default processor class.
9
9
  attr_writer :processor_class
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{miso}
8
- s.version = "0.3.2"
8
+ s.version = "0.3.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Eloy Duran", "Manfred Stienstra"]
12
- s.date = %q{2010-07-27}
12
+ s.date = %q{2010-08-17}
13
13
  s.description = %q{Miso is a unified API for simple image operations commonly used on the web.}
14
14
  s.email = ["eloy@fngtps.com", "manfred@fngtps.com"]
15
15
  s.extra_rdoc_files = [
@@ -122,4 +122,8 @@ describe "Miso::Image, concerning shortcut class methods" do
122
122
  @image.expects(:dimensions).returns([120, 100])
123
123
  Miso::Image.dimensions(@input_file).should == [120, 100]
124
124
  end
125
+
126
+ it "should make a factory" do
127
+ Miso::Image.factory.should.be.a.kind_of(Miso::Factory)
128
+ end
125
129
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miso
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eloy Duran
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-07-27 00:00:00 +02:00
19
+ date: 2010-08-17 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency