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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e159119ab8221c6fbd3c3cd0f1a195705a167240d521bf126b549a314877558c
4
- data.tar.gz: 387879c25676511a10558f4cc9223ad6db4c5751eb4b512081e00fa35304a0e6
3
+ metadata.gz: c51a5629c6bb3c16b5c95f9f75c31fbdd0c4dad7ab85853b90f22b31c51ac07d
4
+ data.tar.gz: 0ec037b370257e24893d21e642144b63c94298d066d4539a7deface8906c82c2
5
5
  SHA512:
6
- metadata.gz: 8d075f0b378705e54eff22b81d87e7680c137f7b913fc6edf9fa614639481f2aef155eba215416f794a5cf32c4d742c876134ba25122eef5e76a44a713e882b6
7
- data.tar.gz: 110ab6b9851efa8cbe25be85ef9e7a127eada1b24d2a5c4a56ef7bc21ae0fa7aa9bc18984e81340ead4f7febe60c2a0c9d98cc9f1695f3e43bf9def48c65f6f7
6
+ metadata.gz: 01332cd3a315619a08a7011d41b7d2a94d5c8ac4d9331a928a585a968eda3c5e05fb40f56776a4d7bed7b10db36072e5ba1314d71c08add652c653ffd01f1892
7
+ data.tar.gz: 2e0b2aff3a95c7e7e47b5b0c804e0011d218c42ed9a36ce114b6bf0194ecdf8b1aa52d06c84cdabd638055b19520a9c8e516facf535425d6cb2018509406ba45
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- da_funk (3.25.0)
4
+ da_funk (3.25.1)
5
5
  archive-zip (~> 0.5)
6
6
  bundler
7
7
  cloudwalk_handshake
@@ -1,5 +1,9 @@
1
1
  # DaFunk
2
2
 
3
+ ### 3.25.1 - 2020-08-28
4
+
5
+ - Set DaFunk::Helper::StatusBar#connected as false on system update process so it will cache again.
6
+
3
7
  ### 3.25.0 - 2020-08-18
4
8
 
5
9
  - Added switch_http_enabled setting;
@@ -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
- connected = Device::Network.connected?
100
+ unless File.exists?('./shared/system_update')
101
+ connected = Device::Network.connected?
100
102
 
101
- if connected != self.connected
102
- self.connected = connected
103
+ if connected != self.connected
104
+ self.connected = connected
103
105
 
104
- slot_message_1 = SLOT_MESSAGE_CONNECTION[self.connected][:slot1]
105
- slot_message_2 = SLOT_MESSAGE_CONNECTION[self.connected][:slot2]
106
+ slot_message_1 = SLOT_MESSAGE_CONNECTION[self.connected][:slot1]
107
+ slot_message_2 = SLOT_MESSAGE_CONNECTION[self.connected][:slot2]
106
108
 
107
- message_1 = SLOT_MESSAGE_CONNECTION[self.connected][:message1]
108
- message_2 = SLOT_MESSAGE_CONNECTION[self.connected][:message2]
109
+ message_1 = SLOT_MESSAGE_CONNECTION[self.connected][:message1]
110
+ message_2 = SLOT_MESSAGE_CONNECTION[self.connected][:message2]
109
111
 
110
- Device::Display.print_status_bar(slot_message_1, message_1)
111
- Device::Display.print_status_bar(slot_message_2, message_2)
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
 
@@ -1,4 +1,4 @@
1
1
  module DaFunk
2
- VERSION="3.25.0"
2
+ VERSION="3.25.1"
3
3
  end
4
4
 
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.0
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-18 00:00:00.000000000 Z
11
+ date: 2020-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake