Files
image_processing/image_processing.gemspec
T
Janko Marohnić 468e516fae Depend on mini_magick and ruby-vips gems
This will make maintenance a lot easier, because we'll be able to adapt to
changes in mini_magick and ruby-vips gems, as we will have the ability
to bump their versions.

This also makes installation easier, because the user doesn't need to
remember to add those gems to the Gemfile, and doesn't need to remember
which versions should be specified.

The downside is that both gems will always be installed, which might
cause concern for some users. However, considering that both gems are
very small (mini_magick is 43KB and ruby-vips is 233KB), and that both
can be normally installed without ImageMagick or libvips being
installed, I think the ends justify the means. And there is no rational
reason for concern, because only the gem that's used will actually be
loaded.
2018-04-04 20:39:06 +02:00

28 lines
1.1 KiB
Ruby

require File.expand_path('../lib/image_processing/version', __FILE__)
Gem::Specification.new do |spec|
spec.name = "image_processing"
spec.version = ImageProcessing::VERSION
spec.required_ruby_version = ">= 2.0"
spec.summary = "Set of higher-level helper methods for image processing."
spec.description = "Set of higher-level helper methods for image processing."
spec.homepage = "https://github.com/janko-m/image_processing"
spec.authors = ["Janko Marohnić"]
spec.email = ["janko.marohnic@gmail.com"]
spec.license = "MIT"
spec.files = Dir["README.md", "LICENSE.txt", "CHANGELOG.md", "lib/**/*.rb", "*.gemspec"]
spec.require_paths = ["lib"]
spec.add_dependency "mini_magick", "~> 4.0"
spec.add_dependency "ruby-vips", ">= 2.0.10", "< 3"
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest", "~> 5.8"
spec.add_development_dependency "minitest-hooks", ">= 1.4.2"
spec.add_development_dependency "minispec-metadata"
spec.add_development_dependency "phashion" unless RUBY_ENGINE == "jruby"
end