adops_report_scrapper 0.2.22 → 0.2.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 733daef4780a1a787e5224a1e0c4ea5393a1e702
4
- data.tar.gz: 2e6fd95b75d7ada0e4ae33807fec3ec49e5ecd23
3
+ metadata.gz: c35a29d6fc5cfcb3c3a6278a218322a76197961b
4
+ data.tar.gz: 45285d83a684001446a0abb09855a703f6e54973
5
5
  SHA512:
6
- metadata.gz: 08801ecb1f99e899c7bc929d7e6fecc1581d694263c30bd2dbc36a64b007229d2718b9bc6e61daa0004e4f12f15274a0cb530a2165cb1f1de1be5758ca252b64
7
- data.tar.gz: 6825200fd8451a0096c331b6a8526008ee3c62123b6ba529c8b9c3c1c06609caecdef181afe938b6c702298fc26bc24cb349b0207e1d0c491259e75abc8e2627
6
+ metadata.gz: 45cde7937c665c815c4b00b672ddf64b785d3c87d57023b92d1189b26ff27b55c6f27e29d67e3904912a477ce37663b8ebc70cea0a82129e0ff442371277b770
7
+ data.tar.gz: df470afc8451f7acf1e1a5bd07e161edced30016666abaf4d4cc8e229654af3712c45d9e51746c711811cc21970e53af44195470923271543f07ff1ded46d7d4
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.2.23
4
+ fix sovrn when hit session expire page before login
5
+
3
6
  ## 0.2.22
4
7
  popads buyer
5
8
 
@@ -18,6 +18,10 @@ class AdopsReportScrapper::SovrnClient < AdopsReportScrapper::BaseClient
18
18
  sleep 1
19
19
  @client.find(:xpath, '//li[@data-value="logout"]').click
20
20
  end
21
+ if @client.find_all(:xpath, '//*[contains(text(),"Go to Login")]').count > 0
22
+ @client.find(:xpath, '//*[contains(text(),"Go to Login")]').click
23
+ sleep 1
24
+ end
21
25
  @client.fill_in 'login_username', :with => @login
22
26
  @client.fill_in 'login_password', :with => @secret
23
27
  @client.click_link 'Log In'
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.2.22"
2
+ VERSION = "0.2.23"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adops_report_scrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.22
4
+ version: 0.2.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stayman Hou