da_funk 3.25.0 → 3.25.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/RELEASE_NOTES.md +4 -0
- data/lib/da_funk/helper/status_bar.rb +12 -9
- data/lib/da_funk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c51a5629c6bb3c16b5c95f9f75c31fbdd0c4dad7ab85853b90f22b31c51ac07d
|
4
|
+
data.tar.gz: 0ec037b370257e24893d21e642144b63c94298d066d4539a7deface8906c82c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01332cd3a315619a08a7011d41b7d2a94d5c8ac4d9331a928a585a968eda3c5e05fb40f56776a4d7bed7b10db36072e5ba1314d71c08add652c653ffd01f1892
|
7
|
+
data.tar.gz: 2e0b2aff3a95c7e7e47b5b0c804e0011d218c42ed9a36ce114b6bf0194ecdf8b1aa52d06c84cdabd638055b19520a9c8e516facf535425d6cb2018509406ba45
|
data/Gemfile.lock
CHANGED
data/RELEASE_NOTES.md
CHANGED
@@ -90,25 +90,28 @@ module DaFunk
|
|
90
90
|
if File.exists?('./shared/system_update')
|
91
91
|
PAX::Display.print_status_bar(SLOT_UPDATE, "./shared/system_update_download.png")
|
92
92
|
PAX::Display.print_status_bar(3, nil)
|
93
|
+
self.connected = false
|
93
94
|
else
|
94
95
|
change_message
|
95
96
|
end
|
96
97
|
end
|
97
98
|
|
98
99
|
def self.change_message
|
99
|
-
|
100
|
+
unless File.exists?('./shared/system_update')
|
101
|
+
connected = Device::Network.connected?
|
100
102
|
|
101
|
-
|
102
|
-
|
103
|
+
if connected != self.connected
|
104
|
+
self.connected = connected
|
103
105
|
|
104
|
-
|
105
|
-
|
106
|
+
slot_message_1 = SLOT_MESSAGE_CONNECTION[self.connected][:slot1]
|
107
|
+
slot_message_2 = SLOT_MESSAGE_CONNECTION[self.connected][:slot2]
|
106
108
|
|
107
|
-
|
108
|
-
|
109
|
+
message_1 = SLOT_MESSAGE_CONNECTION[self.connected][:message1]
|
110
|
+
message_2 = SLOT_MESSAGE_CONNECTION[self.connected][:message2]
|
109
111
|
|
110
|
-
|
111
|
-
|
112
|
+
Device::Display.print_status_bar(slot_message_1, message_1)
|
113
|
+
Device::Display.print_status_bar(slot_message_2, message_2)
|
114
|
+
end
|
112
115
|
end
|
113
116
|
end
|
114
117
|
|
data/lib/da_funk/version.rb
CHANGED
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.25.
|
4
|
+
version: 3.25.1
|
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-08-
|
11
|
+
date: 2020-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|