adops_report_scrapper 0.1.68 → 0.1.69

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: fa336233d3472d0371dd0a938fc9f660d282340b
4
- data.tar.gz: db0b5ace62049f7553bda317e2a3ed1bd350045e
3
+ metadata.gz: b57c737ccfc9f5d880ce391d9f355dedaf8bbc70
4
+ data.tar.gz: a5f2495fa1de0149097f909691a285aa14720bdc
5
5
  SHA512:
6
- metadata.gz: f1eac7832f17801c2a0dba5b1c2e577b04326e79c190d13fca0020dc38cc049404daa421df91d540ba796afe2e01a6f08fd67b303148a62bd52dca40dbf1439f
7
- data.tar.gz: 2d2083f2ca38370e2d6e3d2586f3e61220b37d39f6a8e5c7dbbea3d952a12b45f877a4b252c41ef9268a1facb8e2c9bc2b5c83ea8e600abf37c5c1677d3bc3c8
6
+ metadata.gz: cd3b2a29fb54892ee2dfbec9731ee2c5cc72b9eeb4c54d82d15b2972427761e0504ba4be9e1cf49a2c186bb086b1ffad3b4102da97a42bce01c54a638f75fadf
7
+ data.tar.gz: 822e3682bafe46d6b90b2b9a5f73094245d5f1c877890134a7d714622e5f99d70d96cced0ac4c369c79778a708ac80543d23d652bbaf5ed38de487e796bec538
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.69
4
+ fix criteo
5
+
3
6
  ## 0.1.68
4
7
  fix adtechus
5
8
 
@@ -20,6 +20,6 @@ class AdopsReportScrapper::CriteoClient < AdopsReportScrapper::BaseClient
20
20
  data = JSON.parse response.body
21
21
  header = data[0].keys
22
22
  @data = [header]
23
- @data += data.map { |datum| header.map { |key| datum[key].is_a?(Hash) ? datum[key]['value'] : datum[key] } }
23
+ @data += data.select { |datum| datum['date'].split('T')[0] == date_str }.map { |datum| header.map { |key| datum[key].is_a?(Hash) ? datum[key]['value'] : datum[key] } }
24
24
  end
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.1.68"
2
+ VERSION = "0.1.69"
3
3
  end
data/secret.sample.yml CHANGED
@@ -128,3 +128,6 @@ gumgum:
128
128
  secret: ------
129
129
  options:
130
130
  product: ------
131
+ yume:
132
+ login: ------
133
+ secret: ------
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.68
4
+ version: 0.1.69
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-03-15 00:00:00.000000000 Z
11
+ date: 2017-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient