adops_report_scrapper 0.1.54 → 0.1.55

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: 62e2e15976fbf0aa7daa0441d9de058516ef430d
4
- data.tar.gz: 825e99eaa51a577e9e37e0e7560c832330bbedb3
3
+ metadata.gz: c6e15169abadc3d8f7d99cee1e998c84e412dcdb
4
+ data.tar.gz: 79412efbe81be13f541ec7914cb370adeea100fe
5
5
  SHA512:
6
- metadata.gz: 8b57d8303592a99ed2ab8209aaa8a67b444972535962b1e11d04d17f74c2c52d4210b6f3ef4a4046927b1391fc19a577d84bee06b498761618a6595c25f9d947
7
- data.tar.gz: 5053cc3043db4986253bc622235ae25efa042685f3fffd4a0ad976fb467a76f6ff149787ccd669c8a4650ba352d4cd9448fcfac2f04ca570fcb9be109056b021
6
+ metadata.gz: 4ae1227c6b64e4b446e92e283c1d05a3294bbbe792a7ed5d7207859c3a83291fbf6afce3aa3beab7b37a0558ff1543c4b5735ba8a27c6cf340fe3cc4688d5450
7
+ data.tar.gz: 20f8eef35e4ffb97da3087b0fed2a6fdc77eed8052ffb98d969d1d2c02c0006c481e929a03aefcd6fef981e7bceb1d0df0fef37f216b61c9de0fb2e9b5d79bea
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.55
4
+ improve positivemobile
5
+
3
6
  ## 0.1.54
4
7
  implement brightcom
5
8
 
@@ -61,6 +61,7 @@ class AdopsReportScrapper::PositivemobileClient < AdopsReportScrapper::BaseClien
61
61
 
62
62
  def extract_data_from_report
63
63
  rows = JSON.parse @response.body
64
+ return @data = [] if rows.empty?
64
65
  keys = rows.first.keys
65
66
  @data = [keys]
66
67
  @data += rows.map(&:values)
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.1.54"
2
+ VERSION = "0.1.55"
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.1.54
4
+ version: 0.1.55
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-08 00:00:00.000000000 Z
11
+ date: 2017-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient