Merge pull request #3 from jellybob/externalise-source-data
Resolve issues around GPL compliance by making use of an externally provided database. Revert to MIT license.
Showing
ext/mimemagic/Rakefile
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
... | @@ -12,11 +12,14 @@ Gem::Specification.new do |s| | ... | @@ -12,11 +12,14 @@ Gem::Specification.new do |s| |
s.files = `git ls-files`.split("\n").reject { |f| f.match(%r{^(test|script)/}) } | s.files = `git ls-files`.split("\n").reject { |f| f.match(%r{^(test|script)/}) } | ||
s.require_paths = %w(lib) | s.require_paths = %w(lib) | ||
s.extensions = %w(ext/mimemagic/Rakefile) | |||
s.summary = 'Fast mime detection by extension or content' | 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.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.homepage = 'https://github.com/minad/mimemagic' | ||
s.license = 'GPL-2.0' | s.license = 'MIT' | ||
s.add_dependency('nokogiri', '~> 1.11.2') | |||
s.add_development_dependency('minitest', '~> 5.14') | s.add_development_dependency('minitest', '~> 5.14') | ||
s.add_development_dependency('rake', '~> 13.0') | s.add_development_dependency('rake', '~> 13.0') | ||
... | ... |
script/freedesktop.org.xml
deleted
100644 → 0
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
script/generate-mime.rb
deleted
100755 → 0
Please
register
or
sign in
to comment