jets 2.1.3 → 2.1.4

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: 53bcbf796cf41232761865eb567800adc8da8a7d73552d32d91e53ab90856bcc
4
- data.tar.gz: '059c585e8256a80ae9aeefb4d3a621203358135a18ecfc020c9b46b20213872c'
3
+ metadata.gz: 4e742d6192a504881c3296e54bf633b160ae905220a026e949bb750ab53dc716
4
+ data.tar.gz: d2c073a7434b4c5f981fc81400f9eb03997cce41d897b2b62adc2e0cb3bb3928
5
5
  SHA512:
6
- metadata.gz: ed4d1bfbab19202a51b40402dadb64603471e201bf4de836a575eb4d32c2cadb15c8809c3dd0b714d11d825df451678ec8a534f084dc8a930ee1bc4c760ab2cb
7
- data.tar.gz: 57727d43f57beaa23dd17699c82f2919a1a989cf6d151799cae183519a2c03a69aa6d0ff29004d983aa9ff8730775476426a4fd7e21f47cd1b66d3ba20a5f302
6
+ metadata.gz: 30abc7d999564b142099973343fb609cc1d7cf071239842565ea60bffb41aba861f2a9503b60158aff0e462c71799e65ec1d0a11add0011250a04c863b1d0a4e
7
+ data.tar.gz: 34ea659906266b3c5388b5fa05d64dd19521a6529ba0d02b2fb2f9ac3fab3bb9d3c71d18e540ad7ec21f92a7f9db4a2c0acc946c6a8c309d28fa1457b3ad940c
@@ -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
+ ## [2.1.4]
7
+ - allow jets code to access event object values with symbols also
8
+
6
9
  ## [2.1.3]
7
10
  - #359 redirect_back controller method
8
11
  - fix default_protect_from_forgery to account for api mode
@@ -9,7 +9,7 @@ module Jets::Lambda
9
9
  class Functions
10
10
  attr_reader :event, :context, :meth
11
11
  def initialize(event, context, meth)
12
- @event = event # Hash, JSON.parse(event) ran BaseProcessor
12
+ @event = HashWithIndifferentAccess.new(event) # Hash, JSON.parse(event) ran BaseProcessor
13
13
  @context = context # Hash. JSON.parse(context) ran in BaseProcessor
14
14
  @meth = meth
15
15
  # store meth because it is useful to for identifying the which template
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "2.1.3"
2
+ VERSION = "2.1.4"
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: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-02 00:00:00.000000000 Z
11
+ date: 2019-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer