gir_ffi-gst 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 524fe3cd90181607d562fd191738cd0a81032401f3e25da3a722eb00f236867c
4
- data.tar.gz: 130b047a08bb239980f1f4f66cdbf6ae746833262306672fe00e3091342e9c01
3
+ metadata.gz: 2bd1c218cb690d1732269e38693d7740fc2bc9defbb4a0ccf6a10b26bcf4b99a
4
+ data.tar.gz: e8d972bf40a94ed1376297720eaa36d365c4b1b2f9751d857410cd2188ee5b2d
5
5
  SHA512:
6
- metadata.gz: eb8dd6b939b0bff3ad672e46a35e445a34a681f8dc3291c9c6de5cd5ba1e1cf476d8ea84eff9bc398edd5244c79cad6690de5533d284ab37967a5d554213094b
7
- data.tar.gz: 0e7b1988fd63b9187b64339fa567060c17acdc47e1fe90a03186d6351b9ed2c3e2c38d67deb218a10713479b3785fb2704cae6eedc9d02375e1dbcf5967b6d2d
6
+ metadata.gz: fd1ba7371471f5ae457de8f0db352f064847071646e231c832c940fd66fa3815f58db82d62420379b0bad7c98d1e9ddcf6d3a486f0cd06806b0981964ee6071a
7
+ data.tar.gz: a118028c05867512c047a16307803ee76627212569986a579b0ce8e4cd50788915b70f06a148354f81c65a6098be251bd2fa3dac657d507d6143fd8eb67d87f3
@@ -12,7 +12,7 @@ describe Gst::Bin do
12
12
  ]
13
13
  bin.add_many elements
14
14
  iterator = bin.iterate_elements
15
- iterator.map(&:get_name).must_equal %w(testsrc testqueue testsink)
15
+ _(iterator.map(&:get_name)).must_equal %w(testsrc testqueue testsink)
16
16
  elements.first.link_many elements[1..-1]
17
17
  end
18
18
  end
@@ -29,6 +29,6 @@ end
29
29
 
30
30
  describe 'loaded namespaces' do
31
31
  it 'includes GstBase' do
32
- GstBase::BaseSink.must_be_instance_of Class
32
+ _(GstBase::BaseSink).must_be_instance_of Class
33
33
  end
34
34
  end
@@ -10,8 +10,8 @@ describe Gst::Bin do
10
10
  describe '#add_many' do
11
11
  it 'adds multiple elements' do
12
12
  bin.add_many [fakesink, fakesrc]
13
- fakesink.parent.must_equal bin
14
- fakesrc.parent.must_equal bin
13
+ _(fakesink.parent).must_equal bin
14
+ _(fakesrc.parent).must_equal bin
15
15
  end
16
16
  end
17
17
  end
@@ -8,12 +8,12 @@ describe Gst::ChildProxy do
8
8
  describe '#get_property' do
9
9
  it 'returns a gvalue of the correct type' do
10
10
  gvalue = child_proxy.get_property 'async-handling'
11
- gvalue.current_gtype.must_equal GObject::TYPE_BOOLEAN
11
+ _(gvalue.current_gtype).must_equal GObject::TYPE_BOOLEAN
12
12
  end
13
13
 
14
14
  it 'returns a gvalue with the correct value' do
15
15
  gvalue = child_proxy.get_property 'async-handling'
16
- gvalue.get_value.must_equal false
16
+ _(gvalue.get_value).must_equal false
17
17
  end
18
18
  end
19
19
  end
@@ -10,13 +10,13 @@ describe Gst::Element do
10
10
  describe '#link_many' do
11
11
  it 'links multiple elements' do
12
12
  fakesrc.link_many [queue, fakesink]
13
- fakesrc.iterate_src_pads.first.peer.parent.must_equal queue
14
- queue.iterate_src_pads.first.peer.parent.must_equal fakesink
13
+ _(fakesrc.iterate_src_pads.first.peer.parent).must_equal queue
14
+ _(queue.iterate_src_pads.first.peer.parent).must_equal fakesink
15
15
  end
16
16
 
17
17
  it 'returns success if linking succeeds' do
18
18
  result = fakesrc.link_many [queue, fakesink]
19
- result.must_equal true
19
+ _(result).must_equal true
20
20
  end
21
21
 
22
22
  it 'returns failure if linking fails' do
@@ -24,12 +24,12 @@ describe Gst::Element do
24
24
  othersource.link queue
25
25
 
26
26
  result = fakesrc.link_many [queue, fakesink]
27
- result.must_equal false
27
+ _(result).must_equal false
28
28
  end
29
29
 
30
30
  it 'returns true when linking 0 elements' do
31
31
  result = fakesrc.link_many []
32
- result.must_equal true
32
+ _(result).must_equal true
33
33
  end
34
34
  end
35
35
  end
@@ -12,29 +12,29 @@ describe Gst::Iterator do
12
12
  end
13
13
 
14
14
  it 'behaves like an Enumerable' do
15
- iterator.must_be_kind_of Gst::Iterator
16
- iterator.map(&:name).must_equal ['testname']
15
+ _(iterator).must_be_kind_of Gst::Iterator
16
+ _(iterator.map(&:name)).must_equal ['testname']
17
17
  end
18
18
 
19
19
  it 'allows re-starting the iteration' do
20
- iterator.map(&:name).must_equal ['testname']
21
- iterator.map(&:name).must_equal ['testname']
20
+ _(iterator.map(&:name)).must_equal ['testname']
21
+ _(iterator.map(&:name)).must_equal ['testname']
22
22
  end
23
23
 
24
24
  it 'allows breaking off the loop' do
25
25
  bin.add Gst::ElementFactory.make 'fakesink', 'othername'
26
- iterator.map(&:name).must_equal %w(othername testname)
26
+ _(iterator.map(&:name)).must_equal %w(othername testname)
27
27
  result = nil
28
28
  iterator.each do |it|
29
29
  result = it
30
30
  break if it.name == 'othername'
31
31
  end
32
- result.name.must_equal 'othername'
32
+ _(result.name).must_equal 'othername'
33
33
  end
34
34
 
35
35
  it 'allows redoing an iteration' do
36
36
  bin.add Gst::ElementFactory.make 'fakesink', 'othername'
37
- iterator.map(&:name).must_equal %w(othername testname)
37
+ _(iterator.map(&:name)).must_equal %w(othername testname)
38
38
  count = 0
39
39
  result = []
40
40
  iterator.each do |it|
@@ -42,6 +42,6 @@ describe Gst::Iterator do
42
42
  result << it.name
43
43
  redo if count == 1
44
44
  end
45
- result.must_equal %w(othername othername testname)
45
+ _(result).must_equal %w(othername othername testname)
46
46
  end
47
47
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gir_ffi-gst
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matijs van Zuijlen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-27 00:00:00.000000000 Z
11
+ date: 2019-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gir_ffi
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.14.0
26
+ version: 0.15.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '5.0'
33
+ version: '5.12'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '5.0'
40
+ version: '5.12'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '12.0'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '12.0'
54
+ version: '13.0'
55
55
  description: Bindings for GStreamer generated by GirFFI, with an eclectic set of overrides.
56
56
  email:
57
57
  - matijs@matijs.net
@@ -87,15 +87,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - ">="
89
89
  - !ruby/object:Gem::Version
90
- version: 2.2.0
90
+ version: 2.4.0
91
91
  required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubyforge_project:
98
- rubygems_version: 2.7.6
97
+ rubygems_version: 3.0.6
99
98
  signing_key:
100
99
  specification_version: 4
101
100
  summary: GirFFI-based bindings for GStreamer