termit 3.0.2 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -0
- data/bin/termit +3 -0
- data/lib/termit/version.rb +1 -1
- data/spec/termit/sound_response_handler_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc397ec9e0cd0fbb9794dfd0e26b180c2f371ded
|
4
|
+
data.tar.gz: 24a96f97e488dce2c6530367aba1d91290ec2160
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa0620ea00b15dad4b713058b1350c0cc72e8fb98196a8af0f60d61b4952cc2bd2798f04cc2dc63f0fbbba89bc031171170af6f2af0999ef4acaa71fed6af87b
|
7
|
+
data.tar.gz: 2e289f72f29ed0b147f3b04a8e5881581a18c9ea708ea195dbf2508c5465dc509d5ecca43f3e113f4c9a8187c9c0193c490410dbcae4efb1898c9cc8a1907e3e
|
data/.travis.yml
CHANGED
data/bin/termit
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'rubygems'
|
3
3
|
|
4
|
+
# FIX https://github.com/rubygems/rubygems/issues/1420
|
5
|
+
def this; self; end
|
6
|
+
|
4
7
|
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib') unless $LOAD_PATH.include?(File.dirname(__FILE__) + '/../lib')
|
5
8
|
|
6
9
|
require 'termit'
|
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 2> /dev/null")
|
12
12
|
subject.call
|
13
13
|
end
|
14
14
|
end
|