x12.gemspec in tcd_x12-1.6.2 vs x12.gemspec in tcd_x12-1.6.3

- old
+ new

@@ -9,20 +9,27 @@ 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 - gem.metadata['source_code_uri'] = 'https://github.com/tcd/x12' + 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_dependency 'libxml-ruby', '~> 3.1' + gem.add_development_dependency 'minitest', '~> 5.0' gem.add_development_dependency 'rake', '~> 10.0' gem.add_development_dependency 'simplecov' end