1 require File.expand_path('lib/mkdtemp/version.rb', File.dirname(__FILE__))
3 Gem::Specification.new do |s|
5 s.version = Dir::Mkdtemp::VERSION
6 s.author = 'Wincent Colaiuta'
7 s.email = 'win@wincent.com'
8 s.homepage = 'https://wincent.com/products/mkdtemp'
9 s.rubyforge_project = 'mkdtemp'
10 s.platform = Gem::Platform::RUBY
11 s.summary = 'Secure creation of temporary directories'
12 s.description = <<-ENDDESC
13 mkdtemp is a C extension that wraps the Standard C Library function
14 of the same name to make secure creation of temporary directories
15 easily available from within Ruby.
17 s.require_paths = ['ext', 'lib']
20 # TODO: add 'docs' subdirectory, 'README.txt' when they're done
21 s.files = Dir['lib/**/*', 'ext/*.{c,h,rb}', 'ext/depend']
22 s.extensions = ['ext/extconf.rb']
24 s.add_development_dependency 'rake'
25 s.add_development_dependency 'rspec', '~> 2.0'
26 s.add_development_dependency 'yard'