termit 3.1.1 → 3.1.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf1976beb53277bdbd3de822f79b137ee7417515
|
4
|
+
data.tar.gz: 479d6266d88458173e276570d4d005d2e86b6d0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 610b0c9ca91831cf24b57af28389d6d8f6016c260b834041b6cd9aa23e03c59284669e70c68d88cc49787a4f789302331a2143333427f7faae7f84198dec6caa
|
7
|
+
data.tar.gz: e1cdcfaf1828b49981c1ac389b9965d9188f1151e78eb52c6a88e52d33e8a1a57994a7b2d220cdfbd97f15682a62e52f5e286d6dcee8e83fdb66e8670a224d6b
|
@@ -13,7 +13,7 @@ module Termit
|
|
13
13
|
File.open("#{location}/sound_response.mp3", "wb") do |file|
|
14
14
|
file.write(@data)
|
15
15
|
end
|
16
|
-
system "mpg123 -q #{location}/sound_response.mp3
|
16
|
+
system "mpg123 -q #{location}/sound_response.mp3 &> /dev/null"
|
17
17
|
end
|
18
18
|
|
19
19
|
private
|
data/lib/termit/version.rb
CHANGED
@@ -8,7 +8,7 @@ describe Termit::SoundResponseHandler do
|
|
8
8
|
|
9
9
|
it "saves and plays the sound file the sound file" do
|
10
10
|
File.should_receive(:open).with("#{location}/sound_response.mp3", "wb")
|
11
|
-
Object.any_instance.should_receive(:system).with("mpg123 -q #{location}/sound_response.mp3
|
11
|
+
Object.any_instance.should_receive(:system).with("mpg123 -q #{location}/sound_response.mp3 &> /dev/null")
|
12
12
|
subject.call
|
13
13
|
end
|
14
14
|
end
|