volay 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/glade/volay.glade +0 -1
- data/lib/volay/utils.rb +1 -0
- data/lib/volay/version.rb +1 -1
- data/spec/volay/utils_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e97bbe58df5e5b88188aa995b9484db074add5ea
|
4
|
+
data.tar.gz: c27c8b5e947e6333e5be44762b4ac9580f964fe6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5592746e582b09d54a823513f033ef8cec5ed74539963d2c48add867fd7422c6fa07aea075c1797214c6c6762883f26a016e706bfa1c43bdf2efadf5a866dfa
|
7
|
+
data.tar.gz: d51be884770e9bd5ceb813ec6aef262de598c4b2918d295517b3e5218bddb54c1ea47f5a646142591f91d7a36119924b635da7ce3e90f67c0af6f41a5c99cd1e
|
data/glade/volay.glade
CHANGED
@@ -64,7 +64,6 @@
|
|
64
64
|
<property name="inverted">True</property>
|
65
65
|
<property name="round_digits">0</property>
|
66
66
|
<property name="digits">0</property>
|
67
|
-
<signal name="realize" handler="on_volume_scale_realize" swapped="no"/>
|
68
67
|
</object>
|
69
68
|
<packing>
|
70
69
|
<property name="expand">True</property>
|
data/lib/volay/utils.rb
CHANGED
data/lib/volay/version.rb
CHANGED
data/spec/volay/utils_spec.rb
CHANGED
@@ -6,6 +6,7 @@ describe 'Volay::Utils' do
|
|
6
6
|
def prepare(image, muted, volume_percent)
|
7
7
|
app = double
|
8
8
|
toggle_image = double
|
9
|
+
toggle_button = double
|
9
10
|
status_icon = double
|
10
11
|
mixer = double
|
11
12
|
allow(app).to receive(:mixer).and_return(mixer)
|
@@ -13,6 +14,9 @@ describe 'Volay::Utils' do
|
|
13
14
|
.with('status_icon').and_return(status_icon)
|
14
15
|
allow(app).to receive(:get_object)
|
15
16
|
.with('toggle_mute_image').and_return(toggle_image)
|
17
|
+
allow(app).to receive(:get_object)
|
18
|
+
.with('toggle_mute').and_return(toggle_button)
|
19
|
+
allow(toggle_button).to receive(:set_active).and_return(muted)
|
16
20
|
allow(mixer).to receive(:muted?)
|
17
21
|
.and_return(muted)
|
18
22
|
allow(mixer).to receive(:percent)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: volay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pierre Rambaud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-cli
|