sounder 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sounder might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3ec03a38f3e7ac305dcb5693d5ac660789c7506
4
- data.tar.gz: 0634070c1fa99afed0ebef2754cca70ca8de6a40
3
+ metadata.gz: 17901b03c8659ea4d33e710ba33589307823c0d9
4
+ data.tar.gz: a5c433c18b54de5d7f19773b3bdb6c8d2c7c9258
5
5
  SHA512:
6
- metadata.gz: e2f0622cf4a58e567481f70f57eb46d41ce56b86b457d9a4b6c6ace6881f697c484fec068596d1529b4b37d083e8188632f6bc9c728f738fd26ba9963e853604
7
- data.tar.gz: 6e8d321c563d44e127c4f61388c32c4c396868df25adf6f65fe94d5b03150bd82c7a624b600500d380d2ebf65c074b419897a0a78abc6b8da035d986fd55c8f8
6
+ metadata.gz: ce20ef9614600ff7a90b5ccf5fc2b812722b13850cc1b57c5406eee441494d9aef428d3303daeb2038c16a89c6dc7caf88e8cca602f726ad5ad0d167aea648db
7
+ data.tar.gz: 0054629138b4b73ca2b72885ca3c8755751197d005ca8f1b17106a86e5b5c92cee3b1433aec7715877a961969aa8b6901a9d754596e85ea1014497c07602716a
@@ -3,7 +3,7 @@ module Sounder
3
3
  def self.set_volume vol
4
4
  if vol.is_a? Numeric
5
5
  vol = vol.to_f * 7/100.0
6
- system %{osascript -e "set volume #{vol}" &}
6
+ system %{osascript -e "set volume #{vol}"}
7
7
  end
8
8
  end
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module Sounder
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sounder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Zaninovich