lambda_deployment 0.2.0 → 0.3.0

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
- SHA1:
3
- metadata.gz: 9d8840ac60400c3a61e7bd801c9f3d53160eb5c1
4
- data.tar.gz: e8796fa101bf6d505400f4da0ae260c3bc167d21
2
+ SHA256:
3
+ metadata.gz: 2c555d8f5bc6229e393db36abbec28ddc63bbd069e0b2ae9e8bfe6834defe839
4
+ data.tar.gz: 4be42a0390772d6a818d8d29fae28a14039a460e4ea82d89c11a925837f43151
5
5
  SHA512:
6
- metadata.gz: e39da174345e0e56445d8111644ce055f3d93c67068c388e71e5c6feecb826ab1fbdc75c409310d65ac12a57c07c7041105e82ba8187b1d19e97c0f93cd0b083
7
- data.tar.gz: c8eb26318070c5046495be0cfc0c96dec046bad9df9faa123f360fd4aa5c062d3541aff1abd5ec524b3904b28fe915378a21d26466a4f71e88cd320d93ee55ad
6
+ metadata.gz: 6038133e04087a5a6c7fbdcc1ef10a69d5088aabcef030e6c813677043052ffbbd4b22f5c08c4c268443124f20cec7bd83f5aa31fe18484701dfbf09a07ab58c
7
+ data.tar.gz: 498bcf25c424c3330c6bb76f45ceab85a9b1578bea23bc8765771aa0321b9d99653569e089da43d682b501f6f72c7687134ead37ebfbe0d2321a2a51e4e11f3e
@@ -1,4 +1,6 @@
1
- require 'aws-sdk-core'
1
+ require 'aws-sdk-kms'
2
+ require 'aws-sdk-lambda'
3
+ require 'aws-sdk-s3'
2
4
  require 'optparse'
3
5
  require 'securerandom'
4
6
  require 'yaml'
@@ -28,8 +28,8 @@ module LambdaDeployment
28
28
  end
29
29
 
30
30
  def environment
31
- @environment_cache ||= Dir.glob('.env*').reduce({}) do |cache, filename|
32
- cache.merge Dotenv::Environment.new(filename)
31
+ @environment ||= Dir.glob('.env*').reduce({}) do |cache, filename|
32
+ cache.merge Dotenv::Environment.new(filename, true)
33
33
  end.merge(@config_env)
34
34
  end
35
35
 
@@ -1,3 +1,3 @@
1
1
  module LambdaDeployment
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.3.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,29 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lambda_deployment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zendesk CloudOps
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-22 00:00:00.000000000 Z
11
+ date: 2018-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: aws-sdk-core
14
+ name: aws-sdk-kms
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '2'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '2'
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: aws-sdk-lambda
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: aws-sdk-s3
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: dotenv
29
57
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +67,7 @@ dependencies:
39
67
  - !ruby/object:Gem::Version
40
68
  version: '2'
41
69
  - !ruby/object:Gem::Dependency
42
- name: rspec
70
+ name: bump
43
71
  requirement: !ruby/object:Gem::Requirement
44
72
  requirements:
45
73
  - - ">="
@@ -53,7 +81,7 @@ dependencies:
53
81
  - !ruby/object:Gem::Version
54
82
  version: '0'
55
83
  - !ruby/object:Gem::Dependency
56
- name: rubocop
84
+ name: forking_test_runner
57
85
  requirement: !ruby/object:Gem::Requirement
58
86
  requirements:
59
87
  - - ">="
@@ -67,7 +95,7 @@ dependencies:
67
95
  - !ruby/object:Gem::Version
68
96
  version: '0'
69
97
  - !ruby/object:Gem::Dependency
70
- name: single_cov
98
+ name: rake
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
101
  - - ">="
@@ -81,7 +109,7 @@ dependencies:
81
109
  - !ruby/object:Gem::Version
82
110
  version: '0'
83
111
  - !ruby/object:Gem::Dependency
84
- name: bump
112
+ name: rspec
85
113
  requirement: !ruby/object:Gem::Requirement
86
114
  requirements:
87
115
  - - ">="
@@ -95,7 +123,21 @@ dependencies:
95
123
  - !ruby/object:Gem::Version
96
124
  version: '0'
97
125
  - !ruby/object:Gem::Dependency
98
- name: forking_test_runner
126
+ name: rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: single_cov
99
141
  requirement: !ruby/object:Gem::Requirement
100
142
  requirements:
101
143
  - - ">="
@@ -144,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
186
  version: '0'
145
187
  requirements: []
146
188
  rubyforge_project:
147
- rubygems_version: 2.6.11
189
+ rubygems_version: 2.7.6
148
190
  signing_key:
149
191
  specification_version: 4
150
192
  summary: Lambda Deployment Library