jobly 0.4.5 → 0.4.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 +4 -4
- data/lib/jobly/helpers/shell.rb +1 -1
- data/lib/jobly/jobs.rb +4 -2
- data/lib/jobly/module_functions.rb +1 -0
- data/lib/jobly/templates/full/app/boot.rb +1 -0
- data/lib/jobly/templates/full/config/jobly.rb +2 -1
- data/lib/jobly/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b8a8edcc7454410166815e6adf0f105f71d0d741dc9e61b82ca61e7814c6b671
|
|
4
|
+
data.tar.gz: 7e87bb039d4dc9f608ebf747f31aa133ec67dc81a794c683fb0840dd3aeb352c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae811324a752834c19ffa0bd116ef121c39d7b8bbbff95e2814155b4be3276662e641b268c1b62c247c6672de6f8c1ae11542d9e040f383c47070f0a3fa030d3
|
|
7
|
+
data.tar.gz: b682abaf3ac3005861d5546e5650ba51bb0b432c4c896b630d304b02c63fe1efeff2d81712a51351fe89cab301b98d16a910f58adb725a376b31c9dd167b65c3
|
data/lib/jobly/helpers/shell.rb
CHANGED
data/lib/jobly/jobs.rb
CHANGED
|
@@ -11,8 +11,10 @@ module Jobly
|
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
def self.load_all
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
user_bootfile = "#{Jobly.full_app_path}/boot.rb"
|
|
15
|
+
require user_bootfile if File.exist? user_bootfile
|
|
16
|
+
Dir["#{Jobly.full_app_path}/**/*.rb"].sort.each { |file| require file }
|
|
17
|
+
Dir["#{Jobly.full_jobs_path}/**/*.rb"].sort.each { |file| require file }
|
|
16
18
|
end
|
|
17
19
|
|
|
18
20
|
def self.full_job_name(job)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# If this file exists, it will be loaded before everything else
|
|
@@ -13,6 +13,7 @@ Jobly.configure do |config|
|
|
|
13
13
|
# config.log_level = 'info'
|
|
14
14
|
# config.slack_webhook = 'https://hooks.slack.com/services/...'
|
|
15
15
|
# config.slack_channel = '#debug'
|
|
16
|
-
# config.slack_user = '
|
|
16
|
+
# config.slack_user = 'Jobly'
|
|
17
17
|
# config.auth = 'admin:secret'
|
|
18
|
+
# config.shell_dry_run = false
|
|
18
19
|
end
|
data/lib/jobly/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jobly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Danny Ben Shitrit
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-01-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: http
|
|
@@ -286,6 +286,7 @@ files:
|
|
|
286
286
|
- lib/jobly/sidekiq.rb
|
|
287
287
|
- lib/jobly/templates/full/Gemfile
|
|
288
288
|
- lib/jobly/templates/full/Procfile
|
|
289
|
+
- lib/jobly/templates/full/app/boot.rb
|
|
289
290
|
- lib/jobly/templates/full/app/job.rb
|
|
290
291
|
- lib/jobly/templates/full/app/other_class.rb
|
|
291
292
|
- lib/jobly/templates/full/config/info.md
|