magickly 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -3
- data/Gemfile.lock +22 -45
- data/HISTORY.md +5 -0
- data/README.md +16 -2
- data/Rakefile +27 -0
- data/VERSION +1 -1
- data/lib/shortcuts.rb +7 -2
- data/magickly.gemspec +11 -22
- data/spec/spec_helper.rb +0 -1
- metadata +45 -133
data/Gemfile
CHANGED
@@ -7,7 +7,7 @@ gem 'sinatra', '~> 1.2.1', :require => 'sinatra/base'
|
|
7
7
|
gem 'dragonfly', '~> 0.9.1'
|
8
8
|
gem 'addressable', '~> 2.2', :require => 'addressable/uri'
|
9
9
|
|
10
|
-
gem 'haml', '~> 3.0
|
10
|
+
gem 'haml', '~> 3.0'
|
11
11
|
gem 'httparty', '~> 0.7.3'
|
12
12
|
gem 'activesupport', '>= 2.0.0', :require => false
|
13
13
|
|
@@ -23,8 +23,6 @@ group :development, :test do
|
|
23
23
|
gem 'rspec', '~> 2.4'
|
24
24
|
gem 'webmock', '~> 1.6'
|
25
25
|
gem 'imagesize', '~> 0.1'
|
26
|
-
gem 'ruby-debug19', :platforms => :ruby_19
|
27
|
-
gem 'ruby-debug', :platforms => :ruby_18
|
28
26
|
end
|
29
27
|
|
30
28
|
group :production do
|
data/Gemfile.lock
CHANGED
@@ -1,62 +1,41 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (3.0.
|
5
|
-
addressable (2.2.
|
6
|
-
archive-tar-minitar (0.5.2)
|
7
|
-
columnize (0.3.2)
|
4
|
+
activesupport (3.0.7)
|
5
|
+
addressable (2.2.6)
|
8
6
|
crack (0.1.8)
|
9
7
|
diff-lcs (1.1.2)
|
10
|
-
dragonfly (0.9.
|
11
|
-
rack
|
8
|
+
dragonfly (0.9.2)
|
12
9
|
rack
|
13
10
|
git (1.2.5)
|
14
|
-
haml (3.
|
15
|
-
httparty (0.7.
|
11
|
+
haml (3.1.1)
|
12
|
+
httparty (0.7.7)
|
16
13
|
crack (= 0.1.8)
|
17
14
|
imagesize (0.1.1)
|
18
|
-
jeweler (1.
|
15
|
+
jeweler (1.6.0)
|
19
16
|
bundler (~> 1.0.0)
|
20
17
|
git (>= 1.2.5)
|
21
18
|
rake
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
newrelic_rpm (2.14.1)
|
26
|
-
rack (1.2.2)
|
27
|
-
rack-test (0.5.7)
|
19
|
+
newrelic_rpm (3.0.1)
|
20
|
+
rack (1.3.0)
|
21
|
+
rack-test (0.6.0)
|
28
22
|
rack (>= 1.0)
|
29
|
-
rake (0.
|
23
|
+
rake (0.9.0)
|
30
24
|
rcov (0.9.9)
|
31
|
-
rspec (2.
|
32
|
-
rspec-core (~> 2.
|
33
|
-
rspec-expectations (~> 2.
|
34
|
-
rspec-mocks (~> 2.
|
35
|
-
rspec-core (2.
|
36
|
-
rspec-expectations (2.
|
25
|
+
rspec (2.6.0)
|
26
|
+
rspec-core (~> 2.6.0)
|
27
|
+
rspec-expectations (~> 2.6.0)
|
28
|
+
rspec-mocks (~> 2.6.0)
|
29
|
+
rspec-core (2.6.3)
|
30
|
+
rspec-expectations (2.6.0)
|
37
31
|
diff-lcs (~> 1.1.2)
|
38
|
-
rspec-mocks (2.
|
39
|
-
|
40
|
-
columnize (>= 0.1)
|
41
|
-
ruby-debug-base (~> 0.10.4.0)
|
42
|
-
ruby-debug-base (0.10.4)
|
43
|
-
linecache (>= 0.3)
|
44
|
-
ruby-debug-base19 (0.11.25)
|
45
|
-
columnize (>= 0.3.1)
|
46
|
-
linecache19 (>= 0.5.11)
|
47
|
-
ruby_core_source (>= 0.1.4)
|
48
|
-
ruby-debug19 (0.11.6)
|
49
|
-
columnize (>= 0.3.1)
|
50
|
-
linecache19 (>= 0.5.11)
|
51
|
-
ruby-debug-base19 (>= 0.11.19)
|
52
|
-
ruby_core_source (0.1.5)
|
53
|
-
archive-tar-minitar (>= 0.5.2)
|
54
|
-
sinatra (1.2.1)
|
32
|
+
rspec-mocks (2.6.0)
|
33
|
+
sinatra (1.2.6)
|
55
34
|
rack (~> 1.1)
|
56
35
|
tilt (< 2.0, >= 1.2.2)
|
57
|
-
tilt (1.
|
58
|
-
webmock (1.6.
|
59
|
-
addressable (
|
36
|
+
tilt (1.3.1)
|
37
|
+
webmock (1.6.4)
|
38
|
+
addressable (> 2.2.5, ~> 2.2)
|
60
39
|
crack (>= 0.1.7)
|
61
40
|
|
62
41
|
PLATFORMS
|
@@ -66,7 +45,7 @@ DEPENDENCIES
|
|
66
45
|
activesupport (>= 2.0.0)
|
67
46
|
addressable (~> 2.2)
|
68
47
|
dragonfly (~> 0.9.1)
|
69
|
-
haml (~> 3.0
|
48
|
+
haml (~> 3.0)
|
70
49
|
httparty (~> 0.7.3)
|
71
50
|
imagesize (~> 0.1)
|
72
51
|
jeweler (~> 1.5)
|
@@ -74,7 +53,5 @@ DEPENDENCIES
|
|
74
53
|
rack-test
|
75
54
|
rcov
|
76
55
|
rspec (~> 2.4)
|
77
|
-
ruby-debug
|
78
|
-
ruby-debug19
|
79
56
|
sinatra (~> 1.2.1)
|
80
57
|
webmock (~> 1.6)
|
data/HISTORY.md
CHANGED
data/README.md
CHANGED
@@ -10,12 +10,20 @@ If no query params are provided, a simple sandbox page is displayed. Try it her
|
|
10
10
|
|
11
11
|
## Parameters
|
12
12
|
|
13
|
-
*See the [Dragonfly documentation](http://markevans.github.com/dragonfly/file.
|
13
|
+
*See the [Dragonfly documentation](http://markevans.github.com/dragonfly/file.ImageMagick.html) for more details about the permitted* `geometry` *values.*
|
14
14
|
|
15
15
|
### src=*url* (required)
|
16
16
|
|
17
17
|
The URL of the original image.
|
18
18
|
|
19
|
+
### brightness_contrast=*brightness* x *contrast*
|
20
|
+
|
21
|
+
*brightness* and *contrast* are percentage change, between -100 and 100. For example, to increase contrast by 20% but leave brightness the same, use `brightness_contrast=0x20`.
|
22
|
+
|
23
|
+
![tanned imagemagick logo](http://magickly.heroku.com/?src=http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Imagemagick-logo.png/200px-Imagemagick-logo.png&brightness_contrast=-10x50)
|
24
|
+
|
25
|
+
[http://magickly.heroku.com/?src=http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Imagemagick-logo.png/200px-Imagemagick-logo.png&brightness_contrast=-10x50](http://magickly.heroku.com/?src=http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Imagemagick-logo.png/200px-Imagemagick-logo.png&brightness_contrast=-10x50)
|
26
|
+
|
19
27
|
### flip=true
|
20
28
|
|
21
29
|
![flipped imagemagick logo](http://magickly.heroku.com/?src=http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Imagemagick-logo.png/200px-Imagemagick-logo.png&flip=true)
|
@@ -46,6 +54,12 @@ The URL of the original image.
|
|
46
54
|
|
47
55
|
[http://magickly.heroku.com/?src=http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Imagemagick-logo.png/200px-Imagemagick-logo.png&rotate=45](http://magickly.heroku.com/?src=http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Imagemagick-logo.png/200px-Imagemagick-logo.png&rotate=45)
|
48
56
|
|
57
|
+
### tilt_shift=true
|
58
|
+
|
59
|
+
![tilt-shifted imagemagick logo](http://magickly.heroku.com/?src=http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Imagemagick-logo.png/200px-Imagemagick-logo.png&tilt_shift=true)
|
60
|
+
|
61
|
+
[http://magickly.heroku.com/?src=http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Imagemagick-logo.png/200px-Imagemagick-logo.png&tilt_shift=true](http://magickly.heroku.com/?src=http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Imagemagick-logo.png/200px-Imagemagick-logo.png&tilt_shift=true)
|
62
|
+
|
49
63
|
### thumb=*geometry*
|
50
64
|
|
51
65
|
![thumbnail of imagemagick logo](http://magickly.heroku.com/?src=http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Imagemagick-logo.png/200px-Imagemagick-logo.png&thumb=200x100%23)
|
@@ -67,7 +81,7 @@ In addition to the available listed above, custom "shortcuts" can be created to
|
|
67
81
|
|
68
82
|
which can then be used with the query string `?src=...&resize_with_blur=200x`. Note that magickly will pass the value of the query param to the block as a single string.
|
69
83
|
|
70
|
-
See the [Dragonfly documentation](http://markevans.github.com/dragonfly/file.GeneralUsage.html#Shortcuts) for more info on "shortcuts".
|
84
|
+
See the [Dragonfly documentation](http://markevans.github.com/dragonfly/file.GeneralUsage.html#Shortcuts) for more info on "shortcuts", and the [shortcuts.rb](https://github.com/afeld/magickly/blob/master/lib/shortcuts.rb) file for examples.
|
71
85
|
|
72
86
|
## Installation
|
73
87
|
|
data/Rakefile
CHANGED
@@ -51,3 +51,30 @@ Rake::RDocTask.new do |rdoc|
|
|
51
51
|
rdoc.rdoc_files.include('README*')
|
52
52
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
53
53
|
end
|
54
|
+
|
55
|
+
desc "Runs a performance test of different sigma values to tilt_shift"
|
56
|
+
task :blur_test do
|
57
|
+
file = File.join(File.dirname(__FILE__), 'spec', 'support', 'imagemagick.png')
|
58
|
+
dir = File.join(File.dirname(__FILE__), 'test_output')
|
59
|
+
Dir.mkdir(dir)
|
60
|
+
|
61
|
+
(5..10).each do |sigma|
|
62
|
+
print "sigma: #{sigma} "
|
63
|
+
out_file = File.join(dir, "blur_test-#{sigma}.png")
|
64
|
+
start = Time.now
|
65
|
+
%x[
|
66
|
+
convert #{file} \\( +clone -sparse-color Barycentric '0,0 black 0,%h white' -function polynomial 4,-4,1 \\) -compose Blur -set option:compose:args #{sigma} -composite #{out_file}
|
67
|
+
]
|
68
|
+
elapsed = Time.now - start
|
69
|
+
puts "time: #{elapsed}"
|
70
|
+
end
|
71
|
+
|
72
|
+
# RESULTS:
|
73
|
+
#
|
74
|
+
# radius: 5 time: 2.090919
|
75
|
+
# radius: 6 time: 2.855877
|
76
|
+
# radius: 7 time: 3.800624
|
77
|
+
# radius: 8 time: 4.872925
|
78
|
+
# radius: 9 time: 6.213271
|
79
|
+
# radius: 10 time: 7.62648
|
80
|
+
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.3
|
data/lib/shortcuts.rb
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
Magickly.dragonfly.configure do |c|
|
2
|
+
c.job :brightness_contrast do |val|
|
3
|
+
process :convert, "-brightness-contrast #{val}"
|
4
|
+
end
|
5
|
+
|
2
6
|
c.job :resize_with_blur do |size|
|
3
7
|
process :convert, "-filter Gaussian -resize #{size}"
|
4
8
|
end
|
@@ -6,10 +10,11 @@ Magickly.dragonfly.configure do |c|
|
|
6
10
|
c.job :tilt_shift do |coefficients|
|
7
11
|
if coefficients == 'true'
|
8
12
|
# use default polynomial coefficients
|
9
|
-
coefficients =
|
13
|
+
coefficients = '4,-4,1'
|
10
14
|
end
|
11
15
|
|
12
|
-
|
16
|
+
# note: can be made faster by decreasing sigma passed to option:compose:args
|
17
|
+
action = "\\( +clone -sparse-color Barycentric '0,0 black 0,%h white' -function polynomial #{coefficients} \\) -compose Blur -set option:compose:args 8 -composite"
|
13
18
|
process :convert, action
|
14
19
|
end
|
15
20
|
end
|
data/magickly.gemspec
CHANGED
@@ -5,14 +5,15 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{magickly}
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-05-
|
11
|
+
s.authors = ["Aidan Feldman"]
|
12
|
+
s.date = %q{2011-05-26}
|
13
|
+
s.default_executable = %q{magickly}
|
13
14
|
s.description = %q{A service for image manipulation - built as an extensible wrapper of Imagemagick which handles caching, c/o the Dragonfly gem.}
|
14
15
|
s.email = %q{aidan.feldman@gmail.com}
|
15
|
-
s.executables = [
|
16
|
+
s.executables = ["magickly"]
|
16
17
|
s.extra_rdoc_files = [
|
17
18
|
"LICENSE.txt",
|
18
19
|
"README.md"
|
@@ -44,16 +45,10 @@ Gem::Specification.new do |s|
|
|
44
45
|
"spec/unit/remote_data_store_spec.rb"
|
45
46
|
]
|
46
47
|
s.homepage = %q{http://github.com/afeld/magickly}
|
47
|
-
s.licenses = [
|
48
|
-
s.require_paths = [
|
49
|
-
s.rubygems_version = %q{1.
|
48
|
+
s.licenses = ["MIT"]
|
49
|
+
s.require_paths = ["lib"]
|
50
|
+
s.rubygems_version = %q{1.6.2}
|
50
51
|
s.summary = %q{image manipulation as a (plugin-able) service}
|
51
|
-
s.test_files = [
|
52
|
-
"spec/requests/magickly_app_spec.rb",
|
53
|
-
"spec/spec_helper.rb",
|
54
|
-
"spec/unit/magickly_spec.rb",
|
55
|
-
"spec/unit/remote_data_store_spec.rb"
|
56
|
-
]
|
57
52
|
|
58
53
|
if s.respond_to? :specification_version then
|
59
54
|
s.specification_version = 3
|
@@ -62,7 +57,7 @@ Gem::Specification.new do |s|
|
|
62
57
|
s.add_runtime_dependency(%q<sinatra>, ["~> 1.2.1"])
|
63
58
|
s.add_runtime_dependency(%q<dragonfly>, ["~> 0.9.1"])
|
64
59
|
s.add_runtime_dependency(%q<addressable>, ["~> 2.2"])
|
65
|
-
s.add_runtime_dependency(%q<haml>, ["~> 3.0
|
60
|
+
s.add_runtime_dependency(%q<haml>, ["~> 3.0"])
|
66
61
|
s.add_runtime_dependency(%q<httparty>, ["~> 0.7.3"])
|
67
62
|
s.add_runtime_dependency(%q<activesupport>, [">= 2.0.0"])
|
68
63
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5"])
|
@@ -71,13 +66,11 @@ Gem::Specification.new do |s|
|
|
71
66
|
s.add_development_dependency(%q<rspec>, ["~> 2.4"])
|
72
67
|
s.add_development_dependency(%q<webmock>, ["~> 1.6"])
|
73
68
|
s.add_development_dependency(%q<imagesize>, ["~> 0.1"])
|
74
|
-
s.add_development_dependency(%q<ruby-debug19>, [">= 0"])
|
75
|
-
s.add_development_dependency(%q<ruby-debug>, [">= 0"])
|
76
69
|
else
|
77
70
|
s.add_dependency(%q<sinatra>, ["~> 1.2.1"])
|
78
71
|
s.add_dependency(%q<dragonfly>, ["~> 0.9.1"])
|
79
72
|
s.add_dependency(%q<addressable>, ["~> 2.2"])
|
80
|
-
s.add_dependency(%q<haml>, ["~> 3.0
|
73
|
+
s.add_dependency(%q<haml>, ["~> 3.0"])
|
81
74
|
s.add_dependency(%q<httparty>, ["~> 0.7.3"])
|
82
75
|
s.add_dependency(%q<activesupport>, [">= 2.0.0"])
|
83
76
|
s.add_dependency(%q<jeweler>, ["~> 1.5"])
|
@@ -86,14 +79,12 @@ Gem::Specification.new do |s|
|
|
86
79
|
s.add_dependency(%q<rspec>, ["~> 2.4"])
|
87
80
|
s.add_dependency(%q<webmock>, ["~> 1.6"])
|
88
81
|
s.add_dependency(%q<imagesize>, ["~> 0.1"])
|
89
|
-
s.add_dependency(%q<ruby-debug19>, [">= 0"])
|
90
|
-
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
91
82
|
end
|
92
83
|
else
|
93
84
|
s.add_dependency(%q<sinatra>, ["~> 1.2.1"])
|
94
85
|
s.add_dependency(%q<dragonfly>, ["~> 0.9.1"])
|
95
86
|
s.add_dependency(%q<addressable>, ["~> 2.2"])
|
96
|
-
s.add_dependency(%q<haml>, ["~> 3.0
|
87
|
+
s.add_dependency(%q<haml>, ["~> 3.0"])
|
97
88
|
s.add_dependency(%q<httparty>, ["~> 0.7.3"])
|
98
89
|
s.add_dependency(%q<activesupport>, [">= 2.0.0"])
|
99
90
|
s.add_dependency(%q<jeweler>, ["~> 1.5"])
|
@@ -102,8 +93,6 @@ Gem::Specification.new do |s|
|
|
102
93
|
s.add_dependency(%q<rspec>, ["~> 2.4"])
|
103
94
|
s.add_dependency(%q<webmock>, ["~> 1.6"])
|
104
95
|
s.add_dependency(%q<imagesize>, ["~> 0.1"])
|
105
|
-
s.add_dependency(%q<ruby-debug19>, [">= 0"])
|
106
|
-
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
107
96
|
end
|
108
97
|
end
|
109
98
|
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: magickly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 23
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 2
|
10
|
-
version: 1.1.2
|
5
|
+
version: 1.1.3
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Aidan Feldman
|
@@ -15,219 +10,141 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-26 00:00:00 -04:00
|
14
|
+
default_executable: magickly
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
17
|
+
name: sinatra
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
22
19
|
none: false
|
23
20
|
requirements:
|
24
21
|
- - ~>
|
25
22
|
- !ruby/object:Gem::Version
|
26
|
-
hash: 29
|
27
|
-
segments:
|
28
|
-
- 1
|
29
|
-
- 2
|
30
|
-
- 1
|
31
23
|
version: 1.2.1
|
32
24
|
type: :runtime
|
33
|
-
requirement: *id001
|
34
25
|
prerelease: false
|
35
|
-
|
26
|
+
version_requirements: *id001
|
36
27
|
- !ruby/object:Gem::Dependency
|
37
|
-
|
28
|
+
name: dragonfly
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
30
|
none: false
|
39
31
|
requirements:
|
40
32
|
- - ~>
|
41
33
|
- !ruby/object:Gem::Version
|
42
|
-
hash: 57
|
43
|
-
segments:
|
44
|
-
- 0
|
45
|
-
- 9
|
46
|
-
- 1
|
47
34
|
version: 0.9.1
|
48
35
|
type: :runtime
|
49
|
-
requirement: *id002
|
50
36
|
prerelease: false
|
51
|
-
|
37
|
+
version_requirements: *id002
|
52
38
|
- !ruby/object:Gem::Dependency
|
53
|
-
|
39
|
+
name: addressable
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
41
|
none: false
|
55
42
|
requirements:
|
56
43
|
- - ~>
|
57
44
|
- !ruby/object:Gem::Version
|
58
|
-
hash: 7
|
59
|
-
segments:
|
60
|
-
- 2
|
61
|
-
- 2
|
62
45
|
version: "2.2"
|
63
46
|
type: :runtime
|
64
|
-
requirement: *id003
|
65
47
|
prerelease: false
|
66
|
-
|
48
|
+
version_requirements: *id003
|
67
49
|
- !ruby/object:Gem::Dependency
|
68
|
-
|
50
|
+
name: haml
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
69
52
|
none: false
|
70
53
|
requirements:
|
71
54
|
- - ~>
|
72
55
|
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
segments:
|
75
|
-
- 3
|
76
|
-
- 0
|
77
|
-
- 25
|
78
|
-
version: 3.0.25
|
56
|
+
version: "3.0"
|
79
57
|
type: :runtime
|
80
|
-
requirement: *id004
|
81
58
|
prerelease: false
|
82
|
-
|
59
|
+
version_requirements: *id004
|
83
60
|
- !ruby/object:Gem::Dependency
|
84
|
-
|
61
|
+
name: httparty
|
62
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
85
63
|
none: false
|
86
64
|
requirements:
|
87
65
|
- - ~>
|
88
66
|
- !ruby/object:Gem::Version
|
89
|
-
hash: 5
|
90
|
-
segments:
|
91
|
-
- 0
|
92
|
-
- 7
|
93
|
-
- 3
|
94
67
|
version: 0.7.3
|
95
68
|
type: :runtime
|
96
|
-
requirement: *id005
|
97
69
|
prerelease: false
|
98
|
-
|
70
|
+
version_requirements: *id005
|
99
71
|
- !ruby/object:Gem::Dependency
|
100
|
-
|
72
|
+
name: activesupport
|
73
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
101
74
|
none: false
|
102
75
|
requirements:
|
103
76
|
- - ">="
|
104
77
|
- !ruby/object:Gem::Version
|
105
|
-
hash: 15
|
106
|
-
segments:
|
107
|
-
- 2
|
108
|
-
- 0
|
109
|
-
- 0
|
110
78
|
version: 2.0.0
|
111
79
|
type: :runtime
|
112
|
-
requirement: *id006
|
113
80
|
prerelease: false
|
114
|
-
|
81
|
+
version_requirements: *id006
|
115
82
|
- !ruby/object:Gem::Dependency
|
116
|
-
|
83
|
+
name: jeweler
|
84
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
117
85
|
none: false
|
118
86
|
requirements:
|
119
87
|
- - ~>
|
120
88
|
- !ruby/object:Gem::Version
|
121
|
-
hash: 5
|
122
|
-
segments:
|
123
|
-
- 1
|
124
|
-
- 5
|
125
89
|
version: "1.5"
|
126
90
|
type: :development
|
127
|
-
requirement: *id007
|
128
91
|
prerelease: false
|
129
|
-
|
92
|
+
version_requirements: *id007
|
130
93
|
- !ruby/object:Gem::Dependency
|
131
|
-
|
94
|
+
name: rcov
|
95
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
132
96
|
none: false
|
133
97
|
requirements:
|
134
98
|
- - ">="
|
135
99
|
- !ruby/object:Gem::Version
|
136
|
-
hash: 3
|
137
|
-
segments:
|
138
|
-
- 0
|
139
100
|
version: "0"
|
140
101
|
type: :development
|
141
|
-
requirement: *id008
|
142
102
|
prerelease: false
|
143
|
-
|
103
|
+
version_requirements: *id008
|
144
104
|
- !ruby/object:Gem::Dependency
|
145
|
-
|
105
|
+
name: rack-test
|
106
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
146
107
|
none: false
|
147
108
|
requirements:
|
148
109
|
- - ">="
|
149
110
|
- !ruby/object:Gem::Version
|
150
|
-
hash: 3
|
151
|
-
segments:
|
152
|
-
- 0
|
153
111
|
version: "0"
|
154
112
|
type: :development
|
155
|
-
requirement: *id009
|
156
113
|
prerelease: false
|
157
|
-
|
114
|
+
version_requirements: *id009
|
158
115
|
- !ruby/object:Gem::Dependency
|
159
|
-
|
116
|
+
name: rspec
|
117
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
160
118
|
none: false
|
161
119
|
requirements:
|
162
120
|
- - ~>
|
163
121
|
- !ruby/object:Gem::Version
|
164
|
-
hash: 11
|
165
|
-
segments:
|
166
|
-
- 2
|
167
|
-
- 4
|
168
122
|
version: "2.4"
|
169
123
|
type: :development
|
170
|
-
requirement: *id010
|
171
124
|
prerelease: false
|
172
|
-
|
125
|
+
version_requirements: *id010
|
173
126
|
- !ruby/object:Gem::Dependency
|
174
|
-
|
127
|
+
name: webmock
|
128
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
175
129
|
none: false
|
176
130
|
requirements:
|
177
131
|
- - ~>
|
178
132
|
- !ruby/object:Gem::Version
|
179
|
-
hash: 3
|
180
|
-
segments:
|
181
|
-
- 1
|
182
|
-
- 6
|
183
133
|
version: "1.6"
|
184
134
|
type: :development
|
185
|
-
requirement: *id011
|
186
135
|
prerelease: false
|
187
|
-
|
136
|
+
version_requirements: *id011
|
188
137
|
- !ruby/object:Gem::Dependency
|
189
|
-
|
138
|
+
name: imagesize
|
139
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
190
140
|
none: false
|
191
141
|
requirements:
|
192
142
|
- - ~>
|
193
143
|
- !ruby/object:Gem::Version
|
194
|
-
hash: 9
|
195
|
-
segments:
|
196
|
-
- 0
|
197
|
-
- 1
|
198
144
|
version: "0.1"
|
199
145
|
type: :development
|
200
|
-
requirement: *id012
|
201
146
|
prerelease: false
|
202
|
-
|
203
|
-
- !ruby/object:Gem::Dependency
|
204
|
-
version_requirements: &id013 !ruby/object:Gem::Requirement
|
205
|
-
none: false
|
206
|
-
requirements:
|
207
|
-
- - ">="
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
hash: 3
|
210
|
-
segments:
|
211
|
-
- 0
|
212
|
-
version: "0"
|
213
|
-
type: :development
|
214
|
-
requirement: *id013
|
215
|
-
prerelease: false
|
216
|
-
name: ruby-debug19
|
217
|
-
- !ruby/object:Gem::Dependency
|
218
|
-
version_requirements: &id014 !ruby/object:Gem::Requirement
|
219
|
-
none: false
|
220
|
-
requirements:
|
221
|
-
- - ">="
|
222
|
-
- !ruby/object:Gem::Version
|
223
|
-
hash: 3
|
224
|
-
segments:
|
225
|
-
- 0
|
226
|
-
version: "0"
|
227
|
-
type: :development
|
228
|
-
requirement: *id014
|
229
|
-
prerelease: false
|
230
|
-
name: ruby-debug
|
147
|
+
version_requirements: *id012
|
231
148
|
description: A service for image manipulation - built as an extensible wrapper of Imagemagick which handles caching, c/o the Dragonfly gem.
|
232
149
|
email: aidan.feldman@gmail.com
|
233
150
|
executables:
|
@@ -262,6 +179,7 @@ files:
|
|
262
179
|
- spec/support/imagemagick.png
|
263
180
|
- spec/unit/magickly_spec.rb
|
264
181
|
- spec/unit/remote_data_store_spec.rb
|
182
|
+
has_rdoc: true
|
265
183
|
homepage: http://github.com/afeld/magickly
|
266
184
|
licenses:
|
267
185
|
- MIT
|
@@ -275,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
275
193
|
requirements:
|
276
194
|
- - ">="
|
277
195
|
- !ruby/object:Gem::Version
|
278
|
-
hash:
|
196
|
+
hash: 3187711069815381468
|
279
197
|
segments:
|
280
198
|
- 0
|
281
199
|
version: "0"
|
@@ -284,19 +202,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
284
202
|
requirements:
|
285
203
|
- - ">="
|
286
204
|
- !ruby/object:Gem::Version
|
287
|
-
hash: 3
|
288
|
-
segments:
|
289
|
-
- 0
|
290
205
|
version: "0"
|
291
206
|
requirements: []
|
292
207
|
|
293
208
|
rubyforge_project:
|
294
|
-
rubygems_version: 1.
|
209
|
+
rubygems_version: 1.6.2
|
295
210
|
signing_key:
|
296
211
|
specification_version: 3
|
297
212
|
summary: image manipulation as a (plugin-able) service
|
298
|
-
test_files:
|
299
|
-
|
300
|
-
- spec/spec_helper.rb
|
301
|
-
- spec/unit/magickly_spec.rb
|
302
|
-
- spec/unit/remote_data_store_spec.rb
|
213
|
+
test_files: []
|
214
|
+
|