adops_report_scrapper 0.2.30 → 0.2.31

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: f49084c7ee64585fff30a1ae1ea1ccd554c864cd
4
- data.tar.gz: 00e1f92e1a64a9cd63faa6c73576dd46efc1cb37
3
+ metadata.gz: a2288a92f0ad862ac09e8e40f3f17c7ae70f803e
4
+ data.tar.gz: 1c4860ef79e575ac81bc0999e61ea17322c8b3eb
5
5
  SHA512:
6
- metadata.gz: 02bf5233112d6fc6be7fa06ca2be8a55d0f1577be38072396310782a77105a0774f7072840b6078fb4acfdba5de904b0be0a17cb29a4258f059d9757eb4421be
7
- data.tar.gz: a8aee043c69249a8a6c7797573dcf1c3efc55b93c2d9b1678a2f984fe89d5fa05e0eed6b6484e8366658ed7cc0f2aebe95bb24e6cf3e8f36ce5caabcf7cde448
6
+ metadata.gz: 7e990a5ee1eb7451e02ab969a7b809622d38b36b4504a404e3dd0102d2912e28c72721fe6102e84409d938c50697db6ebcb9605ee4e1a44a42088d5dbf11d6c7
7
+ data.tar.gz: 669e4b8d5cf3b70abe920769bbf27f0e11ddd3c1872f40bfb15329b2c0a61c160af7f3d175b381d97e8559b57fa853917af1a49261117146b48c00208b0062c5
@@ -37,7 +37,7 @@ class AdopsReportScrapper::RhythmoneClient < AdopsReportScrapper::BaseClient
37
37
  5.times do
38
38
  response = HTTPClient.get("https://api.portal.rhythmone.com/v1/publishers/#{@publisher_id}/reports/standard_report", { ad_dimension: 0, endDate: date_str, endDateType: 1, groupBy1: 1, groupByTimePeriodType: 1, rmp_placement: 0, startDate: date_str, startDatePredefined: 0, startDateType: 1 }, { 'Authorization' => "Bearer #{@access_token}" })
39
39
  data_obj = JSON.parse response.body
40
- if data_obj.is_a?(Array) && !response.body.include? 'Data is still processing'
40
+ if data_obj.is_a?(Array) && !response.body.include?('Data is still processing')
41
41
  flag_valid_data_found = true
42
42
  break
43
43
  end
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.2.30"
2
+ VERSION = "0.2.31"
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.30
4
+ version: 0.2.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stayman Hou