bit-struct 0.16 → 0.17

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8b4260733d87afeaad67a83a5e81bce6f5445885
4
- data.tar.gz: 6d271698553f2cff7d062f9c095c9e395fbd7233
2
+ SHA256:
3
+ metadata.gz: a1cf35ff5b015befc041abc2494b386401d3c01e8a9c5712e3f61a428d182328
4
+ data.tar.gz: afbaee46ef4571da92e49ab6b428d60a6babfb846cf7309f274e4c05a2597d0c
5
5
  SHA512:
6
- metadata.gz: 76fd8928a0eeb632b70e8b81c3a2ded19649659e9ede7473dd7ebbc3257ea1eb14ed8cbcc2150606f997394be8774eeee37870ae772388f5795af59bdc94d57f
7
- data.tar.gz: 670298e1efc0da14c23efc1fedb00c27c6bf2f3488a85f6a70234b45ca7c3858961449def4840aca9fdb71aeeb70d99d00dcc6cdd9217e68229ccc48e9e23ae6
6
+ metadata.gz: d484839de3555a0389591c8a33727bed2f032b64161e4056d61263da319e6b3ca7e3e98bd5c1c8da3cd5e5773fb2a83475834530c756569cdbce5ac44584a068
7
+ data.tar.gz: dd2ba2763c4ceda28774b75d0fd52b7022700e64707adf6e3788c13164b5c77e85bb123d1085a64d2c4a4465cc0274807d92385dbee14cc988461fc23bfb4531
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ bit-struct 0.17
2
+
3
+ - updated for ruby 3.0
4
+
1
5
  bit-struct 0.16
2
6
 
3
7
  - updated for ruby 2.4
@@ -9,7 +9,7 @@
9
9
  # The String#replace method is useful.
10
10
  #
11
11
  class BitStruct < String
12
- VERSION = "0.16"
12
+ VERSION = "0.17"
13
13
 
14
14
  require 'bit-struct/field'
15
15
  NULL_FIELD = Field.new(0, 0, :null, :display_name => "null field")
@@ -47,7 +47,7 @@ class BitStruct
47
47
  end
48
48
 
49
49
  else
50
- yaml_as "tag:github.com:vjoel/bit-struct"
50
+ yaml_tag "tag:github.com:vjoel/bit-struct"
51
51
 
52
52
  def to_yaml_properties # :nodoc:
53
53
  yaml_fields = fields.select {|field| field.inspectable?}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bit-struct
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.16'
4
+ version: '0.17'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel VanderWerf
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-14 00:00:00.000000000 Z
11
+ date: 2021-04-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Library for packed binary data stored in ruby Strings. Useful for accessing
14
14
  fields in network packets and binary files.
@@ -68,7 +68,7 @@ homepage: https://github.com/vjoel/bit-struct
68
68
  licenses:
69
69
  - Ruby
70
70
  metadata: {}
71
- post_install_message:
71
+ post_install_message:
72
72
  rdoc_options:
73
73
  - "--quiet"
74
74
  - "--line-numbers"
@@ -90,12 +90,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
- rubyforge_project: bit-struct
94
- rubygems_version: 2.6.11
95
- signing_key:
93
+ rubygems_version: 3.2.15
94
+ signing_key:
96
95
  specification_version: 4
97
96
  summary: Library for packed binary data stored in ruby Strings
98
97
  test_files:
99
- - test/test-vector.rb
100
98
  - test/test-endian.rb
99
+ - test/test-vector.rb
101
100
  - test/test.rb