A Ruby gem to get planning applications data from UK council websites.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

uk_planning_scraper.gemspec 1.5 KiB

il y a 6 ans
il y a 6 ans
il y a 6 ans
1234567891011121314151617181920212223242526272829303132333435363738
  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_development_dependency "rspec", "~> 3.8.0"
  29. spec.add_development_dependency "simplecov", "~> 0.16.1"
  30. spec.add_runtime_dependency "mechanize", "~> 2.7"
  31. spec.add_runtime_dependency "http"
  32. end