leanplum_api 4.0.1 → 4.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92bca9f613ba5eb8d2f4eebb6cc88fb29fc2a38b
|
4
|
+
data.tar.gz: 16979c3cae038e26c6873b6815ae7deefda268e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34f75c8514a7e7b8811a0a80bc35f699834fe3054c5c545d6737e19346d1d02b10c8090c91336f8297ad87eb45ab04d0464f8f9df5fa2d9c967fe89ae8601894
|
7
|
+
data.tar.gz: 8ded87e06e2ed7b5dee4b24f9888eef4c116cdbc829df41b031706ce2d0cbecdc4de2b9f0550e13148860a2fb3f4821702432732862d79d32222305486eab649
|
@@ -9,9 +9,8 @@ module LeanplumApi
|
|
9
9
|
WARN = 'warning'.freeze
|
10
10
|
|
11
11
|
def call(environment)
|
12
|
-
if environment.body
|
13
|
-
requests = environment.body[:data]
|
14
|
-
environment.body = environment.body.to_json
|
12
|
+
if environment.body && environment.body[:data] && environment.body[:data].is_a?(Array)
|
13
|
+
requests = environment.body[:data]
|
15
14
|
end
|
16
15
|
|
17
16
|
@app.call(environment).on_complete do |response|
|
data/lib/leanplum_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leanplum_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lumos Labs, Inc.
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-09-
|
12
|
+
date: 2017-09-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|