CFPropertyList 2.0.8 → 2.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rbBinaryCFPropertyList.rb +1 -1
  2. metadata +3 -3
@@ -342,7 +342,7 @@ module CFPropertyList
342
342
  nbytes = 0
343
343
 
344
344
  nbytes += 2 if int > 0xE # 2 bytes int
345
- nbytes += 2 if int > 0xFF # 3 bytes int
345
+ nbytes += 1 if int > 0xFF # 3 bytes int
346
346
  nbytes += 2 if int > 0xFFFF # 5 bytes int
347
347
 
348
348
  return nbytes
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: CFPropertyList
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 8
10
- version: 2.0.8
9
+ - 9
10
+ version: 2.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Christian Kruse