File: mojo_magick.gemspec

package info (click to toggle)
ruby-mojo-magick 0.6.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 376 kB
  • sloc: ruby: 755; makefile: 4
file content (34 lines) | stat: -rw-r--r-- 1,262 bytes parent folder | download
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
$LOAD_PATH.push File.expand_path("lib", __dir__)
require "mojo_magick/version"

post_install_message = <<~EOPOST_INSTALL

  Thanks for installing MojoMagick - keepin it simple!

  *** To make this gem work, you need a few binaries!
  Make sure you've got ImageMagick available.  http://imagemagick.org
  If you plan to build images with text (using the "label" method) you'll need freetype and ghostscript as well.
  Check out http://www.freetype.org and http://ghostscript.com respectively for installation info.

EOPOST_INSTALL

Gem::Specification.new do |s|
  s.name = "mojo_magick"
  s.license = "MIT"
  s.version     = MojoMagick::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Steve Midgley", "Elliot Nelson", "Jon Rogers"]
  s.email       = ["science@misuse.org", "jon@rcode5.com"]
  s.homepage    = "http://github.com/rcode5/mojo_magick"
  s.summary     = "mojo_magick-#{MojoMagick::VERSION}"
  s.description = "Simple Ruby stateless module interface to imagemagick."
  s.required_ruby_version = ">= 2.6.0"

  s.rubyforge_project = "mojo_magick"

  s.files         = Dir.glob('*') { |file| file !~ /^debian\// }
  s.executables   = []

  s.post_install_message = post_install_message
  s.metadata["rubygems_mfa_required"] = "true"
end