adops_report_scrapper 0.2.51 → 0.2.52

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: 95e4a8a2a1ff8e87d7e6c2fe7f05d845d53731d6
4
- data.tar.gz: 59fe2e9878044d575507c5df23c80da4f5a9e2c2
3
+ metadata.gz: cf42c1eb4ebc209d9f9b0a1ad5f5f59af72910f7
4
+ data.tar.gz: 017682bcfc1a756875f5ccae9b593a14a69c9ff1
5
5
  SHA512:
6
- metadata.gz: 35dbceaabb5e8d29f75aa9108601f89fbb614fde425cf235f13c078c35b66de22abdea7262443fc1ef675d7326f8971fea4387d708dbb32938bb73a9a75e7175
7
- data.tar.gz: f4b2165bc6b0b2c6b6cbde4a84b5a9674d8277fa9e028272fd00ea8fc17837a2e7a2eda1fe7324f460af653ad7a48d6aefdef7df1f71ad33abed51e6cf726109
6
+ metadata.gz: b8d9cd3c191a0c83a3ff5672605928d3f535a3a5b0cc68e31fd379855913152f31303b4bcb1acea763fa58a95aecd1cd4d43d74088304992377ac08c21aa6d4d
7
+ data.tar.gz: dfd4ef2b5331d255f3fdecd5bdd294b1e1b564459d92a8ced0a00bd256755f1c727f864fab06b5b6dd22f5744d08f09e431e01f97ede05deec62a0865cf0b8fa
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.2.52
4
+ fix aol client and sovrn
5
+
3
6
  ## 0.2.51
4
7
  add device breakdown for springserve
5
8
 
@@ -2,6 +2,13 @@ require 'date'
2
2
  require_relative 'base_client'
3
3
 
4
4
  class AdopsReportScrapper::AdaptvClient < AdopsReportScrapper::BaseClient
5
+ def init_client
6
+ Capybara.register_driver :selenium do |app|
7
+ Capybara::Selenium::Driver.new(app, :browser => :firefox)
8
+ end
9
+ @client = Capybara::Session.new(:selenium)
10
+ end
11
+
5
12
  private
6
13
 
7
14
  def login
@@ -2,6 +2,13 @@ require 'date'
2
2
  require_relative 'base_client'
3
3
 
4
4
  class AdopsReportScrapper::AdtechusClient < AdopsReportScrapper::BaseClient
5
+ def init_client
6
+ Capybara.register_driver :selenium do |app|
7
+ Capybara::Selenium::Driver.new(app, :browser => :firefox)
8
+ end
9
+ @client = Capybara::Session.new(:selenium)
10
+ end
11
+
5
12
  private
6
13
 
7
14
  def login
@@ -38,7 +38,7 @@ class AdopsReportScrapper::SovrnClient < AdopsReportScrapper::BaseClient
38
38
  end
39
39
  @client.fill_in 'login_username', :with => @login
40
40
  @client.fill_in 'login_password', :with => @secret
41
- @client.click_link 'Log In'
41
+ @client.click_button 'Log In'
42
42
  sleep 5
43
43
 
44
44
  begin
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.2.51"
2
+ VERSION = "0.2.52"
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.51
4
+ version: 0.2.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stayman Hou
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient