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 +4 -4
- data/Gemfile +2 -0
- data/VERSION +1 -1
- data/ext/torrent_client/torrent_client.cpp +3 -1
- data/video-torrent-info.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65da2371350ebc96f880abe2a1769c5bed802435
|
4
|
+
data.tar.gz: fbe53c35b6791e4daca8626035d34ef845530a79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a90a2432cf678dae6ae984573ebc4b8b604986bd3d3d5e5efa35b687450591bf76b4c5250c200378ea1df9f3fef4e8476d32bd665472cca1b1e2b497a428f27
|
7
|
+
data.tar.gz: 2be08108e6219d1eb339fe1b3a46f506f70329e54a1615a3faaaefb5a8322333917d2f15f38b6961dce5dff1c4d2c7fb043426b732ba7e624ace18ea3ee3987b
|
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
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);
|
data/video-torrent-info.gemspec
CHANGED
@@ -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.
|
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.
|
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"]
|