-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathyps.gemspec
More file actions
41 lines (34 loc) · 1.32 KB
/
Copy pathyps.gemspec
File metadata and controls
41 lines (34 loc) · 1.32 KB
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
38
39
40
41
# frozen_string_literal: true
require_relative 'lib/yps/version'
Gem::Specification.new do |spec|
spec.name = 'yps'
spec.version = YPS::VERSION
spec.authors = ['Taichi Ishitani']
spec.email = ['taichi730@gmail.com']
spec.summary = 'YPS: YAML Positioning System'
spec.description = 'YPS is a gem to parse YAML and add position information (file name, line and column) ' \
'to each parsed elements. This is useful for error reporting and debugging, ' \
'allowing developers to precisely locate an issue within the original YAML file.'
spec.homepage = 'https://github.com/taichi-ishitani/yps'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.1'
spec.metadata = {
'bug_tracker_uri' => "#{spec.homepage}/issues",
'changelog_uri' => "#{spec.homepage}/releases",
'documentation_uri' => 'https://taichi-ishitani.github.io/yps/',
'homepage_uri' => spec.homepage,
'rubygems_mfa_required' => 'true',
'source_code_uri' => spec.homepage
}
spec.files = Dir.chdir(__dir__) do
`git ls-files -z lib *.md *.txt`.split("\x0")
end
spec.require_paths = ['lib']
spec.extra_rdoc_files += spec.files.grep(%r{\A[^/]+\.(?:txt|md)\z})
spec.rdoc_options = [
'--main', 'README.md',
'--title', spec.summary,
'--show-hash',
'--line-numbers'
]
end