mxfinfo 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ext/mxfinfo/mxfinfo.c +1 -1
- data/lib/mxfinfo.rb +4 -0
- data/lib/mxfinfo/version.rb +1 -1
- data/spec/info_object_spec.rb +1 -0
- data/spec/mxfinfo_spec.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 40c3818cd8093fed50a65570f8e79c90aa5239c26faa6eaf4e88896452ffc670
|
4
|
+
data.tar.gz: 3726fef5774780d8e09a5afbdd8d16027800cad5247eb74c847c36e64920e095
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14f9e195f73eaf3ae355adec02a6411bcfd70a26d81d9d519a64961771509ac0c4f1f22931a1a2367993069a0211befdd51269efa694332dc5b94a75b0499c33
|
7
|
+
data.tar.gz: 956d1a30dfb4a3b2cceae263407a6f8130e0da14628e3267c0f51bc9ad0f99bb741943c5a1a8a989b347b773420128bd1df0511cf2cb9fc82b83a136c7293e78
|
data/ext/mxfinfo/mxfinfo.c
CHANGED
@@ -295,7 +295,7 @@ void Init_mxfinfo()
|
|
295
295
|
c_infoobject = rb_define_class_under(m_mxfinfo, "InfoObject", rb_cObject);
|
296
296
|
rb_define_singleton_method(c_infoobject, "new", cio_new, 1);
|
297
297
|
|
298
|
-
rb_define_method(c_infoobject, "
|
298
|
+
rb_define_method(c_infoobject, "_clip_name", cio_get_clip_name, 0);
|
299
299
|
rb_define_method(c_infoobject, "project_name", cio_get_project_name, 0);
|
300
300
|
rb_define_method(c_infoobject, "clip_created", cio_get_clip_created, 0);
|
301
301
|
rb_define_method(c_infoobject, "project_edit_rate", cio_get_project_edit_rate, 0);
|
data/lib/mxfinfo.rb
CHANGED
data/lib/mxfinfo/version.rb
CHANGED
data/spec/info_object_spec.rb
CHANGED
data/spec/mxfinfo_spec.rb
CHANGED
@@ -20,7 +20,11 @@ describe 'MXFInfo' do
|
|
20
20
|
it 'should return an InfoObject instance' do
|
21
21
|
expect(MXFInfo.scan File.expand_path('../fixtures/IMG_0395.MOV.A14DC7130D.mxf', __FILE__)).to be_a(MXFInfo::InfoObject)
|
22
22
|
end
|
23
|
-
|
23
|
+
|
24
|
+
it 'should return an UTF-8 clip_name' do
|
25
|
+
expect(MXFInfo.scan(File.expand_path('../fixtures/IMG_0395.MOV.A14DC7130D.mxf', __FILE__)).clip_name.encoding).to eq(Encoding::UTF_8)
|
26
|
+
end
|
27
|
+
end
|
24
28
|
end
|
25
29
|
end
|
26
30
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mxfinfo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Dierker
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-07-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
101
|
rubyforge_project:
|
102
|
-
rubygems_version: 2.6
|
102
|
+
rubygems_version: 2.7.6
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: MXFinfo is a gem that wraps avidmxfinfo from libmxf in a native ruby extension.
|