lobbyliste 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lobbyliste/downloader.rb +1 -1
- data/lib/lobbyliste/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a12241f9be528d8a5fd86da5393bffd98c04a232
|
4
|
+
data.tar.gz: ab3c4da861aa0a0ea365c986bfa884406150d54a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f87912d2534cdbdee3a34a01d6039c7932318ca7442f1ba74d49b912b23ef310a1cea57d33aeaab75b4798779c93d7e1c17e94b8ec9b6a75df8e0680b8a42d41
|
7
|
+
data.tar.gz: 70ed4e982d97b2d70cca494e9502f1fffd54a8fb99786aeb7685d6f4a1dc13a33384502704260ad28273519db0e9f1db866835fb19e1735c4b7bf93c3ca8d7e6
|
@@ -43,7 +43,7 @@ module Lobbyliste
|
|
43
43
|
# @return [String] the link to the Lobbyliste pdf
|
44
44
|
def fetch_pdf_link
|
45
45
|
website = Nokogiri::HTML(open("https://www.bundestag.de/dokumente/lobbyliste"))
|
46
|
-
link = website.css("
|
46
|
+
link = website.css("a[title^='Aktuelle Fassung']").first
|
47
47
|
|
48
48
|
raise "Could no find PDF link on the website!" unless link
|
49
49
|
@pdf_link = "https://bundestag.de#{link['href']}"
|
data/lib/lobbyliste/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lobbyliste
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DarthMax
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|