inferno_core 0.4.28 → 0.4.29

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: b08f117a70f17bef4baa571895c76bd3b18b6b3d052f4f0f3069760e84d977ab
4
- data.tar.gz: 76635f57afb3288646c56083895efa21123de7797900f74a1a2fe8fe3c035b47
3
+ metadata.gz: 71ffd4d8151e890a5a52cd087d5aeb222efcf27902c2ec01f78d898a08de7d9b
4
+ data.tar.gz: afe5c2b4cf3603e54e4b085dc609f061d6e78bd929e1b4ee915294dcb0f87de6
5
5
  SHA512:
6
- metadata.gz: a846c92bede4a61f7c722340392a4913c9b9acddc569c3133a508c932666df8b201e7272778a3cefa40eb272af7b28422522729fa807897c784c32fee1e5d7e2
7
- data.tar.gz: 2a2cd2e92157505409927534bd54263775c027f1a76f4f722e4c8272353ef249e095ae49b1d980d35dcc5b331782ad4913579d1d0e212f793754bf24ad91a942
6
+ metadata.gz: e0caf2d09c500643311b393129a741a9bd8d3ee043d7b6e45c3cad5cd92eb50802642de5c3222bf62188d1ecbe48469c5b54cf2f3005f65548d544b8ac2f6d30
7
+ data.tar.gz: bb530410e8303d6fc82132c0f8c3da0fc63987ac6ba48b2be1023d8021ed7350a5158d3941e5bc7090136986248bae9134a64fbf8c6432352bb98ae839abff91
@@ -10,9 +10,7 @@ module Inferno
10
10
 
11
11
  def handle(req, res)
12
12
  params = req.params.to_h
13
- if req.body.string.present? && req.env['CONTENT_TYPE']&.include?('application/json')
14
- params.merge!(JSON.parse(req.body.string).symbolize_keys)
15
- end
13
+ params.merge!(JSON.parse(req.body.string).symbolize_keys) unless req.body.string.blank?
16
14
 
17
15
  session = repo.create(create_params(params))
18
16
 
@@ -1,4 +1,4 @@
1
1
  module Inferno
2
2
  # Standard patterns for gem versions: https://guides.rubygems.org/patterns/
3
- VERSION = '0.4.28'.freeze
3
+ VERSION = '0.4.29'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inferno_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.28
4
+ version: 0.4.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen MacVicar
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-02-09 00:00:00.000000000 Z
13
+ date: 2024-02-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport