Sha256: 95115654a88a2c01652f13531d7e3fdf92c9a1e82a25611cceb7e596bdd59b02

Contents?: true

Size: 1009 Bytes

Versions: 4

Compression:

Stored size: 1009 Bytes

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']
  s.date = Date.today.to_s
  s.email = ['mail@daniel-mendler.de']

  s.files         = `git ls-files`.split("\n")
  s.require_paths = %w(lib)

  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/minad/mimemagic'
  s.license = 'MIT'

  s.add_development_dependency('minitest', '~> 5.11')
  s.add_development_dependency('rake')

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

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/mimemagic-0.3.5/mimemagic.gemspec
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/mimemagic-0.3.5/mimemagic.gemspec
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/mimemagic-0.3.4/mimemagic.gemspec
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/mimemagic-0.3.4/mimemagic.gemspec