skyrunner 0.0.5 → 0.0.6

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
  SHA1:
3
- metadata.gz: 736068f57e37471f961c316b4189869e155d92aa
4
- data.tar.gz: bdc887b29ce29b89c82a82a820d7adabd2020385
3
+ metadata.gz: 6c800ee01c5a8454b1f0e979c882e557dfd5809c
4
+ data.tar.gz: e5a119dae1fb7d3f2708757f3f14752ecdfb15b9
5
5
  SHA512:
6
- metadata.gz: b7b213be718bf34332ba062a28c191d7a437d26103a6b74d48cef65ca4154fe3462fc460f136127f226044590460408cc48f65c484d4a816f3e4ba2f8b101a11
7
- data.tar.gz: d7eb8851639ef79d691e963ee160428d93fd1f773efbdf2e69f0ad93f4f6870761d02a8f719e00da060d2419226dab26632551ae840b45e3976c5927fc9ded2e
6
+ metadata.gz: 3f148efaaf6187bae36717f41ade22fb10654012cc1ef3de4b05db6416d4242c3987bbc53c679ddc40dede4e1cd1578ada58be8bb3896254fadd956f678f9e56
7
+ data.tar.gz: 92b05486a947482bbba8703024f914bfe8ff8408477a633fe30c04bb1dff97b4de62fa1270baed6d50bd19a2d0dde0a2b5c946ad3d075ded1411af01cadd9ba8
@@ -0,0 +1,17 @@
1
+ SkyRunner.setup do |config|
2
+ # Customize these to change the name of the table & queue used for job and task management.
3
+ config.dynamo_db_table_name = "skyrunner_jobs_#{Rails.env}"
4
+ config.sqs_queue_name = "skyrunner_tasks_#{Rails.env}"
5
+
6
+ # Customzie this to change the namespace of jobs enqueued and consumed by this application.
7
+ config.job_namespace = Rails.application.class.parent_name.underscore
8
+
9
+ # Set the number of tasks for a consumer to pull and run from SQS at a time. (Max 10, default 10)
10
+ #
11
+ # config.consumer_batch_size = 10
12
+
13
+ # Set the visibility timeout of queue items. If the consumer batch size (above) is set to 10,
14
+ # this should provide sufficient time for a consumer to process 10 tasks, for example. (default 90)
15
+ #
16
+ # config.visibility_timeout = 90
17
+ end
@@ -1,3 +1,3 @@
1
1
  module Skyrunner
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skyrunner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Fodor
@@ -111,6 +111,7 @@ files:
111
111
  - bin/skyrunner
112
112
  - jobs/example_job.rb
113
113
  - lib/generators/skyrunner/install_generator.rb
114
+ - lib/generators/skyrunner/templates/skyrunner.rb
114
115
  - lib/skyrunner.rb
115
116
  - lib/skyrunner/engine.rb
116
117
  - lib/skyrunner/job.rb