falcon 0.48.2 → 0.48.3

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: 0bca148632a8977f9aee1b67347459564357ba607e42a51401e5ce942b00ce29
4
- data.tar.gz: 2d1003406460af68558a1533eec082b58e474e653fa6e5554f4f9f750796bf08
3
+ metadata.gz: 7402cf048a80de8e1c357956b59f0f2838ac727a8982e08a6f55724b74bf77da
4
+ data.tar.gz: 1e068e76060caf2dc6812e99a49e2559f6c2d0c36b9da6629fc43c25b434b6fd
5
5
  SHA512:
6
- metadata.gz: 7f6001a9364c224e1d7daf4e2a8d898ef11c551d3c9b3cbf55bc129fba478d97102cb217f0c156f1838ada0b59d0113e41aebaba7615089ccc36a8bd6ca795af
7
- data.tar.gz: ad69b37d67cd115d01b34b9633bfa866cf56e3022c85ae9f15e15284c7fdf1093742e3ff41fe7aaf501940f724a359ab0023816689f8d2256291b4879e368a92
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.gets("\0"), symbolize_names: true)
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.gets("\0")
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.gets("\0"), symbolize_names: true)
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 from:", evaluator.resolved_configuration_paths)
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)
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2017-2024, by Samuel Williams.
5
5
 
6
6
  module Falcon
7
- VERSION = "0.48.2"
7
+ VERSION = "0.48.3"
8
8
  end
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.2
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-09-25 00:00:00.000000000 Z
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