sounder 0.0.1 → 0.0.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 +4 -4
- data/lib/sounder/system.rb +1 -1
- data/lib/sounder/version.rb +1 -1
- data/spec/sounder_spec.rb +2 -2
- 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: 17901b03c8659ea4d33e710ba33589307823c0d9
|
|
4
|
+
data.tar.gz: a5c433c18b54de5d7f19773b3bdb6c8d2c7c9258
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce20ef9614600ff7a90b5ccf5fc2b812722b13850cc1b57c5406eee441494d9aef428d3303daeb2038c16a89c6dc7caf88e8cca602f726ad5ad0d167aea648db
|
|
7
|
+
data.tar.gz: 0054629138b4b73ca2b72885ca3c8755751197d005ca8f1b17106a86e5b5c92cee3b1433aec7715877a961969aa8b6901a9d754596e85ea1014497c07602716a
|
data/lib/sounder/system.rb
CHANGED
data/lib/sounder/version.rb
CHANGED
data/spec/sounder_spec.rb
CHANGED
|
@@ -4,11 +4,11 @@ describe Sounder do
|
|
|
4
4
|
describe Sounder::System do
|
|
5
5
|
describe '.set_volume' do
|
|
6
6
|
it "uses system to set the volume" do
|
|
7
|
-
Sounder::System.should_receive(:system).with %{osascript -e "set volume 7.0"
|
|
7
|
+
Sounder::System.should_receive(:system).with %{osascript -e "set volume 7.0"}
|
|
8
8
|
Sounder::System.set_volume 100
|
|
9
9
|
end
|
|
10
10
|
it "converts the number to base 7" do
|
|
11
|
-
Sounder::System.should_receive(:system).with %{osascript -e "set volume 3.5"
|
|
11
|
+
Sounder::System.should_receive(:system).with %{osascript -e "set volume 3.5"}
|
|
12
12
|
Sounder::System.set_volume 50
|
|
13
13
|
end
|
|
14
14
|
it "doesn't make the call if it isn't given a number" do
|