A Ruby gem to get planning applications data from UK council websites.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

uk_planning_scraper.gemspec 1.4 KiB

преди 6 години
преди 6 години
123456789101112131415161718192021222324252627282930313233343536
  1. # coding: utf-8
  2. lib = File.expand_path("../lib", __FILE__)
  3. $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
  4. require "uk_planning_scraper/version"
  5. Gem::Specification.new do |spec|
  6. spec.name = "uk_planning_scraper"
  7. spec.version = UKPlanningScraper::VERSION
  8. spec.authors = ["Adrian Short"]
  9. spec.summary = %q{Get planning applications data from UK council websites.}
  10. # spec.description = %q{TODO: Write a longer description or delete this line.}
  11. spec.homepage = "https://github.com/adrianshort/uk_planning_scraper/"
  12. # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  13. # to allow pushing to a single host or delete this section to allow pushing to any host.
  14. if spec.respond_to?(:metadata)
  15. spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
  16. else
  17. raise "RubyGems 2.0 or newer is required to protect against " \
  18. "public gem pushes."
  19. end
  20. spec.files = `git ls-files -z`.split("\x0").reject do |f|
  21. f.match(%r{^(test|spec|features)/})
  22. end
  23. spec.bindir = "exe"
  24. spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  25. spec.require_paths = ["lib"]
  26. spec.add_development_dependency "bundler", "~> 1.15"
  27. spec.add_development_dependency "rake", "~> 10.0"
  28. spec.add_runtime_dependency "mechanize", "~> 2.7"
  29. spec.add_runtime_dependency "http"
  30. end