25 Commits

Author SHA1 Message Date
mark-young-atg 264b0b1d01 Provide a 'Changelog' link on rubygems.org/gems/image_processing (#129) 2024-08-27 15:56:26 +02:00
Geremia Taglialatela b07cb21626 Opt-in for MFA requirement (#127) 2024-07-25 09:44:05 +02:00
Janko Marohnić f0c152e83b Replace Phashion with dhash-vips
Phashion currently doesn't install on Apple Silicon, and it doesn't seem
it's going to get fixed.

An upside is that this will now work on JRuby as well, since dhash-vips
doesn't use C extensions.
2021-09-26 10:39:56 +02:00
Janko Marohnić e7de626c93 Improve accuracy of the gem description
Prior to 1.0, ImageProcessing *was* just a set of helper methods.
However, in 1.0 it implemented a builder pattern and became much more
than just helper methods. So we update the gem description to reflect
that.
2020-01-12 20:46:22 +01:00
Janko Marohnić a9c57304c7 [vips] Fix compatibility with ruby-vips 2.0.17+
ruby-vips 2.0.17 rewrote the introspection API, which is unfortunate
since it breaks ImageProcessing. On the bright side, the new
introspection API does much more for us, and uses caching for
optimization, so it's an improvement.
2020-01-07 16:46:21 +01:00
Chiorean Dan 7bd2d7676e Update mini_magick version to 4.9.5 (#54) 2019-07-22 10:53:40 +02:00
Janko Marohnić 24c81ed17b Add back support for Ruby 2.3 2019-07-20 12:57:16 +02:00
Janko Marohnić c55f93156c Update required Ruby version in gemspec 2019-04-09 10:00:29 +02:00
Janko Marohnić 7d2490a77f Move the processor dance into the processor
ImageProcessing::Pipeline knew too much about
ImageProcessing::Processor, so we push that logic down into the
Processor class.
2019-02-24 23:07:30 +01:00
Janko Marohnić 8a59d67dc8 Update "janko-m" username to "janko" 2019-02-04 19:43:08 +01:00
Janko Marohnić c47aa3b13e Update to ruby-vips 2.0.13
ruby-vips 2.0.13 allows optional operation arguments to be nil, which
allows us to simplify code in some places a little bit.
2018-09-20 01:02:51 +02:00
Janko Marohnić 35cf2f1ed7 Upgrade to latest version of ruby-vips
ruby-vips 2.0.11 adds Vips::Image#add_alpha and Vips::Image#has_alpha?,
which call the corresponding C functions directly, so we can now remove
our own implementations.
2018-04-24 10:39:40 +02:00
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
Janko Marohnić 0737bc815d [vips] Update ruby-vips to 2.0.10
This gives us the Vips::MAX_COORD constant.
2018-04-04 20:33:52 +02:00
Janko Marohnić f7d0df08dd Work around a RubyGems/Bundler/Rake bug on Ruby 2.5
See https://github.com/bundler/bundler/issues/6144 for more details.
2018-03-30 00:31:46 +02:00
Janko Marohnić 2fb9c8abe1 Merge pull request #14 from GustavoCaso/add-libvips-compatibility
Added libvips support
2018-03-16 15:50:52 +01:00
Janko Marohnić 4efd059082 Fix typo in .gemspec 2017-11-02 23:59:05 +01:00
Janko Marohnić b256f61159 Include CHANGELOG.md in the packaged gem 2017-11-02 11:01:43 +01:00
GustavoCaso ccdbb81838 Merge branch 'master' into add-libvips-compatibility 2017-10-09 23:11:40 +02:00
Janko Marohnić 7043acde0d Update minitest-hooks to fix an error 2017-10-04 09:54:59 +02:00
GustavoCaso bc0db4e812 - Added ruby-vips gem
- [MISSING] some commands
2017-09-19 08:27:06 +02:00
Janko Marohnić 70af4e1a50 Test on MRI 2.0 and note Rubies
Fixes #3
2016-05-03 20:05:22 +08:00
Janko Marohnić 2a48f50107 Test across Ruby versions 2015-11-18 20:02:11 +01:00
Janko Marohnić b78d89ed3b Include the actual code in the gem 2015-10-03 21:38:25 +02:00
Janko Marohnić 8c11868932 Initial commit 2015-10-03 20:36:13 +02:00