baikal 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -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
@@ -17,6 +17,10 @@ bytecode engines.
17
17
  port.print pool.bytes
18
18
  end
19
19
 
20
+ require 'baikal/hexdump'
21
+
22
+ Baikal.hexdump pool.bytes
23
+
20
24
  == REQUIREMENTS
21
25
 
22
26
  Baikal is implemented in plain Ruby.
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'baikal'
3
- s.version = '1.1.0'
4
- s.date = '2014-05-24'
3
+ s.version = '1.1.1'
4
+ s.date = '2014-09-20'
5
5
  s.homepage = 'https://github.com/digwuren/baikal'
6
6
  s.summary = 'A blob handling toolkit'
7
7
  s.author = 'Andres Soolo'
@@ -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.0'
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.the host system's
42
- # native endianness. If +initial_content+ is given, loads its bytes to
43
- # the newly created byte pool. Otherwise, the byte pool will be empty
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.the host
55
- # system's native endianness. If +initial_content+ is given, loads its
56
- # bytes to the newly created byte pool. Otherwise, the byte pool will
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
@@ -1,5 +1,3 @@
1
- # $Id$
2
-
3
1
  require_relative '../baikal'
4
2
 
5
3
  module Baikal
@@ -1,5 +1,3 @@
1
- # $Id: hexdump.rb 1275 2009-10-03 10:28:54Z digwuren $
2
-
3
1
  module Baikal
4
2
  #
5
3
  # Hexdumps bytes from +data_source+ into the given +port+ (by default,
@@ -1,5 +1,3 @@
1
- # $Id: tweak.rb 93 2009-10-19 15:05:26Z dig $
2
-
3
1
  require_relative '../baikal'
4
2
 
5
3
  module Baikal
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.0
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-05-24 00:00:00.000000000 Z
11
+ date: 2014-09-20 00:00:00.000000000 Z
13
12
  dependencies: []
14
- description: ! 'Baikal is a Ruby library for constructing, parsing and modifying binary
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: 1.8.23
54
+ rubygems_version: 2.0.14
61
55
  signing_key:
62
- specification_version: 3
56
+ specification_version: 4
63
57
  summary: A blob handling toolkit
64
58
  test_files:
65
59
  - test/test_baikal.rb