Преглед на файлове

Bump gem ref and update changed exception name

pull/1/head
Adrian Short преди 6 години
родител
ревизия
d0d762414b
променени са 3 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. +1
    -1
      Gemfile
  2. +2
    -2
      Gemfile.lock
  3. +1
    -1
      scraper.rb

+ 1
- 1
Gemfile Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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

Зареждане…
Отказ
Запис