-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathunmarkdown.gemspec
More file actions
26 lines (21 loc) · 860 Bytes
/
Copy pathunmarkdown.gemspec
File metadata and controls
26 lines (21 loc) · 860 Bytes
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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'unmarkdown/version'
Gem::Specification.new do |spec|
spec.name = 'unmarkdown'
spec.version = Unmarkdown::VERSION
spec.authors = ['Sam Soffes']
spec.email = ['sam@soff.es']
spec.summary = 'Convert HTML to Markdown'
spec.homepage = 'https://github.com/soffes/unmarkdown'
spec.license = 'MIT'
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 1.9.2'
spec.add_development_dependency 'bundler', '~> 2.0'
# HTML parsing
spec.add_dependency 'nokogiri', '~> 1.0'
end