pdf-417 0.9.4 → 0.9.5
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 +4 -4
- data/lib/pdf-417.rb +4 -4
- data/pdf-417.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e94dadf748c08d33158aec90fc10c750c409cd71
|
4
|
+
data.tar.gz: f84717705811305b874dc40b58e772992af08d21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fffcb98300c86768a393f9f254477a54da85bca42dfb2ba5d71ff76e8416ead3fd1cbc412db0b78c3891af751ae3fc9a879c99b5f020014723d94e1479870fc
|
7
|
+
data.tar.gz: fb95e3a8dd8759189dc019f68453fe78f5ca19d61289e3d5012d6520e3abcc3c2f761160937a88d499a016100d5f09a905316c75bb8f3e870f153312f11402f7
|
data/lib/pdf-417.rb
CHANGED
@@ -9,10 +9,10 @@ module Enumerable
|
|
9
9
|
end
|
10
10
|
|
11
11
|
class PDF417
|
12
|
-
def initialize(str=nil)
|
13
|
-
@tall =
|
14
|
-
@wbyh =
|
15
|
-
@pads =
|
12
|
+
def initialize(str=nil, tall:2, wbyh:3, pads:2)
|
13
|
+
@tall = tall # row height in module units
|
14
|
+
@wbyh = wbyh # barcode's width/height
|
15
|
+
@pads = pads # padding around barcode
|
16
16
|
|
17
17
|
@str = str # string to encode
|
18
18
|
@cws = nil # codeword array
|
data/pdf-417.gemspec
CHANGED