gregbeech/xenon

View on GitHub
xenon-routing/xenon-routing.gemspec

Summary

Maintainability
Test Coverage
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'xenon/routing_version'

Gem::Specification.new do |spec|
  spec.name          = 'xenon-routing'
  spec.version       = Xenon::ROUTING_VERSION
  spec.authors       = ['Greg Beech']
  spec.email         = ['greg@gregbeech.com']
  spec.summary       = %q{Tree-based routing to build RESTful APIs on Rack.}
  spec.description   = %q{Provides tree-based routing syntax for building RESTful APIs.}
  spec.homepage      = 'https://github.com/gregbeech/xenon'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(%r{^xenon-routing/bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^xenon-routing/(test|spec|features)/})
  spec.require_paths = ['lib']

  spec.required_ruby_version = '>= 2.2.0'

  spec.add_runtime_dependency 'rack', '~> 1.6'
  spec.add_runtime_dependency 'xenon-http', Xenon::ROUTING_VERSION
end