barby 0.6.8 → 0.6.9
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/CHANGELOG +5 -0
- data/lib/barby/outputter/rmagick_outputter.rb +1 -1
- data/lib/barby/version.rb +1 -1
- metadata +4 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca95a3701da59b4c0ebe14494cc28717daf052c117fd2bc83d0abdc1ef380d07
|
4
|
+
data.tar.gz: 3671fdd2379082703212b02a11e5af7adbd2c1e0f4eab17ba1e15e3e07899740
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe6feb59364a08caaa933eecdcef97d51d897a62c79bb1fb13871c3a86f641c5731ef209631f8669b846064a60d696baa49fc080db807b0b1ad8dfa57867236f
|
7
|
+
data.tar.gz: e017cfb9306a3e49ca6d362b5175b0f983a82caa2eebb3629434ba55e8bb7da070e98ba08c47f45c5db40022669b4383789a6e18f5f28029673a8df17fc8f6ad
|
data/CHANGELOG
CHANGED
@@ -53,7 +53,7 @@ module Barby
|
|
53
53
|
def to_image(opts={})
|
54
54
|
with_options opts do
|
55
55
|
b = background #Capture locally because Magick::Image.new block uses instance_eval
|
56
|
-
canvas = Magick::Image.new(full_width, full_height){
|
56
|
+
canvas = Magick::Image.new(full_width, full_height){ |i| i.background_color = b }
|
57
57
|
bars = Magick::Draw.new
|
58
58
|
bars.fill = foreground
|
59
59
|
|
data/lib/barby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tore Darell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -196,31 +196,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
196
|
- !ruby/object:Gem::Version
|
197
197
|
version: '0'
|
198
198
|
requirements: []
|
199
|
-
rubygems_version: 3.
|
199
|
+
rubygems_version: 3.4.3
|
200
200
|
signing_key:
|
201
201
|
specification_version: 4
|
202
202
|
summary: The Ruby barcode generator
|
203
|
-
test_files:
|
204
|
-
- test/barcodes.rb
|
205
|
-
- test/bookland_test.rb
|
206
|
-
- test/codabar_test.rb
|
207
|
-
- test/code_128_test.rb
|
208
|
-
- test/code_25_iata_test.rb
|
209
|
-
- test/code_25_interleaved_test.rb
|
210
|
-
- test/code_25_test.rb
|
211
|
-
- test/code_39_test.rb
|
212
|
-
- test/code_93_test.rb
|
213
|
-
- test/data_matrix_test.rb
|
214
|
-
- test/ean13_test.rb
|
215
|
-
- test/ean8_test.rb
|
216
|
-
- test/outputter/cairo_outputter_test.rb
|
217
|
-
- test/outputter/html_outputter_test.rb
|
218
|
-
- test/outputter/pdfwriter_outputter_test.rb
|
219
|
-
- test/outputter/png_outputter_test.rb
|
220
|
-
- test/outputter/prawn_outputter_test.rb
|
221
|
-
- test/outputter/svg_outputter_test.rb
|
222
|
-
- test/outputter_test.rb
|
223
|
-
- test/pdf_417_test.rb
|
224
|
-
- test/qr_code_test.rb
|
225
|
-
- test/test_helper.rb
|
226
|
-
- test/upc_supplemental_test.rb
|
203
|
+
test_files: []
|