da_funk 3.26.0 → 3.27.0

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: 74ed04e91a2835da1b6ac8a32738190f6f6ad3b1bfb867df409d70e138f7935e
4
- data.tar.gz: a39e91339b6e9a1ee64b6292a2bce50f2d384826bf1d9434438049bba2f5f918
3
+ metadata.gz: ff3ff842f6205b4abaa8991b98a810c3f91fdb7bc8d1efe0ef906d68c300bad0
4
+ data.tar.gz: 0440bbafb2757b6f5cc65932c5e474a5e1cfd81d384a5197698134686d6729f7
5
5
  SHA512:
6
- metadata.gz: 436ae480832d515c74f1d6ab89a97c3e3aacdcdaafefe6a434d7145291d66e1722d629cd77bb2e024a86b31ac40ad8ad5af2256120bcfb5ab1de177cde9869f9
7
- data.tar.gz: 22cd5633ff6197cbc0b9d8fcbe54dd17af8fcbcfc852fbc243c051e1a476ff5814c2e11f4e4dca29c8f986a2e8a0d6b5c62d04fcab1a0a27be49566da67b6ca1
6
+ metadata.gz: 463973562fa833932df7a091af9a54c9027958380bfecd54baf35ffbfd452fbdb9e4672e650b4580f3f93010c4476c70b88a01b6af8cb79ee0749ddab9f58243
7
+ data.tar.gz: 985c8a70c342a6eba544a266023345b388dabcfb970d30a17ba402bc8589150a6eed5f6758a0e5f8a8634b6b0433a029847dfc47754c52300fedbd7c1090fd81
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- da_funk (3.26.0)
4
+ da_funk (3.27.0)
5
5
  archive-zip (~> 0.5)
6
6
  bundler
7
7
  cloudwalk_handshake
@@ -1,5 +1,10 @@
1
1
  # DaFunk
2
2
 
3
+ ### 3.27.0 - 2020-09-25
4
+
5
+ - Print bitmap if exists on DaFunk::ParamsDat#restart;
6
+ - Add main application version on config.dat file.
7
+
3
8
  ### 3.26.0 - 2020-09-14
4
9
 
5
10
  - Fixed error on virtual keyboard, chars y and Y were duplicated;
@@ -151,10 +151,14 @@ module DaFunk
151
151
 
152
152
  def self.restart
153
153
  Device::Display.clear
154
- I18n.pt(:admin_main_update_message)
155
- 3.times do |i|
156
- Device::Display.print("REBOOTING IN #{3 - i}",3,3)
157
- sleep(1)
154
+ if File.exists?('./shared/init_reboot.bmp')
155
+ Device::Display.print_bitmap('./shared/init_reboot.bmp')
156
+ else
157
+ I18n.pt(:admin_main_update_message)
158
+ 3.times do |i|
159
+ Device::Display.print("REBOOTING IN #{3 - i}",3,3)
160
+ sleep(1)
161
+ end
158
162
  end
159
163
  Device::System.restart
160
164
  end
@@ -1,4 +1,4 @@
1
1
  module DaFunk
2
- VERSION="3.26.0"
2
+ VERSION="3.27.0"
3
3
  end
4
4
 
@@ -67,7 +67,8 @@ class Device
67
67
  "transaction_http_host" => HTTP_HOST_PRODUCTION,
68
68
  "transaction_http_port" => HTTP_PORT,
69
69
  "emv_contactless_amount" => "0",
70
- "network_init" => ""
70
+ "network_init" => "",
71
+ "main_app_version" => ""
71
72
  }
72
73
 
73
74
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: da_funk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.26.0
4
+ version: 3.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thiago Scalone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-14 00:00:00.000000000 Z
11
+ date: 2020-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake