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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7202ae9a894c4f8441a14d462347e378a5a2a7b7bbfe491ab63422c18fd53220
4
- data.tar.gz: 0b206f459aff8f18ccd90369f8f1d5817546bfd158f25c556d071af0dd481e1e
3
+ metadata.gz: 78e0e2f31ccc1881218c6a3ecfe5fc8a98bab525c4710ffb8e63ffec58bcaaa0
4
+ data.tar.gz: ed342e0ba43d13b0cced1488bb111a9de258fedf77df2105f3ea4ef9bfd59aaf
5
5
  SHA512:
6
- metadata.gz: a7166a00ed4d2132a545bb563ad4714836dee8c66bd7cc7f30b54f142054195f20f84f632c1bb7d591a77cf9bf8a4003ec39c013bc77f5f70f8c5f4f1b29cc2d
7
- data.tar.gz: 7d01f662675303828e27365aa5d87cdc66543749a932a295e957132e47c648725576b6f0d568ade13e3dd7619bbdb6bd11e45a84b7037a86e3b54f166fe8b857
6
+ metadata.gz: eb1b8a8c907a33fd5d40ff70e8346c52352ccebcda056923707285bf8a13127664b7bb6cbb3e6170503beb7d479262053b6fb043e3000fef81cec410d5d7d021
7
+ data.tar.gz: 401cdd0d0e13ffba1155e4a54c61281c0d8f07d7d8754395df92807f596595cd599eb0aa43c3224ee33ac8a2d40527b16cd777a0968debc722647933c6ae9632
@@ -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
@@ -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
- STDERR.puts(entry) if log_level >= log_threshold
21
+ warn(entry) if log_level >= log_threshold
22
22
  end
23
23
 
24
24
  def self.log_error(error:)
@@ -1,3 +1,3 @@
1
1
  module FDK
2
- VERSION = "0.0.18".freeze
2
+ VERSION = "0.0.19".freeze
3
3
  end
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.18
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-01-30 00:00:00.000000000 Z
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.1
128
+ rubygems_version: 3.0.3
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Ruby FDK for Fn Project