-
Notifications
You must be signed in to change notification settings - Fork 20
/
annotate_gem.gemspec
28 lines (25 loc) · 1.19 KB
/
annotate_gem.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'annotate_gem/version'
Gem::Specification.new do |spec|
spec.name = "annotate_gem"
spec.version = AnnotateGem::VERSION
spec.authors = ["Ivan Tse"]
spec.email = ["[email protected]"]
spec.summary = AnnotateGem::DESCRIPTION
spec.description = <<-DESCRIPTION.gsub(/^\s+/, "").gsub(/\n/, " ")
Clarify your dependencies by adding a detailed comment to each line in Gemfile specifying the
gem's summary and its website if any.
DESCRIPTION
spec.homepage = "https://github.com/ivantsepp/annotate_gem"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_runtime_dependency "bundler", ">= 1.1"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency "mocha", "~> 1.1"
end