da_funk 3.16.1 → 3.16.2
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 +5 -0
- data/lib/da_funk/helper.rb +1 -1
- 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: c6bcb12aefde376e3ea528fc6e47936a8744602e942f84b56aacb64b387a5f91
|
4
|
+
data.tar.gz: 139783cfef412c0a109d643d5127512f0b69a0ebfaa7cce758deb9b39f5dfe41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f05b9bc5cae9b80800b6d9d210a6479f7d40449625c4ba895f717251a4eb80abf40705e006da11923b64edaebeb6b935308823e47a7ebbded1d1b4a703ed5770
|
7
|
+
data.tar.gz: 3ebc3ef272baa16c184831898d4381579ccf577de3da767954b0865c00a69b2dbcb463500ad7127f287a518cd5bea2819d3b2418c353e2f6567f14b7833a33df
|
data/Gemfile.lock
CHANGED
data/RELEASE_NOTES.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# DaFunk
|
2
2
|
|
3
|
+
### 3.16.2 - 2020-01-29
|
4
|
+
|
5
|
+
- Moved responsability of beep sound for touch event to DaFunk::Helper#parse_touchscreen_event;
|
6
|
+
- Call Audio class from adapter instead PAX.
|
7
|
+
|
3
8
|
### 3.16.1 - 2020-01-28
|
4
9
|
|
5
10
|
- Added beep only when we've a successful interaction on the touch menu, avoiding beep when the click was outside the screen button.
|
data/lib/da_funk/helper.rb
CHANGED
@@ -190,7 +190,6 @@ module DaFunk
|
|
190
190
|
menu_itens.keys[index]
|
191
191
|
end
|
192
192
|
elsif event == :touchscreen
|
193
|
-
PAX::Audio.beep(7, 60)
|
194
193
|
menu_itens.select {|k, v| k == key}.shift[0]
|
195
194
|
end
|
196
195
|
end
|
@@ -444,6 +443,7 @@ module DaFunk
|
|
444
443
|
def parse_touchscreen_event(menu_itens, x, y)
|
445
444
|
menu_itens.each do |key, value|
|
446
445
|
if value[:x].include?(x) && value[:y].include?(y)
|
446
|
+
Device::Audio.beep(7, 60)
|
447
447
|
return([:touchscreen, key])
|
448
448
|
end
|
449
449
|
end
|
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.16.
|
4
|
+
version: 3.16.2
|
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-01-
|
11
|
+
date: 2020-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|