specinfra 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fbfc9272049c0efc0e7b3430719d72547ec5bd1
4
- data.tar.gz: 16b88cf1fd04e29eff60421b60f688fe80496948
3
+ metadata.gz: d8d7b33a9426ee904733fe53b9d6ffbd1cebe3ea
4
+ data.tar.gz: d55366a918a9fca40a44cead029bca4741fa678e
5
5
  SHA512:
6
- metadata.gz: 065a3f9ece6c188b117a378e826a5b1b7aaabb2f7b17f67c07a9e4fa5bb999fb8d8f3e91e72763e6ae5119a3b0c0485b0b17867109159b18adc7fdf9e854acf8
7
- data.tar.gz: 565a0f1febe195e6cdbe6cab501e1cdf88cfa2c92dcd7c0469e215f4c9b29f91e8075b67a1e987999ac1042fd8e54022453ff5c6e29616026736895e1af76343
6
+ metadata.gz: 99c03de16c601652b044fecae7da678a086bfeba76ecd2d642bf3830ac869d966cd600a1757c3168050bbe228f53387da6f93f6a382374b08fc8e5b7bedf6a30
7
+ data.tar.gz: ce8ff057cd8d6df76d66a99d51fc18df747ead841423f5920c8d07780fbc521e90cda8d76709520005dc1197e36510fe96b27896d8517600456000cc48ebe7b6
@@ -234,7 +234,7 @@ module SpecInfra
234
234
  byte_array = [property[:value]].pack('H*').bytes.to_a
235
235
  "([byte[]] #{byte_array.join(',')})"
236
236
  when :type_dword
237
- [property[:value].scan(/[0-9a-f]{2}/i).reverse.join].pack("H*").unpack("l").first
237
+ [property[:value].rjust(8, '0').scan(/[0-9a-f]{2}/i).reverse.join].pack("H*").unpack("l").first
238
238
  when :type_qword
239
239
  property[:value].hex
240
240
  else
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-05 00:00:00.000000000 Z
11
+ date: 2014-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler