red-arrow-flight 13.0.0 → 14.0.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: a44bdaa6680107b75b3728b454ffd69bf4f67985b157645d80dd2e51d15aa076
4
- data.tar.gz: 8ead6d2b01f97b49bbe29eaa5ca8bf5b1cce08b584cadc37530d91d98e791cf8
3
+ metadata.gz: a3385d925b5f189345b04763553df844794993643da420952a475b5d20c77084
4
+ data.tar.gz: 8b51c47d8ddcb2df4288b88a220dbe08ca5a40cdd3b65ec5579743c01829e339
5
5
  SHA512:
6
- metadata.gz: f4893d6ef7b880f6399a1541e8f702689af8e0b07103e911859727d9f0e9cde9032d59fc2e85bda80a43b83c5e0ed52d3b284d20ed62c9c55cc93882db7ffc80
7
- data.tar.gz: 3af100cde93ed5a6621f5aa99e59654b515f0dee8f455ee111c684929876372a1c16036acda07523f8972b987cce4f479fb879c4e9407be455a2f1fb675229e3
6
+ metadata.gz: 023af3964ceefa219f28b6f23eb7d77dc35510e71ab6ec253e7278794997a5f7e94f6d4c3833c16178f4feab238dcefdd82fbe14b311fee7a2240cd0eb4e52d9
7
+ data.tar.gz: 1eafc656553a640b208187463b9bd5de9a282b12c5fb449e43880af218a200c40a25fecfc4c813799e3007e11e39a12e32ad9750bcb2b8923a1bf570f9071313
@@ -34,6 +34,7 @@ module ArrowFlight
34
34
  require "arrow-flight/client-options"
35
35
  require "arrow-flight/location"
36
36
  require "arrow-flight/record-batch-reader"
37
+ require "arrow-flight/server-call-context"
37
38
  require "arrow-flight/server-options"
38
39
  require "arrow-flight/ticket"
39
40
  end
@@ -0,0 +1,31 @@
1
+ # Licensed to the Apache Software Foundation (ASF) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The ASF licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ module ArrowFlight
19
+ class ServerCallContext
20
+ def each_incoming_header
21
+ return to_enum(__method__) unless block_given?
22
+ foreach_incoming_header do |key, value|
23
+ yield(key, value)
24
+ end
25
+ end
26
+
27
+ def incoming_headers
28
+ each_incoming_header.to_a
29
+ end
30
+ end
31
+ end
@@ -16,7 +16,7 @@
16
16
  # under the License.
17
17
 
18
18
  module ArrowFlight
19
- VERSION = "13.0.0"
19
+ VERSION = "14.0.1"
20
20
 
21
21
  module Version
22
22
  numbers, TAG = VERSION.split("-")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: red-arrow-flight
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.0.0
4
+ version: 14.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apache Arrow Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-28 00:00:00.000000000 Z
11
+ date: 2023-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: red-arrow
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 13.0.0
19
+ version: 14.0.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 13.0.0
26
+ version: 14.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -88,6 +88,7 @@ files:
88
88
  - lib/arrow-flight/loader.rb
89
89
  - lib/arrow-flight/location.rb
90
90
  - lib/arrow-flight/record-batch-reader.rb
91
+ - lib/arrow-flight/server-call-context.rb
91
92
  - lib/arrow-flight/server-options.rb
92
93
  - lib/arrow-flight/ticket.rb
93
94
  - lib/arrow-flight/version.rb