Injecting configuration and compiling...
[1G [1G-----> Ruby app detected
[1G-----> Compiling Ruby
[1G-----> Using Ruby version: ruby-2.3.3
[1G-----> Installing dependencies using bundler 1.15.2
[1G Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
[1G Fetching gem metadata from https://rubygems.org/.........
[1G Fetching version metadata from https://rubygems.org/..
[1G Fetching dependency metadata from https://rubygems.org/.
[1G Fetching https://github.com/everypolitician/everypolitician-ruby.git
[1G Fetching https://github.com/openc/sqlite_magic.git
[1G Fetching https://github.com/openaustralia/scraperwiki-ruby.git
[1G Fetching https://github.com/everypolitician/wikisnakker.git
[1G Fetching https://github.com/everypolitician/wikidata-fetcher.git
[1G Fetching rake 12.0.0
[1G Fetching activesupport-inflector 0.1.0
[1G Fetching ast 2.3.0
[1G Installing ast 2.3.0
[1G Installing activesupport-inflector 0.1.0
[1G Installing rake 12.0.0
[1G Using bundler 1.15.2
[1G Fetching coderay 1.1.1
[1G Fetching colorize 0.8.1
[1G Installing colorize 0.8.1
[1G Installing coderay 1.1.1
[1G Fetching diskcached 1.1.3
[1G Fetching unf_ext 0.0.7.4
[1G Fetching require_all 1.4.0
[1G Installing unf_ext 0.0.7.4 with native extensions
[1G Installing require_all 1.4.0
[1G Fetching excon 0.55.0
[1G Installing diskcached 1.1.3
[1G Fetching multipart-post 2.0.0
[1G Installing excon 0.55.0
[1G Installing multipart-post 2.0.0
[1G Fetching hashie 3.5.5
[1G Installing hashie 3.5.5
[1G Fetching httpclient 2.8.3
[1G Fetching i18n 0.8.1
[1G Installing httpclient 2.8.3
[1G Installing i18n 0.8.1
[1G Fetching json 2.1.0
[1G Installing json 2.1.0 with native extensions
[1G Fetching method_source 0.8.2
[1G Installing method_source 0.8.2
[1G Fetching mime-types-data 3.2016.0521
[1G Installing mime-types-data 3.2016.0521
[1G Fetching mini_portile2 2.1.0
[1G Installing mini_portile2 2.1.0
[1G Fetching netrc 0.11.0
[1G Installing netrc 0.11.0
[1G Fetching open-uri-cached 0.0.5
[1G Installing open-uri-cached 0.0.5
[1G Fetching powerpack 0.1.1
[1G Installing powerpack 0.1.1
[1G Fetching slop 3.6.0
[1G Installing slop 3.6.0
[1G Fetching ruby-progressbar 1.8.1
[1G Installing ruby-progressbar 1.8.1
[1G Fetching unicode-display_width 1.2.1
[1G Installing unicode-display_width 1.2.1
[1G Fetching sqlite3 1.3.13
[1G Installing sqlite3 1.3.13 with native extensions
[1G Fetching yajl-ruby 1.3.0
[1G Installing yajl-ruby 1.3.0 with native extensions
[1G Fetching parser 2.4.0.0
[1G Installing parser 2.4.0.0
[1G Fetching rainbow 2.2.2
[1G Installing rainbow 2.2.2 with native extensions
[1G Fetching everypolitician-popolo 0.8.0
[1G Installing everypolitician-popolo 0.8.0
[1G Fetching faraday 0.12.1
[1G Installing faraday 0.12.1
[1G Fetching mime-types 3.1
[1G Installing mime-types 3.1
[1G Fetching nokogiri 1.7.1
[1G Fetching pry 0.10.4
[1G Installing pry 0.10.4
[1G Fetching unf 0.1.4
[1G Installing unf 0.1.4
[1G Using wikisnakker 0.9.1 from https://github.com/everypolitician/wikisnakker.git (at master@72dbb8b)
[1G Using sqlite_magic 0.0.6 from https://github.com/openc/sqlite_magic.git (at master@4df975e)
[1G Using everypolitician 0.20.0 from https://github.com/everypolitician/everypolitician-ruby.git (at master@20582b1)
[1G Fetching faraday_middleware 0.11.0.1
[1G Fetching domain_name 0.5.20170404
[1G Installing faraday_middleware 0.11.0.1
[1G Installing domain_name 0.5.20170404
[1G Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)
[1G Fetching rubocop 0.48.1
[1G Fetching wikidata-client 0.0.10
[1G Installing wikidata-client 0.0.10
[1G Installing rubocop 0.48.1
[1G Installing nokogiri 1.7.1 with native extensions
[1G Fetching http-cookie 1.0.3
[1G Installing http-cookie 1.0.3
[1G Fetching faraday-cookie_jar 0.0.6
[1G Installing faraday-cookie_jar 0.0.6
[1G Fetching rest-client 2.0.2
[1G Installing rest-client 2.0.2
[1G Fetching mediawiki_api 0.7.1
[1G Installing mediawiki_api 0.7.1
[1G Using wikidata-fetcher 0.20.0 from https://github.com/everypolitician/wikidata-fetcher.git (at master@73de709)
[1G Bundle complete! 14 Gemfile dependencies, 47 gems now installed.
[1G Gems in the groups development and test were not installed.
[1G Bundled gems are installed into ./vendor/bundle.
[1G Bundle completed (33.37s)
[1G Cleaning up the bundler cache.
[1G-----> Detecting rake tasks
[1G
[1G [1G-----> Discovering process types
[1G Procfile declares types -> scraper
Injecting scraper and running...
scraper.rb:16:in `rescue in sparql': Wikidata query SELECT DISTINCT ?item ?itemLabel ?start_date ?end_date ?partyLabel ?termID (RuntimeError)
WHERE {
?item p:P39 ?statement .
?statement ps:P39 wd:Q19367406 ; pq:P2937 wd:Q29581248 .
OPTIONAL { ?statement pq:P580 ?start_date }
OPTIONAL { ?statement pq:P582 ?end_date }
OPTIONAL { ?statement pq:P1268 ?party }
OPTIONAL {
?statement pq:P2937 ?term .
?term p:P31 ?instance_statement .
?instance_statement pq:P1545 ?termID .
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "mt,en" . }
}
failed: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
from scraper.rb:13:in `sparql'
from scraper.rb:36:in `<main>'