tupalo-mini_magick 1.2.5 → 3.1
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.rdoc +29 -9
- data/Rakefile +6 -13
- data/VERSION +1 -1
- data/lib/mini_gmagick.rb +2 -0
- data/lib/mini_magick.rb +312 -72
- data/test/actually_a_gif.jpg +0 -0
- data/test/animation.gif +0 -0
- data/test/command_builder_test.rb +24 -7
- data/test/composited.jpg +0 -0
- data/test/image_test.rb +150 -43
- data/test/leaves spaced.tiff +0 -0
- data/test/not_an_image.php +1 -604
- data/test/simple-minus.gif +0 -0
- data/test/trogdor.jpg +0 -0
- metadata +66 -23
- data/.gitignore +0 -1
- data/lib/image_temp_file.rb +0 -9
- data/mini_magick.gemspec +0 -55
- data/test/image_temp_file_test.rb +0 -17
- data/test/leaves.tiff +0 -0
Binary file
|
data/test/trogdor.jpg
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,48 +1,84 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tupalo-mini_magick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
|
+
- 3
|
7
8
|
- 1
|
8
|
-
|
9
|
-
- 5
|
10
|
-
version: 1.2.5
|
9
|
+
version: "3.1"
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Corey Johnson
|
13
|
+
- Hampton Catlin
|
14
|
+
- Peter Kieltyka
|
15
|
+
- Thomas Fadrus
|
14
16
|
autorequire:
|
15
17
|
bindir: bin
|
16
18
|
cert_chain: []
|
17
19
|
|
18
|
-
date:
|
20
|
+
date: 2010-12-21 00:00:00 +01:00
|
19
21
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
|
23
|
-
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
name: subexec
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ~>
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
hash: 23
|
32
|
+
segments:
|
33
|
+
- 0
|
34
|
+
- 0
|
35
|
+
- 4
|
36
|
+
version: 0.0.4
|
37
|
+
type: :runtime
|
38
|
+
version_requirements: *id001
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: mocha
|
41
|
+
prerelease: false
|
42
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
hash: 41
|
48
|
+
segments:
|
49
|
+
- 0
|
50
|
+
- 9
|
51
|
+
- 9
|
52
|
+
version: 0.9.9
|
53
|
+
type: :development
|
54
|
+
version_requirements: *id002
|
55
|
+
description: ""
|
56
|
+
email:
|
57
|
+
- probablycorey@gmail.com
|
58
|
+
- hcatlin@gmail.com
|
59
|
+
- peter@nulayer.com
|
60
|
+
- thomas@tupalo.com
|
24
61
|
executables: []
|
25
62
|
|
26
63
|
extensions: []
|
27
64
|
|
28
|
-
extra_rdoc_files:
|
29
|
-
|
65
|
+
extra_rdoc_files: []
|
66
|
+
|
30
67
|
files:
|
31
|
-
- .gitignore
|
32
|
-
- MIT-LICENSE
|
33
68
|
- README.rdoc
|
34
|
-
- Rakefile
|
35
69
|
- VERSION
|
36
|
-
-
|
70
|
+
- MIT-LICENSE
|
71
|
+
- Rakefile
|
72
|
+
- lib/mini_gmagick.rb
|
37
73
|
- lib/mini_magick.rb
|
38
|
-
- mini_magick.gemspec
|
39
74
|
- test/actually_a_gif.jpg
|
40
75
|
- test/animation.gif
|
41
76
|
- test/command_builder_test.rb
|
42
|
-
- test/
|
77
|
+
- test/composited.jpg
|
43
78
|
- test/image_test.rb
|
44
|
-
- test/leaves.tiff
|
79
|
+
- test/leaves spaced.tiff
|
45
80
|
- test/not_an_image.php
|
81
|
+
- test/simple-minus.gif
|
46
82
|
- test/simple.gif
|
47
83
|
- test/trogdor.jpg
|
48
84
|
has_rdoc: true
|
@@ -50,8 +86,8 @@ homepage: http://github.com/fadr/tupalo-mini_magick
|
|
50
86
|
licenses: []
|
51
87
|
|
52
88
|
post_install_message:
|
53
|
-
rdoc_options:
|
54
|
-
|
89
|
+
rdoc_options: []
|
90
|
+
|
55
91
|
require_paths:
|
56
92
|
- lib
|
57
93
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -77,9 +113,16 @@ requirements: []
|
|
77
113
|
rubyforge_project:
|
78
114
|
rubygems_version: 1.3.7
|
79
115
|
signing_key:
|
80
|
-
specification_version:
|
81
|
-
summary:
|
116
|
+
specification_version: 3
|
117
|
+
summary: Ported peplin/mini_magick to new mini_magick version
|
82
118
|
test_files:
|
119
|
+
- test/actually_a_gif.jpg
|
120
|
+
- test/animation.gif
|
83
121
|
- test/command_builder_test.rb
|
84
|
-
- test/
|
122
|
+
- test/composited.jpg
|
85
123
|
- test/image_test.rb
|
124
|
+
- test/leaves spaced.tiff
|
125
|
+
- test/not_an_image.php
|
126
|
+
- test/simple-minus.gif
|
127
|
+
- test/simple.gif
|
128
|
+
- test/trogdor.jpg
|
data/.gitignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
/pkg
|
data/lib/image_temp_file.rb
DELETED
data/mini_magick.gemspec
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
Gem::Specification.new do |s|
|
4
|
-
s.name = %q{tupalo-mini_magick}
|
5
|
-
s.version = "1.2.5"
|
6
|
-
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = ["Corey Johnson"]
|
9
|
-
s.date = %q{2009-05-27}
|
10
|
-
s.description = %q{This is a fork of peplins fork of the mini_magick gem. It includes support for the montage command.}
|
11
|
-
s.email = %q{thomas@tupalo.com}
|
12
|
-
s.extra_rdoc_files = [
|
13
|
-
"README.rdoc"
|
14
|
-
]
|
15
|
-
s.files = [
|
16
|
-
".gitignore",
|
17
|
-
"MIT-LICENSE",
|
18
|
-
"README.rdoc",
|
19
|
-
"Rakefile",
|
20
|
-
"VERSION",
|
21
|
-
"lib/image_temp_file.rb",
|
22
|
-
"lib/mini_magick.rb",
|
23
|
-
"mini_magick.gemspec",
|
24
|
-
"test/actually_a_gif.jpg",
|
25
|
-
"test/animation.gif",
|
26
|
-
"test/command_builder_test.rb",
|
27
|
-
"test/image_temp_file_test.rb",
|
28
|
-
"test/image_test.rb",
|
29
|
-
"test/leaves.tiff",
|
30
|
-
"test/not_an_image.php",
|
31
|
-
"test/simple.gif",
|
32
|
-
"test/trogdor.jpg"
|
33
|
-
]
|
34
|
-
s.has_rdoc = true
|
35
|
-
s.homepage = %q{http://github.com/fadr/tupalo-mini_magick}
|
36
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
37
|
-
s.require_paths = ["lib"]
|
38
|
-
s.rubygems_version = %q{1.3.1}
|
39
|
-
s.summary = %q{Manipulate images with minimal use of memory.}
|
40
|
-
s.test_files = [
|
41
|
-
"test/command_builder_test.rb",
|
42
|
-
"test/image_temp_file_test.rb",
|
43
|
-
"test/image_test.rb"
|
44
|
-
]
|
45
|
-
|
46
|
-
if s.respond_to? :specification_version then
|
47
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
48
|
-
s.specification_version = 2
|
49
|
-
|
50
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
51
|
-
else
|
52
|
-
end
|
53
|
-
else
|
54
|
-
end
|
55
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
require 'test/unit'
|
2
|
-
require File.join(File.dirname(__FILE__), '../lib/image_temp_file')
|
3
|
-
|
4
|
-
class ImageTempFileTest < Test::Unit::TestCase
|
5
|
-
include MiniMagick
|
6
|
-
|
7
|
-
def test_multiple_calls_yield_different_files
|
8
|
-
first = ImageTempFile.new('test')
|
9
|
-
second = ImageTempFile.new('test')
|
10
|
-
assert_not_equal first.path, second.path
|
11
|
-
end
|
12
|
-
|
13
|
-
def test_temp_file_has_given_extension
|
14
|
-
assert_match /^[^.]+\.jpg$/, ImageTempFile.new('jpg').path
|
15
|
-
assert_match /^[^.]+\.png$/, ImageTempFile.new('png').path
|
16
|
-
end
|
17
|
-
end
|
data/test/leaves.tiff
DELETED
Binary file
|