packed_struct 0.1.1 → 0.1.2

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.
@@ -41,7 +41,7 @@ module PackedStruct
41
41
 
42
42
  mapped_directives = @directives.map(&:name)
43
43
 
44
- values.select! { |x| mapped_directives.include?(x[0]) }
44
+ values = values.select { |x| mapped_directives.include?(x[0]) }
45
45
 
46
46
  values.sort! do |a, b|
47
47
  o = mapped_directives.index(a[0]) <=> mapped_directives.index(b[0])
@@ -1,5 +1,5 @@
1
1
  module PackedStruct
2
2
 
3
3
  # The current version of PackedStruct.
4
- VERSION = "0.1.1".freeze
4
+ VERSION = "0.1.2".freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: packed_struct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: