-
Notifications
You must be signed in to change notification settings - Fork 0
/
factory.gemspec
executable file
·28 lines (23 loc) · 977 Bytes
/
factory.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'factory/version'
Gem::Specification.new do |spec|
spec.name = "factory"
spec.version = Factory::VERSION
spec.authors = ["Ben Delsol"]
spec.summary = "A mixin implementing the Factory design pattern via Ruby meta-programming."
spec.description = ""
spec.homepage = "https://github.com/bdiz/factory"
orig = $VERBOSE; $VERBOSE = nil
spec.files = `git ls-files`.split($/)
$VERBOSE = orig
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_development_dependency "rake", "0.8.7"
spec.add_development_dependency "rdoc"
spec.extra_rdoc_files = Dir.glob("doc/*.rdoc")
spec.has_rdoc = true
spec.rdoc_options += ["--title=Factory API", "--main=README.rdoc"]
end