jets 0.5.6 → 0.5.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d88583cc8d58daf4f71572daa0009e061367700397209146de35a44ff81a2dcf
4
- data.tar.gz: 9d88270253621a2446d1a14f9ea0d1cabf17870f5b90f1a255cee71178f43a53
3
+ metadata.gz: 30764a97a78a66b7e8f03ab15caca32479b103f164ae76c48bef2b0f5a064663
4
+ data.tar.gz: 6c8b2922c4abe2933710359708aa79e542d0059fb662fefcb1f6390c941c44de
5
5
  SHA512:
6
- metadata.gz: a43cd522de8ad883736910397bd8066d57b6198d18d670211b1cf9347f892465c986846d0c5643d9611785ff2b52d80e7ac6a1b822a2e43e213500b95073d77e
7
- data.tar.gz: e7b0b6f5f861a8f38a6d5c91bc06d0c966454d44d6b428cbdb97b34c032102703fe23fa2672e9811dfc11ae3e8b2b487b2adaff1e783999f7de2fb9e9ccbca44
6
+ metadata.gz: c4d0e78d76760c2c295341faf4a5062f517a838d43acbfb983ad9073360318647730818dc41bdc60d87bc2fd8135e40a2818dbd33184a910aea0acee92bda03b
7
+ data.tar.gz: 45074a2a2b73046753f1ccdb603c4f5ccbf45b476d4be03c698408a034f26982f1e38119cc7a84b031bae695b0ddf9c929971084753de57706e5e8d6e861f06e
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 *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.5.7]
7
+ - adjust default function memory size to 1536
8
+
6
9
  ## [0.5.6]
7
10
  - use Lambdagem.log_level = :info
8
11
 
data/Gemfile.lock CHANGED
@@ -11,7 +11,7 @@ GIT
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- jets (0.5.6)
14
+ jets (0.5.7)
15
15
  actionpack
16
16
  actionview
17
17
  activerecord
@@ -263,7 +263,7 @@ EOL
263
263
  end
264
264
 
265
265
  def create_zip_file(fake=nil)
266
- puts "Creating zip file."
266
+ headline "Creating zip file."
267
267
  temp_code_zipfile = "#{Jets.build_root}/code/code-temp.zip"
268
268
  FileUtils.mkdir_p(File.dirname(temp_code_zipfile))
269
269
 
@@ -55,7 +55,7 @@ module Jets::Cfn::TemplateBuilders::FunctionProperties
55
55
  # config.function = ActiveSupport::OrderedOptions.new
56
56
  # config.function.timeout = 10
57
57
  # config.function.runtime = "nodejs8.10"
58
- # config.function.memory_size = 3008
58
+ # config.function.memory_size = 1536
59
59
  # end
60
60
  def global_properties
61
61
  baseline = {
@@ -8,7 +8,7 @@ Jets.application.configure do
8
8
 
9
9
  config.function.timeout = 10
10
10
  # config.function.role = "arn:aws:iam::#{ENV['AWS_ACCOUNT_ID']}:role/service-role/pre-created"
11
- # config.function.memory_size= 3008
11
+ # config.function.memory_size= 1536
12
12
  # config.function.cors = true
13
13
  config.function.environment = {
14
14
  global_app_key1: "global_app_value1",
@@ -1,5 +1,5 @@
1
1
  Jets.application.configure do
2
- config.project_name = "proj"
2
+ config.project_name = "project"
3
3
  # config.env_extra = 2 # Optional. Any value works: 1,2,abc,xyz
4
4
  # Allows creation of multiple instances of env.
5
5
  config.cors = true
@@ -15,6 +15,8 @@ Jets.application.configure do
15
15
  # function properties defaults
16
16
  config.function = ActiveSupport::OrderedOptions.new
17
17
  config.function.timeout = 10
18
- config.function.memory_size = 3008
18
+ # default memory setting based on:
19
+ # https://medium.com/epsagon/how-to-make-lambda-faster-memory-performance-benchmark-be6ebc41f0fc
20
+ config.function.memory_size = 1536
19
21
  end
20
22
 
data/lib/jets/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen