tors 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d7a96d354ee69c0ca206a4bad63b4307711f01a1
4
+ data.tar.gz: dbe9b45a170220c8b3700787472120d1d02d2581
5
+ SHA512:
6
+ metadata.gz: b60d64063afb943c9fc88513f108e2bd4728c598a14edf38bc02c219c8716297560e9160f1ae20962e83ecc4ff6958ac7286a2b2922dbfff313aa98f72a36bae
7
+ data.tar.gz: 4f58d6f8d829145e4658fc80a0a72dc8bb75b59a240530baf1e358be81b23f5996d26d4e3ae6afa57a5df3fdc2beefc318ca6a6489dd7f8d517b9d795fc65e0a
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
13
+
14
+ /.idea
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.0
5
+ before_install: gem install bundler -v 1.15.3
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at muratbsts@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in tors.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Murat Bastas
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,83 @@
1
+ # TorS
2
+
3
+ Yet another torrent searching application for your command line.
4
+ But this has an option for automatically download the best torrent.
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'tors'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install tors
21
+
22
+ ## Usage
23
+
24
+ Open your terminal and run this command:
25
+
26
+ $ tors -s 'game of thrones'
27
+
28
+ It will list torrents ordered descending by seeder from **katcr**.
29
+
30
+ **Wait! Why katcr?**
31
+
32
+ Because katcr fastest provider for scrabing currently.
33
+
34
+ **Is there another provider and how can I change it?**
35
+
36
+ Yep, there is a few provider option.
37
+
38
+ | Provider | Status |
39
+ |:------------------|:------:|
40
+ | katcr | ✅ |
41
+ | rarbg | ✅ |
42
+ | thepiratebay | ✅ |
43
+ | extratorrent | ✅ |
44
+ | 1337x | ✅ |
45
+ | zooqle | ☑️ |
46
+ | torrentfunk | ☑️ |
47
+ | limetorrents | ☑️ |
48
+
49
+ Use `-p PROVIDER` flag for scrape another providers.
50
+
51
+ $ tors -s 'game of thrones' -p thepiratebay
52
+
53
+ And then It will ask for **which torrent you want to download?** You can answer with a torrent number seen on list.
54
+
55
+ You can use `-a 1` flag for automatically download the best torrent. Example:
56
+
57
+ $ tors -s 'game of thrones' -p 1337x -a 1
58
+
59
+ And you can list all active providers and usage instructions with `-h` or `--help` flag.
60
+
61
+ $ tors -h
62
+ Usage: tors [options]
63
+ -s, --search=s Search term [SEARCH]
64
+ -p, --provider=p From provider name [PROVIDER]
65
+ -a, --auto-download=a Auto download best choice
66
+
67
+ ## Development
68
+
69
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
70
+
71
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
72
+
73
+ ## Contributing
74
+
75
+ Bug reports and pull requests are welcome on GitHub at [https://github.com/muratbsts/TorS](https://github.com/muratbsts/tors). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
76
+
77
+ ## License
78
+
79
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
80
+
81
+ ## Code of Conduct
82
+
83
+ Everyone interacting in the TorS project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/muratbsts/tors/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'tors'
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require 'irb'
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/exe/tors ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'tors'
data/lib/tors.rb ADDED
@@ -0,0 +1,21 @@
1
+ require 'tors/version'
2
+ require 'tors/search'
3
+ require 'colorize'
4
+ require 'optparse'
5
+
6
+ module TorS
7
+ options = {}
8
+ OptionParser.new do |opts|
9
+ opts.on('-s=s', '--search=s', 'Search term [SEARCH]') do |s|
10
+ options[:search] = s
11
+ end
12
+ opts.on('-p=p', '--provider=p', 'From provider name [PROVIDER]') do |p|
13
+ options[:provider] = p
14
+ end
15
+ opts.on('-a=a', '--auto-download=a', 'Auto download best choice') do |a|
16
+ options[:auto] = a || true
17
+ end
18
+ end.parse!
19
+
20
+ TorS::Search.new(options[:search], options[:provider] || 'katcr', options[:auto] || false)
21
+ end
@@ -0,0 +1,115 @@
1
+ require 'yaml'
2
+ require 'net/http'
3
+ require 'nokogiri'
4
+ require 'open-uri'
5
+ require 'tty-table'
6
+ require 'tty-prompt'
7
+
8
+ module TorS
9
+ class Search
10
+ def initialize(query, from = 'katcr', auto = false)
11
+ @provider = YAML.load_file(File.expand_path("../../../providers/#{from}.yml", __FILE__))
12
+ @query = query
13
+ @from = from
14
+ @auto = auto
15
+
16
+ scrape
17
+ end
18
+
19
+ def scrape
20
+ @url = @provider['url'].gsub(/%{(\w+)}/, @query.tr(' ', '+'))
21
+ @page = Nokogiri::HTML(open(@url))
22
+
23
+ if @page.css(@provider['scrape']['selector']).empty?
24
+ if threat_defence @page
25
+ puts '😰 Sorry, I think you banned from ' + @from + '. There is a threat defense redirection.'
26
+ end
27
+
28
+ puts 'Please check this url is works : ' + @url
29
+ return
30
+ end
31
+
32
+ @rows = []
33
+ @downloads = []
34
+
35
+ puts 'Scrabing...'
36
+
37
+ @page.css(@provider['scrape']['selector']).each_with_index do |row, key|
38
+ hash = {
39
+ key: key + 1,
40
+ name: row.search(@provider['scrape']['data']['name']).text,
41
+ url: ''
42
+ }
43
+ if @provider['scrape']['data']['download'].is_a?(String)
44
+ hash[:url] = @provider['download_prefix'] + row.search(@provider['scrape']['data']['download']).first['href']
45
+ else
46
+ @subpage = Nokogiri::HTML(open(@provider['download_prefix'] + row.css(@provider['scrape']['data']['download']['url']).first['href']))
47
+
48
+ hash[:url] = @subpage.css(@provider['scrape']['data']['download']['selector']).first['href']
49
+ end
50
+
51
+ @downloads << hash
52
+
53
+ @rows << [
54
+ (key + 1).to_s,
55
+ !@provider['scrape']['data']['category'].empty? ? row.css(@provider['scrape']['data']['category']).text.tr("\n", ' ').squeeze(' ').strip : '',
56
+ !@provider['scrape']['data']['name'].empty? ? row.css(@provider['scrape']['data']['name']).text.strip : '',
57
+ !@provider['scrape']['data']['size'].empty? ? row.css(@provider['scrape']['data']['size']).text.strip : '',
58
+ !@provider['scrape']['data']['seed'].empty? ? row.css(@provider['scrape']['data']['seed']).text.strip.green : '',
59
+ !@provider['scrape']['data']['leech'].empty? ? row.css(@provider['scrape']['data']['leech']).text.strip.red : ''
60
+ ]
61
+ end
62
+
63
+ results
64
+ end
65
+
66
+ def results
67
+ puts 'Results for : ' + @query
68
+ puts 'From : ' + @from
69
+
70
+ table = TTY::Table.new %i[# Category Title Size Seed Leech], @rows
71
+ puts table.render(:unicode, padding: [0, 1, 0, 1]) do |renderer|
72
+ renderer.border.style = :green
73
+ end
74
+
75
+ if @auto
76
+ download @downloads.find { |v| v[:key] == 1 }
77
+ else
78
+ prompt
79
+ end
80
+ end
81
+
82
+ def prompt
83
+ prompt = TTY::Prompt.new(interrupt: :exit)
84
+ choice = prompt.ask("Which torrent you want to download? (1..#{@downloads.size} or ctrl+c/cmd+c for interrupt)",
85
+ convert: :int,
86
+ default: 1) do |c|
87
+ c.in "1-#{@downloads.size}"
88
+ end
89
+
90
+ c = @downloads.find { |v| v[:key] == choice.to_i }
91
+ download c
92
+ end
93
+
94
+ def download(choice)
95
+ if choice[:url] =~ /^magnet:\?/
96
+ puts '😏 Sorry, I can\'t start automatically magnet links. Please use this in your torrent client.'
97
+ puts choice[:url]
98
+ else
99
+ begin
100
+ puts 'Downloading ' + choice[:name] + '.torrent'
101
+ File.write(choice[:name] + '.torrent', Net::HTTP.get(URI.parse(choice[:url])))
102
+ rescue IOError => e
103
+ puts '😵 There is an error! ' + e.message + ' Here: L108'
104
+ ensure
105
+ puts '🥂 Downloaded!'
106
+ end
107
+ end
108
+ end
109
+
110
+ def threat_defence(page)
111
+ return false unless page.text =~ /threat_defence.php/
112
+ true
113
+ end
114
+ end
115
+ end
@@ -0,0 +1,3 @@
1
+ module TorS
2
+ VERSION = '0.1.0'.freeze
3
+ end
@@ -0,0 +1,14 @@
1
+ name: '1337x'
2
+ url: "https://1337x.to/sort-search/%{query}/seeders/desc/1/"
3
+ download_prefix: "https://1337x.to/torrent/"
4
+ scrape:
5
+ selector: 'div.box-info-detail.inner-table > div.table-list-wrap > table > tbody tr'
6
+ data:
7
+ name: 'td.name a:nth-child(2)'
8
+ category: ''
9
+ download:
10
+ url: 'td.name a:nth-child(2)'
11
+ selector: '.download-links-dontblock li.dropdown ul.dropdown-menu li:first-child a'
12
+ size: 'td.size'
13
+ seed: 'td.seeds'
14
+ leech: 'td.leeches'
@@ -0,0 +1,14 @@
1
+ name: 'extratorrent'
2
+ url: "https://extratorrent.ag/search/?search=%{query}&srt=seeds&order=desc"
3
+ download_prefix: "https://extratorrent.ag/"
4
+ scrape:
5
+ selector: 'table.tl > tr.tli, table.tl > tr.tlz'
6
+ data:
7
+ name: 'td.tli > a'
8
+ category: ''
9
+ download:
10
+ url: 'td.tli > a'
11
+ selector: '.tabledata0 > a:first-child'
12
+ size: 'td:nth-child(5)'
13
+ seed: 'td.sy'
14
+ leech: 'td.ly'
@@ -0,0 +1,12 @@
1
+ name: 'katcr'
2
+ url: "https://katcr.co/new/search-torrents.php?search=%{query}&sort=seeders&order=desc"
3
+ download_prefix: "https://katcr.co/new/"
4
+ scrape:
5
+ selector: 'form#sort + table.ttable_headinner tr.t-row'
6
+ data:
7
+ name: '.torrentname a.cellMainLink'
8
+ category: '.torrentname .torType span.lightgrey span[id^=cat_]'
9
+ download: 'td:nth-child(1) a[data-download]'
10
+ size: 'td:nth-child(2)'
11
+ seed: 'td:nth-child(4) font'
12
+ leech: 'td:nth-child(5) font'
@@ -0,0 +1,12 @@
1
+ name: 'rarbg'
2
+ url: "https://rarbg.to/torrents.php?search=%{query}&order=seeders&by=DESC"
3
+ download_prefix: 'https://rarbg.to/download.php?id=qmx7jkv'
4
+ scrape:
5
+ selector: 'table.lista2t tr.lista2'
6
+ data:
7
+ name: '.lista a'
8
+ category: ''
9
+ download: '.lista a'
10
+ size: 'td.lista:nth-child(4)'
11
+ seed: 'td:nth-child(5) font'
12
+ leech: 'td:nth-child(6)'
@@ -0,0 +1,12 @@
1
+ name: 'thepiratebay'
2
+ url: "https://thepiratebay.org/search/%{query}/0/7/0"
3
+ download_prefix: ''
4
+ scrape:
5
+ selector: 'table#searchResult > tr'
6
+ data:
7
+ name: 'td:nth-child(2) > div > a'
8
+ category: 'td.vertTh > center > a:nth-child(3)'
9
+ download: 'td:nth-child(2) > a:nth-child(2)'
10
+ size: 'td:nth-child(2) > font'
11
+ seed: 'td:nth-child(3)'
12
+ leech: 'td:nth-child(4)'
data/tors.gemspec ADDED
@@ -0,0 +1,34 @@
1
+ # coding: utf-8
2
+
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'tors/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'tors'
9
+ spec.version = TorS::VERSION
10
+ spec.authors = ['Murat Bastas']
11
+ spec.email = ['muratbsts@gmail.com']
12
+
13
+ spec.summary = 'Yet another torrent searching application for your command line.'
14
+ spec.description = 'Yet another torrent searching application for your command line. But this has an option for automatically download the best torrent.'
15
+ spec.homepage = 'https://github.com/muratbsts/tors'
16
+ spec.license = 'MIT'
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
+ f.match(%r{^(test|spec|features)/})
20
+ end
21
+
22
+ spec.bindir = 'exe'
23
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
+ spec.require_paths = ['lib']
25
+
26
+ spec.add_dependency 'nokogiri', '~> 1.8', '>= 1.8.0'
27
+ spec.add_dependency 'colorize', '~> 0.8.1'
28
+ spec.add_dependency 'tty-table', '~> 0.8.0'
29
+ spec.add_dependency 'tty-prompt', '~> 0.13.1'
30
+
31
+ spec.add_development_dependency 'bundler', '~> 1.15'
32
+ spec.add_development_dependency 'rake', '~> 10.0'
33
+ spec.add_development_dependency 'rspec', '~> 3.0'
34
+ end
metadata ADDED
@@ -0,0 +1,170 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tors
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Murat Bastas
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-08-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: nokogiri
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.8'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.8.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.8'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.8.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: colorize
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: 0.8.1
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: 0.8.1
47
+ - !ruby/object:Gem::Dependency
48
+ name: tty-table
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: 0.8.0
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: 0.8.0
61
+ - !ruby/object:Gem::Dependency
62
+ name: tty-prompt
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: 0.13.1
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: 0.13.1
75
+ - !ruby/object:Gem::Dependency
76
+ name: bundler
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '1.15'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '1.15'
89
+ - !ruby/object:Gem::Dependency
90
+ name: rake
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '10.0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '10.0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: rspec
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '3.0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '3.0'
117
+ description: Yet another torrent searching application for your command line. But
118
+ this has an option for automatically download the best torrent.
119
+ email:
120
+ - muratbsts@gmail.com
121
+ executables:
122
+ - tors
123
+ extensions: []
124
+ extra_rdoc_files: []
125
+ files:
126
+ - ".gitignore"
127
+ - ".rspec"
128
+ - ".travis.yml"
129
+ - CODE_OF_CONDUCT.md
130
+ - Gemfile
131
+ - LICENSE.txt
132
+ - README.md
133
+ - Rakefile
134
+ - bin/console
135
+ - bin/setup
136
+ - exe/tors
137
+ - lib/tors.rb
138
+ - lib/tors/search.rb
139
+ - lib/tors/version.rb
140
+ - providers/1337x.yml
141
+ - providers/extratorrent.yml
142
+ - providers/katcr.yml
143
+ - providers/rarbg.yml
144
+ - providers/thepiratebay.yml
145
+ - tors.gemspec
146
+ homepage: https://github.com/muratbsts/tors
147
+ licenses:
148
+ - MIT
149
+ metadata: {}
150
+ post_install_message:
151
+ rdoc_options: []
152
+ require_paths:
153
+ - lib
154
+ required_ruby_version: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ required_rubygems_version: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ version: '0'
164
+ requirements: []
165
+ rubyforge_project:
166
+ rubygems_version: 2.6.12
167
+ signing_key:
168
+ specification_version: 4
169
+ summary: Yet another torrent searching application for your command line.
170
+ test_files: []