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 +4 -4
- data/CHANGELOG +3 -0
- data/lib/adops_report_scrapper/positivemobile_client.rb +1 -0
- data/lib/adops_report_scrapper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6e15169abadc3d8f7d99cee1e998c84e412dcdb
|
4
|
+
data.tar.gz: 79412efbe81be13f541ec7914cb370adeea100fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ae1227c6b64e4b446e92e283c1d05a3294bbbe792a7ed5d7207859c3a83291fbf6afce3aa3beab7b37a0558ff1543c4b5735ba8a27c6cf340fe3cc4688d5450
|
7
|
+
data.tar.gz: 20f8eef35e4ffb97da3087b0fed2a6fdc77eed8052ffb98d969d1d2c02c0006c481e929a03aefcd6fef981e7bceb1d0df0fef37f216b61c9de0fb2e9b5d79bea
|
data/CHANGELOG
CHANGED
@@ -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)
|
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.
|
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-
|
11
|
+
date: 2017-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|