forked from gjtorikian/commonmarker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commonmarker.gemspec
37 lines (31 loc) · 1.51 KB
/
commonmarker.gemspec
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
27
28
29
30
31
32
33
34
35
36
37
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'commonmarker/version'
Gem::Specification.new do |s|
s.name = 'commonmarker'
s.version = CommonMarker::VERSION
s.summary = 'CommonMark parser and renderer. Written in C, wrapped in Ruby.'
s.description = 'A fast, safe, extensible parser for CommonMark. This wraps the official libcmark library.'
s.authors = ['Garen Torikian', 'Ashe Connor']
s.homepage = 'https://github.com/gjtorikian/commonmarker'
s.license = 'MIT'
s.files = %w[LICENSE.txt README.md Rakefile commonmarker.gemspec bin/commonmarker]
s.files += Dir.glob('lib/**/*.rb')
s.files += Dir.glob('ext/commonmarker/*.*')
s.test_files = Dir.glob('test/**/*').reject { |f| f == 'test/benchinput.md' || f.start_with?('test/progit/') }
s.extensions = ['ext/commonmarker/extconf.rb']
s.executables = ['commonmarker']
s.require_paths = %w[lib ext]
s.required_ruby_version = ['>= 2.6', '< 4.0']
s.rdoc_options += ['-x', 'ext/commonmarker/cmark/.*']
s.add_development_dependency 'awesome_print'
s.add_development_dependency 'json', '~> 2.3'
s.add_development_dependency 'minitest', '~> 5.6'
s.add_development_dependency 'minitest-focus', '~> 1.1'
s.add_development_dependency 'rake'
s.add_development_dependency 'rake-compiler', '~> 0.9'
s.add_development_dependency 'rdoc', '~> 6.2'
s.add_development_dependency 'rubocop'
s.add_development_dependency 'rubocop-standard'
end