kaitai-struct 0.9 → 0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -21
- data/README.md +44 -41
- data/lib/kaitai/struct/struct.rb +659 -621
- metadata +10 -9
- data/.gitignore +0 -1
- data/kaitai-struct.gemspec +0 -31
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaitai-struct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.10'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikhail Yakshin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
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 +21,17 @@ executables: []
|
|
21
21
|
extensions: []
|
22
22
|
extra_rdoc_files: []
|
23
23
|
files:
|
24
|
-
- ".gitignore"
|
25
24
|
- LICENSE
|
26
25
|
- README.md
|
27
|
-
- kaitai-struct.gemspec
|
28
26
|
- lib/kaitai/struct/struct.rb
|
29
27
|
homepage: http://kaitai.io
|
30
28
|
licenses:
|
31
29
|
- MIT
|
32
|
-
metadata:
|
33
|
-
|
30
|
+
metadata:
|
31
|
+
bug_tracker_uri: https://github.com/kaitai-io/kaitai_struct_ruby_runtime/issues
|
32
|
+
homepage_uri: http://kaitai.io
|
33
|
+
source_code_uri: https://github.com/kaitai-io/kaitai_struct_ruby_runtime
|
34
|
+
post_install_message:
|
34
35
|
rdoc_options: []
|
35
36
|
require_paths:
|
36
37
|
- lib
|
@@ -45,8 +46,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
46
|
- !ruby/object:Gem::Version
|
46
47
|
version: '0'
|
47
48
|
requirements: []
|
48
|
-
rubygems_version: 3.
|
49
|
-
signing_key:
|
49
|
+
rubygems_version: 3.3.17
|
50
|
+
signing_key:
|
50
51
|
specification_version: 4
|
51
52
|
summary: 'Kaitai Struct: runtime library for Ruby'
|
52
53
|
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
|
-
}
|