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 +4 -4
- data/CHANGELOG +3 -0
- data/lib/adops_report_scrapper/adtechus_client.rb +3 -1
- data/lib/adops_report_scrapper/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: fb0e66c7b3c801d20694f0a8aa3a5d8ca5e1784d
|
4
|
+
data.tar.gz: bab01282bfbe76983fa15d9364c774e7f1271428
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ef8efea05cfb1e38032d1274bf5fec380cab9de6e5272abe9c466a4923b797210fd2e4186d05f5422aeff277973628235527a7f8f582612445e6a4f93d151a7
|
7
|
+
data.tar.gz: 948cbc5fc6dd95818f5f5c88c762a10c1fb439224da713772cf487cea0078ed0888b106b1174c2b4d51e70e8614f35c46e1a6a070001519d45f01997c3925c24
|
data/CHANGELOG
CHANGED
@@ -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 :
|
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]
|
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.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-
|
11
|
+
date: 2017-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|