termit 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bedf9c60e55fd22e4a4871d9ea630e3ead142b60
4
- data.tar.gz: 61c76c1950d9bba6fc6687930d2cea86f10cb3f8
3
+ metadata.gz: bf1976beb53277bdbd3de822f79b137ee7417515
4
+ data.tar.gz: 479d6266d88458173e276570d4d005d2e86b6d0e
5
5
  SHA512:
6
- metadata.gz: 5b8d9770bd705562c040d4891730b6f05ba7f33cf638891fabd9a16ef70bca4a8b8b5544d62742e28a393ebf7d4af9eb5d49f4e6a931d331f76e79ef9aa7b059
7
- data.tar.gz: 534aa28a4c8c027210464e2409c47d898eaa8e3a76b4593a04e81f30e297985938b94d770417389466d405a42f6bb35e215e2a4ffc4c258ce5116e0a4bea0942
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 > /dev/null 2> /dev/null"
16
+ system "mpg123 -q #{location}/sound_response.mp3 &> /dev/null"
17
17
  end
18
18
 
19
19
  private
@@ -18,7 +18,7 @@ module Termit
18
18
  private
19
19
 
20
20
  def check_sound_player
21
- unless system 'which mpg123 > /dev/null'
21
+ unless system 'which mpg123 &> /dev/null'
22
22
  display_player_error_and_quit
23
23
  end
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module Termit
2
- VERSION = "3.1.1"
2
+ VERSION = "3.1.2"
3
3
  end
@@ -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 > /dev/null 2> /dev/null")
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: termit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb