jobly 0.5.12 → 0.5.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jobly/cli.rb +1 -1
- data/lib/jobly/commands/config.rb +2 -2
- data/lib/jobly/commands/run.rb +2 -2
- data/lib/jobly/commands/send.rb +1 -1
- data/lib/jobly/version.rb +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c860954d5c2653992fd5fc659a505a245b12681f71a25a18f7c210cfdac922e
|
4
|
+
data.tar.gz: 03712aba4241e0c1cf86563af58967232694389852ccce22534b9dcf1f86aa7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a18f724829f512e500db22020e4cc10417c8dd2f516eca092481e2aafef9d70d2ee0b7b34478b7e177e6c3073175a2262db9baab85b6a2f11e510f303bae613f
|
7
|
+
data.tar.gz: ff389b4f52ad1c899f45b5cb095a683a6259c1b0b366ae10ab616716bf61f88d7c284fb4e136cb32389333efcf4215af485c1772240c22d610cd69cc9275898d
|
data/lib/jobly/cli.rb
CHANGED
@@ -9,7 +9,7 @@ module Jobly
|
|
9
9
|
def self.router
|
10
10
|
router = MisterBin::Runner.new version: Jobly::VERSION,
|
11
11
|
header: 'Jobly',
|
12
|
-
footer: 'Run
|
12
|
+
footer: 'Run m`jobly COMMAND --help` for more information'
|
13
13
|
|
14
14
|
router.route 'init', to: Commands::InitCmd
|
15
15
|
router.route 'server', to: Commands::ServerCmd
|
@@ -27,8 +27,8 @@ module Jobly
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def line(key, value, attention: false)
|
30
|
-
color = attention ? '
|
31
|
-
say "#{key.to_s.rjust 20} #{color}
|
30
|
+
color = attention ? 'r' : 'g'
|
31
|
+
say "#{key.to_s.rjust 20} #{color}`#{value.to_s.strip}`"
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
data/lib/jobly/commands/run.rb
CHANGED
@@ -20,7 +20,7 @@ module Jobly
|
|
20
20
|
job_class = Jobs.get_class! job
|
21
21
|
|
22
22
|
if args['--later']
|
23
|
-
say "Scheduling
|
23
|
+
say "Scheduling g`#{job_class}`"
|
24
24
|
if params.empty?
|
25
25
|
job_class.run_later
|
26
26
|
else
|
@@ -28,7 +28,7 @@ module Jobly
|
|
28
28
|
end
|
29
29
|
|
30
30
|
else
|
31
|
-
say "Running
|
31
|
+
say "Running g`#{job_class}`"
|
32
32
|
job_class.run params
|
33
33
|
end
|
34
34
|
end
|
data/lib/jobly/commands/send.rb
CHANGED
data/lib/jobly/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.13
|
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: 2023-
|
11
|
+
date: 2023-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colsole
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.8.1
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '2'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
29
|
+
version: 0.8.1
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: http
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -307,7 +313,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
307
313
|
- !ruby/object:Gem::Version
|
308
314
|
version: '0'
|
309
315
|
requirements: []
|
310
|
-
rubygems_version: 3.4.
|
316
|
+
rubygems_version: 3.4.6
|
311
317
|
signing_key:
|
312
318
|
specification_version: 4
|
313
319
|
summary: Compact job server with API, CLI, Web UI and a Sidekiq heart
|