jets 1.8.3 → 1.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/jets/job/s3_event_helper.rb +2 -2
- data/lib/jets/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6951f100727eef4fb0aa630b30111f1fae7d7c0411912c3c5b79e16829437658
|
4
|
+
data.tar.gz: 14cd101d0fdd239cdef08f8e73bd8acb3a589f134e39f4991be3f9eac97cf6fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ca52303ea7b97b6decb817f912da58be9af3d55b86cb795a9eafd67b5cd0105a628edea783be3300f9503bf7b653d80950f65e3f1877bdef928a7f85d8f6a60
|
7
|
+
data.tar.gz: b75112b19e8e13331819cd5067f122058a6f399c6ed06aa1e8ed09a3c4d0c02b8ae56527a0abced2c785e46d22a442bb22eb49f5aa7bc047c8090bb722b321b4
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [1.8.4]
|
7
|
+
- rename s3_event_message to s3_event helper
|
8
|
+
|
6
9
|
## [1.8.3]
|
7
10
|
- #196 CloudWatch Log Event support
|
8
11
|
- #197 IoT Event Support
|
@@ -1,13 +1,13 @@
|
|
1
1
|
class Jets::Job
|
2
2
|
module S3EventHelper
|
3
|
-
def
|
3
|
+
def s3_event
|
4
4
|
message = event["Records"][0]["Sns"]["Message"]
|
5
5
|
h = JSON.load(message)
|
6
6
|
ActiveSupport::HashWithIndifferentAccess.new(h)
|
7
7
|
end
|
8
8
|
|
9
9
|
def s3_object
|
10
|
-
|
10
|
+
s3_event["Records"][0]["s3"]["object"]
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
data/lib/jets/version.rb
CHANGED