jobly 0.5.11 → 0.5.13

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: 62fba0cb854e3268a518c5779f247f465af83e85caaacb9a4442e907685e336a
4
- data.tar.gz: d671bae5e151d244c1a901eb3a353be41810bfb9d0e328e471b444ca2f7d9495
3
+ metadata.gz: 5c860954d5c2653992fd5fc659a505a245b12681f71a25a18f7c210cfdac922e
4
+ data.tar.gz: 03712aba4241e0c1cf86563af58967232694389852ccce22534b9dcf1f86aa7e
5
5
  SHA512:
6
- metadata.gz: 6918115853f589511eb2e3152ecbc45eb62576e76bd82c280a93ff121522d23ec99528a029200cef5d516f7ab3d26bba5c12b80f5976d148c7ec826711cec05e
7
- data.tar.gz: 592f0f2142e689fcf33b435c39649a170d92cb1c5aec69a4b8b26cbd2ac15028ff261c73c8360f451f220ea222bac4386bc3d574a8fcfc654aaeba668bcd851a
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 !txtpur!jobly COMMAND --help!txtrst! for more information'
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 ? '!txtred!' : '!txtgrn!'
31
- say "#{key.to_s.rjust 20} #{color}#{value.to_s.strip}"
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
@@ -20,7 +20,7 @@ module Jobly
20
20
  job_class = Jobs.get_class! job
21
21
 
22
22
  if args['--later']
23
- say "Scheduling !txtgrn!#{job_class}"
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 !txtgrn!#{job_class}"
31
+ say "Running g`#{job_class}`"
32
32
  job_class.run params
33
33
  end
34
34
  end
@@ -25,7 +25,7 @@ module Jobly
25
25
 
26
26
  raise HTTPError, "#{response.code} #{response.reason}" unless response.status.ok?
27
27
 
28
- say "!txtgrn!#{response.code} #{response.reason}"
28
+ say "g`#{response.code} #{response.reason}`"
29
29
  puts response.parse.to_yaml
30
30
  end
31
31
 
data/lib/jobly/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jobly
2
- VERSION = '0.5.11'
2
+ VERSION = '0.5.13'
3
3
  end
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.11
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-01-16 00:00:00.000000000 Z
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
+ - !ruby/object:Gem::Version
19
+ version: 0.8.1
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: 0.7.0
22
+ version: '2'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 0.8.1
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 0.7.0
32
+ version: '2'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: http
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -44,28 +50,28 @@ dependencies:
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: 0.7.0
53
+ version: '0.7'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: 0.7.0
60
+ version: '0.7'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: pretty_trace
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: 0.2.4
67
+ version: '0.2'
62
68
  type: :runtime
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: 0.2.4
74
+ version: '0.2'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: puma
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -190,14 +196,14 @@ dependencies:
190
196
  requirements:
191
197
  - - "~>"
192
198
  - !ruby/object:Gem::Version
193
- version: 0.5.0
199
+ version: '0.5'
194
200
  type: :runtime
195
201
  prerelease: false
196
202
  version_requirements: !ruby/object:Gem::Requirement
197
203
  requirements:
198
204
  - - "~>"
199
205
  - !ruby/object:Gem::Version
200
- version: 0.5.0
206
+ version: '0.5'
201
207
  - !ruby/object:Gem::Dependency
202
208
  name: tty-command
203
209
  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.3
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