sounder 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sounder/soundboard.rb +2 -2
- data/lib/sounder/version.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: 9601bd2ac45b568b2a0058e7810dce841cb9918c
|
4
|
+
data.tar.gz: 3cd888f2bf2a4b8e638c811ec1864c40012a3ec1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9207f925476d5b6dd742643c235481cd3d51597637d43dd787a38e1e422fe050f504584c46f28c5563e29f7c4affb276000d9761d27598627a63d8a0cf57ff2
|
7
|
+
data.tar.gz: 257df3b56b1264889775a438d10b38878bc14d3273499075af46e9cc0b848ddb2f00ad24f3959d5eebd5a7e0d465f04cfa6de64edda77d3109c32d041f27c598
|
data/lib/sounder/soundboard.rb
CHANGED
@@ -32,10 +32,10 @@ module Sounder
|
|
32
32
|
def play_sound sound_name
|
33
33
|
soundgroup.play sound_name
|
34
34
|
rescue UnknownSoundError
|
35
|
-
unknown_sound_message
|
35
|
+
unknown_sound_message sound_name
|
36
36
|
end
|
37
37
|
|
38
|
-
def unknown_sound_message
|
38
|
+
def unknown_sound_message sound_name
|
39
39
|
puts "Error: \"#{sound_name}\" does not match a known sound"
|
40
40
|
puts usage
|
41
41
|
end
|
data/lib/sounder/version.rb
CHANGED