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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc70626b19fe445f4e51e6e8f27fe2e4cf4eebf77e4fadf2fd76979d5d15fc12
4
- data.tar.gz: 004bfd02dc556e5648c8d455cc0f04e73494f363d8894ba264ca833f859a9db8
3
+ metadata.gz: 5c860954d5c2653992fd5fc659a505a245b12681f71a25a18f7c210cfdac922e
4
+ data.tar.gz: 03712aba4241e0c1cf86563af58967232694389852ccce22534b9dcf1f86aa7e
5
5
  SHA512:
6
- metadata.gz: cdda456976e29cf6a2bc073046e5c8ce00d8c6acf12629639555a66f4f9eeb48f097a7e86ecd8dbb01f0eff64ce68920398704afd3cf74ccda1763bf360817d7
7
- data.tar.gz: 10b17d9d3a1147d296f4310656e6cb1540f533cc559d3cdcdb6b5878779e11243c097b5511dccde824c1a49eafa8768c85010495897e0fa1db129a3bb8a058fc
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.12'
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.12
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-20 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
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
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: '0.7'
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.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