Pachelbel 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/project/Pachelbel.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70115604b402ca0d93b76151d2ba202cf01055cf
4
- data.tar.gz: 4c5350bf04c86d5bb85c4d3dd956f77ca7d9e596
3
+ metadata.gz: 0df6394a20d061b0abe1a68a0cb3592649898dae
4
+ data.tar.gz: 95d5cd1183ab4e39196aac40d42cbabfb5b2072a
5
5
  SHA512:
6
- metadata.gz: 3e20dc7b0c60fc8c99a55b1e89eb8caa6bf2587e1eb37a87041163f867a355f0f2620c28c25a4e911d247662fa913f8598a1f67aaa2f59b3114debd18b6d8bd1
7
- data.tar.gz: 569b7ee55f240db3a6bc7da55511427d10533e43f218bd9bd9e4dac2a59d8e9470fbdb5fc0231a3842b03c5990ce46ffce9f911e134f9fe38d42d0f03bd3a098
6
+ metadata.gz: 2cbeb9745c2bbc4a3d32432fe32cc3475e40064629d1f3cc9e770680c445728cfa69d32d07d00e4ed17f1ca52df2601fe8c7977d62db23b6889061018f01b921
7
+ data.tar.gz: e50146109c9bdd4b7178d54e3cdcd815a714bf32d9da8ddbc3d21289da4d485067a5f78f3e102f7240f7cbc7478343fab9cc925ec7416a75ab4b283e160b8063
@@ -7,7 +7,7 @@ module Pachelbel
7
7
  'var audio_context = new AudioContext();' + 'var audio_nodes = [audio_context.destination];' + '</script>'
8
8
 
9
9
  def on_ready(&block)
10
- @locked ? @on_ready.push(block) : block.call
10
+ @locked ? @on_ready.push(block) : yield
11
11
  end
12
12
 
13
13
  def run_js(script)
@@ -23,7 +23,7 @@ module Pachelbel
23
23
  end
24
24
 
25
25
  def webViewDidFinishLoad(_)
26
- run_js 'audio_context.createOscillator();' # workaround to start timer
26
+ run_js 'audio_context.createOscillator().noteOn(0);' # workaround to start timer
27
27
 
28
28
  run_js 'var unlock_iframe = document.createElement("IFRAME");
29
29
  unlock_iframe.setAttribute("src", "let://freedom.ring");'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Pachelbel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Drew Carey Buglione