Sha256: 8f19503ab59e4f1af8d52829ae10ee68fc1802a00d39ed8a78b5b3e50d075b69

Contents?: true

Size: 1.36 KB

Versions: 9

Compression:

Stored size: 1.36 KB

Contents

# encoding: UTF-8

Gem::Specification.new do |s|
  s.name        = 'image_optim_pack'
  s.version     = '0.5.0.20180124'
  s.summary     = %q{Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegtran, optipng, pngcrush, pngquant}
  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")
  if defined?(gem_platform)
    s.platform = gem_platform

    vendor_dir = {
      'x86-linux' => 'linux-i686',
      'x86_64-openbsd' => 'openbsd-amd64',
    }[gem_platform] || begin
      gem_platform.sub(/^x86-/, 'i386-').split('-').reverse.join('-')
    end
    vendor_path = File.join('vendor', vendor_dir)
    fail "#{vendor_path} is not a dir" unless File.directory?(vendor_path)
    s.files.reject! do |path|
      parts = path.split('/')
      parts[0] == 'vendor' && parts[1] != vendor_dir
    end
  end
  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.add_dependency 'image_optim', '~> 0.19'
  s.add_dependency 'fspath', '>= 2.1', '< 4'

  s.add_development_dependency 'rspec', '~> 3.0'
  if RUBY_VERSION >= '2.1'
    s.add_development_dependency 'rubocop', '~> 0.52'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
image_optim_pack-0.5.0.20180124-x86_64-linux image_optim_pack.gemspec
image_optim_pack-0.5.0.20180124-x86-openbsd image_optim_pack.gemspec
image_optim_pack-0.5.0.20180124-x86_64-openbsd image_optim_pack.gemspec
image_optim_pack-0.5.0.20180124-x86-linux image_optim_pack.gemspec
image_optim_pack-0.5.0.20180124-x86-freebsd image_optim_pack.gemspec
image_optim_pack-0.5.0.20180124-amd64-freebsd image_optim_pack.gemspec
image_optim_pack-0.5.0.20180124-x86_64-darwin image_optim_pack.gemspec
image_optim_pack-0.5.0.20180124-x86-darwin image_optim_pack.gemspec
image_optim_pack-0.5.0.20180124 image_optim_pack.gemspec