skyrunner 0.0.4 → 0.0.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 736068f57e37471f961c316b4189869e155d92aa
|
4
|
+
data.tar.gz: bdc887b29ce29b89c82a82a820d7adabd2020385
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7b213be718bf34332ba062a28c191d7a437d26103a6b74d48cef65ca4154fe3462fc460f136127f226044590460408cc48f65c484d4a816f3e4ba2f8b101a11
|
7
|
+
data.tar.gz: d7eb8851639ef79d691e963ee160428d93fd1f773efbdf2e69f0ad93f4f6870761d02a8f719e00da060d2419226dab26632551ae840b45e3976c5927fc9ded2e
|
@@ -19,7 +19,7 @@ module SkyRunner
|
|
19
19
|
# Generator Code. Remember this is just suped-up Thor so methods are executed in order
|
20
20
|
|
21
21
|
def create_initializer_file
|
22
|
-
copy_file "
|
22
|
+
copy_file "skyrunner.rb", "config/initializers/skyrunner.rb"
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
data/lib/skyrunner/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Fodor
|
@@ -111,7 +111,6 @@ files:
|
|
111
111
|
- bin/skyrunner
|
112
112
|
- jobs/example_job.rb
|
113
113
|
- lib/generators/skyrunner/install_generator.rb
|
114
|
-
- lib/generators/skyrunner/templates/config/initializers/skyrunner.rb
|
115
114
|
- lib/skyrunner.rb
|
116
115
|
- lib/skyrunner/engine.rb
|
117
116
|
- lib/skyrunner/job.rb
|
@@ -1,17 +0,0 @@
|
|
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
|