osbourne 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/osbourne/message.rb +1 -1
- data/lib/osbourne/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4231dc98bb3a666a93d3f2d12fa97798ac5e5b067960711099b861cbd374b610
|
4
|
+
data.tar.gz: d043623e868f84b571c13fca99ee60c96dc05ed9393e154e6fee67d998d31894
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1364335bef51eaeb5e61f953269c030013f6506877932a1e45fbd43bfdd07b0a3359eaefa44df6803ebf56330dead460a41c8dbbe9c962861560a342081fa0c
|
7
|
+
data.tar.gz: 2f2de77e184b1d3f005c70650c1eeb39df1b5d20758f71380d1c54e6c7a0ba4f702500d84cb9c9d0fa4366b556998e197da92f34a897aa2103f531559a9d66e5
|
data/lib/osbourne/message.rb
CHANGED
@@ -76,7 +76,7 @@ module Osbourne
|
|
76
76
|
# Just because a message was recieved via SQS, doesn't mean it was originally broadcast via SNS
|
77
77
|
# @return [Boolean] Was the message broadcast via SNS?
|
78
78
|
def sns?
|
79
|
-
json_body.is_a?(Hash) && (
|
79
|
+
json_body.is_a?(Hash) && (%w[Message Type TopicArn MessageId] - json_body.keys).empty?
|
80
80
|
end
|
81
81
|
|
82
82
|
private
|
data/lib/osbourne/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: osbourne
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Allen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|