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 +4 -4
- data/Gemfile +0 -1
- data/VERSION +1 -1
- data/lib/video_torrent_info.rb +2 -2
- data/video-torrent-info.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecd91b03dc2a28044435ed2981dd93dacc4d5c16
|
4
|
+
data.tar.gz: c9380a53d4481a06b71ebfc0b4026b641a7c669b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1b2e6113baee04e0a39a4b6185df15440d99e7c653546c8ec40f73697011f5a2b0ff77d392024d8b2cb03ae3be1545262dc0e74e50c07988a211b687a935220
|
7
|
+
data.tar.gz: e989ca7341fdf6e8bef8bc831ea468997b498520b18a7cfa23c63f26f773fbea07627c79658d558cbbbce8b26f7559c30fbe8cc31491d252ffb4538257107354
|
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.19
|
data/lib/video_torrent_info.rb
CHANGED
@@ -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 =
|
19
|
+
res = ::FFmpeg::Video.info(dest)
|
20
20
|
File.unlink(dest)
|
21
21
|
res
|
22
22
|
end
|
data/video-torrent-info.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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-
|
11
|
+
date: 2015-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|