adops_report_scrapper 0.1.59 → 0.1.60
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19d89b958d0f4d5fd4e37e0dad17197884411d70
|
4
|
+
data.tar.gz: 87de46d54d5020c22dd819e11fbc86473332f121
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac4741afc52119c8aaa92cd04dc9f6cb3944cf2f1027b2ed079e8caece386aad76e588df509163fc731d6924eddab47c7ae94c5d3dd1921fe6e347e07d54a6a7
|
7
|
+
data.tar.gz: 7e0ec9de3b88b5d4b5f24887baa63fef4ce049f4539981c01ee895e02dd63e0aa1e759a437cb27c992084e030faed56eec11e0721fb9ebb2f024bd3157a5e5ed
|
data/CHANGELOG
CHANGED
@@ -40,7 +40,7 @@ class AdopsReportScrapper::BaseClient
|
|
40
40
|
|
41
41
|
def init_client
|
42
42
|
Capybara.register_driver :poltergeist do |app|
|
43
|
-
Capybara::Poltergeist::Driver.new(app, :phantomjs => Phantomjs.path)
|
43
|
+
Capybara::Poltergeist::Driver.new(app, :phantomjs => Phantomjs.path, :timeout => 60)
|
44
44
|
end
|
45
45
|
Capybara.default_max_wait_time = 10
|
46
46
|
@client = Capybara::Session.new(:poltergeist)
|
@@ -39,7 +39,7 @@ class AdopsReportScrapper::GcsClient < AdopsReportScrapper::BaseClient
|
|
39
39
|
name: site.text(:all),
|
40
40
|
url: site[:href].sub('settings', 'report')
|
41
41
|
}
|
42
|
-
end
|
42
|
+
end.reject { |site| site[:url].include? 'websat' }
|
43
43
|
@data = []
|
44
44
|
n_sites.each do |site|
|
45
45
|
request_report site
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adops_report_scrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.60
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stayman Hou
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|