funktor 0.2.4 → 0.2.5

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: 666c2af44a969a861936755046fdb067cd118f5c1c197673d3eaf9848a88a3a0
4
- data.tar.gz: d3a6282e200730a25192d6030f3c28876d10cc6d2b8895797dcf51033605e2c7
3
+ metadata.gz: 2ca7738fdb4ce7e628d489b4eafa1975036cc1e82ec162bc4115383ac2b29233
4
+ data.tar.gz: 0a328bcb1d0c5a007d560eda72d88832269f9d21def9bfea3720746600f828f0
5
5
  SHA512:
6
- metadata.gz: acfa560d423d17f40e94d6605e7915b4bb2c9f8f1e52530735cf8be887451fa4990f986f8f7a314c43ce38e9d03771c9e33c6d311270dc9a18201aa2ea1760f7
7
- data.tar.gz: abfa953bfc26962c069839a152cb05616cabb5ac8035760210fd0b815bd2efed13f1ffb597f5f027eda71d95f4a4dcc82de3c618d5b2e059aacca1d8dcb433a7
6
+ metadata.gz: 274578bd0e322e8cb4d5bfbdb27c5aaa97d966e37bc3e38ef63cec5536947e132f9b5018b78ba52f6d492ed73ba8f46ac872614b750bcb4fab425613c5eccbfe
7
+ data.tar.gz: 454d9ffaf4970543f409be989ce455717c5f600e81c85f6ba8aea640867d232c4aaf2ec9b8f79e7956da53db197668a6bb37627de5c18ceac8a9348dfe527521
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- funktor (0.2.4)
4
+ funktor (0.2.5)
5
5
  activesupport
6
6
  aws-sdk-sqs (~> 1.37)
7
7
  thor
@@ -9,7 +9,7 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (6.1.3.2)
12
+ activesupport (6.1.4)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 1.6, < 2)
15
15
  minitest (>= 5.1)
@@ -18,8 +18,8 @@ GEM
18
18
  addressable (2.7.0)
19
19
  public_suffix (>= 2.0.2, < 5.0)
20
20
  aws-eventstream (1.1.1)
21
- aws-partitions (1.468.0)
22
- aws-sdk-core (3.114.3)
21
+ aws-partitions (1.471.0)
22
+ aws-sdk-core (3.115.0)
23
23
  aws-eventstream (~> 1, >= 1.0.2)
24
24
  aws-partitions (~> 1, >= 1.239.0)
25
25
  aws-sigv4 (~> 1.1)
@@ -88,11 +88,11 @@ module Funktor
88
88
  end
89
89
 
90
90
  def lambda_handlers
91
- template File.join("app", "handlers", "incoming_job_handler.rb"), File.join("app", "handlers", "incoming_job_handler.rb")
91
+ template File.join("lambda_event_handlers", "incoming_job_handler.rb"), File.join("lambda_event_handlers", "incoming_job_handler.rb")
92
92
  queues.each do |queue_details|
93
93
  @work_queue_name = queue_details.keys.first
94
94
  @work_queue_config = queue_details.values.first
95
- template File.join("app", "handlers", "work_queue_handler.rb"), File.join("app", "handlers", "#{work_queue_name.underscore}_queue_handler.rb")
95
+ template File.join("lambda_event_handlers", "work_queue_handler.rb"), File.join("lambda_event_handlers", "#{work_queue_name.underscore}_queue_handler.rb")
96
96
  end
97
97
  end
98
98
 
@@ -1,4 +1,4 @@
1
- handler: app/handlers/incoming_job_handler.call
1
+ handler: lambda_event_handlers/incoming_job_handler.call
2
2
  timeout: ${self:custom.funktor.incomingJobHandler.timeout, 30}
3
3
  reservedConcurrency: ${self:custom.funktor.incomingJobHandler.reservedConcurrency, null}
4
4
  provisionedConcurrency: ${self:custom.funktor.incomingJobHandler.provisionedConcurrency, null}
@@ -1,4 +1,4 @@
1
- handler: app/handlers/<%= work_queue_name.underscore %>_queue_handler.call
1
+ handler: lambda_event_handlers/<%= work_queue_name.underscore %>_queue_handler.call
2
2
  timeout: ${self:custom.funktor.<%= work_queue_name.camelize %>QueueHandler.timeout, 900}
3
3
  reservedConcurrency: ${self:custom.funktor.<%= work_queue_name.camelize %>QueueHandler.reservedConcurrency, null}
4
4
  provisionedConcurrency: ${self:custom.funktor.<%= work_queue_name.camelize %>QueueHandler.provisionedConcurrency, null}
@@ -1,3 +1,3 @@
1
1
  module Funktor
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: funktor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-21 00:00:00.000000000 Z
11
+ date: 2021-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-sqs
@@ -115,8 +115,6 @@ files:
115
115
  - lib/funktor/cli/generate/work_queue.rb
116
116
  - lib/funktor/cli/init.rb
117
117
  - lib/funktor/cli/templates/Gemfile
118
- - lib/funktor/cli/templates/app/handlers/incoming_job_handler.rb
119
- - lib/funktor/cli/templates/app/handlers/work_queue_handler.rb
120
118
  - lib/funktor/cli/templates/app/workers/hello_worker.rb
121
119
  - lib/funktor/cli/templates/config/environment.yml
122
120
  - lib/funktor/cli/templates/config/function_definitions/incoming_job_handler.yml
@@ -133,6 +131,8 @@ files:
133
131
  - lib/funktor/cli/templates/config/ruby_layer.yml
134
132
  - lib/funktor/cli/templates/funktor_init.yml.tt
135
133
  - lib/funktor/cli/templates/gitignore
134
+ - lib/funktor/cli/templates/lambda_event_handlers/incoming_job_handler.rb
135
+ - lib/funktor/cli/templates/lambda_event_handlers/work_queue_handler.rb
136
136
  - lib/funktor/cli/templates/package.json
137
137
  - lib/funktor/cli/templates/serverless.yml
138
138
  - lib/funktor/fake_job_queue.rb