adops_report_scrapper 0.2.33 → 0.2.34

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: 2c691bbb4d4fe5920fbb4b2a718ca81ff36b710f
4
- data.tar.gz: e3642185b69fd2bea0f62f61f5c29fc44b7dc62e
3
+ metadata.gz: cf4ac1a315226d668a8af808d33bd889b69ee081
4
+ data.tar.gz: 58225251358703f7d69cf821b020c7e918b55fdb
5
5
  SHA512:
6
- metadata.gz: a065b612f7dcee31d55758b12e2905359263f013051bb69ed9509bc1d40bdcaafa11c52c6c8f13af80077cc77dedae72f920d8ede7e9b37b98d48f96a855c84a
7
- data.tar.gz: 01e743ce8bed604c08c717b02b354dd7bece0a22898421cf4227fab8f4429075368b1721effd0aa9fbc2bf673aae10786a20106181042c441dc409835df4f3d6
6
+ metadata.gz: bb157ca70b584aeddc044b1f5523f8f622fd0d8890081cc1244b26217daf8e44289c57e779ae85bea8e52769d76a9aec083ccf55a92393036cc8381234a84d13
7
+ data.tar.gz: 271b472d8ffb9ad0a13207ac89cc1d12ee5b92047ebe3f63a18bfe99e205de97b48b73ec3aef539dbde6884cc180f940d0e4f3e36c90a2304c1fcf9b62df1e5b
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.2.34
4
+ fix sovrn
5
+
3
6
  ## 0.2.33
4
7
  add lkqd
5
8
 
@@ -39,6 +39,7 @@ class AdopsReportScrapper::SovrnClient < AdopsReportScrapper::BaseClient
39
39
  @client.fill_in 'login_username', :with => @login
40
40
  @client.fill_in 'login_password', :with => @secret
41
41
  @client.click_link 'Log In'
42
+ sleep 5
42
43
 
43
44
  begin
44
45
  @client.find :xpath, '//*[text()="Account"]'
@@ -60,15 +61,20 @@ class AdopsReportScrapper::SovrnClient < AdopsReportScrapper::BaseClient
60
61
  @client.visit 'https://meridian.sovrn.com/#account/my_downloads'
61
62
  sleep 5
62
63
  end
63
- @client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
64
64
 
65
65
  @client.fill_in 'adstats-date-range-start-month', :with => @date.strftime('%m')
66
+ @client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
66
67
  @client.fill_in 'adstats-date-range-start-day', :with => @date.strftime('%d')
68
+ @client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
67
69
  @client.fill_in 'adstats-date-range-start-year', :with => @date.strftime('%Y')
70
+ @client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
68
71
 
69
72
  @client.fill_in 'adstats-date-range-end-month', :with => @date.strftime('%m')
73
+ @client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
70
74
  @client.fill_in 'adstats-date-range-end-day', :with => @date.strftime('%d')
75
+ @client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
71
76
  @client.fill_in 'adstats-date-range-end-year', :with => @date.strftime('%Y')
77
+ @client.find(:xpath, '//input[@value="domestic_and_international"]').set(true)
72
78
 
73
79
  @client.find_all(:xpath, '//button[text()=" Download "]').first.click
74
80
 
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.2.33"
2
+ VERSION = "0.2.34"
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.2.33
4
+ version: 0.2.34
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-07-24 00:00:00.000000000 Z
11
+ date: 2017-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient