termit 3.0.2 → 3.1.0

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: a4f51ef8443264f559c3c4f13011e354b2f07c02
4
- data.tar.gz: 64f29ed17cf785172deaa80d9944a5dff0076563
3
+ metadata.gz: dc397ec9e0cd0fbb9794dfd0e26b180c2f371ded
4
+ data.tar.gz: 24a96f97e488dce2c6530367aba1d91290ec2160
5
5
  SHA512:
6
- metadata.gz: be1e2290ef71e0650118a2951191788097ba2210ab202031a8dd8e119a04a85a6933e9cb029e103a930ce21da158345c3d861b1e7c70890b6a49ba0d728d5403
7
- data.tar.gz: fca25ed345b8f6588ec793ad4182adba4796d76421b4b5fcdf52a3542ed952020415eecaf592413c59da152a2ca68f0575c9faef391ac7bac417570057f68579
6
+ metadata.gz: aa0620ea00b15dad4b713058b1350c0cc72e8fb98196a8af0f60d61b4952cc2bd2798f04cc2dc63f0fbbba89bc031171170af6f2af0999ef4acaa71fed6af87b
7
+ data.tar.gz: 2e289f72f29ed0b147f3b04a8e5881581a18c9ea708ea195dbf2508c5465dc509d5ecca43f3e113f4c9a8187c9c0193c490410dbcae4efb1898c9cc8a1907e3e
data/.travis.yml CHANGED
@@ -2,4 +2,8 @@ rvm:
2
2
  - 2.0.0
3
3
  - 2.1.1
4
4
  - 2.2.0
5
+ - 2.3.0
5
6
  - 2.3.1
7
+ notifications:
8
+ email: false
9
+
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'
@@ -1,3 +1,3 @@
1
1
  module Termit
2
- VERSION = "3.0.2"
2
+ VERSION = "3.1.0"
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")
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
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.0.2
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb