Sha256: cce42088448a7f5cfa947f0b8128d1d5b0c84c5df0f51c0ef46fd1ceef6af128

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "rack/subdomain/version"

Gem::Specification.new do |s|
  s.name        = "rack-subdomain"
  s.authors     = ["Mattt", "Piotr Sarnacki"]
  s.email       = "mattt@me.com"
  s.license     = "MIT"
  s.homepage    = "http://github.com/mattt/rack-subdomain"
  s.version     = Rack::Subdomain::VERSION
  s.platform    = Gem::Platform::RUBY
  s.summary     = "rack-subdomain"
  s.description = "Rack middleware to route requests with subdomains to specified routes with substitutions"

  s.add_runtime_dependency "rack", "~> 1.2", "< 2.0.0"

  s.add_dependency "ipaddress", "~> 0.8.0"

  s.add_development_dependency "rspec"
  s.add_development_dependency "rake"
  s.add_development_dependency "minitest",  "~> 2.11"
  s.add_development_dependency "rack-test", "~> 0.6"

  s.files         = Dir["./**/*"].reject { |file| file =~ /\.\/(bin|log|pkg|script|spec|test|vendor)/ }
  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"]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rack-subdomain-0.4.1 ./rack-subdomain.gemspec
rack-subdomain-0.4.0 ./rack-subdomain.gemspec