bindef 0.0.2 → 0.0.3
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/README.md +6 -1
- data/bin/bd +5 -0
- data/lib/bindef/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78255131ad83ceb095efc8d6ea27562ac9337950151dac7ead52e273108f45ce
|
|
4
|
+
data.tar.gz: e2b1ee9365c6b778d3c457af39c4bed900ef0b91cbf0a21c65c4bde20bb74249
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5651e71b6fa43c6a66e5c3b6f374a67f6293c1ca3d9b753f9ecbfeb6386a04f818b85f63ebfcd71898d8a039cab97aede3298408e1f5a2b93a2cf5d11ba4055
|
|
7
|
+
data.tar.gz: 69cfc647309b3afaf5c1868db770ad8c164668795296186f9d79c48e1a81e3845ec0d924389d9c43d62325bcb95ce85a7b6758bc76559125fcd15105405fed78
|
data/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
bindef
|
|
2
2
|
========
|
|
3
3
|
|
|
4
|
+
[](https://badge.fury.io/rb/bindef)
|
|
5
|
+
[](https://travis-ci.org/woodruffw/bindef)
|
|
6
|
+
[](https://codecov.io/gh/woodruffw/bindef)
|
|
7
|
+
[](https://codeclimate.com/github/woodruffw/bindef/maintainability)
|
|
8
|
+
|
|
4
9
|
`bindef` is a DSL and command-line tool for building binary files.
|
|
5
10
|
|
|
6
11
|
It's inspired by [t2b](https://github.com/thosakwe/t2b), but with a few crucial differences:
|
|
@@ -31,7 +36,7 @@ pragma endian: :big
|
|
|
31
36
|
u32 0xFF000000
|
|
32
37
|
```
|
|
33
38
|
|
|
34
|
-
The [
|
|
39
|
+
The [example directory](example/) has more. Read the [SYNTAX](SYNTAX.md) file for a
|
|
35
40
|
complete listing of commands and pragmas.
|
|
36
41
|
|
|
37
42
|
## Installation
|
data/bin/bd
CHANGED
|
@@ -41,6 +41,11 @@ OptionParser.new do |parser|
|
|
|
41
41
|
parser.on "-e", "--extra ext1,ext2,ext3", Array, "Extra command set(s) to load" do |extras|
|
|
42
42
|
extras.each { |e| require "bindef/extras/#{e}" }
|
|
43
43
|
end
|
|
44
|
+
|
|
45
|
+
parser.on "-V", "--version" do
|
|
46
|
+
STDERR.puts "bd (bindef) version #{Bindef::VERSION}"
|
|
47
|
+
exit
|
|
48
|
+
end
|
|
44
49
|
end.parse!
|
|
45
50
|
|
|
46
51
|
bindef = Bindef.new(options[:output],
|
data/lib/bindef/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bindef
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- William Woodruff
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-08-
|
|
11
|
+
date: 2018-08-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rspec
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '3.8'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '3.8'
|
|
13
27
|
- !ruby/object:Gem::Dependency
|
|
14
28
|
name: yard
|
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|