video-torrent-info 0.1.6 → 0.1.8

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: 3d21c4902d4585e36d932a45b6337afd32f6836f
4
- data.tar.gz: 03fe60ae114e41823566b043f6b63c5a947ae7d8
3
+ metadata.gz: 79aa9eddaf64c89f8db33c47976c5b15bd73c41d
4
+ data.tar.gz: 3e2604e5d89f28d82d39d38767f9ceca18f866ae
5
5
  SHA512:
6
- metadata.gz: a7631c5d96722cab655be6b4c560611e89c379f0e6160f921f606ae180e02f9f08b00ebeabe0a26899d3915350b9e4659ce3f0c679a7738e2c902308c2d342ec
7
- data.tar.gz: 24738cddf6bd6754e430f41763b3de919ca9af58206491f27e0e3f0f243a12cf81132a76e277a7ad7a3c81ed7e6a5579b4c5ed92ab96ff96fc8ae5f5e99e83ca
6
+ metadata.gz: 452ecb6f7847cb7c2f06210eaf7ac0f11437da291d4fc02f42dc0e14ac8f6c5d7a29c458213d60b49fc5c7e6a461dcfd01ed2c1802a23ed948bd4c0802dc78d9
7
+ data.tar.gz: 2ff3cc939419b62dff4aa4ccf0f237259ed77fe701c1c23f86191ed73e8151c080273b3da7417a59e7e99d07e5aa42aa28d0628faa535e61fab5e78b27bb7f0a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.8
@@ -30,7 +30,7 @@ class VideoTorrentInfo
30
30
  if info['files'].nil?
31
31
  files = [info['name']]
32
32
  else
33
- files = info['files'].map { |e| (info['name'] + path).join('/') }
33
+ files = info['files'].map { |e| ([info['name']] + e['path']).join('/') }
34
34
  end
35
35
  files.each do |f|
36
36
  if @params[:supported_extensions].include?(File.extname(f))
@@ -2,11 +2,11 @@
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.6 ruby lib
5
+ # stub: video-torrent-info 0.1.8 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "video-torrent-info"
9
- s.version = "0.1.6"
9
+ s.version = "0.1.8"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Pavel Tatarsky"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video-torrent-info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Tatarsky