messaging_client 0.3.0 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/app/helpers/sns_helper.rb +7 -1
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7ae3b5862c27c542204ed8e43a666d66a2723a265da218945758c516bea7840
4
- data.tar.gz: b6d9d637d924811c7c9ae8622ffdd1d642e351240756cb69785589f5a093ff7e
3
+ metadata.gz: 1369914cd6b3d1df40a30b68f6a62abaa5d6d76bcadc94cf51f365014a973e66
4
+ data.tar.gz: e60cadd0d3e7b96f8a3f0efacce5400268987e076749020c44d6df0966c29fc0
5
5
  SHA512:
6
- metadata.gz: 208418ef7fd3bf033813628cf7d04b149bae4989edf2004ec048c92f74f58459f03b5cf285435146a34284558c87a86e3b90195ee67cef24c8a8e380f2a1a6b6
7
- data.tar.gz: 7178c4808f32313ed4db189b4fae9473f589858d4f56692c4e8ceb9435558c3e8b5f0b50fed9ab3da2596eb2e4ed841eb71cafd6b399775431719c0196343394
6
+ metadata.gz: 559da706c91a8fbdba80939c1eaa048851739f19d1afd350b3eb5936ebc917131a114e87d3a42681e222dc2dd8a5bbc3625783b2ee8359ba7cc4064aa402b7bb
7
+ data.tar.gz: a0f07dfd58f23c8d804cb0622b0c01cbf7d74f6f74fca342db408ed668aa6eedb863e0e5aa46207f2bc0bae25790e113aa0f1ffd987b1d3116b060dec322ddb2
@@ -26,7 +26,13 @@ module SnsHelper
26
26
  end
27
27
 
28
28
  def raw_data
29
- request.body.respond_to?(:string) ? request.body.string : request.body
29
+ if request.body.respond_to?(:string)
30
+ request.body.string
31
+ elsif request.body.respond_to?(:read)
32
+ request.body.read
33
+ else
34
+ request.body
35
+ end
30
36
  end
31
37
 
32
38
  def sns_message_id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: messaging_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwayne Macgowan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-19 00:00:00.000000000 Z
11
+ date: 2023-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: logical_model
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.7.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '='
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.7.1
41
41
  - !ruby/object:Gem::Dependency