gstreamer 3.0.5-x86-mingw32 → 3.0.6-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d0c21b573aa0c1e242aa5969a5343c07e0454a2
4
- data.tar.gz: 94be55225f5fe2f30bae5b67a69d51fc9b972632
3
+ metadata.gz: 49c02b3c27fd6a2aa27cc2b09329bb0b7eafb5d9
4
+ data.tar.gz: 856554fada79e44cd4b63efc7cc925e0924e3cef
5
5
  SHA512:
6
- metadata.gz: 41ee0f6767a2f05d9cbc5f83e00d8de3c3a0ec5895e28ca952d595fc9ae614eb752647c2adf465621d615f9ab0c10d493d58be56bae9a0cbe740b11750966b79
7
- data.tar.gz: 081b24d6409ceb7ccdbc35464d5f9ea07e7a98366c04c46ff7fa462296ab8b3493d771b2a612ba932a3115bcaf9722a25c2a62d45b9a9099f6dc2b5b3b55e082
6
+ metadata.gz: 5af1c5c212001e1a426e60742bf7d96fb3ebaff5ad5457e06434f3b56b47a69d8c420c583af69ee7a01cdb259097b2e6661c40f55029332588cbc1c572455b95
7
+ data.tar.gz: 1b4385c237bcf103cbe3d01e3c0bc9a1c168609a24737cd8dd5f4d3020be0808fbba76c6310adb0b71d2d77b008bf055cef6f61e7162990f7b3347563cb69203
data/lib/2.0/gstreamer.so CHANGED
Binary file
data/lib/2.1/gstreamer.so CHANGED
Binary file
data/lib/2.2/gstreamer.so CHANGED
Binary file
data/lib/gst.rb CHANGED
@@ -71,6 +71,7 @@ module Gst
71
71
  require "gst/registry"
72
72
  require "gst/structure"
73
73
  require "gst/type-find-factory"
74
+ require "gst/version"
74
75
  init_base
75
76
  init_controller
76
77
  end
@@ -0,0 +1,36 @@
1
+ # Copyright (C) 2015 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+
18
+ module Gst
19
+ module Version
20
+ MAJOR, MINOR, MICRO, NANO = Gst.version
21
+ STRING = "#{MAJOR}.#{MINOR}.#{MICRO}.#{NANO}"
22
+ class << self
23
+ def or_later?(major, minor, micro=nil, nano=nil)
24
+ micro ||= 0
25
+ nano ||= 0
26
+ version = [
27
+ MAJOR,
28
+ MINOR,
29
+ MICRO,
30
+ NANO,
31
+ ]
32
+ (version <=> [major, minor, micro, nano]) >= 0
33
+ end
34
+ end
35
+ end
36
+ end
data/test/run-test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2014 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2014-2015 Ruby-GNOME2 Project Team
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -56,4 +56,4 @@ end
56
56
 
57
57
  Gst.init
58
58
 
59
- exit Test::Unit::AutoRunner.run(true)
59
+ exit Test::Unit::AutoRunner.run(true, File.join(gstreamer_base, "test"))
@@ -0,0 +1,50 @@
1
+ # Copyright (C) 2015 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ class TestGstVersion < Test::Unit::TestCase
18
+
19
+ test "STRING" do
20
+ major = Gst::Version::MAJOR
21
+ minor = Gst::Version::MINOR
22
+ micro = Gst::Version::MICRO
23
+ nano = Gst::Version::NANO
24
+ assert_equal([major, minor, micro, nano].join("."),
25
+ Gst::Version::STRING)
26
+ end
27
+
28
+ sub_test_case("#or_later?") do
29
+ test "same" do
30
+ assert_true(Gst::Version.or_later?(Gst::Version::MAJOR,
31
+ Gst::Version::MINOR,
32
+ Gst::Version::MICRO,
33
+ Gst::Version::NANO))
34
+ end
35
+
36
+ test "later" do
37
+ assert_true(Gst::Version.or_later?(Gst::Version::MAJOR,
38
+ Gst::Version::MINOR - 1,
39
+ Gst::Version::MICRO,
40
+ Gst::Version::NANO))
41
+ end
42
+
43
+ test "earlier" do
44
+ assert_false(Gst::Version.or_later?(Gst::Version::MAJOR,
45
+ Gst::Version::MINOR + 1,
46
+ Gst::Version::MICRO,
47
+ Gst::Version::NANO))
48
+ end
49
+ end
50
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gstreamer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.6
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-22 00:00:00.000000000 Z
11
+ date: 2015-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glib2
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.5
19
+ version: 3.0.6
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: 3.0.5
26
+ version: 3.0.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gobject-introspection
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.5
33
+ version: 3.0.6
34
34
  type: :runtime
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: 3.0.5
40
+ version: 3.0.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pango
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 3.0.5
47
+ version: 3.0.6
48
48
  type: :runtime
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: 3.0.5
54
+ version: 3.0.6
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: gdk_pixbuf2
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 3.0.5
61
+ version: 3.0.6
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 3.0.5
68
+ version: 3.0.6
69
69
  description: Ruby/GStreamer is a Ruby binding for GStreamer.
70
70
  email: ruby-gnome2-devel-en@lists.sourceforge.net
71
71
  executables: []
@@ -95,6 +95,7 @@ files:
95
95
  - lib/gst/registry.rb
96
96
  - lib/gst/structure.rb
97
97
  - lib/gst/type-find-factory.rb
98
+ - lib/gst/version.rb
98
99
  - lib/gstreamer.rb
99
100
  - sample/audio-example.rb
100
101
  - sample/framestep1.rb
@@ -110,6 +111,7 @@ files:
110
111
  - test/test-caps.rb
111
112
  - test/test-child-proxy.rb
112
113
  - test/test-element-factory.rb
114
+ - test/test-version.rb
113
115
  - vendor/local/bin/cjpeg.exe
114
116
  - vendor/local/bin/djpeg.exe
115
117
  - vendor/local/bin/flac.exe