messaging_client 0.2.1 → 0.3.1

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 +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62c9c566908c290110e41c455e63a5650dad343d733674dae90c203787bb2608
4
- data.tar.gz: 1583cb8c8a557b213ae6762f45d2c775ed1dfb915a08e0881dd99232c12f45fb
3
+ metadata.gz: 806950664bcd675248588afc88fd7928351122b5d4da758692cb34fabd4f76b3
4
+ data.tar.gz: 9d116c4b6cbacbdf9ba5ee202bac631255be01fe508937a3db42e9c4b0c3ff8b
5
5
  SHA512:
6
- metadata.gz: 65f32df0c7bf46c68a01fedfd8f0be70d4a6a259138ff9f0dd99f3f00e4e118ea5286acf07535a9ec46c39a5f150e0c86c20e0a19fac7c6626cf73c42952c557
7
- data.tar.gz: 93f53d8b2f163fe32f52c765fea8e616482f88d9c1198b649dabd337efaad9719c44bc1e46f3e12e6e100583067e9ccd36336b91dcacd52b0ec2c4383fcaeda3
6
+ metadata.gz: b33d4d650cc74b745c90d78855aadce1ef426f6c46bbd019d64742af714ddb982ad70dfeae722f83661ac2dbc5c49060c2109c53f875b30da5c010d2ad15cfbf
7
+ data.tar.gz: c928a574626cd5b2c01838d40be69d0246a3d12fdd0d4971537a616867b88956ef782b4745dee0ba96b996115b33d234d934ee970ef3748049514d30d77938b9
@@ -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.2.1
4
+ version: 0.3.1
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-04-16 00:00:00.000000000 Z
11
+ date: 2022-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -28,16 +28,16 @@ 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
- version: 0.5.0
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
- version: 0.5.0
40
+ version: 0.7.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: aws-sdk-sns
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubygems_version: 3.0.1
87
+ rubygems_version: 3.0.3.1
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Client library for padma-messaging-ws