rubypitaya 2.6.2 → 2.6.3
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b367c2b1b6a1bbd272c216dc53b07444bc76ee014126735d2e815299910dfea
|
4
|
+
data.tar.gz: 626cbd30f338f766de59000a1a7b659d6086e7b64b80c9c6090c05c9e493f908
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e17f34d833d731125d1a1940b235f5966dba02b82a9b8688cd825bae0902816296bc39c0a8dc0c9be7a13368ca145cbc339b16634ae758b8475ce0c8392eed82
|
7
|
+
data.tar.gz: cead4eea29f929c9cde46fa007967052bb735f83088359b59360fbd15402b9ae87c9ca84ded405ed3e4d1653ae11ee8a505a6f8ec5c3052beb7a0f9328658b60
|
@@ -69,7 +69,7 @@ GEM
|
|
69
69
|
rspec-support (~> 3.8.0)
|
70
70
|
rspec-support (3.8.3)
|
71
71
|
ruby2_keywords (0.0.2)
|
72
|
-
rubypitaya (2.6.
|
72
|
+
rubypitaya (2.6.3)
|
73
73
|
activerecord (= 6.0.2)
|
74
74
|
etcdv3 (= 0.10.2)
|
75
75
|
eventmachine (= 1.2.7)
|
@@ -106,7 +106,7 @@ DEPENDENCIES
|
|
106
106
|
listen (= 3.2.1)
|
107
107
|
pry (= 0.12.2)
|
108
108
|
rspec (= 3.8.0)
|
109
|
-
rubypitaya (= 2.6.
|
109
|
+
rubypitaya (= 2.6.3)
|
110
110
|
|
111
111
|
BUNDLED WITH
|
112
112
|
1.17.2
|
@@ -17,8 +17,10 @@ module RubyPitaya
|
|
17
17
|
@setup = settings.setup
|
18
18
|
@config = settings.config
|
19
19
|
|
20
|
-
|
21
|
-
|
20
|
+
if request.content_type == 'aplication/json'
|
21
|
+
request_body = request.body.read
|
22
|
+
@params.merge!(JSON.parse(request_body)) if !request_body.blank?
|
23
|
+
end
|
22
24
|
|
23
25
|
@params = Parameters.new(@params)
|
24
26
|
end
|
data/lib/rubypitaya/version.rb
CHANGED