File: ruby-vips.gemspec

package info (click to toggle)
ruby-vips 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,164 kB
  • sloc: ruby: 3,530; makefile: 3
file content (48 lines) | stat: -rw-r--r-- 1,617 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# frozen_string_literal: true

require_relative "lib/vips/version"

Gem::Specification.new do |spec|
  spec.name = "ruby-vips"
  spec.version = Vips::VERSION
  spec.summary = "A fast image processing library with low memory needs"
  spec.description = <<-DESC.strip
    ruby-vips is a binding for the libvips image processing library. It is fast 
    and it can process large images without loading the whole image in memory.
  DESC
  spec.homepage = "http://github.com/libvips/ruby-vips"
  spec.licenses = ["MIT"]
  spec.authors = ["John Cupitt"]
  spec.email = ["jcupitt@gmail.com"]

  spec.metadata = {
    "bug_tracker_uri" => "https://github.com/libvips/ruby-vips/issues",
    "changelog_uri" =>
      "https://github.com/libvips/ruby-vips/blob/master/CHANGELOG.md",
    "documentation_uri" => "https://www.rubydoc.info/gems/ruby-vips",
    "homepage_uri" => spec.homepage,
    "source_code_uri" => "https://github.com/libvips/ruby-vips",

    "msys2_mingw_dependencies" => "libvips"
  }

  spec.require_paths = ["lib"]
  spec.extra_rdoc_files = %w[LICENSE.txt README.md TODO]

  spec.files = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end

  spec.required_ruby_version = ">= 2.0.0"

  spec.add_runtime_dependency "ffi", ["~> 1.12"]

  spec.add_development_dependency "rake", ["~> 12.0"]
  spec.add_development_dependency "rspec", ["~> 3.3"]
  spec.add_development_dependency "yard", ["~> 0.9.11"]
  spec.add_development_dependency "bundler", [">= 1.0", "< 3"]

  if Gem.ruby_version >= Gem::Version.new("2.2")
    spec.add_development_dependency "standard"
  end
end