miso 0.3.1 → 0.3.2

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/README CHANGED
@@ -66,4 +66,5 @@ contribute backends we're happy to accept patches!
66
66
  @Oracl: ‘@veganza I love miso! :)’
67
67
  @lehudgins: ‘ok fine. Miso totally does go kinda bad after a year.’
68
68
  Wikipedia: ‘High in protein and rich in vitamins and minerals, miso played
69
- an important nutritional role in feudal Japan.’
69
+ an important nutritional role in feudal Japan.’
70
+ jacqui: ‘miso wanna use it!’
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -93,6 +93,10 @@ module Miso
93
93
  OSX::NSJPEGFileType
94
94
  when '.gif'
95
95
  OSX::NSGIFFileType
96
+ when '.tiff', '.tif'
97
+ OSX::NSTIFFFileType
98
+ when '.bmp'
99
+ OSX::NSBMPFileType
96
100
  else
97
101
  raise UnsupportedFileType.new(path)
98
102
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{miso}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
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{2009-12-29}
12
+ s.date = %q{2010-07-27}
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 = [
@@ -45,7 +45,7 @@ Gem::Specification.new do |s|
45
45
  s.homepage = %q{http://github.com/Fingertips/miso}
46
46
  s.rdoc_options = ["--charset=UTF-8"]
47
47
  s.require_paths = ["lib"]
48
- s.rubygems_version = %q{1.3.5}
48
+ s.rubygems_version = %q{1.3.7}
49
49
  s.summary = %q{Miso is a unified API for simple image operations commonly used on the web.}
50
50
  s.test_files = [
51
51
  "spec/api/factory_spec.rb",
@@ -63,7 +63,7 @@ Gem::Specification.new do |s|
63
63
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
64
64
  s.specification_version = 3
65
65
 
66
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
66
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
67
67
  s.add_runtime_dependency(%q<executioner>, [">= 0.3.0"])
68
68
  else
69
69
  s.add_dependency(%q<executioner>, [">= 0.3.0"])
@@ -19,7 +19,16 @@ begin
19
19
 
20
20
  describe "An instance of Miso::Processor::CoreImage" do
21
21
  it "should write the output file with the type inflected from the extension" do
22
- ext_and_type = { 'png' => 'PNG', 'jpg' => 'JPEG', 'jpeg' => 'JPEG', 'gif' => 'GIF' }
22
+ ext_and_type = {
23
+ 'png' => 'PNG' ,
24
+ 'jpg' => 'JPEG',
25
+ 'jpeg' => 'JPEG',
26
+ 'gif' => 'GIF' ,
27
+ 'tif' => 'TIFF',
28
+ 'tiff' => 'TIFF',
29
+ 'bmp' => 'bitmap'
30
+ }
31
+
23
32
  ext_and_type.each { |k, v| ext_and_type[k.upcase] = v }
24
33
 
25
34
  ext_and_type.each do |ext, type|
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ hash: 23
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 3
9
+ - 2
10
+ version: 0.3.2
5
11
  platform: ruby
6
12
  authors:
7
13
  - Eloy Duran
@@ -10,19 +16,25 @@ autorequire:
10
16
  bindir: bin
11
17
  cert_chain: []
12
18
 
13
- date: 2009-12-29 00:00:00 +01:00
19
+ date: 2010-07-27 00:00:00 +02:00
14
20
  default_executable:
15
21
  dependencies:
16
22
  - !ruby/object:Gem::Dependency
17
23
  name: executioner
18
- type: :runtime
19
- version_requirement:
20
- version_requirements: !ruby/object:Gem::Requirement
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
21
27
  requirements:
22
28
  - - ">="
23
29
  - !ruby/object:Gem::Version
30
+ hash: 19
31
+ segments:
32
+ - 0
33
+ - 3
34
+ - 0
24
35
  version: 0.3.0
25
- version:
36
+ type: :runtime
37
+ version_requirements: *id001
26
38
  description: Miso is a unified API for simple image operations commonly used on the web.
27
39
  email:
28
40
  - eloy@fngtps.com
@@ -69,21 +81,27 @@ rdoc_options:
69
81
  require_paths:
70
82
  - lib
71
83
  required_ruby_version: !ruby/object:Gem::Requirement
84
+ none: false
72
85
  requirements:
73
86
  - - ">="
74
87
  - !ruby/object:Gem::Version
88
+ hash: 3
89
+ segments:
90
+ - 0
75
91
  version: "0"
76
- version:
77
92
  required_rubygems_version: !ruby/object:Gem::Requirement
93
+ none: false
78
94
  requirements:
79
95
  - - ">="
80
96
  - !ruby/object:Gem::Version
97
+ hash: 3
98
+ segments:
99
+ - 0
81
100
  version: "0"
82
- version:
83
101
  requirements: []
84
102
 
85
103
  rubyforge_project:
86
- rubygems_version: 1.3.5
104
+ rubygems_version: 1.3.7
87
105
  signing_key:
88
106
  specification_version: 3
89
107
  summary: Miso is a unified API for simple image operations commonly used on the web.