red-flatbuffers 0.0.4 → 0.0.5
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 +4 -4
- data/doc/text/news.md +6 -0
- data/lib/flatbuffers/alignable.rb +3 -2
- data/lib/flatbuffers/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c388a7a7ba6a2318b786261a7123743677526b5a34df3c59e4b993a010675a3
|
|
4
|
+
data.tar.gz: c9ec46d5ce404499554543744592f1229fab5c8b77c62c1d3a54f6a418b89bd7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cea0c8051ba65b1248296e4da2985a69cc009ac86fd9a0563206e2665a8ac06c13263b339e91dc8ab2081db7f0e17eeda15b8944afe065f78c8c9792f5b143a5
|
|
7
|
+
data.tar.gz: f6b36b62a484acbae0517b3ad3eac16ab481cc509a2895d905a543c90473f289eb27352fe8fe15da7d6ba825af9b7995aefe7a2c46923a34a66ce80e9ccd72fb
|
data/doc/text/news.md
CHANGED
|
@@ -18,8 +18,9 @@ module FlatBuffers
|
|
|
18
18
|
using AppendAsBytes if const_defined?(:AppendAsBytes)
|
|
19
19
|
|
|
20
20
|
module Alignable
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
# Apache Arrow suggests 64 byte alignment.
|
|
22
|
+
LARGEST_ALIGNMENT_SIZE = 64
|
|
23
|
+
LARGEST_PADDING = "\x00" * (LARGEST_ALIGNMENT_SIZE - 1)
|
|
23
24
|
|
|
24
25
|
private
|
|
25
26
|
def compute_padding_size(size, alignment_byte)
|
data/lib/flatbuffers/version.rb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2025 Sutou Kouhei <kou@clear-code.com>
|
|
1
|
+
# Copyright 2025-2026 Sutou Kouhei <kou@clear-code.com>
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
15
|
module FlatBuffers
|
|
16
|
-
VERSION = "0.0.
|
|
16
|
+
VERSION = "0.0.5"
|
|
17
17
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: red-flatbuffers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sutou Kouhei
|
|
@@ -63,7 +63,7 @@ licenses:
|
|
|
63
63
|
- Apache-2.0
|
|
64
64
|
metadata:
|
|
65
65
|
bug_tracker_uri: https://github.com/red-data-tools/red-flatbuffers/issues
|
|
66
|
-
changelog_uri: https://github.com/red-data-tools/red-flatbuffers/releases/tag/0.0.
|
|
66
|
+
changelog_uri: https://github.com/red-data-tools/red-flatbuffers/releases/tag/0.0.5
|
|
67
67
|
source_code_uri: https://github.com/red-data-tools/red-flatbuffers
|
|
68
68
|
rdoc_options: []
|
|
69
69
|
require_paths:
|