Sha256: b25c13e6f17239d3eb8f84a36e5d93a9d2a5610acf52623ce94f3ead6a9e2977

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

# -*- mode: ruby; coding: utf-8 -*-


File.expand_path('../lib', __FILE__)
  .tap {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}

require 'xot/module'


Gem::Specification.new do |s|
  glob = -> *patterns do
    patterns.map {|pat| Dir.glob(pat).to_a}.flatten
  end

  mod   = Xot::Module
  name  = mod.name.downcase
  rdocs = glob.call *%w[README]

  s.name        = name
  s.summary     = 'A Utility library for C++ developemt.'
  s.description = 'This library include some useful utility classes and functions for development with C++.'
  s.version     = mod.version

  s.authors  = %w[snori]
  s.email    = 'snori@xord.org'
  s.homepage = "http://github.com/xord/#{name}/wiki"

  s.platform              = Gem::Platform::RUBY
  s.required_ruby_version = '>=1.9.0'

  s.add_runtime_dependency 'rake'
  s.add_development_dependency 'gemcutter'

  s.files            = `git ls-files`.split $/
  s.executables      = s.files.grep(%r{^bin/}) {|f| File.basename f}
  s.test_files       = s.files.grep %r{^(test|spec|features)/}
  s.extra_rdoc_files = rdocs.to_a
  s.has_rdoc         = true

  s.extensions << 'Rakefile'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xot-0.1.7 xot.gemspec