falcon 0.48.2 → 0.48.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/falcon/command/supervisor.rb +2 -2
- data/lib/falcon/service/supervisor.rb +2 -2
- data/lib/falcon/service/virtual.rb +1 -1
- data/lib/falcon/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7402cf048a80de8e1c357956b59f0f2838ac727a8982e08a6f55724b74bf77da
|
4
|
+
data.tar.gz: 1e068e76060caf2dc6812e99a49e2559f6c2d0c36b9da6629fc43c25b434b6fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e36ef9ebb0e04a9cd5fb7acf4f6a0e3c4347cafe24a87a5c4768f6a4ad5a18623419fbc87130fd60f3aa318a2c00a40e8b87ca4199087a7780274b08178d4a6
|
7
|
+
data.tar.gz: d12353d67f5f3f5ffcb931496996cc6beab8f00fa1e5363a712829963426b52e7379a5084e1133cca498ee720824c59e698a8366cee4e21f2ceaed95a668d796
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -40,8 +40,8 @@ module Falcon
|
|
40
40
|
|
41
41
|
# Send the metrics message to the supervisor and print the results.
|
42
42
|
def call(stream)
|
43
|
-
stream.puts({please: 'metrics'}.to_json, separator: "\0")
|
44
|
-
response = JSON.parse(stream.
|
43
|
+
stream.puts({please: 'metrics'}.to_json, separator: "\0", chomp: true)
|
44
|
+
response = JSON.parse(stream.read_until("\0"), symbolize_names: true)
|
45
45
|
|
46
46
|
$stdout.puts response
|
47
47
|
end
|
@@ -74,7 +74,7 @@ module Falcon
|
|
74
74
|
@bound_endpoint.accept do |peer|
|
75
75
|
stream = ::IO::Stream(peer)
|
76
76
|
|
77
|
-
while message = stream.
|
77
|
+
while message = stream.read_until("\0")
|
78
78
|
response = handle(JSON.parse(message, symbolize_names: true))
|
79
79
|
stream.puts(response.to_json, separator: "\0")
|
80
80
|
end
|
@@ -101,7 +101,7 @@ module Falcon
|
|
101
101
|
|
102
102
|
stream.puts(command.to_json, separator: "\0")
|
103
103
|
|
104
|
-
response = JSON.parse(stream.
|
104
|
+
response = JSON.parse(stream.read_until("\0"), symbolize_names: true)
|
105
105
|
|
106
106
|
return response
|
107
107
|
end
|
@@ -66,7 +66,7 @@ module Falcon
|
|
66
66
|
evaluator = @environment.evaluator
|
67
67
|
falcon_path = evaluator.falcon_path
|
68
68
|
|
69
|
-
Console.info(self, "Loading configurations
|
69
|
+
Console.info(self, "Loading configurations:", paths: evaluator.resolved_configuration_paths)
|
70
70
|
|
71
71
|
evaluator.resolved_configuration_paths.each do |path|
|
72
72
|
path = File.expand_path(path)
|
data/lib/falcon/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: falcon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.48.
|
4
|
+
version: 0.48.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -59,7 +59,7 @@ cert_chain:
|
|
59
59
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
60
60
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
61
61
|
-----END CERTIFICATE-----
|
62
|
-
date: 2024-
|
62
|
+
date: 2024-10-15 00:00:00.000000000 Z
|
63
63
|
dependencies:
|
64
64
|
- !ruby/object:Gem::Dependency
|
65
65
|
name: async
|
metadata.gz.sig
CHANGED
Binary file
|