Sha256: c7799b2ca6dcbc0d2f487d75995cf5017a8b1cd6f67ab943fd33c21a7a936c3d

Contents?: true

Size: 1.54 KB

Versions: 1

Compression:

Stored size: 1.54 KB

Contents

require 'date'
require 'English'
require './lib/rmagick/version'

Gem::Specification.new do |s|
  s.name = 'rmagick'
  s.version = Magick::VERSION
  s.date = Date.today.to_s
  s.summary = 'Ruby binding to ImageMagick'
  s.description = 'RMagick is an interface between Ruby and ImageMagick.'
  s.authors = ['Tim Hunter', 'Omer Bar-or', 'Benjamin Thomas', 'Moncef Maiza']
  s.email = 'github@benjaminfleischer.com'
  s.homepage = 'https://github.com/rmagick/rmagick'
  s.license = 'MIT'

  tracked_files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
  file_exclusion_regex = %r{\A(doc|benchmarks|examples|spec|lib/rvg/to_c.rb)}
  files = tracked_files.reject { |file| file[file_exclusion_regex] }

  s.files = files
  s.require_paths << 'ext'

  s.extensions = %w[ext/RMagick/extconf.rb]
  s.required_ruby_version = ">= #{Magick::MIN_RUBY_VERSION}"
  s.requirements << "ImageMagick #{Magick::MIN_IM_VERSION} or later"

  s.add_runtime_dependency 'pkg-config', '~> 1.4'
  s.add_runtime_dependency 'observer', '~> 0.1'

  s.add_development_dependency 'pry', '~> 0.14'
  s.add_development_dependency 'rake-compiler', '~> 1.0'
  s.add_development_dependency 'rspec', '~> 3.8'
  s.add_development_dependency 'rspec_junit_formatter', '~> 0.4.1'
  if RUBY_PLATFORM !~ /mswin|mingw/
    s.add_development_dependency 'rubocop', '~> 0.81.0'
    s.add_development_dependency 'rubocop-rspec', '~> 1.38.1'
    s.add_development_dependency 'rubocop-performance', '~> 1.5.2'
  end
  s.add_development_dependency 'simplecov', '~> 0.16.1'
  s.add_development_dependency 'yard', '~> 0.9.24'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rmagick-5.4.0 rmagick.gemspec