dmtx 1.0.0 → 1.0.1

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: 4e925dedfa4fb9f8519252e7b8d3b5180ea814bc3dcb92aa16f496d8782963ee
4
- data.tar.gz: 80409008c93c58eb3b656be93ffd44e5cf9e771d8abf287a9fdc58bc6df9df72
3
+ metadata.gz: 3dbc3d5a0a065358223d6073e03461b3b81f5af798af292f3b951c432fe2fb00
4
+ data.tar.gz: 9c05e529ab2ac6b30e7eaff6bd97d7227bd9017f0e7741fb6fb5fd16a529d6f9
5
5
  SHA512:
6
- metadata.gz: e84c0f0635075d88930dd93aa882e340498cdcd8bcebbae20947c39637dd7daf3df99d3b4434128fc840d4135d6d0c5bb29de9394e126a552fffd80611bf4e8c
7
- data.tar.gz: c275484938002a96598870b9a56ed9797332548564be37a4ca402c9977d5d52d827c6d269ca4d66245322d3b3331e7ffb871bf0857911705c76558311a261b14
6
+ metadata.gz: 90d47b9fa35bd71908da2e56babf6395751486a9b88977b0ebba4b90096f8af4e04c7ae72e6f3db968f19203ade5621eddc845c5be3635ebfef5048edbfeaebc
7
+ data.tar.gz: dec02e63f4a351b8b7efe535aa2833140c53f187506545457408a01f997e6c711067532fbf66da2e25c890b1167c0d898b045614ae41e65ccd9a4953a7e29e08
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## 1.0.0 - 2026-04-20
1
+ ## 1.0.1 - 2026-04-20
2
2
 
3
3
  - Fix frozen string warnings (@ehutzelman)
4
4
 
@@ -70,7 +70,7 @@ module Dmtx
70
70
  end
71
71
 
72
72
  def to_s(pad: 2)
73
- (0..(height - 1)).inject('') do |s, y|
73
+ (0..(height - 1)).inject(+'') do |s, y|
74
74
  (0..(width - 1)).inject(s) { |t, x| t << (bit?(x,y) ? '██' : ' ') } << "\n"
75
75
  end
76
76
  end
@@ -471,4 +471,4 @@ module Dmtx
471
471
  @height = h + 2 * nr
472
472
  end
473
473
  end
474
- end
474
+ end
data/lib/dmtx/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dmtx
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dmtx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Grosser