fdk 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fdk/listener.rb +1 -0
- data/lib/fdk/runner.rb +1 -1
- data/lib/fdk/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78e0e2f31ccc1881218c6a3ecfe5fc8a98bab525c4710ffb8e63ffec58bcaaa0
|
4
|
+
data.tar.gz: ed342e0ba43d13b0cced1488bb111a9de258fedf77df2105f3ea4ef9bfd59aaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb1b8a8c907a33fd5d40ff70e8346c52352ccebcda056923707285bf8a13127664b7bb6cbb3e6170503beb7d479262053b6fb043e3000fef81cec410d5d7d021
|
7
|
+
data.tar.gz: 401cdd0d0e13ffba1155e4a54c61281c0d8f07d7d8754395df92807f596595cd599eb0aa43c3224ee33ac8a2d40527b16cd777a0968debc722647933c6ae9632
|
data/lib/fdk/listener.rb
CHANGED
@@ -51,6 +51,7 @@ module FDK
|
|
51
51
|
req.parse(local_socket)
|
52
52
|
FDK.debug "got request #{req}"
|
53
53
|
fn_block.call(req, resp)
|
54
|
+
resp["Connection"] = "close" # we're not using keep alives sadly
|
54
55
|
resp.send_response(local_socket)
|
55
56
|
FDK.debug "sending resp #{resp.status}, #{resp.header}"
|
56
57
|
local_socket.close
|
data/lib/fdk/runner.rb
CHANGED
@@ -18,7 +18,7 @@ module FDK
|
|
18
18
|
# Writes the entry to STDERR if the log_level >= log_threshold
|
19
19
|
# If no log level is specified, 1 is assumed.
|
20
20
|
def self.log(entry:, log_level: FDK_LOG_DEFAULT)
|
21
|
-
|
21
|
+
warn(entry) if log_level >= log_threshold
|
22
22
|
end
|
23
23
|
|
24
24
|
def self.log_error(error:)
|
data/lib/fdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Reeder
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-
|
13
|
+
date: 2019-04-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
|
-
rubygems_version: 3.0.
|
128
|
+
rubygems_version: 3.0.3
|
129
129
|
signing_key:
|
130
130
|
specification_version: 4
|
131
131
|
summary: Ruby FDK for Fn Project
|