Browse Source

Bump gem ref and update changed exception name

pull/1/head
Adrian Short 6 years ago
parent
commit
d0d762414b
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      Gemfile
  2. +2
    -2
      Gemfile.lock
  3. +1
    -1
      scraper.rb

+ 1
- 1
Gemfile View File

@@ -6,5 +6,5 @@ source "https://rubygems.org"

ruby "2.3.1"

gem "uk_planning_scraper", git: "https://github.com/adrianshort/uk_planning_scraper.git", ref: "2e100bc"
gem "uk_planning_scraper", git: "https://github.com/adrianshort/uk_planning_scraper.git", ref: "7349fd6"
gem "scraperwiki", git: "https://github.com/openaustralia/scraperwiki-ruby.git", branch: "morph_defaults"

+ 2
- 2
Gemfile.lock View File

@@ -1,7 +1,7 @@
GIT
remote: https://github.com/adrianshort/uk_planning_scraper.git
revision: 2e100bc3c88964a08ef05691887a07cbc1d60e82
ref: 2e100bc
revision: 7349fd6470326964451f0405ffc92fc1c955e82a
ref: 7349fd6
specs:
uk_planning_scraper (0.2.0)
http


+ 1
- 1
scraper.rb View File

@@ -9,7 +9,7 @@ auths.each_with_index do |auth, i|
apps = auth.scrape({ decided_days: ENV['MORPH_DAYS'].to_i })
ScraperWiki.save_sqlite([:authority_name, :council_reference], apps)
puts "#{auth.name}: #{apps.size} application(s) saved."
rescue UKPlanningScraper::SystemNotSupportedError => e
rescue UKPlanningScraper::SystemNotSupported => e
puts e
end
end

Loading…
Cancel
Save