Skip to content

Commit

Permalink
Merge pull request #2 from everypolitician-scrapers/revert-1-scraped-…
Browse files Browse the repository at this point in the history
…page-archive

Revert "Add scraped_page_archive"
  • Loading branch information
ondenman committed Sep 5, 2016
2 parents 978571a + 0aff63c commit 4175871
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 28 deletions.
1 change: 0 additions & 1 deletion Gemfile
Expand Up @@ -14,4 +14,3 @@ gem "nokogiri"
gem "open-uri-cached"
gem "fuzzy_match"
gem 'wikidata-client', '~> 0.0.7', require: 'wikidata'
gem 'scraped_page_archive'
24 changes: 0 additions & 24 deletions Gemfile.lock
Expand Up @@ -10,20 +10,15 @@ GIT
GEM
remote: https://rubygems.org/
specs:
addressable (2.4.0)
coderay (1.1.0)
colorize (0.7.7)
crack (0.4.3)
safe_yaml (~> 1.0.0)
excon (0.45.4)
execjs (2.5.2)
faraday (0.9.1)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.10.0)
faraday (>= 0.7.4, < 0.10)
fuzzy_match (2.1.0)
git (1.3.0)
hashdiff (0.3.0)
hashie (3.4.2)
httpclient (2.6.0.1)
method_source (0.8.2)
Expand All @@ -36,22 +31,10 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
safe_yaml (1.0.4)
scraped_page_archive (0.3.1)
git (~> 1.3.0)
vcr-archive (~> 0.3.0)
slop (3.6.0)
sqlite3 (1.3.10)
sqlite_magic (0.0.3)
sqlite3
vcr (3.0.3)
vcr-archive (0.3.0)
vcr (~> 3.0.2)
webmock (~> 2.0.3)
webmock (2.0.3)
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff
wikidata-client (0.0.7)
excon (~> 0.40)
faraday (~> 0.9)
Expand All @@ -68,12 +51,5 @@ DEPENDENCIES
nokogiri
open-uri-cached
pry
scraped_page_archive
scraperwiki!
wikidata-client (~> 0.0.7)

RUBY VERSION
ruby 2.0.0p648

BUNDLED WITH
1.12.5
5 changes: 2 additions & 3 deletions scraper.rb
Expand Up @@ -7,9 +7,8 @@
require 'colorize'

require 'pry'
# require 'open-uri/cached'
# OpenURI::Cache.cache_path = '.cache'
require 'scraped_page_archive/open-uri'
require 'open-uri/cached'
OpenURI::Cache.cache_path = '.cache'

class String
def tidy
Expand Down

0 comments on commit 4175871

Please sign in to comment.