Sha256: a1ab0c32e95f503457fde3b8c05021145fc094f27ac30ca71b7528e0d83bae49

Contents?: true

Size: 1.23 KB

Versions: 5

Compression:

Stored size: 1.23 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'yard-contracts/version'

Gem::Specification.new do |spec|
  spec.name          = "yard-contracts"
  spec.version       = YARDContracts::VERSION
  spec.authors       = ["Simon George"]
  spec.email         = ["simon@sfcgeorge.co.uk"]

  spec.summary       = %q{YARD Plugin for Automatic Param Docs from Contracts}
  spec.description   = %q{This YARD plugin uses Contracts and method signatures,
    merged with your optional docstring to automatically generate parameter
    documentation with type and description. It does the same for return.
  }
  spec.homepage      = "https://github.com/sfcgeorge/yard-contracts"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.require_paths = ["lib"]

  spec.add_dependency "yard", "~> 0.8"
  spec.add_dependency "contracts", "~> 0.7"

  spec.add_development_dependency "bundler", "~> 1.6"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec", "~> 3.2"
  spec.add_development_dependency "nokogiri", "~> 1.6"
  spec.add_development_dependency "kramdown", "~> 1.6"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yard-contracts-0.1.5 yard-contracts.gemspec
yard-contracts-0.1.4 yard-contracts.gemspec
yard-contracts-0.1.3 yard-contracts.gemspec
yard-contracts-0.1.2 yard-contracts.gemspec
yard-contracts-0.1.1 yard-contracts.gemspec