forked from eahanson/imageproxy
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRakefile
42 lines (32 loc) · 1.04 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
require 'bundler'
Bundler.require :test
desc "Run all specs"
task :spec do
system 'rspec --format nested --color spec'
end
task :default => :spec
desc "Run the server locally (for development)"
task :run do
require 'uri'
puts <<EOF
See examples at:
http://localhost:9393/selftest
If you set IMAGEPROXY_SIGNATURE_REQUIRED and IMAGEPROXY_SIGNATURE_SECRET
environment variables, then the requests in the selftest will be
signed.
EOF
system 'shotgun'
end
require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "imageproxy"
gem.homepage = "http://github.com/eahanson/imageproxy"
gem.license = "MIT"
gem.summary = %Q{A image processing proxy server, written in Ruby as a Rack application.}
gem.description = %Q{A image processing proxy server, written in Ruby as a Rack application. Requires ImageMagick.}
gem.email = "[email protected]"
gem.authors = ["Erik Hanson"]
# dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new