video-torrent-info 0.1.17 → 0.1.18

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: 03439a3a7fa5f0e02146b7c4d5a3658691ee8839
4
- data.tar.gz: 9cb24f99b33fc2ff1b266d56770f8d77240d1ddf
3
+ metadata.gz: 65da2371350ebc96f880abe2a1769c5bed802435
4
+ data.tar.gz: fbe53c35b6791e4daca8626035d34ef845530a79
5
5
  SHA512:
6
- metadata.gz: b65c08af271420ba25b5b9a925bf50ee5786e9f400225988e5cd199b078c76d3e7b888b93f947829e825346955a1d688d9069c3d48c6b624bca880120e48c41d
7
- data.tar.gz: b44afa4a1e1a79a751f5c2e77dfad100c52a5e65a57a7251d0bc97982ae993a049212db5af1119d462522ea20695586bb8b4139b0129331c34b8ea62f53f7a11
6
+ metadata.gz: 9a90a2432cf678dae6ae984573ebc4b8b604986bd3d3d5e5efa35b687450591bf76b4c5250c200378ea1df9f3fef4e8476d32bd665472cca1b1e2b497a428f27
7
+ data.tar.gz: 2be08108e6219d1eb339fe1b3a46f506f70329e54a1615a3faaaefb5a8322333917d2f15f38b6961dce5dff1c4d2c7fb043426b732ba7e624ace18ea3ee3987b
data/Gemfile CHANGED
@@ -5,6 +5,8 @@ source "http://rubygems.org"
5
5
 
6
6
  # Add dependencies to develop your gem here.
7
7
  # Include everything needed to run rake, tests, features, etc.
8
+ # gem 'rice'
9
+ # gem 'ffmpeg-video-info'
8
10
  group :development do
9
11
  gem "rdoc"
10
12
  gem "bundler"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.17
1
+ 0.1.18
@@ -1,4 +1,5 @@
1
1
  #include <stdlib.h>
2
+ #include <csignal>
2
3
  #include <sstream>
3
4
  #include <iostream>
4
5
  #include <exception>
@@ -27,9 +28,10 @@ void term(int signum)
27
28
  void load(String torrent_path, int idx, int size, String save_path, int port1, int port2, int timeout)
28
29
  {
29
30
  using namespace libtorrent;
31
+ using namespace std;
30
32
 
31
33
  session s;
32
- error_code ec;
34
+ libtorrent::error_code ec;
33
35
  std::ostringstream err;
34
36
  signal(SIGINT, term);
35
37
  signal(SIGTERM, term);
@@ -2,12 +2,12 @@
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.17 ruby lib
5
+ # stub: video-torrent-info 0.1.18 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.17"
10
+ s.version = "0.1.18"
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"]
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.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Tatarsky