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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64d74091ea1f3aa79457c34878fc3b0d6f4c805dbb985d12eb372f29a7837e36
4
- data.tar.gz: a8a61c1af0a401a1b36bc675653d2063e569443d434a57b5a2d95c7abfc1d193
3
+ metadata.gz: ca95a3701da59b4c0ebe14494cc28717daf052c117fd2bc83d0abdc1ef380d07
4
+ data.tar.gz: 3671fdd2379082703212b02a11e5af7adbd2c1e0f4eab17ba1e15e3e07899740
5
5
  SHA512:
6
- metadata.gz: 99143c0bf41695fa1416956073bcb6c9d7257c677fa36337638f890681665bacd51c4b04cd3412008592c8f23e4130fec74363eb425c776f8c827bf360d07c5b
7
- data.tar.gz: d1b1f6aa2a63484b00f79bd184bef605b75850152dd54600b7eb25434f114c45c6994ce725af7535edefb8a536fc93f3e42c7d4bd2547c6f88d8da90d0947f8f
6
+ metadata.gz: fe6feb59364a08caaa933eecdcef97d51d897a62c79bb1fb13871c3a86f641c5731ef209631f8669b846064a60d696baa49fc080db807b0b1ad8dfa57867236f
7
+ data.tar.gz: e017cfb9306a3e49ca6d362b5175b0f983a82caa2eebb3629434ba55e8bb7da070e98ba08c47f45c5db40022669b4383789a6e18f5f28029673a8df17fc8f6ad
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ * 0.6.9
2
+
3
+ * Remove use of instance_eval in RMagick outputter [stlewis]
4
+ * Codabar in README [nashirox]
5
+
1
6
  * 0.6.7
2
7
 
3
8
  * RMagick outputter should use line command for lines [joshuaflanagan]
@@ -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){ self.background_color = b }
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
@@ -2,7 +2,7 @@ module Barby #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 6
5
- TINY = 8
5
+ TINY = 9
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.').freeze
8
8
  end
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.8
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: 2019-05-23 00:00:00.000000000 Z
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.0.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: []