torrent-finder 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdeb2e687a01082a38dd833fcb185ecadf1e8fb8
4
- data.tar.gz: 90b31bad1cd3cc32878cf8ea2e600ad9fd0b6440
3
+ metadata.gz: d9b56f81999eadc42ec5a712903f84cf8f995c82
4
+ data.tar.gz: b5bdf07d07d93f5e68223fc925af653036071879
5
5
  SHA512:
6
- metadata.gz: d4fb43c81f76f57f145b3f05884636aa90ad6742cbe6912920062b0399c58bead2e1576ac16d5147681c8ca7f1040c5c57953128c1841eed7b385ef057eefd4e
7
- data.tar.gz: e7437a1b2b860068057a516bbc387ce0d2999caeb4c0960b429fe4cd02ae4128a370a485571be60501231a9e53a0fbe3525b43a04dcc2b1ee17bead183dd31f0
6
+ metadata.gz: 9c96e139f7dda95da31f2aebb7ecb5ddac0db1fbe7e31fa17541b991c4c79a4a2dc64942b3fba33dffc7fc46ff9d3c85122fed71905c6cce1f505e12fea2bd71
7
+ data.tar.gz: f1120d3c711e2ce6b76a634ec3e8337ec68f364e937439124b7cdd732b43ab25921391887b13713df52667325b0fc4f8ee72365f9bd2179bbfd3b10df6fbc0a9
data/README.md CHANGED
@@ -42,6 +42,18 @@ Currently following sites are supported:
42
42
  - nyaa
43
43
  - eztv
44
44
 
45
+ ## Change Logs
46
+
47
+ 0.3.1
48
+ =====
49
+
50
+ - Add support to add arbitary adapter when running command
51
+
52
+ 0.3.0
53
+ =====
54
+
55
+ - Add dmhy adapter
56
+
45
57
  ## Contributing
46
58
 
47
59
  1. Fork it ( http://github.com/siuying/torrent-find/fork )
@@ -33,6 +33,12 @@ module TorrentFinder
33
33
  return
34
34
  end
35
35
 
36
+ begin
37
+ require "torrent-finder/adapters/#{@site}_adapter"
38
+ rescue
39
+ # ignore any error here
40
+ end
41
+
36
42
  adapter_clazz = TorrentFinder::Adapters::Registry.adapters.find{|adapter| adapter.name == @site }
37
43
  unless adapter_clazz
38
44
  puts "Not supported: #{@site}"
@@ -1,5 +1,5 @@
1
1
  require "torrent-finder/version"
2
2
 
3
3
  module TorrentFinder
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torrent-finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis Chong