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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pdf-417.rb +4 -4
  3. data/pdf-417.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86b1f485fbbdc619f2ffd1b092c2f96229566265
4
- data.tar.gz: 99b81ab01e2b8fbae68921347437dd4a9a9d4b2e
3
+ metadata.gz: e94dadf748c08d33158aec90fc10c750c409cd71
4
+ data.tar.gz: f84717705811305b874dc40b58e772992af08d21
5
5
  SHA512:
6
- metadata.gz: 751c8ecdc7c66abb2e08073989070e9ba5781274201c450152a2c6154d46586fe5cb1cc6a28c46bf449de1b1f40e3e6b8f1d94d17d9954bf07cdca7edf2e5d1e
7
- data.tar.gz: d7f28a5a25c8aced0747c9c7ebf0f412f51ca963cc98e0f71d45862d594371e2d4ea1b1e8384752eda0975cfbfbb2281862ac7e270673fa8d0cb81a351f600b1
6
+ metadata.gz: 6fffcb98300c86768a393f9f254477a54da85bca42dfb2ba5d71ff76e8416ead3fd1cbc412db0b78c3891af751ae3fc9a879c99b5f020014723d94e1479870fc
7
+ data.tar.gz: fb95e3a8dd8759189dc019f68453fe78f5ca19d61289e3d5012d6520e3abcc3c2f761160937a88d499a016100d5f09a905316c75bb8f3e870f153312f11402f7
@@ -9,10 +9,10 @@ module Enumerable
9
9
  end
10
10
 
11
11
  class PDF417
12
- def initialize(str=nil)
13
- @tall = 2 # row height in module units
14
- @wbyh = 3 # barcode's width/height
15
- @pads = 2 # padding around barcode
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "pdf-417"
5
- s.version = "0.9.4"
5
+ s.version = "0.9.5"
6
6
  s.author = "Steve Shreeve"
7
7
  s.email = "steve.shreeve@gmail.com"
8
8
  s.summary = "Generate PDF-417 barcodes"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf-417
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Shreeve