/
constructor.gemspec
25 lines (21 loc) · 1.02 KB
/
constructor.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "constructor/version"
Gem::Specification.new do |s|
s.name = "constructor"
s.version = Constructor::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Atomic Object"]
s.email = ["github@atomicobject.com"]
s.homepage = "http://atomicobject.github.com/constructor"
s.summary = %q{Declarative named-argument object initialization.}
s.description = %q{Declarative means to define object properties by passing a hash to the constructor, which will set the corresponding ivars.}
s.rubyforge_project = "constructor"
s.files = `git ls-files`.split("\n").reject {|f| f =~ /homepage/}
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_development_dependency "rspec", ">= 2"
s.add_development_dependency "rdoc"
s.add_development_dependency "rake", ">= 0.8.7"
end