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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e212e0e89828d238d2fe46a373ec3d97a714283
4
- data.tar.gz: c6325536012ea27a1044309e8290eb56ab827c4b
3
+ metadata.gz: 9968749be96a7c9c06136fbf520620567a7736ac
4
+ data.tar.gz: 161dc00eeec5cdd12323d37c0cebea695e0b8f25
5
5
  SHA512:
6
- metadata.gz: ab44bbdcf5f304dc6e39e093f01d3e41a623821d0442e2ed64131e8cdeb15640c88f25f1551ab247eee8e6ad083d5710def8648d40b351744d439be38c38c0ec
7
- data.tar.gz: ef9dab4449f383d36034250786aa1967bf877a85e687af5ae177c39600ec6a9fe7d964f66f60234d0dd5303d7179ba08735d47bd79e24a84eb7be7011073b124
6
+ metadata.gz: 7a166ba53c0c9254dd48297503cb331848b6c90ea7f1dc31bfbc97a7c10ae615c9d10369f4a0c699668b6b2d6646ed3b0193072a21aca82070b0d2b032af1aea
7
+ data.tar.gz: e3e3ce0aa577a10bf78bb23473def0fc4611330e9570171659eec488d42eaa135d0b2a2843acb0b778673813911a387e9a030aff1fc23685db4b06b9e137070f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.12
1
+ 0.1.13
@@ -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
@@ -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.12 ruby lib
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.12"
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 = "2014-11-28"
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.12
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: 2014-11-28 00:00:00.000000000 Z
11
+ date: 2015-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc