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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62fda15f20677f9be6b1aa733d58e83d9837a6aeacc87a72f81d9cbb22c19685
4
- data.tar.gz: bbdb0549c0224a55d930ed76aeb6f55e784d03335dacc1c2f8f5bdb685331d5e
3
+ metadata.gz: c6bcb12aefde376e3ea528fc6e47936a8744602e942f84b56aacb64b387a5f91
4
+ data.tar.gz: 139783cfef412c0a109d643d5127512f0b69a0ebfaa7cce758deb9b39f5dfe41
5
5
  SHA512:
6
- metadata.gz: '098afa7f81a01c0c2c7665b073f9f79bc0e80c27baf2827cdc992903166ad684d085dd45f240aa016e160059a4d8c463f3d0221cca867e27feb3530ed3f22473'
7
- data.tar.gz: 50b0c0b2dbe70152365c2ad33fbdb0228d282c4683c1fb828437d8a70c543beb910615dc606753483a148c7a5cde1ee065a67173c6740a0aeda43ca07269bcf5
6
+ metadata.gz: f05b9bc5cae9b80800b6d9d210a6479f7d40449625c4ba895f717251a4eb80abf40705e006da11923b64edaebeb6b935308823e47a7ebbded1d1b4a703ed5770
7
+ data.tar.gz: 3ebc3ef272baa16c184831898d4381579ccf577de3da767954b0865c00a69b2dbcb463500ad7127f287a518cd5bea2819d3b2418c353e2f6567f14b7833a33df
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- da_funk (3.16.1)
4
+ da_funk (3.16.2)
5
5
  archive-zip (~> 0.5)
6
6
  bundler
7
7
  cloudwalk_handshake
@@ -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.
@@ -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
@@ -1,4 +1,4 @@
1
1
  module DaFunk
2
- VERSION="3.16.1"
2
+ VERSION="3.16.2"
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.16.1
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-28 00:00:00.000000000 Z
11
+ date: 2020-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake