osbourne 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/osbourne/test/message.rb +15 -3
- 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: 4429d66869ecd9cbceac02b613ed4b7e7f1de032a3cc5d2f027934371b4ebce1
|
4
|
+
data.tar.gz: 9ebdca21583fadc61f7101f4a87c3768ea7e390c3fe9719d3bde502fd31d9497
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d05cc25e32195caf916507568a95bb354124695174cf056a955a8007d111852f92f66ba9f61310f8ae1ba0772b249098f18f37d81f8d85ca2cc23a86b602cb8e
|
7
|
+
data.tar.gz: 2a6e4a78aabbd05e7650041b2c184085f55a5addcb73df0c528c0ae2a31d2cea33a77007813291d75b29c7ad2cb0afd7faf4d0fa411416bdb0c829595d00f5ed
|
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
module Osbourne
|
4
4
|
module Test
|
5
|
-
class Message
|
6
|
-
attr_reader :topic, :
|
5
|
+
class Message < Osbourne::Message
|
6
|
+
attr_reader :topic, :raw_body
|
7
7
|
def initialize(topic:, body:)
|
8
8
|
@topic = topic
|
9
|
-
@
|
9
|
+
@raw_body = body
|
10
10
|
end
|
11
11
|
|
12
12
|
def id
|
@@ -16,6 +16,18 @@ module Osbourne
|
|
16
16
|
def valid?
|
17
17
|
true
|
18
18
|
end
|
19
|
+
|
20
|
+
def delete; end
|
21
|
+
|
22
|
+
def sns?
|
23
|
+
true
|
24
|
+
end
|
25
|
+
|
26
|
+
private
|
27
|
+
|
28
|
+
def sns_body
|
29
|
+
@sns_body ||= safe_json(raw_body) || raw_body
|
30
|
+
end
|
19
31
|
end
|
20
32
|
end
|
21
33
|
end
|
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.
|
4
|
+
version: 1.1.0
|
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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|