adops_report_scrapper 0.1.55 → 0.1.56

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: c6e15169abadc3d8f7d99cee1e998c84e412dcdb
4
- data.tar.gz: 79412efbe81be13f541ec7914cb370adeea100fe
3
+ metadata.gz: fb0e66c7b3c801d20694f0a8aa3a5d8ca5e1784d
4
+ data.tar.gz: bab01282bfbe76983fa15d9364c774e7f1271428
5
5
  SHA512:
6
- metadata.gz: 4ae1227c6b64e4b446e92e283c1d05a3294bbbe792a7ed5d7207859c3a83291fbf6afce3aa3beab7b37a0558ff1543c4b5735ba8a27c6cf340fe3cc4688d5450
7
- data.tar.gz: 20f8eef35e4ffb97da3087b0fed2a6fdc77eed8052ffb98d969d1d2c02c0006c481e929a03aefcd6fef981e7bceb1d0df0fef37f216b61c9de0fb2e9b5d79bea
6
+ metadata.gz: 6ef8efea05cfb1e38032d1274bf5fec380cab9de6e5272abe9c466a4923b797210fd2e4186d05f5422aeff277973628235527a7f8f582612445e6a4f93d151a7
7
+ data.tar.gz: 948cbc5fc6dd95818f5f5c88c762a10c1fb439224da713772cf487cea0078ed0888b106b1174c2b4d51e70e8614f35c46e1a6a070001519d45f01997c3925c24
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.56
4
+ fix for adtechus beta
5
+
3
6
  ## 0.1.55
4
7
  improve positivemobile
5
8
 
@@ -10,7 +10,7 @@ class AdopsReportScrapper::AdtechusClient < AdopsReportScrapper::BaseClient
10
10
  @client.fill_in 'Password', :with => @secret
11
11
  @client.click_button 'Sign in'
12
12
  begin
13
- @client.find :css, '#mainwindow'
13
+ @client.find :xpath, '//*[text()="REPORTING"]'
14
14
  rescue Exception => e
15
15
  raise e, 'Adtechus login error'
16
16
  end
@@ -21,6 +21,8 @@ class AdopsReportScrapper::AdtechusClient < AdopsReportScrapper::BaseClient
21
21
  end
22
22
 
23
23
  def request_report
24
+ @client.find(:xpath, '//*[text()="REPORTING"]').click
25
+ wait_for_loading
24
26
  @client.visit(@client.find(:css, '#mainwindow')[:src])
25
27
  wait_for_loading
26
28
  report_id = @client.find_all(:xpath, '//tr[./td/div/span[text()="Placement fill rate report"]]')[-1][:id]
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.1.55"
2
+ VERSION = "0.1.56"
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.55
4
+ version: 0.1.56
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-10 00:00:00.000000000 Z
11
+ date: 2017-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient