ffmpeg-video-info 0.2.10 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +22 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +10 -0
- data/README.rdoc +9 -3
- data/Rakefile +5 -0
- data/ext/ffmpeg_video_info_ext/extconf.rb +10 -8
- data/lib/ffmpeg_video_info/version.rb +1 -1
- data/spec/spec_helper.rb +3 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5da726c6fb7507017b9afb790469228f52a1342e
|
4
|
+
data.tar.gz: 4d4fbdc2769f21b92a25181b71b51fd343d92854
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa4ca0f72a54005a1d030521b7654d2698b9ecf5ae82e8ff05d79010e1ab1b4b7fb35edf4b69b75ba291f51ceb5c822dce10bedb619bca9935c7f93ac5f8e3ac
|
7
|
+
data.tar.gz: 873ba4fdaaeb520c622bb5e68171c4b95a06fa79066d4bd5667b015d4b4aea02be8429a6c290270e51a752fdc878328b3c590a520333364176d7abd8864729ee
|
data/.travis.yml
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
language: ruby
|
3
|
+
sudo: false
|
4
|
+
rvm:
|
5
|
+
- 1.9.3
|
6
|
+
- 2.0.0
|
7
|
+
- 2.1.5
|
8
|
+
- 2.2.2
|
9
|
+
- 2.3.0
|
10
|
+
os:
|
11
|
+
- linux
|
12
|
+
- osx
|
13
|
+
|
14
|
+
matrix:
|
15
|
+
allow_failures:
|
16
|
+
# https://github.com/travis-ci/travis-ci/issues/5361
|
17
|
+
- os: osx
|
18
|
+
rvm: 2.3.0
|
19
|
+
|
20
|
+
env:
|
21
|
+
global:
|
22
|
+
- CODECLIMATE_REPO_TOKEN=f3628d3936051e0bc676f02ada2a53bb5388cad4b9d23ec17c11306e30b8ebe7
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
+
codeclimate-test-reporter (0.4.8)
|
5
|
+
simplecov (>= 0.7.1, < 1.0.0)
|
4
6
|
diff-lcs (1.2.5)
|
7
|
+
docile (1.1.5)
|
8
|
+
json (1.8.3)
|
5
9
|
mini_portile2 (2.1.0)
|
6
10
|
rake (10.5.0)
|
7
11
|
rake-compiler (0.9.3)
|
@@ -19,12 +23,18 @@ GEM
|
|
19
23
|
rspec-mocks (3.1.3)
|
20
24
|
rspec-support (~> 3.1.0)
|
21
25
|
rspec-support (3.1.2)
|
26
|
+
simplecov (0.11.2)
|
27
|
+
docile (~> 1.1.0)
|
28
|
+
json (~> 1.8)
|
29
|
+
simplecov-html (~> 0.10.0)
|
30
|
+
simplecov-html (0.10.0)
|
22
31
|
|
23
32
|
PLATFORMS
|
24
33
|
ruby
|
25
34
|
|
26
35
|
DEPENDENCIES
|
27
36
|
bundler
|
37
|
+
codeclimate-test-reporter
|
28
38
|
mini_portile2
|
29
39
|
rake-compiler
|
30
40
|
rdoc
|
data/README.rdoc
CHANGED
@@ -1,9 +1,16 @@
|
|
1
1
|
= ffmpeg-video-info
|
2
2
|
|
3
|
-
|
3
|
+
Ruby binding for FFmpeg library.
|
4
|
+
|
5
|
+
== Status
|
6
|
+
|
7
|
+
{<img src="https://travis-ci.org/vintikzzz/ffmpeg-video-info.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/vintikzzz/ffmpeg-video-info]
|
8
|
+
{<img src="https://codeclimate.com/github/vintikzzz/ffmpeg-video-info/badges/gpa.svg" />}[https://codeclimate.com/github/vintikzzz/ffmpeg-video-info]
|
9
|
+
{<img src="https://codeclimate.com/github/vintikzzz/ffmpeg-video-info/badges/coverage.svg" />}[https://codeclimate.com/github/vintikzzz/ffmpeg-video-info/coverage]
|
10
|
+
{<img src="https://www.versioneye.com/user/projects/56c0c6df18b271003b39137d/badge.svg?style=flat" alt="Dependency Status" />}[https://www.versioneye.com/user/projects/56c0c6df18b271003b39137d]
|
4
11
|
|
5
12
|
== Contributing to ffmpeg-video-info
|
6
|
-
|
13
|
+
|
7
14
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
8
15
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
9
16
|
* Fork the project.
|
@@ -16,4 +23,3 @@ Description goes here.
|
|
16
23
|
|
17
24
|
Copyright (c) 2013 Pavel Tatarsky. See LICENSE.txt for
|
18
25
|
further details.
|
19
|
-
|
data/Rakefile
CHANGED
@@ -2,6 +2,9 @@ require 'rubygems'
|
|
2
2
|
require 'bundler'
|
3
3
|
require 'rake/extensiontask'
|
4
4
|
require './lib/ffmpeg_video_info'
|
5
|
+
require 'rspec/core/rake_task'
|
6
|
+
RSpec::Core::RakeTask.new
|
7
|
+
|
5
8
|
begin
|
6
9
|
Bundler.setup(:default, :development)
|
7
10
|
rescue Bundler::BundlerError => e
|
@@ -22,6 +25,8 @@ Rake::RDocTask.new do |rdoc|
|
|
22
25
|
end
|
23
26
|
|
24
27
|
task :compile => [:'compile:ffmpeg_video_info_ext']
|
28
|
+
task :spec => [:compile]
|
29
|
+
task :default => :spec
|
25
30
|
|
26
31
|
require 'rake/extensiontask'
|
27
32
|
Rake::ExtensionTask.new('ffmpeg_video_info_ext')
|
@@ -6,10 +6,12 @@ rescue Gem::LoadError
|
|
6
6
|
message 'MiniPortile already activated'
|
7
7
|
end
|
8
8
|
require 'mini_portile2'
|
9
|
-
|
10
|
-
recipe = MiniPortile.new('
|
11
|
-
|
12
|
-
|
9
|
+
message "Using mini_portile version #{MiniPortile::VERSION}\n"
|
10
|
+
recipe = MiniPortile.new('FFmpeg', '2.7.1')
|
11
|
+
file = "https://ffmpeg.org/releases/ffmpeg-#{recipe.version}.tar.gz"
|
12
|
+
message "FFmpeg source url #{file}\n"
|
13
|
+
recipe.files = [file]
|
14
|
+
recipe.configure_options = ['--enable-shared', '--disable-yasm']
|
13
15
|
checkpoint = ".#{recipe.name}-#{recipe.version}.installed"
|
14
16
|
unless File.exist?(checkpoint)
|
15
17
|
recipe.cook
|
@@ -17,11 +19,11 @@ unless File.exist?(checkpoint)
|
|
17
19
|
end
|
18
20
|
recipe.activate
|
19
21
|
|
22
|
+
$CXXFLAGS = '' if $CXXFLAGS.nil?
|
20
23
|
$INCFLAGS << " -I#{recipe.path}/include"
|
21
|
-
$CXXFLAGS
|
22
|
-
|
23
|
-
|
24
|
-
end
|
24
|
+
$CXXFLAGS << ' -fPIC'
|
25
|
+
$LDFLAGS << " -Wl,-rpath,#{File.expand_path(File.dirname(__FILE__))}"
|
26
|
+
$LIBPATH = ["#{recipe.path}/lib"] | $LIBPATH
|
25
27
|
|
26
28
|
have_library('avcodec') or raise
|
27
29
|
have_library('avformat') or raise
|
data/spec/spec_helper.rb
CHANGED
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.2.
|
4
|
+
version: 0.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Tatarsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mini_portile2
|
@@ -118,6 +118,7 @@ extra_rdoc_files: []
|
|
118
118
|
files:
|
119
119
|
- ".document"
|
120
120
|
- ".gitignore"
|
121
|
+
- ".travis.yml"
|
121
122
|
- Gemfile
|
122
123
|
- Gemfile.lock
|
123
124
|
- LICENSE.txt
|