specwrk 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c16c0b37ed56096253bc295ee77360813c5d1363a68cbd75f3694545448a588
4
- data.tar.gz: 365e391b1075fead8b38c00ba57d307c0ee47107acec2a946d2c9484abe89fee
3
+ metadata.gz: 40f4d401d702b91aeb83be0c46ce7ca36cef7c672adf2d5d3b1cdba036121067
4
+ data.tar.gz: cb7e0992a6003a88a0468f9d08ba90a2922866a36cb53a844740c9409fc9254e
5
5
  SHA512:
6
- metadata.gz: 28ecd7dd329f4ca7db54c27fbf1454810c8cf06966c8317e51611820c9ab39adba812377ec2ac99e2c9d902b5456a60e4696545662e2952c2768bdc2a6777477
7
- data.tar.gz: 642b25bcf069fd689472c408408baa48e25b9fe8bb32989b89b68e68f210381c9f0e9b160d2c6207e700c356bd9a668b30ae29f093b1c69c0dd42debaf02b72b
6
+ metadata.gz: bfa583f503773db843aba2e962878a00f7cc8c38cfe2cd2c56ab5165394c4a586345347afcb1efef626e920f05fe95afe949f89e1c97a5000d3477ebb0e2bea5
7
+ data.tar.gz: 53bb263d94bd76886d1800f80a3a9fd8270938c7e794ad983f9c843020e0da9abaeec5c2bb664ba3642b02f2fa2b2c8f8cd537216e5af96b38d302d8cd90538e
data/lib/specwrk/cli.rb CHANGED
@@ -67,6 +67,7 @@ module Specwrk
67
67
 
68
68
  on_included do |base|
69
69
  base.unique_option :port, type: :integer, default: ENV.fetch("SPECWRK_SRV_PORT", "5138"), aliases: ["-p"], desc: "Server port. Overrides SPECWRK_SRV_PORT. Default 5138."
70
+ base.unique_option :bind, type: :string, default: ENV.fetch("SPECWRK_SRV_BIND", "127.0.0.1"), aliases: ["-b"], desc: "Server bind address. Overrides SPECWRK_SRV_BIND. Default 127.0.0.1."
70
71
  base.unique_option :key, type: :string, aliases: ["-k"], default: ENV.fetch("SPECWRK_SRV_KEY", ""), desc: "Authentication key clients must use for access. Overrides SPECWRK_SRV_KEY. Default ''."
71
72
  base.unique_option :output, type: :string, default: ENV.fetch("SPECWRK_OUT", ".specwrk/"), aliases: ["-o"], desc: "Directory where worker output is stored. Overrides SPECWRK_OUT. Default '.specwrk/'."
72
73
  base.unique_option :group_by, values: %w[file timings], default: ENV.fetch("SPECWERK_SRV_GROUP_BY", "timings"), desc: "How examples will be grouped for workers; fallback to file if no timings are found. Overrides SPECWERK_SRV_GROUP_BY. Default timings."
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Specwrk
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.4"
5
5
  end
@@ -27,6 +27,7 @@ module Specwrk
27
27
 
28
28
  server_opts = {
29
29
  Port: ENV.fetch("SPECWRK_SRV_PORT", "5138").to_i,
30
+ Host: ENV.fetch("SPECWRK_SRV_BIND", "127.0.0.1"),
30
31
  Logger: WEBrick::Log.new($stdout, WEBrick::Log::FATAL),
31
32
  AccessLog: [],
32
33
  KeepAliveTimeout: 300
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specwrk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Westendorf