billing 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: aeab2c3ad07d27197ae4d133a33f955d9637bb4c
4
- data.tar.gz: ddcc7dfd7e4aa3ae52d4c9a867fbeb3b450cecb0
3
+ metadata.gz: 5d99b85d2a8cba740b11827271a6a364f345b930
4
+ data.tar.gz: 42468d50b105eea40ef7add0e1d894e75e9b757c
5
5
  SHA512:
6
- metadata.gz: 1f2fdf3c6239829733af6fdc3db6e6cc38b6a48c6bd68f86575fb46b910f4b8a04785e1f9ebe328a319eada341bbe9642087064341eaf1241f10239b0210df82
7
- data.tar.gz: ca7c51634ea1386329ebe7e6fe760b528dac73a3d49c94ba7647fb0b58ccc56d21053c34c5ceb165a201f1963940a8d377a15ced35cf24c93fa98a973613ff2b
6
+ metadata.gz: e6e7d5ff518d835a26c6df10676b37141570c4b7921ec75a6b9c80a1c62a8a34bca398a2da0b3d6410f25f1d228d40283280b84ac8ce3fd576a0f49b8f522730
7
+ data.tar.gz: 38466e3f9c9fdc8536e470084f85c26350600c59398da3676281df47eb700de2ef0097055277ece26f73d131e26f4d411962b7ca99fde55da7b7f5203414f5d2
@@ -65,7 +65,7 @@ module Billing
65
65
  s.try :autocut if bill.origin.receipt_config.try(:paper_cut)
66
66
  s.try :beep if bill.origin.receipt_config.try(:sound_signal)
67
67
  s.try :pulse if bill.origin.receipt_config.try(:open_cash_drawer)
68
- if bill.origin.receipt_config.try(:custom_commands) && cmd = s.push bill.origin.receipt_config.try(:custom_commands_text)
68
+ if bill.origin.receipt_config.try(:custom_commands) && cmd = bill.origin.receipt_config.try(:custom_commands_text)
69
69
  s.push(cmd.b.gsub(/../){ |pair| pair.hex.chr })
70
70
  end
71
71
  s.notify "Print Doc End"
@@ -1,3 +1,3 @@
1
1
  module Billing
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Vangelov