kaitai-struct 0.9 → 0.11
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/LICENSE +21 -21
- data/README.md +44 -41
- data/lib/kaitai/struct/struct.rb +893 -621
- metadata +11 -11
- data/.gitignore +0 -1
- data/kaitai-struct.gemspec +0 -31
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaitai-struct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.11'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikhail Yakshin
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-09-10 00:00:00.000000000 Z
|
12
11
|
dependencies: []
|
13
12
|
description: |
|
14
13
|
Kaitai Struct is a declarative language used for describe various binary data structures, laid out in files or in memory: i.e. binary file formats, network stream packet formats, etc.
|
@@ -21,16 +20,18 @@ executables: []
|
|
21
20
|
extensions: []
|
22
21
|
extra_rdoc_files: []
|
23
22
|
files:
|
24
|
-
- ".gitignore"
|
25
23
|
- LICENSE
|
26
24
|
- README.md
|
27
|
-
- kaitai-struct.gemspec
|
28
25
|
- lib/kaitai/struct/struct.rb
|
29
|
-
homepage:
|
26
|
+
homepage: https://kaitai.io/
|
30
27
|
licenses:
|
31
28
|
- MIT
|
32
|
-
metadata:
|
33
|
-
|
29
|
+
metadata:
|
30
|
+
bug_tracker_uri: https://github.com/kaitai-io/kaitai_struct_ruby_runtime/issues
|
31
|
+
documentation_uri: https://www.rubydoc.info/gems/kaitai-struct
|
32
|
+
homepage_uri: https://kaitai.io/
|
33
|
+
source_code_uri: https://github.com/kaitai-io/kaitai_struct_ruby_runtime
|
34
|
+
rubygems_mfa_required: 'true'
|
34
35
|
rdoc_options: []
|
35
36
|
require_paths:
|
36
37
|
- lib
|
@@ -38,15 +39,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
38
39
|
requirements:
|
39
40
|
- - ">="
|
40
41
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
42
|
+
version: 1.9.3
|
42
43
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
44
|
requirements:
|
44
45
|
- - ">="
|
45
46
|
- !ruby/object:Gem::Version
|
46
47
|
version: '0'
|
47
48
|
requirements: []
|
48
|
-
rubygems_version: 3.
|
49
|
-
signing_key:
|
49
|
+
rubygems_version: 3.7.2
|
50
50
|
specification_version: 4
|
51
51
|
summary: 'Kaitai Struct: runtime library for Ruby'
|
52
52
|
test_files: []
|
data/.gitignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
*.gem
|
data/kaitai-struct.gemspec
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
require File.expand_path("../lib/kaitai/struct/struct", __FILE__)
|
4
|
-
require 'date'
|
5
|
-
|
6
|
-
Gem::Specification.new { |s|
|
7
|
-
s.name = 'kaitai-struct'
|
8
|
-
s.version = Kaitai::Struct::VERSION
|
9
|
-
s.date = Date.today.to_s
|
10
|
-
|
11
|
-
s.authors = ['Mikhail Yakshin']
|
12
|
-
s.email = 'greycat@kaitai.io'
|
13
|
-
|
14
|
-
s.homepage = 'http://kaitai.io'
|
15
|
-
s.summary = 'Kaitai Struct: runtime library for Ruby'
|
16
|
-
s.license = 'MIT'
|
17
|
-
s.description = <<-EOF
|
18
|
-
Kaitai Struct is a declarative language used for describe various binary data structures, laid out in files or in memory: i.e. binary file formats, network stream packet formats, etc.
|
19
|
-
|
20
|
-
The main idea is that a particular format is described in Kaitai Struct language (.ksy file) and then can be compiled with ksc into source files in one of the supported programming languages. These modules will include a generated code for a parser that can read described data structure from a file / stream and give access to it in a nice, easy-to-comprehend API.
|
21
|
-
|
22
|
-
This package provides small runtime library used by code generated by Kaitai Struct compiler.
|
23
|
-
EOF
|
24
|
-
|
25
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
26
|
-
s.require_paths = ['lib']
|
27
|
-
|
28
|
-
s.files = `git ls-files`.split("\n")
|
29
|
-
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
30
|
-
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
31
|
-
}
|