ffmpeg-video-info 0.1.2 → 0.1.3
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 +4 -4
- data/VERSION +1 -1
- data/ffmpeg-video-info.gemspec +5 -3
- data/spec/lib/info_spec.rb +18 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c05ca1147efb683d76ce563b792cc323e94688ce
|
4
|
+
data.tar.gz: 3dc2ba80b9aaa74475b7d1f171583a7daaae0158
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27a061d557ae949873091f8308dec3139a136580c5bb3d39c5ea7dae208bc70283529250204e2695a274c69ed5e378fce956770158abb22d850e143759f4a995
|
7
|
+
data.tar.gz: 02e896ba0486eea7e6aedc73df40a74cdb53ad436798e601abdfe770bedf3ed734b30b4f6b722381f3b6bcbce5c9771efaf419f94b2aa1fd6cfa0df1a9a9ad03
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/ffmpeg-video-info.gemspec
CHANGED
@@ -2,14 +2,15 @@
|
|
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: ffmpeg-video-info 0.1.3 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "ffmpeg-video-info"
|
8
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.3"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
12
|
s.authors = ["Pavel Tatarsky"]
|
12
|
-
s.date = "2013-12-
|
13
|
+
s.date = "2013-12-13"
|
13
14
|
s.description = "It only provides gathering info about media files"
|
14
15
|
s.email = "fazzzenda@mail.ru"
|
15
16
|
s.extensions = ["ext/ffmpeg_video_info/extconf.rb"]
|
@@ -29,12 +30,13 @@ Gem::Specification.new do |s|
|
|
29
30
|
"ext/ffmpeg_video_info/ffmpeg_video_info.c",
|
30
31
|
"ffmpeg-video-info.gemspec",
|
31
32
|
"spec/fixtures/test.mp4",
|
33
|
+
"spec/lib/info_spec.rb",
|
32
34
|
"spec/spec_helper.rb"
|
33
35
|
]
|
34
36
|
s.homepage = "http://github.com/vintikzzz/ffmpeg-video-info"
|
35
37
|
s.licenses = ["MIT"]
|
36
38
|
s.require_paths = ["lib"]
|
37
|
-
s.rubygems_version = "2.
|
39
|
+
s.rubygems_version = "2.1.11"
|
38
40
|
s.summary = "Ruby binding for FFmpeg library"
|
39
41
|
|
40
42
|
if s.respond_to? :specification_version then
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'ffmpeg_video_info'
|
3
|
+
require 'ostruct'
|
4
|
+
describe FFmpegVideoInfo do
|
5
|
+
subject { FFmpegVideoInfo }
|
6
|
+
context 'when .get' do
|
7
|
+
context 'with wrong args' do
|
8
|
+
specify do
|
9
|
+
expect { subject.get('') }.to raise_error('ffmpeg: Unable to open input file')
|
10
|
+
end
|
11
|
+
end
|
12
|
+
context 'with proper args' do
|
13
|
+
subject { OpenStruct.new(FFmpegVideoInfo.get('./spec/fixtures/test.mp4')) }
|
14
|
+
its(:format_name) { eql('mov,mp4,m4a,3gp,3g2,mj2') }
|
15
|
+
its(:file_name) { eql('./spec/fixtures/test.mp4') }
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffmpeg-video-info
|
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
|
- Pavel Tatarsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|
@@ -100,6 +100,7 @@ files:
|
|
100
100
|
- ext/ffmpeg_video_info/ffmpeg_video_info.c
|
101
101
|
- ffmpeg-video-info.gemspec
|
102
102
|
- spec/fixtures/test.mp4
|
103
|
+
- spec/lib/info_spec.rb
|
103
104
|
- spec/spec_helper.rb
|
104
105
|
homepage: http://github.com/vintikzzz/ffmpeg-video-info
|
105
106
|
licenses:
|
@@ -121,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
122
|
version: '0'
|
122
123
|
requirements: []
|
123
124
|
rubyforge_project:
|
124
|
-
rubygems_version: 2.
|
125
|
+
rubygems_version: 2.1.11
|
125
126
|
signing_key:
|
126
127
|
specification_version: 4
|
127
128
|
summary: Ruby binding for FFmpeg library
|