Sha256: b629499666ae3a9739ab700ae58c0b86b02d1b983f42bd56d7b073a464b847f2

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "rack/x_robots_tag"

Gem::Specification.new do |spec|
  spec.name          = "rack-x_robots_tag"
  spec.version       = Rack::XRobotsTag::VERSION
  spec.authors       = ["Dwight Watson"]
  spec.email         = ["dwight@myrent.co.nz"]

  spec.summary       = "Rack middleware that adds X-Robots-Tag header."
  spec.homepage      = "http://github.com/my-rent/rack-x_robots_tag"
  spec.license       = "MIT"

  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  # to allow pushing to a single host or delete this section to allow pushing to any host.
  # if spec.respond_to?(:metadata)
  #   spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
  # else
  #   raise "RubyGems 2.0 or newer is required to protect against " \
  #     "public gem pushes."
  # end

  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 2.2.10"
  spec.add_development_dependency "rake", "~> 12.3.3"
  spec.add_development_dependency "rspec", "~> 3.0"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rack-x_robots_tag-1.4.0 rack-x_robots_tag.gemspec
rack-x_robots_tag-1.3.0 rack-x_robots_tag.gemspec