Sha256: ae5a5eaa0b40d9c599f4d3b5f76bcaa435c97ca018ba0696773227eecb1cd449

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

# frozen_string_literal: true

require_relative 'lib/tidy_json/version'
require_relative 'lib/tidy_json/dedication'

Gem::Specification.new do |spec|
  spec.name        = 'tidy_json'
  spec.version     = TidyJson::VERSION
  spec.date        = Time.now.to_s[0..9]
  spec.summary     = 'Serialize any Ruby object as readable JSON'
  spec.description = 'A mixin providing (recursive) JSON serialization and pretty printing.'
  spec.authors     = ['Robert Di Pardo']
  spec.email       = 'dipardo.r@gmail.com'
  spec.homepage    = 'https://github.com/rdipardo/tidy_json'
  spec.metadata    = { 'documentation_uri' => 'https://rubydoc.org/github/rdipardo/tidy_json/master' }
  spec.license     = 'MIT'
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
    ['.yardopts'].concat(`git ls-files -z`.split("\x0").reject { |f| f.match(/^(\.[\w+\.]+|test|spec|features)/) })
  end
  spec.test_files = Dir['test/*']
  spec.require_paths = ['lib']
  spec.required_ruby_version = Gem::Requirement.new('>= 2.3')
  spec.add_runtime_dependency 'json', '~> 2.2'
  spec.add_development_dependency 'test-unit', '~> 3.3'
  spec.add_development_dependency 'yard', '~> 0.9'
  spec.rdoc_options = ['-x test/*']
  spec.post_install_message = TidyJson::DEDICATION
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tidy_json-0.2.2 tidy_json.gemspec