video-torrent-info 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/video_torrent_info.rb +2 -1
- 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: 9968749be96a7c9c06136fbf520620567a7736ac
|
4
|
+
data.tar.gz: 161dc00eeec5cdd12323d37c0cebea695e0b8f25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a166ba53c0c9254dd48297503cb331848b6c90ea7f1dc31bfbc97a7c10ae615c9d10369f4a0c699668b6b2d6646ed3b0193072a21aca82070b0d2b032af1aea
|
7
|
+
data.tar.gz: e3e3ce0aa577a10bf78bb23473def0fc4611330e9570171659eec488d42eaa135d0b2a2843acb0b778673813911a387e9a030aff1fc23685db4b06b9e137070f
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.13
|
data/lib/video_torrent_info.rb
CHANGED
@@ -6,7 +6,7 @@ class VideoTorrentInfo
|
|
6
6
|
port1: 8661,
|
7
7
|
port2: 8662,
|
8
8
|
temp_path: '/tmp',
|
9
|
-
supported_extensions: %w{ .avi .mkv .mpg .mpeg .3gp .wmv .mov .flv .mts },
|
9
|
+
supported_extensions: %w{ .avi .mkv .mpg .mpeg .3gp .wmv .mov .flv .mts .mp4 },
|
10
10
|
download_limit: -1,
|
11
11
|
timeout: 60
|
12
12
|
}
|
@@ -41,6 +41,7 @@ class VideoTorrentInfo
|
|
41
41
|
res[files.index(f)] = f
|
42
42
|
end
|
43
43
|
end
|
44
|
+
raise "No files supported" if res.empty?
|
44
45
|
res
|
45
46
|
end
|
46
47
|
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.13 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.13"
|
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 = "
|
15
|
+
s.date = "2015-02-04"
|
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.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:
|
11
|
+
date: 2015-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|