forked from toy/image_optim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
image_optim.gemspec
34 lines (28 loc) · 1.34 KB
/
image_optim.gemspec
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
# encoding: UTF-8
Gem::Specification.new do |s|
s.name = 'image_optim'
s.version = '0.26.1'
s.summary = %q{Optimize (lossless compress, optionally lossy) images (jpeg, png, gif, svg) using external utilities (advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegrescan, jpegtran, optipng, pngcrush, pngout, pngquant, svgo)}
s.homepage = "http://github.com/toy/#{s.name}"
s.authors = ['Ivan Kuchin']
s.license = 'MIT'
s.rubyforge_project = s.name
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = %w[lib]
s.post_install_message = <<-EOF
Rails image assets optimization is extracted into image_optim_rails gem
You can safely remove `config.assets.image_optim = false` if you are not going to use that gem
EOF
s.add_dependency 'fspath', '~> 3.0'
s.add_dependency 'image_size', '>= 1.5', '< 3'
s.add_dependency 'exifr', '~> 1.2', '>= 1.2.2'
s.add_dependency 'progress', '~> 3.0', '>= 3.0.1'
s.add_dependency 'in_threads', '~> 1.3'
s.add_development_dependency 'image_optim_pack', '~> 0.2', '>= 0.2.2'
s.add_development_dependency 'rspec', '~> 3.0'
if RUBY_VERSION >= '2.1'
s.add_development_dependency 'rubocop', '~> 0.53'
end
end