jobly 0.5.7 → 0.5.8

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: e0029e9f1d593227531aea270a68174d67ff83dc39dcad72666eb15c29d1057e
4
- data.tar.gz: d4c0490b2ab5ff2debda36f984d522d0181503bc6911a238fd8d28bd506f777a
3
+ metadata.gz: f35017a905b84ee3c8009dbc307e3f790bf935345a879f957d1c9229763f7956
4
+ data.tar.gz: 2475f17453db7e5e5c75db80a7fa7b2d3d7086a1918c7433be506689c9ccb6d5
5
5
  SHA512:
6
- metadata.gz: c1aaa15a6d9b52c4ca5e49c89d55dfd0ddf5c6106f0625a8121d7408a64b3cbf1a05ac49abb1956ea7a3609cb624b90810897c54558eefabed5e4d57de14c2a5
7
- data.tar.gz: 9aeb16ed8d76bb2c4ecdff9725627b51cf3bc5fa5dfc798c1bb9f9f2e97473393e0a97606004672ddd5420b756b88887e44dc0fc1eac8ce67ef138bd97228ca5
6
+ metadata.gz: 930202c34a62f26ecefef9cf2f0847f6a767d8ff7406f145ed45c345c58dbaae1ead2c2d787c2b05ddc9e6ef6db92785efe2081ff630498f1514a790a6a73117
7
+ data.tar.gz: 7e48a6455f7d7e66e2f91d4dc222fffd271ff839f311b3327449d0012b35edd736129fc62129d125e33795e529fa010cdebaad8d52e4be7a5f310c176db029c3
data/lib/jobly/server.rb CHANGED
@@ -17,6 +17,7 @@ module Jobly
17
17
 
18
18
  Rack::Builder.new do
19
19
  use Rack::MethodOverride
20
+ use Rack::Session::Cookie
20
21
 
21
22
  if Jobly.auth
22
23
  user, pass = Jobly.auth.split ':'
@@ -1 +1,4 @@
1
1
  # If this file exists, it will be loaded before everything else
2
+ #
3
+ # The gem 'requires' is already included, and can be used here to load
4
+ # directories. See https://github.com/DannyBen/requires.
@@ -8,7 +8,7 @@ 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=Jobs
11
+ export JOBLY_LOG=logs/jobs.log
12
12
  export JOBLY_AUTH=admin:secret
13
13
  export JOBLY_SLACK_WEBHOOK=https://hooks.slack.com/services/...
14
14
  export JOBLY_SLACK_CHANNEL=#debug
@@ -1,3 +1,4 @@
1
+ # Job can inherits from your custom Job class (app/job.rb) or from Jobly::Job
1
2
  class Hello < Job
2
3
  def execute(name: 'Bob')
3
4
  total 2
data/lib/jobly/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jobly
2
- VERSION = "0.5.7"
2
+ VERSION = "0.5.8"
3
3
  end
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.7
4
+ version: 0.5.8
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: 2020-12-22 00:00:00.000000000 Z
11
+ date: 2021-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -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.1.4
324
+ rubygems_version: 3.2.16
325
325
  signing_key:
326
326
  specification_version: 4
327
327
  summary: Compact job server with API, CLI, Web UI and a Sidekiq heart