jobly 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jobly/commands/server.rb +4 -2
- data/lib/jobly/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed1e811ab5810313532f1fb9ad971794e432f6098461e9fca0e2a3015d3f7236
|
4
|
+
data.tar.gz: f7d804168e00cf68a1ed85e848222344eac3410b3485a41dc6b35f82a3e54ab4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0c909014e963b2f9301c03c150f79d01376ce85fe13f02865289e46da34397294add643ccbb211a1d2efa75ef3251b63148e0d5657811e29dcc94acca142287
|
7
|
+
data.tar.gz: 9ca9dbe87e58ea46d45f0a3360ee1229f94c4aeb1abf85580bcfe6b6b38225c74bed1ce1eff011bde7600fbe3dfbccb22e547e5ab27d5d41d9d0cfad2234e171
|
@@ -2,14 +2,16 @@ module Jobly
|
|
2
2
|
module Commands
|
3
3
|
class ServerCmd < Base
|
4
4
|
summary 'Start the server'
|
5
|
-
usage 'jobly server [--port NUMBER]'
|
5
|
+
usage 'jobly server [--host ADDRESS --port NUMBER]'
|
6
6
|
usage 'jobly server (-h|--help)'
|
7
|
+
option '-o --host ADDRESS', 'Set the bind address [default: 0.0.0.0]'
|
7
8
|
option '-p --port NUMBER', 'Set the port number [default: 3000]'
|
8
9
|
|
9
10
|
def run
|
11
|
+
host = args['--host']
|
10
12
|
port = args['--port']
|
11
13
|
say 'Starting server'
|
12
|
-
exec
|
14
|
+
exec 'rackup', '--env', Jobly.environment, '--port', port, '--host', host, rackup_file
|
13
15
|
end
|
14
16
|
|
15
17
|
private
|
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: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colsole
|
@@ -298,7 +298,7 @@ metadata:
|
|
298
298
|
documentation_uri: https://jobly.dannyb.co/
|
299
299
|
source_code_uri: https://github.com/dannyben/jobly
|
300
300
|
rubygems_mfa_required: 'true'
|
301
|
-
post_install_message:
|
301
|
+
post_install_message:
|
302
302
|
rdoc_options: []
|
303
303
|
require_paths:
|
304
304
|
- lib
|
@@ -313,8 +313,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
313
313
|
- !ruby/object:Gem::Version
|
314
314
|
version: '0'
|
315
315
|
requirements: []
|
316
|
-
rubygems_version: 3.
|
317
|
-
signing_key:
|
316
|
+
rubygems_version: 3.4.17
|
317
|
+
signing_key:
|
318
318
|
specification_version: 4
|
319
319
|
summary: Compact job server with API, CLI, Web UI and a Sidekiq heart
|
320
320
|
test_files: []
|