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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '09d9c82e18577ae64d95aec4a5b96d5dfee791ae61e913149388a683677f9133'
4
- data.tar.gz: e7f178533fc85a6b912fd7755e42b930121b8b093e777edf24e9603e265d9a36
3
+ metadata.gz: 4231dc98bb3a666a93d3f2d12fa97798ac5e5b067960711099b861cbd374b610
4
+ data.tar.gz: d043623e868f84b571c13fca99ee60c96dc05ed9393e154e6fee67d998d31894
5
5
  SHA512:
6
- metadata.gz: 8d8edb471d4cd35492270d3c90e2868f35b3b1c6703c6d50c3e3f55d9fe9c8e5f4cd2e6ed8dca36d15affd522e7157dd17fdcdcebaa82dd3ece036e6b8cb7a7b
7
- data.tar.gz: c655b974afae2dc261b9e27a22ce7a34d2ee6fe309127502065e6ce896c4273a4723227140511235f5c0c6b4664129d098c04ed07ac1b24bd76fa3948d2744d9
6
+ metadata.gz: e1364335bef51eaeb5e61f953269c030013f6506877932a1e45fbd43bfdd07b0a3359eaefa44df6803ebf56330dead460a41c8dbbe9c962861560a342081fa0c
7
+ data.tar.gz: 2f2de77e184b1d3f005c70650c1eeb39df1b5d20758f71380d1c54e6c7a0ba4f702500d84cb9c9d0fa4366b556998e197da92f34a897aa2103f531559a9d66e5
@@ -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) && (json_body.keys <=> %w[Message Type TopicArn MessageId]).zero?
79
+ json_body.is_a?(Hash) && (%w[Message Type TopicArn MessageId] - json_body.keys).empty?
80
80
  end
81
81
 
82
82
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Osbourne
4
- VERSION = "1.1.2"
4
+ VERSION = "1.1.3"
5
5
  end
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.2
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-19 00:00:00.000000000 Z
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