specwrk 0.7.0 → 0.7.1

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: 4c6ab0d31757bbed9bf9f9ba02172a9bdd0b1ba57c7209f9d694b6471588ddd1
4
- data.tar.gz: 44a634acd2023813f35b3eac9bcc331782c4cf624d716bf1d6341db80a07d464
3
+ metadata.gz: 690e5d97390d650309a664688c09c777308ad8a0e8c52ef853fd7893a23d73f3
4
+ data.tar.gz: b9dfe358291cad4ea4e1a40bebc82305c9d98dc05f2620ee7268c2a60990dbc0
5
5
  SHA512:
6
- metadata.gz: 6c29b9f3e52b7b4d88920b6a4d92cba4b24fed583573b9cfa8dd273777a73534ded97f2a89ecc078d58d183e48a0095a1403900de7c3d497954f6c9002b4e962
7
- data.tar.gz: ce81b65408313ce7088ba157c4578ffae66c15f9f8d4e053992c8eb1c4c99a9ecbc3cb68e1903e6817d988740b7dd57e282866a06a23146841ca057adb89fb19
6
+ metadata.gz: d5fe7fa3b2cdcf27b542a7a75a49168e7dba16f6c92982d77fd66a3d60776a12f4d5e500a3e34945d18913e7b3f4493906116bed47266f115ddffed29373995e
7
+ data.tar.gz: b64f866c748808b8e7e5ba788c14a33fbd57f9bf5f8589761ec36fc3745c25cea95bdef291802137530a387577a816128a09dac34db6107133204efe51d34fee
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Specwrk
4
- VERSION = "0.7.0"
4
+ VERSION = "0.7.1"
5
5
  end
@@ -21,8 +21,6 @@ require "specwrk/web/endpoints"
21
21
  module Specwrk
22
22
  class Web
23
23
  class App
24
- REAP_INTERVAL = 330 # HTTP connection timeout + some buffer
25
-
26
24
  class << self
27
25
  def run!
28
26
  Process.setproctitle "specwrk-server"
@@ -13,6 +13,8 @@ module Specwrk
13
13
  end
14
14
 
15
15
  def response
16
+ return with_response unless run_id # No run_id, no datastore usage in the endpoint
17
+
16
18
  datastore.with_lock do |db|
17
19
  @started_at = if db[:started_at]
18
20
  Time.parse(db[:started_at])
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.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Westendorf