ffmpeg-video-info 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d89d70f6b4a00a2a94d906c2d14919073a86d8df
4
- data.tar.gz: b6c8a8a29dbfe4438f707d3ec672d372cc44272e
3
+ metadata.gz: c05ca1147efb683d76ce563b792cc323e94688ce
4
+ data.tar.gz: 3dc2ba80b9aaa74475b7d1f171583a7daaae0158
5
5
  SHA512:
6
- metadata.gz: 6d32135f2a177ba43d40bbeda249187b306a77753456a55362904f63fb86270140a5e78cc8168e7f56deb402f94d64158d1b0bfd021ac6f493eb01b2dbc00e57
7
- data.tar.gz: 4bd3dcaec61cab35c8c1ecb9283978cebd497a98e8f13e41379ea23ed69df38373622997c833798a987aac2af10b108491f74e55e469cda6d1abbdebd2db1b95
6
+ metadata.gz: 27a061d557ae949873091f8308dec3139a136580c5bb3d39c5ea7dae208bc70283529250204e2695a274c69ed5e378fce956770158abb22d850e143759f4a995
7
+ data.tar.gz: 02e896ba0486eea7e6aedc73df40a74cdb53ad436798e601abdfe770bedf3ed734b30b4f6b722381f3b6bcbce5c9771efaf419f94b2aa1fd6cfa0df1a9a9ad03
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -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.2"
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-09"
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.0.5"
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.2
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-09 00:00:00.000000000 Z
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.0.5
125
+ rubygems_version: 2.1.11
125
126
  signing_key:
126
127
  specification_version: 4
127
128
  summary: Ruby binding for FFmpeg library