pulseaudio 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +3 -4
- data/Gemfile.lock +66 -16
- data/{README.rdoc → README.md} +8 -4
- data/Rakefile +0 -21
- data/VERSION +1 -1
- data/include/pulseaudio_sink.rb +14 -5
- data/include/pulseaudio_sink_input.rb +3 -3
- data/include/pulseaudio_source.rb +4 -4
- data/include/pulseaudio_source_output.rb +2 -2
- data/pulseaudio.gemspec +44 -46
- metadata +35 -74
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cedb91ab4c21293c3404bef3969770fd07e042d4
|
4
|
+
data.tar.gz: 93a7d9739f41fb2f3cba64cbf478376c963a8187
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: dfc63ff8dd859f953520f2b997aa259b91ea6353972c9b50279a959f8f880390c62c8cbec91288067bd3b2a87218c5ce4620e02f4be767d39b5e51e641fcc574
|
7
|
+
data.tar.gz: 6d64aaa7c4918da39ed80ce4354c89653fa0febc675133f6a75562034468422671d79cb945fa62fa56555d5f5cb2a2c6f4d7ffd496aa7cfea8e1ce9351ff33bc
|
data/Gemfile
CHANGED
@@ -4,17 +4,16 @@ source "http://rubygems.org"
|
|
4
4
|
# gem "activesupport", ">= 2.3.5"
|
5
5
|
|
6
6
|
gem "autogc"
|
7
|
-
gem "wref"
|
7
|
+
gem "wref", ">= 0.0.8"
|
8
8
|
gem "gir_ffi"
|
9
9
|
gem "gtk3assist"
|
10
10
|
gem "gettext"
|
11
|
-
gem "knjrbfw"
|
11
|
+
gem "knjrbfw", ">= 0.0.113"
|
12
12
|
|
13
13
|
# Add dependencies to develop your gem here.
|
14
14
|
# Include everything needed to run rake, tests, features, etc.
|
15
15
|
group :development do
|
16
16
|
gem "rspec", "~> 2.8.0"
|
17
|
-
gem "rdoc", "~> 3.12"
|
18
17
|
gem "bundler", ">= 1.0.0"
|
19
|
-
gem "jeweler", "
|
18
|
+
gem "jeweler", "2.3.9"
|
20
19
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,15 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
+
addressable (2.4.0)
|
4
5
|
autogc (0.0.3)
|
5
|
-
|
6
|
+
builder (3.2.3)
|
7
|
+
datet (0.0.25)
|
8
|
+
descendants_tracker (0.0.4)
|
9
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
6
10
|
diff-lcs (1.1.3)
|
11
|
+
faraday (0.9.2)
|
12
|
+
multipart-post (>= 1.2, < 3)
|
7
13
|
ffi (1.2.1)
|
8
14
|
gettext (2.3.7)
|
9
15
|
levenshtein
|
@@ -13,30 +19,64 @@ GEM
|
|
13
19
|
indentation (~> 0.0.6)
|
14
20
|
gir_ffi-gtk (0.5.0)
|
15
21
|
gir_ffi (~> 0.5.0)
|
16
|
-
git (1.
|
22
|
+
git (1.3.0)
|
23
|
+
github_api (0.16.0)
|
24
|
+
addressable (~> 2.4.0)
|
25
|
+
descendants_tracker (~> 0.0.4)
|
26
|
+
faraday (~> 0.8, < 0.10)
|
27
|
+
hashie (>= 3.4)
|
28
|
+
mime-types (>= 1.16, < 3.0)
|
29
|
+
oauth2 (~> 1.0)
|
17
30
|
gtk3assist (0.0.9)
|
18
31
|
gir_ffi-gtk
|
19
32
|
xml-simple
|
20
|
-
|
33
|
+
hashie (3.5.7)
|
34
|
+
highline (1.7.10)
|
35
|
+
http2 (0.0.32)
|
36
|
+
string-cases (~> 0)
|
21
37
|
indentation (0.0.7)
|
22
|
-
jeweler (
|
23
|
-
|
38
|
+
jeweler (2.3.9)
|
39
|
+
builder
|
40
|
+
bundler
|
24
41
|
git (>= 1.2.5)
|
42
|
+
github_api (~> 0.16.0)
|
43
|
+
highline (>= 1.6.15)
|
44
|
+
nokogiri (>= 1.5.10)
|
45
|
+
psych
|
25
46
|
rake
|
26
47
|
rdoc
|
27
|
-
|
28
|
-
|
48
|
+
semver2
|
49
|
+
json (1.8.6)
|
50
|
+
jwt (1.5.6)
|
51
|
+
knjrbfw (0.0.113)
|
29
52
|
datet
|
30
53
|
http2
|
31
54
|
php4r
|
55
|
+
ruby_process
|
32
56
|
tsafe
|
33
|
-
wref
|
57
|
+
wref (>= 0.0.8)
|
34
58
|
levenshtein (0.2.2)
|
35
59
|
locale (2.0.8)
|
36
|
-
|
60
|
+
mime-types (2.99.3)
|
61
|
+
mini_portile2 (2.3.0)
|
62
|
+
multi_json (1.13.1)
|
63
|
+
multi_xml (0.6.0)
|
64
|
+
multipart-post (2.0.0)
|
65
|
+
nokogiri (1.8.2)
|
66
|
+
mini_portile2 (~> 2.3.0)
|
67
|
+
oauth2 (1.4.0)
|
68
|
+
faraday (>= 0.8, < 0.13)
|
69
|
+
jwt (~> 1.0)
|
70
|
+
multi_json (~> 1.3)
|
71
|
+
multi_xml (~> 0.5)
|
72
|
+
rack (>= 1.2, < 3)
|
73
|
+
php4r (0.0.4)
|
37
74
|
datet
|
38
75
|
http2
|
39
|
-
|
76
|
+
string-strtr
|
77
|
+
psych (3.0.2)
|
78
|
+
rack (2.0.4)
|
79
|
+
rake (12.3.1)
|
40
80
|
rdoc (3.12.1)
|
41
81
|
json (~> 1.4)
|
42
82
|
rspec (2.8.0)
|
@@ -47,8 +87,16 @@ GEM
|
|
47
87
|
rspec-expectations (2.8.0)
|
48
88
|
diff-lcs (~> 1.1.2)
|
49
89
|
rspec-mocks (2.8.0)
|
50
|
-
|
51
|
-
|
90
|
+
ruby_process (0.0.13)
|
91
|
+
string-cases
|
92
|
+
tsafe
|
93
|
+
wref
|
94
|
+
semver2 (3.4.2)
|
95
|
+
string-cases (0.0.4)
|
96
|
+
string-strtr (0.0.3)
|
97
|
+
thread_safe (0.3.6)
|
98
|
+
tsafe (0.0.12)
|
99
|
+
wref (0.0.8)
|
52
100
|
xml-simple (1.1.2)
|
53
101
|
|
54
102
|
PLATFORMS
|
@@ -60,8 +108,10 @@ DEPENDENCIES
|
|
60
108
|
gettext
|
61
109
|
gir_ffi
|
62
110
|
gtk3assist
|
63
|
-
jeweler (
|
64
|
-
knjrbfw
|
65
|
-
rdoc (~> 3.12)
|
111
|
+
jeweler (= 2.3.9)
|
112
|
+
knjrbfw (>= 0.0.113)
|
66
113
|
rspec (~> 2.8.0)
|
67
|
-
wref
|
114
|
+
wref (>= 0.0.8)
|
115
|
+
|
116
|
+
BUNDLED WITH
|
117
|
+
1.16.1
|
data/{README.rdoc → README.md}
RENAMED
@@ -1,8 +1,12 @@
|
|
1
|
-
|
1
|
+
[![Code Climate](https://codeclimate.com/github/kaspernj/pulseaudio.png)](https://codeclimate.com/github/kaspernj/pulseaudio)
|
2
|
+
[![Test Coverage](https://codeclimate.com/github/kaspernj/pulseaudio/coverage.png)](https://codeclimate.com/github/kaspernj/pulseaudio)
|
3
|
+
[![Build Status](https://img.shields.io/shippable/53d1121029a3449800e640f5.svg)](https://app.shippable.com/projects/53d1121029a3449800e640f5/builds/latest)
|
2
4
|
|
3
|
-
|
5
|
+
# pulseaudio
|
4
6
|
|
5
|
-
|
7
|
+
Manipulate sound settings through this library written in Ruby.
|
8
|
+
|
9
|
+
## Contributing to pulseaudio
|
6
10
|
|
7
11
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
8
12
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
@@ -12,7 +16,7 @@ Description goes here.
|
|
12
16
|
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
13
17
|
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
14
18
|
|
15
|
-
|
19
|
+
## Copyright
|
16
20
|
|
17
21
|
Copyright (c) 2012 Kasper Johansen. See LICENSE.txt for
|
18
22
|
further details.
|
data/Rakefile
CHANGED
@@ -25,25 +25,4 @@ Jeweler::Tasks.new do |gem|
|
|
25
25
|
end
|
26
26
|
Jeweler::RubygemsDotOrgTasks.new
|
27
27
|
|
28
|
-
require 'rspec/core'
|
29
|
-
require 'rspec/core/rake_task'
|
30
|
-
RSpec::Core::RakeTask.new(:spec) do |spec|
|
31
|
-
spec.pattern = FileList['spec/**/*_spec.rb']
|
32
|
-
end
|
33
|
-
|
34
|
-
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
35
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
36
|
-
spec.rcov = true
|
37
|
-
end
|
38
|
-
|
39
28
|
task :default => :spec
|
40
|
-
|
41
|
-
require 'rdoc/task'
|
42
|
-
Rake::RDocTask.new do |rdoc|
|
43
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
44
|
-
|
45
|
-
rdoc.rdoc_dir = 'rdoc'
|
46
|
-
rdoc.title = "pulseaudio #{version}"
|
47
|
-
rdoc.rdoc_files.include('README*')
|
48
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
49
|
-
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.10
|
data/include/pulseaudio_sink.rb
CHANGED
@@ -8,7 +8,7 @@ class PulseAudio::Sink
|
|
8
8
|
#The arguments-hash. Contains various data for the sink.
|
9
9
|
attr_reader :args
|
10
10
|
|
11
|
-
@@sinks =
|
11
|
+
@@sinks = Wref::Map.new
|
12
12
|
|
13
13
|
#Used to look up IDs from names (like when getting default sink).
|
14
14
|
@@sink_name_to_id_ref = {}
|
@@ -31,14 +31,23 @@ class PulseAudio::Sink
|
|
31
31
|
|
32
32
|
list.scan(/(\n|^)Sink #(\d+)\s+([\s\S]+?)Formats:\s+(.+?)\n/) do |match|
|
33
33
|
props = {}
|
34
|
+
|
34
35
|
match[2].scan(/(\t|^)([A-z]+?): (.+?)\n/) do |match_prop|
|
35
36
|
props[match_prop[1].downcase] = match_prop[2]
|
36
37
|
end
|
38
|
+
|
39
|
+
internal_props = {}
|
40
|
+
sink_internal_properties = match[2].scan(/Properties:\n(?:.+=.+\n)+/).first
|
41
|
+
sink_internal_properties.scan(/\t([A-z]+(?:\.[A-z]+)+) = "(.+?)"\n/) do |match_prop|
|
42
|
+
internal_props[match_prop[0].downcase] = match_prop[1]
|
43
|
+
end
|
37
44
|
|
45
|
+
props["internal_props"] = internal_props
|
46
|
+
|
38
47
|
sink_id = match[1].to_i
|
39
48
|
args = {:sink_id => sink_id, :props => props}
|
40
49
|
|
41
|
-
sink = @@sinks
|
50
|
+
sink = @@sinks[sink_id]
|
42
51
|
if !sink
|
43
52
|
sink = PulseAudio::Sink.new
|
44
53
|
@@sinks[sink_id] = sink
|
@@ -72,7 +81,7 @@ class PulseAudio::Sink
|
|
72
81
|
|
73
82
|
#This automatically reloads a sink when a 'change'-event appears.
|
74
83
|
PulseAudio::Events.instance.connect(:event => :change, :element => "sink") do |args|
|
75
|
-
if @@sinks.key?(args[:args][:element_id]) and sink = @@sinks
|
84
|
+
if @@sinks.key?(args[:args][:element_id]) and sink = @@sinks[args[:args][:element_id]]
|
76
85
|
sink.reload
|
77
86
|
end
|
78
87
|
end
|
@@ -87,7 +96,7 @@ class PulseAudio::Sink
|
|
87
96
|
# sink = PulseAudio::Sink.by_id(3)
|
88
97
|
def self.by_id(id)
|
89
98
|
#Return it from the weak-reference-map, if it already exists there.
|
90
|
-
if sink = @@sinks
|
99
|
+
if sink = @@sinks[id]
|
91
100
|
return sink
|
92
101
|
end
|
93
102
|
|
@@ -198,4 +207,4 @@ class PulseAudio::Sink
|
|
198
207
|
%x[pacmd set-default-sink #{self.sink_id}]
|
199
208
|
return nil
|
200
209
|
end
|
201
|
-
end
|
210
|
+
end
|
@@ -3,7 +3,7 @@ class PulseAudio::Sink::Input
|
|
3
3
|
#The arguments-hash. Contains various data for the input.
|
4
4
|
attr_reader :args
|
5
5
|
|
6
|
-
@@inputs =
|
6
|
+
@@inputs = Wref::Map.new
|
7
7
|
|
8
8
|
#Starts automatically redirect new opened inputs to the default sink.
|
9
9
|
#===Examples
|
@@ -48,7 +48,7 @@ class PulseAudio::Sink::Input
|
|
48
48
|
input_id = match[1].to_i
|
49
49
|
args = {:input_id => input_id, :props => props}
|
50
50
|
|
51
|
-
input = @@inputs
|
51
|
+
input = @@inputs[input_id]
|
52
52
|
if !input
|
53
53
|
input = PulseAudio::Sink::Input.new
|
54
54
|
@@inputs[input_id] = input
|
@@ -75,7 +75,7 @@ class PulseAudio::Sink::Input
|
|
75
75
|
# sink_input = PulseAudio::Sink::Input.by_id(53)
|
76
76
|
def self.by_id(id)
|
77
77
|
#Return it from the weak-reference-map, if it already exists there.
|
78
|
-
if input = @@inputs
|
78
|
+
if input = @@inputs[id]
|
79
79
|
return input
|
80
80
|
end
|
81
81
|
|
@@ -2,7 +2,7 @@ class PulseAudio::Source
|
|
2
2
|
#The arguments-hash. Contains various data for the source.
|
3
3
|
attr_reader :args
|
4
4
|
|
5
|
-
@@sources =
|
5
|
+
@@sources = Wref::Map.new
|
6
6
|
@@sources_name_to_id_ref = {}
|
7
7
|
|
8
8
|
#Autoloader for subclasses.
|
@@ -24,7 +24,7 @@ class PulseAudio::Source
|
|
24
24
|
source_id = match[1].to_i
|
25
25
|
args = {:source_id => source_id, :props => props}
|
26
26
|
|
27
|
-
source = @@sources
|
27
|
+
source = @@sources[source_id]
|
28
28
|
if !source
|
29
29
|
source = PulseAudio::Source.new
|
30
30
|
@@sources[source_id] = source
|
@@ -61,7 +61,7 @@ class PulseAudio::Source
|
|
61
61
|
# source = PulseAudio::Source.by_id(3)
|
62
62
|
def self.by_id(id)
|
63
63
|
#Return it from the weak-reference-map, if it already exists there.
|
64
|
-
if source = @@sources
|
64
|
+
if source = @@sources[id]
|
65
65
|
return source
|
66
66
|
end
|
67
67
|
|
@@ -76,7 +76,7 @@ class PulseAudio::Source
|
|
76
76
|
|
77
77
|
#This automatically reloads a source when a 'change'-event appears.
|
78
78
|
PulseAudio::Events.instance.connect(:event => :change, :element => "source") do |args|
|
79
|
-
if @@sources.key?(args[:args][:element_id]) and source = @@sources
|
79
|
+
if @@sources.key?(args[:args][:element_id]) and source = @@sources[args[:args][:element_id]]
|
80
80
|
source.reload
|
81
81
|
end
|
82
82
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#Class for controlling outputs.
|
2
2
|
class PulseAudio::Source::Output
|
3
|
-
@@outputs =
|
3
|
+
@@outputs = Wref::Map.new
|
4
4
|
|
5
5
|
#Starts automatically redirect new opened outputs to the default source.
|
6
6
|
#===Examples
|
@@ -37,7 +37,7 @@ class PulseAudio::Source::Output
|
|
37
37
|
output_id = match[0].to_i
|
38
38
|
args = {:output_id => output_id}
|
39
39
|
|
40
|
-
output = @@outputs
|
40
|
+
output = @@outputs[output_id]
|
41
41
|
if !output
|
42
42
|
output = PulseAudio::Source::Output.new
|
43
43
|
@@outputs[output_id] = output
|
data/pulseaudio.gemspec
CHANGED
@@ -2,20 +2,22 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: pulseaudio 0.0.10 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
|
-
s.name = "pulseaudio"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.name = "pulseaudio".freeze
|
9
|
+
s.version = "0.0.10"
|
9
10
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib".freeze]
|
13
|
+
s.authors = ["Kasper Johansen".freeze]
|
14
|
+
s.date = "2018-04-10"
|
15
|
+
s.description = "Ruby-library for controlling PulseAudio via 'pactl'.".freeze
|
16
|
+
s.email = "k@spernj.org".freeze
|
17
|
+
s.executables = ["pulseaudio_volume.rb".freeze]
|
16
18
|
s.extra_rdoc_files = [
|
17
19
|
"LICENSE.txt",
|
18
|
-
"README.
|
20
|
+
"README.md"
|
19
21
|
]
|
20
22
|
s.files = [
|
21
23
|
".document",
|
@@ -23,7 +25,7 @@ Gem::Specification.new do |s|
|
|
23
25
|
"Gemfile",
|
24
26
|
"Gemfile.lock",
|
25
27
|
"LICENSE.txt",
|
26
|
-
"README.
|
28
|
+
"README.md",
|
27
29
|
"Rakefile",
|
28
30
|
"VERSION",
|
29
31
|
"bin/pulseaudio_volume.rb",
|
@@ -49,49 +51,45 @@ Gem::Specification.new do |s|
|
|
49
51
|
"test_scripts/choose_active_sink_gtk3.rb",
|
50
52
|
"test_scripts/set_active.rb"
|
51
53
|
]
|
52
|
-
s.homepage = "http://github.com/kaspernj/pulseaudio"
|
53
|
-
s.licenses = ["MIT"]
|
54
|
-
s.
|
55
|
-
s.
|
56
|
-
s.summary = "Ruby-library for controlling PulseAudio."
|
54
|
+
s.homepage = "http://github.com/kaspernj/pulseaudio".freeze
|
55
|
+
s.licenses = ["MIT".freeze]
|
56
|
+
s.rubygems_version = "2.6.13".freeze
|
57
|
+
s.summary = "Ruby-library for controlling PulseAudio.".freeze
|
57
58
|
|
58
59
|
if s.respond_to? :specification_version then
|
59
|
-
s.specification_version =
|
60
|
+
s.specification_version = 4
|
60
61
|
|
61
62
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
62
|
-
s.add_runtime_dependency(%q<autogc
|
63
|
-
s.add_runtime_dependency(%q<wref
|
64
|
-
s.add_runtime_dependency(%q<gir_ffi
|
65
|
-
s.add_runtime_dependency(%q<gtk3assist
|
66
|
-
s.add_runtime_dependency(%q<gettext
|
67
|
-
s.add_runtime_dependency(%q<knjrbfw
|
68
|
-
s.add_development_dependency(%q<rspec
|
69
|
-
s.add_development_dependency(%q<
|
70
|
-
s.add_development_dependency(%q<
|
71
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
63
|
+
s.add_runtime_dependency(%q<autogc>.freeze, [">= 0"])
|
64
|
+
s.add_runtime_dependency(%q<wref>.freeze, [">= 0.0.8"])
|
65
|
+
s.add_runtime_dependency(%q<gir_ffi>.freeze, [">= 0"])
|
66
|
+
s.add_runtime_dependency(%q<gtk3assist>.freeze, [">= 0"])
|
67
|
+
s.add_runtime_dependency(%q<gettext>.freeze, [">= 0"])
|
68
|
+
s.add_runtime_dependency(%q<knjrbfw>.freeze, [">= 0.0.113"])
|
69
|
+
s.add_development_dependency(%q<rspec>.freeze, ["~> 2.8.0"])
|
70
|
+
s.add_development_dependency(%q<bundler>.freeze, [">= 1.0.0"])
|
71
|
+
s.add_development_dependency(%q<jeweler>.freeze, ["= 2.3.9"])
|
72
72
|
else
|
73
|
-
s.add_dependency(%q<autogc
|
74
|
-
s.add_dependency(%q<wref
|
75
|
-
s.add_dependency(%q<gir_ffi
|
76
|
-
s.add_dependency(%q<gtk3assist
|
77
|
-
s.add_dependency(%q<gettext
|
78
|
-
s.add_dependency(%q<knjrbfw
|
79
|
-
s.add_dependency(%q<rspec
|
80
|
-
s.add_dependency(%q<
|
81
|
-
s.add_dependency(%q<
|
82
|
-
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
73
|
+
s.add_dependency(%q<autogc>.freeze, [">= 0"])
|
74
|
+
s.add_dependency(%q<wref>.freeze, [">= 0.0.8"])
|
75
|
+
s.add_dependency(%q<gir_ffi>.freeze, [">= 0"])
|
76
|
+
s.add_dependency(%q<gtk3assist>.freeze, [">= 0"])
|
77
|
+
s.add_dependency(%q<gettext>.freeze, [">= 0"])
|
78
|
+
s.add_dependency(%q<knjrbfw>.freeze, [">= 0.0.113"])
|
79
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 2.8.0"])
|
80
|
+
s.add_dependency(%q<bundler>.freeze, [">= 1.0.0"])
|
81
|
+
s.add_dependency(%q<jeweler>.freeze, ["= 2.3.9"])
|
83
82
|
end
|
84
83
|
else
|
85
|
-
s.add_dependency(%q<autogc
|
86
|
-
s.add_dependency(%q<wref
|
87
|
-
s.add_dependency(%q<gir_ffi
|
88
|
-
s.add_dependency(%q<gtk3assist
|
89
|
-
s.add_dependency(%q<gettext
|
90
|
-
s.add_dependency(%q<knjrbfw
|
91
|
-
s.add_dependency(%q<rspec
|
92
|
-
s.add_dependency(%q<
|
93
|
-
s.add_dependency(%q<
|
94
|
-
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
84
|
+
s.add_dependency(%q<autogc>.freeze, [">= 0"])
|
85
|
+
s.add_dependency(%q<wref>.freeze, [">= 0.0.8"])
|
86
|
+
s.add_dependency(%q<gir_ffi>.freeze, [">= 0"])
|
87
|
+
s.add_dependency(%q<gtk3assist>.freeze, [">= 0"])
|
88
|
+
s.add_dependency(%q<gettext>.freeze, [">= 0"])
|
89
|
+
s.add_dependency(%q<knjrbfw>.freeze, [">= 0.0.113"])
|
90
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 2.8.0"])
|
91
|
+
s.add_dependency(%q<bundler>.freeze, [">= 1.0.0"])
|
92
|
+
s.add_dependency(%q<jeweler>.freeze, ["= 2.3.9"])
|
95
93
|
end
|
96
94
|
end
|
97
95
|
|
metadata
CHANGED
@@ -1,176 +1,141 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulseaudio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.10
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kasper Johansen
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2018-04-10 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: autogc
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: wref
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
33
|
+
version: 0.0.8
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
40
|
+
version: 0.0.8
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: gir_ffi
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: gtk3assist
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: gettext
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '0'
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '0'
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: knjrbfw
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - ">="
|
100
88
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
89
|
+
version: 0.0.113
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- -
|
94
|
+
- - ">="
|
108
95
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
96
|
+
version: 0.0.113
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: rspec
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- - ~>
|
101
|
+
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: 2.8.0
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- - ~>
|
108
|
+
- - "~>"
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: 2.8.0
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: rdoc
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
|
-
requirements:
|
131
|
-
- - ~>
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: '3.12'
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
|
-
requirements:
|
139
|
-
- - ~>
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: '3.12'
|
142
111
|
- !ruby/object:Gem::Dependency
|
143
112
|
name: bundler
|
144
113
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
114
|
requirements:
|
147
|
-
- -
|
115
|
+
- - ">="
|
148
116
|
- !ruby/object:Gem::Version
|
149
117
|
version: 1.0.0
|
150
118
|
type: :development
|
151
119
|
prerelease: false
|
152
120
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
121
|
requirements:
|
155
|
-
- -
|
122
|
+
- - ">="
|
156
123
|
- !ruby/object:Gem::Version
|
157
124
|
version: 1.0.0
|
158
125
|
- !ruby/object:Gem::Dependency
|
159
126
|
name: jeweler
|
160
127
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
128
|
requirements:
|
163
|
-
- -
|
129
|
+
- - '='
|
164
130
|
- !ruby/object:Gem::Version
|
165
|
-
version:
|
131
|
+
version: 2.3.9
|
166
132
|
type: :development
|
167
133
|
prerelease: false
|
168
134
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
135
|
requirements:
|
171
|
-
- -
|
136
|
+
- - '='
|
172
137
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
138
|
+
version: 2.3.9
|
174
139
|
description: Ruby-library for controlling PulseAudio via 'pactl'.
|
175
140
|
email: k@spernj.org
|
176
141
|
executables:
|
@@ -178,14 +143,14 @@ executables:
|
|
178
143
|
extensions: []
|
179
144
|
extra_rdoc_files:
|
180
145
|
- LICENSE.txt
|
181
|
-
- README.
|
146
|
+
- README.md
|
182
147
|
files:
|
183
|
-
- .document
|
184
|
-
- .rspec
|
148
|
+
- ".document"
|
149
|
+
- ".rspec"
|
185
150
|
- Gemfile
|
186
151
|
- Gemfile.lock
|
187
152
|
- LICENSE.txt
|
188
|
-
- README.
|
153
|
+
- README.md
|
189
154
|
- Rakefile
|
190
155
|
- VERSION
|
191
156
|
- bin/pulseaudio_volume.rb
|
@@ -213,29 +178,25 @@ files:
|
|
213
178
|
homepage: http://github.com/kaspernj/pulseaudio
|
214
179
|
licenses:
|
215
180
|
- MIT
|
181
|
+
metadata: {}
|
216
182
|
post_install_message:
|
217
183
|
rdoc_options: []
|
218
184
|
require_paths:
|
219
185
|
- lib
|
220
186
|
required_ruby_version: !ruby/object:Gem::Requirement
|
221
|
-
none: false
|
222
187
|
requirements:
|
223
|
-
- -
|
188
|
+
- - ">="
|
224
189
|
- !ruby/object:Gem::Version
|
225
190
|
version: '0'
|
226
|
-
segments:
|
227
|
-
- 0
|
228
|
-
hash: -1739286250182430142
|
229
191
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
|
-
none: false
|
231
192
|
requirements:
|
232
|
-
- -
|
193
|
+
- - ">="
|
233
194
|
- !ruby/object:Gem::Version
|
234
195
|
version: '0'
|
235
196
|
requirements: []
|
236
197
|
rubyforge_project:
|
237
|
-
rubygems_version:
|
198
|
+
rubygems_version: 2.6.13
|
238
199
|
signing_key:
|
239
|
-
specification_version:
|
200
|
+
specification_version: 4
|
240
201
|
summary: Ruby-library for controlling PulseAudio.
|
241
202
|
test_files: []
|