Sha256: 20ebbae89b66cff279c760c095a0451bba452cef9964c667c2595b640af62d88
Contents?: true
Size: 1.43 KB
Versions: 1
Compression:
Stored size: 1.43 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"] #if spec.respond_to?(:metadata) #spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow pushes to any server." #end spec.add_dependency "yard", "~> 0.8" spec.add_dependency "contracts", "~> 0.7" spec.add_development_dependency "bundler", "~> 1.7" 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yard-contracts-0.1.0 | yard-contracts.gemspec |