teptris 0.3.4.1 → 0.3.6.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/ext/teptris_ext/engine/README.md +1 -1
- data/ext/teptris_ext/engine/src/include/teptris/teptris.h +17 -0
- data/ext/teptris_ext/engine/src/include/teptris/version.h +1 -1
- data/ext/teptris_ext/engine/src/teptris/emit/emit_shared.h +419 -0
- data/ext/teptris_ext/engine/src/teptris/emit/emitter.c +1 -404
- data/ext/teptris_ext/engine/src/teptris/emit/writer.c +575 -0
- data/ext/teptris_ext/materialize.c +67 -1
- data/lib/teptris/toml.rb +18 -0
- data/lib/teptris/version.rb +1 -1
- data/sig/teptris.rbs +6 -0
- metadata +4 -2
data/sig/teptris.rbs
CHANGED
|
@@ -22,6 +22,8 @@ module Teptris
|
|
|
22
22
|
# Time for local datetimes, Date for dates, "HH:MM:SS" String for
|
|
23
23
|
# local times.
|
|
24
24
|
def self.load: (String toml) -> Hash[String, untyped]
|
|
25
|
+
def self.load_doc: (String toml) -> untyped
|
|
26
|
+
def self.dump_doc: (untyped doc) -> String
|
|
25
27
|
|
|
26
28
|
def self.load_file: (String path) -> Hash[String, untyped]
|
|
27
29
|
|
|
@@ -49,6 +51,10 @@ module Teptris
|
|
|
49
51
|
|
|
50
52
|
def self.dump: (untyped obj) -> String
|
|
51
53
|
|
|
54
|
+
def self.load_doc: (String toml) -> untyped
|
|
55
|
+
|
|
56
|
+
def self.dump_doc: (untyped doc) -> String
|
|
57
|
+
|
|
52
58
|
def self.dump_json_natural: (untyped obj) -> String
|
|
53
59
|
|
|
54
60
|
def self.engine_version: () -> String
|
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.3.
|
|
4
|
+
version: 0.3.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- teptris contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-21 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.
|
|
@@ -39,8 +39,10 @@ files:
|
|
|
39
39
|
- ext/teptris_ext/engine/src/teptris/common/simd.h
|
|
40
40
|
- ext/teptris_ext/engine/src/teptris/dom/dom.c
|
|
41
41
|
- ext/teptris_ext/engine/src/teptris/dom/dom.h
|
|
42
|
+
- ext/teptris_ext/engine/src/teptris/emit/emit_shared.h
|
|
42
43
|
- ext/teptris_ext/engine/src/teptris/emit/emitter.c
|
|
43
44
|
- ext/teptris_ext/engine/src/teptris/emit/emitter.h
|
|
45
|
+
- ext/teptris_ext/engine/src/teptris/emit/writer.c
|
|
44
46
|
- ext/teptris_ext/engine/src/teptris/memory/arena.c
|
|
45
47
|
- ext/teptris_ext/engine/src/teptris/memory/arena.h
|
|
46
48
|
- ext/teptris_ext/engine/src/teptris/parse/datetime.c
|