kat_search 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/exe/kat_search +1 -1
- data/lib/kat_search/link.rb +1 -3
- data/lib/kat_search/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51eae5c378a16f9b1b5ecb7554dc0351e0730a69
|
4
|
+
data.tar.gz: 40b8f3694ea76f79712beb3640ce4d4f18134732
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55fa24eb01556e82557d10f9d0e0f4dab6a18238ae288ebeee0ac4d1f9a13b5bac28453183d6de4d009211595a3432b0233e60327129c833f22385d6e5ec8db6
|
7
|
+
data.tar.gz: 6927fe81a7be4ffef1d4314c594bcca611d58f0e5a7644cf5bb2f5e963191696f163206d40afbdf339922a96b5af867961aa4a4c9e59f5b3f24bd1f604c6cc34
|
data/.travis.yml
CHANGED
data/exe/kat_search
CHANGED
data/lib/kat_search/link.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'cgi'
|
2
|
-
require 'open-uri'
|
3
2
|
require 'httparty'
|
4
3
|
|
5
4
|
module KatSearch
|
@@ -53,8 +52,7 @@ module KatSearch
|
|
53
52
|
|
54
53
|
def extract_hash
|
55
54
|
# Extract magnet properties to a Hash and then parse the sha1 info hash
|
56
|
-
|
57
|
-
raw_hash = magnet_params['xt'].first
|
55
|
+
raw_hash = magnet[/(xt.*?)&/, 1] # extract the xt property
|
58
56
|
raw_hash.split(':').last.downcase
|
59
57
|
end
|
60
58
|
|
data/lib/kat_search/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kat_search
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Marchante
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06
|
11
|
+
date: 2016-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -213,4 +213,3 @@ signing_key:
|
|
213
213
|
specification_version: 4
|
214
214
|
summary: Search KickAss Torrents.
|
215
215
|
test_files: []
|
216
|
-
has_rdoc:
|