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: cfb65ce7d3da1bb5209a69439eb869ec9a3c5225
4
- data.tar.gz: e0ba0ec8e82eedd4d8c9e38e49705f9a59aa59a5
3
+ metadata.gz: 19d89b958d0f4d5fd4e37e0dad17197884411d70
4
+ data.tar.gz: 87de46d54d5020c22dd819e11fbc86473332f121
5
5
  SHA512:
6
- metadata.gz: 731376053a7266fbad4163060328bfc93b0e6c9964938ceaf22eaa5178019129a7cd827e64047f0b69f3cd3a93b120dd327a316fce60d69c38780b07c13abb43
7
- data.tar.gz: 2c57a200991140ed30c04146f1ebb623af3cb96f8ec052568efe89d69808fb51e252448c6378588cda3180e4ca4c7fa48fb4cc230fff39f7cda096d7586d3e55
6
+ metadata.gz: ac4741afc52119c8aaa92cd04dc9f6cb3944cf2f1027b2ed079e8caece386aad76e588df509163fc731d6924eddab47c7ae94c5d3dd1921fe6e347e07d54a6a7
7
+ data.tar.gz: 7e0ec9de3b88b5d4b5f24887baa63fef4ce049f4539981c01ee895e02dd63e0aa1e759a437cb27c992084e030faed56eec11e0721fb9ebb2f024bd3157a5e5ed
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.60
4
+ fix for google survey - google survey is getting slow
5
+
3
6
  ## 0.1.57
4
7
  fix for adaptv beta
5
8
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.1.59"
2
+ VERSION = "0.1.60"
3
3
  end
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.59
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-13 00:00:00.000000000 Z
11
+ date: 2017-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient