video-torrent-info 0.1.20 → 0.1.21

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: 5f13b7aeab9203704c424523b54132e100592ea4
4
- data.tar.gz: 6dffd4edd776fa6981e663e85ac2afdfc7b9453b
3
+ metadata.gz: b0ad85ffc3fe9bd2cca65ac3750d0ea37619016a
4
+ data.tar.gz: 5314556b9fb9f6afb7f55a777227eb4d8f8a4c90
5
5
  SHA512:
6
- metadata.gz: 6881c8c7c4069e7a9b1506848f3c8b078d21ab53325eae9d7f1b9c56c512c47fe333c2a3ee99ee0db210fa41d64d8a941ae088a63e232acebdb0a2b430390380
7
- data.tar.gz: 9d807e71cb0fd7b8a765260e18824141e8e10c416fbb093ba45933be0f25cd0e1f87a9de6f63f205a519b163258bd31a8e08e68ad0cfb7304d432980db6afd35
6
+ metadata.gz: 21fa770fcdb50b81930573edc65e61ea3d6aba0275648e75f532811258ebdf20e9e1bd27640a8e7af8c197448316c65644b9f0c4b10f2bef81cde7664be4f886
7
+ data.tar.gz: c0ca3fb8037c0e805330ff77d4dc52dabde5ca88b3b9286d0242d99cc23313074a6157bbad560754dfbb20e138d5599f0868e3ef7468adfbbb92e0bcb9d20fa6
data/.gitignore ADDED
@@ -0,0 +1,52 @@
1
+ # rcov generated
2
+ coverage
3
+ coverage.data
4
+
5
+ # rdoc generated
6
+ rdoc
7
+
8
+ # yard generated
9
+ doc
10
+ .yardoc
11
+
12
+ # bundler
13
+ .bundle
14
+
15
+ # jeweler generated
16
+ pkg
17
+
18
+ # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
19
+ #
20
+ # * Create a file at ~/.gitignore
21
+ # * Include files you want ignored
22
+ # * Run: git config --global core.excludesfile ~/.gitignore
23
+ #
24
+ # After doing this, these files will be ignored in all your git projects,
25
+ # saving you from having to 'pollute' every project you touch with them
26
+ #
27
+ # Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
28
+ #
29
+ # For MacOS:
30
+ #
31
+ #.DS_Store
32
+
33
+ # For TextMate
34
+ #*.tmproj
35
+ #tmtags
36
+
37
+ # For emacs:
38
+ #*~
39
+ #\#*
40
+ #.\#*
41
+
42
+ # For vim:
43
+ #*.swp
44
+
45
+ # For redcar:
46
+ #.redcar
47
+
48
+ # For rubinius:
49
+ #*.rbc
50
+ tmp
51
+ *.bundle
52
+ *.so
data/Gemfile CHANGED
@@ -1,15 +1,10 @@
1
1
  source "http://rubygems.org"
2
- # Add dependencies required to use your gem here.
3
- # Example:
4
- # gem "activesupport", ">= 2.3.5"
5
-
6
- # Add dependencies to develop your gem here.
7
- # Include everything needed to run rake, tests, features, etc.
8
2
  group :development do
9
- gem "rdoc"
10
- gem "bundler"
11
- gem "jeweler"
12
- gem "rspec"
13
- gem "rake-compiler"
3
+ gem 'rdoc'
4
+ gem 'bundler'
5
+ gem 'rspec'
6
+ gem 'rice'
7
+ gem 'rake-compiler'
14
8
  gem 'bencode', :git => 'git://github.com/vintikzzz/ruby-bencode.git'
9
+ gem 'ffmpeg-video-info'
15
10
  end
data/Gemfile.lock CHANGED
@@ -7,65 +7,26 @@ GIT
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- addressable (2.3.8)
11
- builder (3.2.2)
12
- descendants_tracker (0.0.4)
13
- thread_safe (~> 0.3, >= 0.3.1)
14
10
  diff-lcs (1.2.5)
15
- faraday (0.9.1)
16
- multipart-post (>= 1.2, < 3)
17
- git (1.2.9.1)
18
- github_api (0.12.3)
19
- addressable (~> 2.3)
20
- descendants_tracker (~> 0.0.4)
21
- faraday (~> 0.8, < 0.10)
22
- hashie (>= 3.3)
23
- multi_json (>= 1.7.5, < 2.0)
24
- nokogiri (~> 1.6.3)
25
- oauth2
26
- hashie (3.4.2)
27
- highline (1.7.2)
28
- jeweler (2.0.1)
29
- builder
30
- bundler (>= 1.0)
31
- git (>= 1.2.5)
32
- github_api
33
- highline (>= 1.6.15)
34
- nokogiri (>= 1.5.10)
35
- rake
36
- rdoc
37
- jwt (1.5.0)
38
- mini_portile (0.6.2)
39
- multi_json (1.11.0)
40
- multi_xml (0.5.5)
41
- multipart-post (2.0.0)
42
- nokogiri (1.6.6.2)
43
- mini_portile (~> 0.6.0)
44
- oauth2 (1.0.0)
45
- faraday (>= 0.8, < 0.10)
46
- jwt (~> 1.0)
47
- multi_json (~> 1.3)
48
- multi_xml (~> 0.5)
49
- rack (~> 1.2)
50
- rack (1.6.1)
51
- rake (10.4.2)
11
+ ffmpeg-video-info (0.2.8)
12
+ rake (10.5.0)
52
13
  rake-compiler (0.9.5)
53
14
  rake
54
- rdoc (4.2.0)
55
- rspec (3.2.0)
56
- rspec-core (~> 3.2.0)
57
- rspec-expectations (~> 3.2.0)
58
- rspec-mocks (~> 3.2.0)
59
- rspec-core (3.2.3)
60
- rspec-support (~> 3.2.0)
61
- rspec-expectations (3.2.1)
15
+ rdoc (4.2.1)
16
+ rice (2.1.0)
17
+ rspec (3.4.0)
18
+ rspec-core (~> 3.4.0)
19
+ rspec-expectations (~> 3.4.0)
20
+ rspec-mocks (~> 3.4.0)
21
+ rspec-core (3.4.2)
22
+ rspec-support (~> 3.4.0)
23
+ rspec-expectations (3.4.0)
62
24
  diff-lcs (>= 1.2.0, < 2.0)
63
- rspec-support (~> 3.2.0)
64
- rspec-mocks (3.2.1)
25
+ rspec-support (~> 3.4.0)
26
+ rspec-mocks (3.4.1)
65
27
  diff-lcs (>= 1.2.0, < 2.0)
66
- rspec-support (~> 3.2.0)
67
- rspec-support (3.2.2)
68
- thread_safe (0.3.5)
28
+ rspec-support (~> 3.4.0)
29
+ rspec-support (3.4.1)
69
30
 
70
31
  PLATFORMS
71
32
  ruby
@@ -73,10 +34,11 @@ PLATFORMS
73
34
  DEPENDENCIES
74
35
  bencode!
75
36
  bundler
76
- jeweler
37
+ ffmpeg-video-info
77
38
  rake-compiler
78
39
  rdoc
40
+ rice
79
41
  rspec
80
42
 
81
43
  BUNDLED WITH
82
- 1.10.3
44
+ 1.11.2
data/Rakefile CHANGED
@@ -9,24 +9,6 @@ rescue Bundler::BundlerError => e
9
9
  exit e.status_code
10
10
  end
11
11
  require 'rake'
12
-
13
- require 'jeweler'
14
- Jeweler::Tasks.new do |gem|
15
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
16
- gem.name = "video-torrent-info"
17
- gem.homepage = "http://github.com/vintikzzz/video-torrent-info"
18
- gem.license = "MIT"
19
- gem.summary = %Q{Gets video info for the torrent file}
20
- gem.description = %Q{It simply loads small part of torrent that contains metadata and processes it with ffmpeg}
21
- gem.email = "fazzzenda@mail.ru"
22
- gem.authors = ["Pavel Tatarsky"]
23
- gem.extensions = %w[ext/torrent_client/extconf.rb]
24
- gem.add_dependency 'ffmpeg-video-info'
25
- gem.add_dependency 'rice'
26
- # dependencies defined in Gemfile
27
- end
28
- Jeweler::RubygemsDotOrgTasks.new
29
-
30
12
  require 'rdoc/task'
31
13
  Rake::RDocTask.new do |rdoc|
32
14
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
@@ -0,0 +1,3 @@
1
+ class VideoTorrentInfo
2
+ VERSION = '0.1.21'
3
+ end
@@ -1,81 +1,33 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
- # stub: video-torrent-info 0.1.20 ruby lib
6
- # stub: ext/torrent_client/extconf.rb
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+
4
+ require 'video_torrent_info/version'
7
5
 
8
6
  Gem::Specification.new do |s|
9
- s.name = "video-torrent-info"
10
- s.version = "0.1.20"
7
+ s.name = "video-torrent-info"
8
+ s.version = VideoTorrentInfo::VERSION
9
+ s.authors = ["Pavel Tatarsky"]
10
+ s.email = ["fazzzenda@mail.ru"]
11
+ s.summary = "Gets video info for the torrent file"
12
+ s.extensions = ["ext/torrent_client/extconf.rb"]
13
+ s.homepage = "http://github.com/vintikzzz/video-torrent-info"
14
+ s.license = "MIT"
15
+
16
+ s.required_ruby_version = '>= 1.9.3'
11
17
 
12
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
18
+ s.files = `git ls-files -z`.split("\x0")
19
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
13
21
  s.require_paths = ["lib"]
14
- s.authors = ["Pavel Tatarsky"]
15
- s.date = "2016-01-27"
16
- s.description = "It simply loads small part of torrent that contains metadata and processes it with ffmpeg"
17
- s.email = "fazzzenda@mail.ru"
18
- s.extensions = ["ext/torrent_client/extconf.rb"]
19
- s.extra_rdoc_files = [
20
- "LICENSE.txt",
21
- "README.rdoc"
22
- ]
23
- s.files = [
24
- ".document",
25
- ".rspec",
26
- "Gemfile",
27
- "Gemfile.lock",
28
- "LICENSE.txt",
29
- "README.rdoc",
30
- "Rakefile",
31
- "VERSION",
32
- "ext/torrent_client/extconf.rb",
33
- "ext/torrent_client/torrent_client.cpp",
34
- "lib/video_torrent_info.rb",
35
- "spec/fixtures/test.torrent",
36
- "spec/fixtures/test2.torrent",
37
- "spec/fixtures/test3.torrent",
38
- "spec/lib/torrent_client_spec.rb",
39
- "spec/lib/video_torrent_info_spec.rb",
40
- "spec/spec_helper.rb",
41
- "video-torrent-info.gemspec"
42
- ]
43
- s.homepage = "http://github.com/vintikzzz/video-torrent-info"
44
- s.licenses = ["MIT"]
45
- s.rubygems_version = "2.4.7"
46
- s.summary = "Gets video info for the torrent file"
47
22
 
48
- if s.respond_to? :specification_version then
49
- s.specification_version = 4
23
+ s.add_dependency 'ffmpeg-video-info'
24
+ s.add_dependency 'bencode'
50
25
 
51
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
- s.add_development_dependency(%q<rdoc>, [">= 0"])
53
- s.add_development_dependency(%q<bundler>, [">= 0"])
54
- s.add_development_dependency(%q<jeweler>, [">= 0"])
55
- s.add_development_dependency(%q<rspec>, [">= 0"])
56
- s.add_development_dependency(%q<rake-compiler>, [">= 0"])
57
- s.add_development_dependency(%q<bencode>, [">= 0"])
58
- s.add_runtime_dependency(%q<ffmpeg-video-info>, [">= 0"])
59
- s.add_runtime_dependency(%q<rice>, [">= 0"])
60
- else
61
- s.add_dependency(%q<rdoc>, [">= 0"])
62
- s.add_dependency(%q<bundler>, [">= 0"])
63
- s.add_dependency(%q<jeweler>, [">= 0"])
64
- s.add_dependency(%q<rspec>, [">= 0"])
65
- s.add_dependency(%q<rake-compiler>, [">= 0"])
66
- s.add_dependency(%q<bencode>, [">= 0"])
67
- s.add_dependency(%q<ffmpeg-video-info>, [">= 0"])
68
- s.add_dependency(%q<rice>, [">= 0"])
69
- end
70
- else
71
- s.add_dependency(%q<rdoc>, [">= 0"])
72
- s.add_dependency(%q<bundler>, [">= 0"])
73
- s.add_dependency(%q<jeweler>, [">= 0"])
74
- s.add_dependency(%q<rspec>, [">= 0"])
75
- s.add_dependency(%q<rake-compiler>, [">= 0"])
76
- s.add_dependency(%q<bencode>, [">= 0"])
77
- s.add_dependency(%q<ffmpeg-video-info>, [">= 0"])
78
- s.add_dependency(%q<rice>, [">= 0"])
79
- end
80
- end
26
+ s.add_development_dependency 'rdoc'
27
+ s.add_development_dependency 'rake'
28
+ s.add_development_dependency 'bundler'
29
+ s.add_development_dependency 'rspec'
30
+ s.add_development_dependency 'rake-compiler'
31
+ s.add_development_dependency 'rice'
81
32
 
33
+ end
metadata CHANGED
@@ -1,23 +1,23 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video-torrent-info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Tatarsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-27 00:00:00.000000000 Z
11
+ date: 2016-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rdoc
14
+ name: ffmpeg-video-info
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
- type: :development
20
+ type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
@@ -25,13 +25,13 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: bundler
28
+ name: bencode
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
- type: :development
34
+ type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: jeweler
42
+ name: rdoc
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rspec
56
+ name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rake-compiler
70
+ name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: bencode
84
+ name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,13 +95,13 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: ffmpeg-video-info
98
+ name: rake-compiler
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
- type: :runtime
104
+ type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
@@ -115,34 +115,33 @@ dependencies:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
- type: :runtime
118
+ type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- description: It simply loads small part of torrent that contains metadata and processes
126
- it with ffmpeg
127
- email: fazzzenda@mail.ru
125
+ description:
126
+ email:
127
+ - fazzzenda@mail.ru
128
128
  executables: []
129
129
  extensions:
130
130
  - ext/torrent_client/extconf.rb
131
- extra_rdoc_files:
132
- - LICENSE.txt
133
- - README.rdoc
131
+ extra_rdoc_files: []
134
132
  files:
135
133
  - ".document"
134
+ - ".gitignore"
136
135
  - ".rspec"
137
136
  - Gemfile
138
137
  - Gemfile.lock
139
138
  - LICENSE.txt
140
139
  - README.rdoc
141
140
  - Rakefile
142
- - VERSION
143
141
  - ext/torrent_client/extconf.rb
144
142
  - ext/torrent_client/torrent_client.cpp
145
143
  - lib/video_torrent_info.rb
144
+ - lib/video_torrent_info/version.rb
146
145
  - spec/fixtures/test.torrent
147
146
  - spec/fixtures/test2.torrent
148
147
  - spec/fixtures/test3.torrent
@@ -162,7 +161,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
161
  requirements:
163
162
  - - ">="
164
163
  - !ruby/object:Gem::Version
165
- version: '0'
164
+ version: 1.9.3
166
165
  required_rubygems_version: !ruby/object:Gem::Requirement
167
166
  requirements:
168
167
  - - ">="
@@ -170,8 +169,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
169
  version: '0'
171
170
  requirements: []
172
171
  rubyforge_project:
173
- rubygems_version: 2.4.7
172
+ rubygems_version: 2.5.1
174
173
  signing_key:
175
174
  specification_version: 4
176
175
  summary: Gets video info for the torrent file
177
- test_files: []
176
+ test_files:
177
+ - spec/fixtures/test.torrent
178
+ - spec/fixtures/test2.torrent
179
+ - spec/fixtures/test3.torrent
180
+ - spec/lib/torrent_client_spec.rb
181
+ - spec/lib/video_torrent_info_spec.rb
182
+ - spec/spec_helper.rb
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.20