jets 3.0.21 → 3.0.22

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: 3528d3aae63a12bcc3b82b0d9666db4b9b621122a8665f2591b655f4283c5368
4
- data.tar.gz: edfb967cf885286ec053cb933749a1a378fa7d20fbf8952d81be518c63649d64
3
+ metadata.gz: 564e115dd93f465b1041093b350e560009dc437fce0d2cd45a0d0120b7c1c214
4
+ data.tar.gz: df694dde52f5122bb77268be781b476c4fe49312a3b8de95d941cba91ad81c69
5
5
  SHA512:
6
- metadata.gz: d5f4a9ed780d249b48488dafa67cdd15e82f0d63cc70c42717a667b0ad6d22fd9b9f07cbd6435a3cdb7f2346d8e49b87c3d6265782b60c0233e608a080a2c363
7
- data.tar.gz: a844a49e320d9b9235da7b2e48bf336801aa06f348e039cc49ee5129b173fd8bd0a5e375ca09071f262f25d8532b329cf0c45024a450b26e4b954a96827619a5
6
+ metadata.gz: 28e5b7d47af46c49abbff1419ea9b0fe788780bc4fb91e6acfb70d5b3e5c79c6d8df4af5f39e15085bcbd338648d7f4773bdcadd6c2bac96b0e720cdf1bd7d7e
7
+ data.tar.gz: 363782b3d1244f097b043b4d1cbc5bec06250234af75d5031813f4fe0cb1772444de7d8fde5d2f325f8357d9961d5af73f5c57fb3b0093a5a8a340ff28525cc8
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/).
5
5
 
6
+ ## [3.0.22] - 2021-10-26
7
+ - [#607](https://github.com/boltops-tools/jets/pull/607) Job serialize - Revert "Fix job params serialization"
8
+
6
9
  ## [3.0.21] - 2021-10-21
7
10
  - [#605](https://github.com/boltops-tools/jets/pull/605) use safer 302 redirect as default
8
11
 
data/lib/jets/job/base.rb CHANGED
@@ -26,13 +26,13 @@ module Jets::Job
26
26
  end
27
27
 
28
28
  def perform_now(meth, event={}, context={})
29
- new(event.try(:to_unsafe_h), context, meth).send(meth)
29
+ new(event, context, meth).send(meth)
30
30
  end
31
31
 
32
32
  def perform_later(meth, event={}, context={})
33
33
  if on_lambda?
34
34
  function_name = "#{self.to_s.underscore}-#{meth}"
35
- call = Jets::Commands::Call.new(function_name, JSON.dump(event.try(:to_unsafe_h)), invocation_type: "Event")
35
+ call = Jets::Commands::Call.new(function_name, JSON.dump(event), invocation_type: "Event")
36
36
  call.run
37
37
  else
38
38
  puts "INFO: Not on AWS Lambda. In local mode perform_later executes the job with perform_now instead."
data/lib/jets/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "3.0.21"
2
+ VERSION = "3.0.22"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.21
4
+ version: 3.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-21 00:00:00.000000000 Z
11
+ date: 2021-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer