teptris 0.2.38-powerpc64le-linux → 0.2.40-powerpc64le-linux
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/lib/teptris/version.rb +1 -1
- data/lib/teptris.rb +19 -11
- metadata +3 -3
- /data/lib/{teptris_ext.so → teptris/3.2/teptris_ext.so} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c6ad6370490c5e58f72d913f3a318249bf4f45069e6bc8ec55253638d16022a
|
|
4
|
+
data.tar.gz: 759b4a21909d64c2629c8eca5b737153a68191512f8f4a08c9c49b54fb4b2236
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1123765b0ff38e04de2d9cb97963b16883d3949d9c87cbe91ad3770bf925c78b1f2e0f41533981ee7fde89fa592a8e858c3efefb64a8b3f5006820c1c24c5ef2
|
|
7
|
+
data.tar.gz: dc49ea4a3cc829eae3463337c060c1eb9fdbf2a93eda8940b2946547535ef0b54d1846b75f4d07e51690c2ec014cfca27a9c919941011de3f29f8648604f6534
|
data/lib/teptris/version.rb
CHANGED
data/lib/teptris.rb
CHANGED
|
@@ -5,20 +5,28 @@ require_relative "teptris/error"
|
|
|
5
5
|
require_relative "teptris/descriptor"
|
|
6
6
|
require_relative "teptris/toml"
|
|
7
7
|
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
8
|
+
# Fat-gem layout on EVERY platform (nokogiri's shape): one extension
|
|
9
|
+
# per ruby minor under lib/teptris/<minor>/ — ucrt rubies bind a
|
|
10
|
+
# minor-named DLL, and a unix .so built for one minor fails dlopen on
|
|
11
|
+
# another (a 3.3-built ext hard-failed under ruby 4.0 with the gem
|
|
12
|
+
# already installed). The native extension IS the binding — no
|
|
13
|
+
# fallback, ever; minors without a prebuilt cell ship via the source
|
|
14
|
+
# gem, which compiles at install.
|
|
15
|
+
minor = RUBY_VERSION[/\A\d+\.\d+/]
|
|
12
16
|
begin
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
# fat prebuilt gems: lib/teptris/<minor>/teptris_ext
|
|
18
|
+
require "teptris/#{minor}/teptris_ext"
|
|
19
|
+
rescue LoadError
|
|
20
|
+
begin
|
|
21
|
+
# source-built installs: rubygems puts the compiled ext on the
|
|
22
|
+
# load path under its bare name (no <minor> dir exists)
|
|
16
23
|
require "teptris_ext"
|
|
24
|
+
rescue LoadError
|
|
25
|
+
raise LoadError,
|
|
26
|
+
"teptris native extension for ruby #{RUBY_VERSION} not found " \
|
|
27
|
+
"(#{RUBY_PLATFORM}; no fallback by design — install the source " \
|
|
28
|
+
"gem: gem install teptris --platform ruby)"
|
|
17
29
|
end
|
|
18
|
-
rescue LoadError
|
|
19
|
-
raise LoadError,
|
|
20
|
-
"teptris native extension not available for #{RUBY_PLATFORM} " \
|
|
21
|
-
"ruby #{RUBY_VERSION} (no fallback by design)"
|
|
22
30
|
end
|
|
23
31
|
|
|
24
32
|
module Teptris
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: teptris
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.40
|
|
5
5
|
platform: powerpc64le-linux
|
|
6
6
|
authors:
|
|
7
7
|
- teptris contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A native C extension over libteptris, a C99 TOML 1.1 parser/emitter.
|
|
14
14
|
API shape mirrors the tomlib gem.
|
|
@@ -50,11 +50,11 @@ files:
|
|
|
50
50
|
- ext/teptris_ext/extconf.rb
|
|
51
51
|
- ext/teptris_ext/materialize.c
|
|
52
52
|
- lib/teptris.rb
|
|
53
|
+
- lib/teptris/3.2/teptris_ext.so
|
|
53
54
|
- lib/teptris/descriptor.rb
|
|
54
55
|
- lib/teptris/error.rb
|
|
55
56
|
- lib/teptris/toml.rb
|
|
56
57
|
- lib/teptris/version.rb
|
|
57
|
-
- lib/teptris_ext.so
|
|
58
58
|
homepage: https://github.com/leptris/teptris-ruby
|
|
59
59
|
licenses:
|
|
60
60
|
- MIT
|
|
File without changes
|