gir_ffi-gst 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/gir_ffi-gst/iterator.rb +7 -1
- data/test/{unit → gir_ffi-gst}/base_test.rb +0 -0
- data/test/{unit → gir_ffi-gst}/bin_test.rb +0 -0
- data/test/{unit → gir_ffi-gst}/child_proxy_test.rb +0 -0
- data/test/{unit → gir_ffi-gst}/element_test.rb +0 -0
- data/test/{unit → gir_ffi-gst}/iterator_test.rb +13 -0
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d18e1edde412637ae53f4e80f96ee37fafc57ef0b055f7a2d0e76b558ccf599b
|
4
|
+
data.tar.gz: 8d971b25d50825ae7572b087d302af188a8acc3ba6d042f6af2e56ae6507405f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1f74887f7959b0aafdd4f5116bc0af866425a7738bad248f56c78ccef1aa994278b64a67d20fff090801d554faaa14e36642bf3e0946861f314c98e0c05db11
|
7
|
+
data.tar.gz: c45e384561088ec171e1d6472b6a2ac55e6788b875aed6ef18275f064a3220eaf60562f29a20f2ec9a8dd9120b42e11d551f6142fe4d4b0755b96b3762aabf2b
|
data/Rakefile
CHANGED
data/lib/gir_ffi-gst/iterator.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -31,4 +31,17 @@ describe Gst::Iterator do
|
|
31
31
|
end
|
32
32
|
result.name.must_equal 'othername'
|
33
33
|
end
|
34
|
+
|
35
|
+
it 'allows redoing an iteration' do
|
36
|
+
bin.add Gst::ElementFactory.make 'fakesink', 'othername'
|
37
|
+
iterator.map(&:name).must_equal %w(othername testname)
|
38
|
+
count = 0
|
39
|
+
result = []
|
40
|
+
iterator.each do |it|
|
41
|
+
count += 1
|
42
|
+
result << it.name
|
43
|
+
redo if count == 1
|
44
|
+
end
|
45
|
+
result.must_equal %w(othername othername testname)
|
46
|
+
end
|
34
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.
|
4
|
+
version: 0.0.9
|
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-
|
11
|
+
date: 2018-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gir_ffi
|
@@ -69,12 +69,12 @@ files:
|
|
69
69
|
- lib/gir_ffi-gst/element.rb
|
70
70
|
- lib/gir_ffi-gst/iterator.rb
|
71
71
|
- test/end_to_end/bin_test.rb
|
72
|
+
- test/gir_ffi-gst/base_test.rb
|
73
|
+
- test/gir_ffi-gst/bin_test.rb
|
74
|
+
- test/gir_ffi-gst/child_proxy_test.rb
|
75
|
+
- test/gir_ffi-gst/element_test.rb
|
76
|
+
- test/gir_ffi-gst/iterator_test.rb
|
72
77
|
- test/test_helper.rb
|
73
|
-
- test/unit/base_test.rb
|
74
|
-
- test/unit/bin_test.rb
|
75
|
-
- test/unit/child_proxy_test.rb
|
76
|
-
- test/unit/element_test.rb
|
77
|
-
- test/unit/iterator_test.rb
|
78
78
|
homepage: http://www.github.com/mvz/gir_ffi-gst
|
79
79
|
licenses:
|
80
80
|
- LGPL-2.1+
|
@@ -87,7 +87,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
87
87
|
requirements:
|
88
88
|
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: 2.
|
90
|
+
version: 2.1.0
|
91
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
93
|
- - ">="
|
@@ -100,10 +100,10 @@ signing_key:
|
|
100
100
|
specification_version: 4
|
101
101
|
summary: GirFFI-based bindings for GStreamer
|
102
102
|
test_files:
|
103
|
-
- test/unit/bin_test.rb
|
104
|
-
- test/unit/iterator_test.rb
|
105
|
-
- test/unit/child_proxy_test.rb
|
106
|
-
- test/unit/base_test.rb
|
107
|
-
- test/unit/element_test.rb
|
108
103
|
- test/test_helper.rb
|
104
|
+
- test/gir_ffi-gst/bin_test.rb
|
105
|
+
- test/gir_ffi-gst/iterator_test.rb
|
106
|
+
- test/gir_ffi-gst/child_proxy_test.rb
|
107
|
+
- test/gir_ffi-gst/base_test.rb
|
108
|
+
- test/gir_ffi-gst/element_test.rb
|
109
109
|
- test/end_to_end/bin_test.rb
|