baikal 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/History.txt +7 -0
- data/README.txt +4 -0
- data/baikal.gemspec +2 -2
- data/lib/baikal.rb +7 -11
- data/lib/baikal/cursor.rb +0 -2
- data/lib/baikal/hexdump.rb +0 -2
- data/lib/baikal/tweak.rb +0 -2
- metadata +10 -16
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b00651e9907712c9e457962a98f64ae3cf653ed6
|
4
|
+
data.tar.gz: 0981fa36acceda82742c8608e22643ed71b06d68
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3cb66ee20750fa7184628af89e8319a20c189fc1a816cf18b60ade013f9d684aa4679501bcf68d917b93b292c2c94a9371c1f963117fa2e1f88a5ae81aab80e1
|
7
|
+
data.tar.gz: 37d8b7b7750c7fc543c4ec7169bc67fdd9d9cef6b4be66d15a4e775c33610651057ee9056d206c6fd6213e50767e5f267add72a47645f09be66848111d368fd6
|
data/History.txt
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
=== 1.1.1 / 2014-09-20
|
2
|
+
|
3
|
+
* Removed extraneous words from the docstrings of
|
4
|
+
Pool::new_of_network_byte_order and Pool::new_of_reverse_network_byte_order
|
5
|
+
* Removed remaining $Id$ tags
|
6
|
+
* Added an example of Baikal::hexdump use to the SYNOPSIS section of README.txt
|
7
|
+
|
1
8
|
=== 1.1.0 / 2014-05-25
|
2
9
|
|
3
10
|
* Upgraded to the new String#pack interface of modern Ruby (1.9.3+)
|
data/README.txt
CHANGED
data/baikal.gemspec
CHANGED
data/lib/baikal.rb
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
#
|
2
2
|
# Baikal is a tool for generating, parsing and modifying binary objects.
|
3
3
|
#
|
4
|
-
# $Id: baikal.rb 90 2009-10-19 15:02:43Z dig $
|
5
|
-
#
|
6
4
|
module Baikal
|
7
|
-
VERSION = '1.1.
|
5
|
+
VERSION = '1.1.1'
|
8
6
|
|
9
7
|
#
|
10
8
|
# Represents a byte pool. Byte pools are resizeable arrays of bytes. Data
|
@@ -38,10 +36,9 @@ module Baikal
|
|
38
36
|
end
|
39
37
|
|
40
38
|
#
|
41
|
-
# Creates a new byte pool of the network byte order.
|
42
|
-
#
|
43
|
-
#
|
44
|
-
# after creation.
|
39
|
+
# Creates a new byte pool of the network byte order. If +initial_content+
|
40
|
+
# is given, loads its bytes to the newly created byte pool. Otherwise, the
|
41
|
+
# byte pool will be empty after creation.
|
45
42
|
#
|
46
43
|
def Pool::new_of_network_byte_order initial_content = ''
|
47
44
|
raise 'Type mismatch' unless initial_content.is_a? String
|
@@ -51,10 +48,9 @@ module Baikal
|
|
51
48
|
end
|
52
49
|
|
53
50
|
#
|
54
|
-
# Creates a new byte pool of the reverse network byte order.
|
55
|
-
#
|
56
|
-
#
|
57
|
-
# be empty after creation.
|
51
|
+
# Creates a new byte pool of the reverse network byte order. If
|
52
|
+
# +initial_content+ is given, loads its bytes to the newly created byte
|
53
|
+
# pool. Otherwise, the byte pool will be empty after creation.
|
58
54
|
#
|
59
55
|
def Pool::new_of_reverse_network_byte_order initial_content = ''
|
60
56
|
raise 'Type mismatch' unless initial_content.is_a? String
|
data/lib/baikal/cursor.rb
CHANGED
data/lib/baikal/hexdump.rb
CHANGED
data/lib/baikal/tweak.rb
CHANGED
metadata
CHANGED
@@ -1,24 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: baikal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Andres Soolo
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-09-20 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
|
-
description:
|
15
|
-
objects
|
16
|
-
|
17
|
-
(''blobs'') in a linear manner. Its primary use is facilitating custom bytecode
|
18
|
-
|
13
|
+
description: |
|
14
|
+
Baikal is a Ruby library for constructing, parsing and modifying binary objects
|
15
|
+
('blobs') in a linear manner. Its primary use is facilitating custom bytecode
|
19
16
|
engines.
|
20
|
-
|
21
|
-
'
|
22
17
|
email: dig@mirky.net
|
23
18
|
executables: []
|
24
19
|
extensions: []
|
@@ -39,27 +34,26 @@ files:
|
|
39
34
|
homepage: https://github.com/digwuren/baikal
|
40
35
|
licenses:
|
41
36
|
- GPL-3
|
37
|
+
metadata: {}
|
42
38
|
post_install_message:
|
43
39
|
rdoc_options: []
|
44
40
|
require_paths:
|
45
41
|
- lib
|
46
42
|
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
-
none: false
|
48
43
|
requirements:
|
49
|
-
- -
|
44
|
+
- - '>='
|
50
45
|
- !ruby/object:Gem::Version
|
51
46
|
version: '0'
|
52
47
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
48
|
requirements:
|
55
|
-
- -
|
49
|
+
- - '>='
|
56
50
|
- !ruby/object:Gem::Version
|
57
51
|
version: '0'
|
58
52
|
requirements: []
|
59
53
|
rubyforge_project:
|
60
|
-
rubygems_version:
|
54
|
+
rubygems_version: 2.0.14
|
61
55
|
signing_key:
|
62
|
-
specification_version:
|
56
|
+
specification_version: 4
|
63
57
|
summary: A blob handling toolkit
|
64
58
|
test_files:
|
65
59
|
- test/test_baikal.rb
|