require File.join(%W[#{File.dirname(__FILE__)} lib yard-api version]) Gem::Specification.new do |s| s.name = 'yard-api' s.summary = "A YARD plugin for documenting APIs in Rails projects." s.description = <<-eof TBD eof s.version = YARD::APIPlugin::VERSION s.date = Time.now.strftime('%Y-%m-%d') s.authors = ["Ahmad Amireh"] s.email = 'ahmad@instructure.com' s.homepage = 'https://github.com/amireh/yard-api' s.files = Dir.glob("{config,lib,spec,templates,tasks}/**/*") + ['LICENSE', 'README.md', '.rspec', __FILE__] s.has_rdoc = 'yard' s.license = 'AGPL3' s.add_dependency 'yard', '0.8.7' s.add_dependency 'yard-appendix' s.add_development_dependency 'rspec' s.add_development_dependency 'gem-release' s.add_development_dependency 'byebug' if RUBY_VERSION > "1.9.3" end