ffmpeg-video-info 0.2.10 → 0.2.13

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: 98d619bc35a020f6b37f7163e4f36e41ea5837cf
4
- data.tar.gz: da60e7e036eedff32a14c89e8feba132b639a257
3
+ metadata.gz: 5da726c6fb7507017b9afb790469228f52a1342e
4
+ data.tar.gz: 4d4fbdc2769f21b92a25181b71b51fd343d92854
5
5
  SHA512:
6
- metadata.gz: 54af5cfb5467cda3f2709efad17d8fd7fda0d4d87dad4583f596eef55af131c083363a3bc04e16f4e1657a60e13efcc4cac864b0c9305f518a6ef59f67a75cc5
7
- data.tar.gz: 7fcebe2a3b10f92bad151c2bbdef24bea4d22d7fe0d9085506dc3b82fd57de2031b53a79349448fc816b7c548e56ef4f1330b568a0da0f42e610e7df3eea77cb
6
+ metadata.gz: aa4ca0f72a54005a1d030521b7654d2698b9ecf5ae82e8ff05d79010e1ab1b4b7fb35edf4b69b75ba291f51ceb5c822dce10bedb619bca9935c7f93ac5f8e3ac
7
+ data.tar.gz: 873ba4fdaaeb520c622bb5e68171c4b95a06fa79066d4bd5667b015d4b4aea02be8429a6c290270e51a752fdc878328b3c590a520333364176d7abd8864729ee
@@ -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
@@ -5,4 +5,5 @@ group :development do
5
5
  gem "rspec"
6
6
  gem "rake-compiler"
7
7
  gem "mini_portile2"
8
+ gem "codeclimate-test-reporter", require: nil
8
9
  end
@@ -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
@@ -1,9 +1,16 @@
1
1
  = ffmpeg-video-info
2
2
 
3
- Description goes here.
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
- ffmpeg_ver = '2.7.1'
10
- recipe = MiniPortile.new('ffmpeg', ffmpeg_ver)
11
- recipe.files = ["https://github.com/FFmpeg/FFmpeg/archive/n#{ffmpeg_ver}.tar.gz"]
12
- recipe.configure_options = ['--enable-shared']
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 += '-fPIC'
22
- unless ENV['LIBRARY_PATH'].nil?
23
- $LDFLAGS <<" -Wl,-rpath,#{ENV['LIBRARY_PATH']}:#{File.expand_path(File.dirname(__FILE__))}"
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
@@ -1,5 +1,5 @@
1
1
  module FFmpeg
2
2
  module Video
3
- VERSION = '0.2.10'
3
+ VERSION = '0.2.13'
4
4
  end
5
5
  end
@@ -1,2 +1,4 @@
1
+ require 'codeclimate-test-reporter'
2
+ CodeClimate::TestReporter.start
1
3
  require 'rspec'
2
- Dir.chdir File.dirname(File.dirname(__FILE__))
4
+ Dir.chdir File.dirname(File.dirname(__FILE__))
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.10
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-12 00:00:00.000000000 Z
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