bindef 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -1
  3. data/bin/bd +5 -0
  4. data/lib/bindef/version.rb +1 -1
  5. metadata +16 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7dc82f82419887283ddf91cf58eaf82eb153bd65c9748286a0b97c0ab6a209f7
4
- data.tar.gz: 4b0c9c5722ec0e8c11271405663fa0b45bce9a3ac2d520358eb591585b927d2a
3
+ metadata.gz: 78255131ad83ceb095efc8d6ea27562ac9337950151dac7ead52e273108f45ce
4
+ data.tar.gz: e2b1ee9365c6b778d3c457af39c4bed900ef0b91cbf0a21c65c4bde20bb74249
5
5
  SHA512:
6
- metadata.gz: 11ae632e606bb93d83f3106634e6357a430cc99d2b06d0ae600c1b188a7e492dd930dfac254f12c8882fa9812d8f490846d0a25b0a507ad1b76f4d9e483a1f20
7
- data.tar.gz: 30f2c3a9bd3d07f0fec9c065097b40f2779d5fd2d2d7c6ac322c0d69499bc7cfb8cf7e4317af71201d7906791e1796867c604f15c2507360a6f69e71c736b88d
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
+ [![Gem Version](https://badge.fury.io/rb/bindef.svg)](https://badge.fury.io/rb/bindef)
5
+ [![Build Status](https://travis-ci.org/woodruffw/bindef.svg?branch=master)](https://travis-ci.org/woodruffw/bindef)
6
+ [![Coverage Status](https://codecov.io/gh/woodruffw/bindef/branch/master/graph/badge.svg)](https://codecov.io/gh/woodruffw/bindef)
7
+ [![Maintainability](https://api.codeclimate.com/v1/badges/bc780f5233688a8e5951/maintainability)](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 [examples directory](examples/) has more. Read the [SYNTAX](SYNTAX.md) file for a
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],
@@ -2,5 +2,5 @@
2
2
 
3
3
  class Bindef
4
4
  # The current {Bindef} version.
5
- VERSION = "0.0.2"
5
+ VERSION = "0.0.3"
6
6
  end
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.2
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-25 00:00:00.000000000 Z
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