adops_report_scrapper 0.1.18 → 0.1.19

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: d3056f3fd537f72a8ac50256f77fa041fcb1ee07
4
- data.tar.gz: e63c1d5537116a831f8297dfa269143c360680f1
3
+ metadata.gz: 040bb4999a389ac0c4062bab0f3ea24ba1c4b7ee
4
+ data.tar.gz: abac49b6458516b4ae88288f2d25aa109b00274f
5
5
  SHA512:
6
- metadata.gz: 2956440a81269f64b70875a48724a88add32cf4489e6ad0279a84605962bddf243116bb28f08153c3a6fadaf40a8d07e98df199f288b814df06fb0059d241609
7
- data.tar.gz: 904cebebc6bfcabe4fbcc6dd30a7a5d173e0f6cd9ccc9471a9cb1b16b6e34bea8579a9ed88cc0161d254d50fce95d9476690a903e4e0a132e86093c3b7226461
6
+ metadata.gz: 462a18889cee5235262fc44abb68fa2872eaf082b2b1f525d94994ade3c0f5041cb808ae97593c7d4011a8062e6e800c7bc2edc23a65b658544ea1dc6d1cf562
7
+ data.tar.gz: e4e03bf4f83411837ef3d81e948a4f34c1f3a02167685d21502d09aeed701f7631d131f7eb1c34945ee52d71d0ccbf1be9ce9d6308f66ccb70e1065a024fa466
@@ -22,6 +22,9 @@ class AdopsReportScrapper::AdaptvClient < AdopsReportScrapper::BaseClient
22
22
  end
23
23
 
24
24
  def request_report
25
+ sleep 1
26
+ @client.find(:xpath, '//*[text()="Close"]').click if @client.find_all(:xpath, '//*[text()="Close"]').count > 0
27
+
25
28
  @client.find(:xpath, '//*[text()="Analytics"]').click
26
29
  @client.find(:xpath, '//*[text()="Reports"]').click
27
30
  wait_for_spin
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.1.18"
2
+ VERSION = "0.1.19"
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.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stayman Hou
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-28 00:00:00.000000000 Z
11
+ date: 2016-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient