Sha256: ff34e15dba6af3882aa987e950a9c7de046911a148ba60ccf67b283b0ff3bddc

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

# -*- encoding: utf-8 -*-
require File.dirname(__FILE__) + '/lib/mimemagic/version'
require 'date'

Gem::Specification.new do |s|
  s.name = 'mimemagic'
  s.version = MimeMagic::VERSION

  s.authors = ['Daniel Mendler', 'Jon Wood']
  s.date = Date.today.to_s
  s.email = ['mail@daniel-mendler.de', 'jon@blankpad.net']

  s.files         = `git ls-files`.split("\n").reject { |f| f.match(%r{^(test|script)/}) }
  s.require_paths = %w(lib)
  s.extensions = %w(ext/mimemagic/Rakefile)

  s.summary = 'Fast mime detection by extension or content'
  s.description = 'Fast mime detection by extension or content in pure ruby (Uses freedesktop.org.xml shared-mime-info database)'
  s.homepage = 'https://github.com/mimemagicrb/mimemagic'
  s.license = 'MIT'

  s.add_dependency('nokogiri', '~> 1')

  s.add_development_dependency('minitest', '~> 5.14')
  s.add_development_dependency('rake', '~> 13.0')

  if s.respond_to?(:metadata)
    s.metadata['changelog_uri'] = "https://github.com/mimemagicrb/mimemagic/blob/master/CHANGELOG.md"
    s.metadata['source_code_uri'] = "https://github.com/mimemagicrb/mimemagic"
    s.metadata['bug_tracker_uri'] = "https://github.com/mimemagicrb/mimemagic/issues"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mimemagic-0.3.8 mimemagic.gemspec