forked from mjpete3/x12
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathx12.gemspec
36 lines (30 loc) · 1.6 KB
/
x12.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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'x12'
Gem::Specification.new do |gem|
gem.name = 'tcd_x12'
gem.version = X12::VERSION
gem.authors = ['Marty Petersen', 'Clay Dunston']
gem.email = ['themooseman@comcast.net']
gem.description = 'A gem to handle parsing and generation of ANSI X12 documents. Currently tested with Ruby >= 1.9.2. Gem supports X12 EDI transactions 270, 997, 837p and 835. Anyone wanting to create additional XML files for other transactions welcomed.'
gem.summary = 'A gem to handle parsing and generation of ANSI X12 documents'
gem.homepage = 'https://github.com/tcd/x12'
gem.licenses = 'GPL-2.0-or-later'
gem.metadata = {
'homepage_uri' => gem.homepage,
'source_code_uri' => gem.homepage,
'documentation_uri' => "https://www.rubydoc.info/gems/tcd_x12/#{gem.version}",
'changelog_uri' => 'https://github.com/tcd/tcd_x12/blob/master/CHANGELOG.md',
'yard.run' => 'yri' # use "yard" to build full HTML docs.
}
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
gem.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
gem.require_paths = ['lib']
gem.add_development_dependency 'minitest', '~> 5.0'
gem.add_development_dependency 'rake', '~> 10.0'
gem.add_development_dependency 'simplecov'
gem.add_runtime_dependency 'libxml-ruby', '~> 3.1'
end