jobly 0.5.5 → 0.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jobly/module_functions.rb +1 -0
- data/lib/jobly/server.rb +3 -0
- data/lib/jobly/templates/full/app/boot.rb +3 -0
- data/lib/jobly/templates/full/config/jobly.rb +1 -0
- data/lib/jobly/templates/full/envrc.example +2 -1
- data/lib/jobly/templates/full/jobs/hello.rb +1 -0
- data/lib/jobly/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86e63cbb0978b92130eaa7d290327ad6b3b0e9926c6f69b7f7c739a7cf673c6e
|
4
|
+
data.tar.gz: c73a27dd12848d658bef7fbbf14984de572b21582ee9a2a8afb942d51e585e21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc3986a7042c1c5d59183fdb22edd4bd9c12c494bce99c47f8100dc60e943f9593ade23bf541faa981711ea4b4e5b6ae81f868f801908c78d26770c935db8eea
|
7
|
+
data.tar.gz: aa8f0b09e681bcd2541a7a105090c3ed50b3e706847feb4ac37ba912b44f85fb4d9a379c972ea969b50a19bc15c754fd033362ae69e016f6f4ad4422d63d653d
|
data/lib/jobly/server.rb
CHANGED
@@ -16,6 +16,9 @@ module Jobly
|
|
16
16
|
mounts.merge! Jobly.mounts if Jobly.mounts
|
17
17
|
|
18
18
|
Rack::Builder.new do
|
19
|
+
use Rack::MethodOverride
|
20
|
+
use Rack::Session::Cookie, secret: Jobly.secret
|
21
|
+
|
19
22
|
if Jobly.auth
|
20
23
|
user, pass = Jobly.auth.split ':'
|
21
24
|
use Rack::Auth::Basic, "Jobly" do |username, password|
|
@@ -8,8 +8,9 @@ export JOBLY_CONFIG_PATH=config
|
|
8
8
|
export JOBLY_REDIS_URL=redis://localhost:6379/0
|
9
9
|
export JOBLY_STATUS_EXPIRATION=30
|
10
10
|
export JOBLY_JOBS_NAMESPACE=Jobs
|
11
|
-
export JOBLY_LOG=
|
11
|
+
export JOBLY_LOG=logs/jobs.log
|
12
12
|
export JOBLY_AUTH=admin:secret
|
13
|
+
export JOBLY_SECRET=secret-for-session
|
13
14
|
export JOBLY_SLACK_WEBHOOK=https://hooks.slack.com/services/...
|
14
15
|
export JOBLY_SLACK_CHANNEL=#debug
|
15
16
|
export JOBLY_SLACK_USER=Botly
|
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.5.
|
4
|
+
version: 0.5.9
|
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: 2021-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.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: '
|
26
|
+
version: '5.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pretty_trace
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '5.1'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '5.1'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rack
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,14 +120,14 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
123
|
+
version: '2.0'
|
124
124
|
type: :runtime
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
130
|
+
version: '2.0'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: sinatra
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -321,7 +321,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
321
321
|
- !ruby/object:Gem::Version
|
322
322
|
version: '0'
|
323
323
|
requirements: []
|
324
|
-
rubygems_version: 3.
|
324
|
+
rubygems_version: 3.2.25
|
325
325
|
signing_key:
|
326
326
|
specification_version: 4
|
327
327
|
summary: Compact job server with API, CLI, Web UI and a Sidekiq heart
|