Sha256: 5314576bb01da04adf76ff117f5a56ea229a4a6ac5a03932f463c4b08634d5f3
Contents?: true
Size: 875 Bytes
Versions: 1
Compression:
Stored size: 875 Bytes
Contents
# frozen_string_literal: true module TidyJson # :nodoc: class JtidyInfo NOTICE = [ '#', '# jtidy is in no way affiliated with, nor based on, ', '# the HTML parser and pretty printer of the same name.', '#', '# The JTidy source code and binaries are licensed under', '# the terms of the Zlib-Libpng License.', '#', '# More information is available here:', '# https://github.com/jtidy/jtidy/blob/master/LICENSE.txt', '#' ].join("\n").freeze attr_reader :meta def initialize gem = Gem::Specification.find_by_name('tidy_json') @meta = { name: "jtidy #{gem.version}", license: "License: #{gem.license}", bugs: "Bugs: #{gem.metadata['bug_tracker_uri']}", notice: NOTICE } end def to_s (@meta.values.join "\n").freeze end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tidy_json-0.4.0 | bin/jtidy_info.rb |