serialbench 0.9.0 → 0.9.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 +4 -4
- data/.github/workflows/benchmark.yml +15 -0
- data/Gemfile +1 -1
- data/lib/serialbench/serializers/json/yeptris_serializer.rb +2 -1
- data/lib/serialbench/serializers/toml/teptris_serializer.rb +2 -1
- data/lib/serialbench/serializers/xml/leptris_serializer.rb +2 -1
- data/lib/serialbench/serializers/yaml/yeptris_serializer.rb +2 -1
- data/lib/serialbench/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7bdffce4061d0423a29fd90e1b8e40d42375f2edb7fc939a07be4211c515d8ee
|
|
4
|
+
data.tar.gz: bcc951356f7189dec61b5beb12d477b5605aa00bf90e4fa9e2486befd7431e7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99346a600ad99b956bc9a92f4bdd7601e1cde5183b0b82877548dbd839bdda0aa535bd6c1628335005d0d82456c97dac41dcb4be7ceb3faf131cdbef9daec4b4
|
|
7
|
+
data.tar.gz: 7cfa20bcf32cdf3c100bd2e021fb6bf71239bbcdc99fe09c5b7b50b0ce7bd39bb2d5db8a6b99fc1495c8ca76bc2c103cbb7204162a63cf62419df9b62b773c57
|
|
@@ -116,6 +116,21 @@ jobs:
|
|
|
116
116
|
- name: Install gems
|
|
117
117
|
run: bundle install
|
|
118
118
|
|
|
119
|
+
- name: Point teptris at its vendored DLL (Windows)
|
|
120
|
+
if: startsWith(matrix.platform, 'windows-')
|
|
121
|
+
shell: bash
|
|
122
|
+
run: |
|
|
123
|
+
# teptris 0.1.0's mingw gem vendors the library as teptris.dll but
|
|
124
|
+
# its FFI loader searches libteptris.dll; TEPTRIS_LIB_PATH (the
|
|
125
|
+
# loader's first candidate) bridges until the ext-based gem ships.
|
|
126
|
+
DLL=$(bundle exec ruby -e "print File.join(Gem::Specification.find_by_name('teptris').gem_dir, 'lib', 'teptris.dll')" 2>/dev/null || true)
|
|
127
|
+
if [ -n "$DLL" ] && [ -f "$DLL" ]; then
|
|
128
|
+
echo "TEPTRIS_LIB_PATH=$DLL" >> "$GITHUB_ENV"
|
|
129
|
+
echo "TEPTRIS_LIB_PATH=$DLL"
|
|
130
|
+
else
|
|
131
|
+
echo "no vendored teptris.dll found — teptris stays unavailable on this leg"
|
|
132
|
+
fi
|
|
133
|
+
|
|
119
134
|
- name: Create environment config
|
|
120
135
|
run: |
|
|
121
136
|
mkdir -p config/environments
|
data/Gemfile
CHANGED
|
@@ -12,7 +12,7 @@ unless Gem.win_platform? && RUBY_PLATFORM.include?('aarch64')
|
|
|
12
12
|
gem 'libxml-ruby'
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
gem 'leptris', '1.9.
|
|
15
|
+
gem 'leptris', '1.9.156.0' # precompiled platform gems bundle libleptris (darwin/linux/mingw)
|
|
16
16
|
gem 'yeptris', '0.2.0.1' # precompiled darwin/linux; no windows or darwin-intel gems yet
|
|
17
17
|
gem 'teptris', '0.1.0' # precompiled all platforms
|
|
18
18
|
gem 'benchmark' # Removed from stdlib in Ruby 4.0
|
data/lib/serialbench/version.rb
CHANGED