video-torrent-info 0.1.18 → 0.1.19

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: 65da2371350ebc96f880abe2a1769c5bed802435
4
- data.tar.gz: fbe53c35b6791e4daca8626035d34ef845530a79
3
+ metadata.gz: ecd91b03dc2a28044435ed2981dd93dacc4d5c16
4
+ data.tar.gz: c9380a53d4481a06b71ebfc0b4026b641a7c669b
5
5
  SHA512:
6
- metadata.gz: 9a90a2432cf678dae6ae984573ebc4b8b604986bd3d3d5e5efa35b687450591bf76b4c5250c200378ea1df9f3fef4e8476d32bd665472cca1b1e2b497a428f27
7
- data.tar.gz: 2be08108e6219d1eb339fe1b3a46f506f70329e54a1615a3faaaefb5a8322333917d2f15f38b6961dce5dff1c4d2c7fb043426b732ba7e624ace18ea3ee3987b
6
+ metadata.gz: e1b2e6113baee04e0a39a4b6185df15440d99e7c653546c8ec40f73697011f5a2b0ff77d392024d8b2cb03ae3be1545262dc0e74e50c07988a211b687a935220
7
+ data.tar.gz: e989ca7341fdf6e8bef8bc831ea468997b498520b18a7cfa23c63f26f773fbea07627c79658d558cbbbce8b26f7559c30fbe8cc31491d252ffb4538257107354
data/Gemfile CHANGED
@@ -6,7 +6,6 @@ source "http://rubygems.org"
6
6
  # Add dependencies to develop your gem here.
7
7
  # Include everything needed to run rake, tests, features, etc.
8
8
  # gem 'rice'
9
- # gem 'ffmpeg-video-info'
10
9
  group :development do
11
10
  gem "rdoc"
12
11
  gem "bundler"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.18
1
+ 0.1.19
@@ -1,7 +1,7 @@
1
1
  require 'bencode'
2
+ require 'ffmpeg_video_info'
2
3
  class VideoTorrentInfo
3
4
  autoload :TorrentClient, 'torrent_client'
4
- autoload :FFmpegVideoInfo, 'ffmpeg_video_info'
5
5
  DEFAULTS = {
6
6
  port1: 8661,
7
7
  port2: 8662,
@@ -16,7 +16,7 @@ class VideoTorrentInfo
16
16
  end
17
17
  def load(torrent_path)
18
18
  dest = download_video(torrent_path)
19
- res = FFmpegVideoInfo.get(dest)
19
+ res = ::FFmpeg::Video.info(dest)
20
20
  File.unlink(dest)
21
21
  res
22
22
  end
@@ -2,17 +2,17 @@
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: video-torrent-info 0.1.18 ruby lib
5
+ # stub: video-torrent-info 0.1.19 ruby lib
6
6
  # stub: ext/torrent_client/extconf.rb
7
7
 
8
8
  Gem::Specification.new do |s|
9
9
  s.name = "video-torrent-info"
10
- s.version = "0.1.18"
10
+ s.version = "0.1.19"
11
11
 
12
12
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
13
13
  s.require_paths = ["lib"]
14
14
  s.authors = ["Pavel Tatarsky"]
15
- s.date = "2015-07-10"
15
+ s.date = "2015-07-13"
16
16
  s.description = "It simply loads small part of torrent that contains metadata and processes it with ffmpeg"
17
17
  s.email = "fazzzenda@mail.ru"
18
18
  s.extensions = ["ext/torrent_client/extconf.rb"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video-torrent-info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Tatarsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-10 00:00:00.000000000 Z
11
+ date: 2015-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc