ソースを参照

Bump gem ref and update changed exception name

pull/1/head
Adrian Short 5年前
コミット
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

読み込み中…
キャンセル
保存