popcorntime_search 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/Rakefile +6 -0
- data/bin/console +16 -0
- data/bin/setup +8 -0
- data/exe/popcorn +80 -0
- data/lib/popcorntime_search.rb +6 -0
- data/lib/popcorntime_search/helpers.rb +5 -0
- data/lib/popcorntime_search/link.rb +51 -0
- data/lib/popcorntime_search/movie_result.rb +44 -0
- data/lib/popcorntime_search/search.rb +38 -0
- data/lib/popcorntime_search/search_result.rb +15 -0
- data/lib/popcorntime_search/show_result.rb +37 -0
- data/lib/popcorntime_search/version.rb +3 -0
- data/popcorntime_search.gemspec +36 -0
- metadata +218 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ca25104d8c2fd171dd05dd65a783ca57166fc35b
|
4
|
+
data.tar.gz: b333c7850b6faaa9ee6b0ea22e974bcd5955e3c8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6d908f2db9c8b3d3d4f2b6b95b6348af1c22bc80d2a639b449653be5bc7c77ae97386812fc008696c98d32e426a87c9c36707c95989fa196f86a81291aebf149
|
7
|
+
data.tar.gz: 56b8674e3ae793d092860be6f1c32f87215ba2a9b57dd56105f1e421a8cf7a6722723ddb6aee7a0d3702bfea9b568dfcdd37f648fba21070cbf1e36096e0ca53
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 David Marchante
|
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,39 @@
|
|
1
|
+
# PopcorntimeSearch
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/popcorntime_search`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'popcorntime_search'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install popcorntime_search
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
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.
|
30
|
+
|
31
|
+
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).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/popcorntime_search.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'factory_girl'
|
5
|
+
require 'popcorntime_search'
|
6
|
+
require 'pry'
|
7
|
+
|
8
|
+
# Init
|
9
|
+
include FactoryGirl::Syntax::Methods
|
10
|
+
FactoryGirl.find_definitions
|
11
|
+
|
12
|
+
# search = build(:search)
|
13
|
+
# movie = build(:movie_result)
|
14
|
+
show = build(:show_result)
|
15
|
+
|
16
|
+
Pry.start
|
data/bin/setup
ADDED
data/exe/popcorn
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'popcorntime_search'
|
4
|
+
require 'highline/import'
|
5
|
+
require 'optparse'
|
6
|
+
|
7
|
+
options = {}
|
8
|
+
|
9
|
+
optparse = OptionParser.new do |opts|
|
10
|
+
opts.banner = 'Usage: popcorn [options] <search>'
|
11
|
+
|
12
|
+
opts.on('-y', '--auto', 'Pick best match automatically') do
|
13
|
+
options[:auto] = true
|
14
|
+
end
|
15
|
+
|
16
|
+
opts.on('-v', '--version', 'Print version and exit') do
|
17
|
+
puts "popcorn v#{PopcorntimeSearch::VERSION}"
|
18
|
+
exit
|
19
|
+
end
|
20
|
+
|
21
|
+
opts.on('-h', '--help', 'Show this message') do
|
22
|
+
puts opts
|
23
|
+
exit
|
24
|
+
end
|
25
|
+
end.parse!
|
26
|
+
|
27
|
+
# Join arguments to create the search term
|
28
|
+
options[:search] = optparse.join(' ')
|
29
|
+
|
30
|
+
begin
|
31
|
+
HighLine.colorize_strings
|
32
|
+
|
33
|
+
if options[:search].empty?
|
34
|
+
say 'Please type a search'.red
|
35
|
+
exit
|
36
|
+
end
|
37
|
+
|
38
|
+
search = PopcorntimeSearch::Search.new(options[:search])
|
39
|
+
|
40
|
+
unless search.results_found?
|
41
|
+
say 'No results found'.red
|
42
|
+
exit
|
43
|
+
end
|
44
|
+
|
45
|
+
# If 'auto' or only one result, pick the first/only one
|
46
|
+
if options[:auto] || search.results.one?
|
47
|
+
result = search.results.first
|
48
|
+
else
|
49
|
+
# If there are several matches, choose the appropriate one
|
50
|
+
say "Search results for #{options[:search].blue}:".yellow
|
51
|
+
result = choose(*search.results) do |menu|
|
52
|
+
menu.default = '1'
|
53
|
+
menu.select_by = :index_or_name
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# Choose link
|
58
|
+
if result.links.empty?
|
59
|
+
say 'No results found'.red
|
60
|
+
exit
|
61
|
+
end
|
62
|
+
|
63
|
+
links = result.links.sort.reverse # Sort by number of seeds desc
|
64
|
+
|
65
|
+
if options[:auto]
|
66
|
+
link = links.first
|
67
|
+
else
|
68
|
+
say "Choose a link for #{result.to_s.blue}:".yellow
|
69
|
+
link = choose(*links) do |menu|
|
70
|
+
menu.default = '1'
|
71
|
+
menu.select_by = :index_or_name
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
say link.magnet
|
76
|
+
rescue Interrupt, EOFError
|
77
|
+
say 'Interrupted!'.red
|
78
|
+
rescue SocketError
|
79
|
+
say "Couldn't perform action. Are you online?".red
|
80
|
+
end
|
@@ -0,0 +1,5 @@
|
|
1
|
+
module PopcorntimeSearch
|
2
|
+
BASE_URL = 'https://tv-v2.api-fetch.website'.freeze
|
3
|
+
SEASON_EPISODE_REGEXP = /s(?<season>\d{1,2})e(?<episode>\d{1,2})|(?<season>\d{1,2})x(?<episode>\d{1,2})/i
|
4
|
+
TITLE_REGEXP = /(?<showname>['\w\s\.]+?)[\s\.-]*?(#{SEASON_EPISODE_REGEXP}|$)/i
|
5
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'cgi'
|
2
|
+
|
3
|
+
module PopcorntimeSearch
|
4
|
+
class Link
|
5
|
+
attr_accessor :title, :imdb_id, :size, :magnet, :seeders, :leechers, :language, :quality, :provider
|
6
|
+
attr_writer :filename
|
7
|
+
|
8
|
+
def initialize(title:, imdb_id:, filename: nil, size: nil, magnet:, seeders:, leechers:, language:, quality:, provider:)
|
9
|
+
@title = title
|
10
|
+
@imdb_id = imdb_id
|
11
|
+
@filename = filename
|
12
|
+
@size = size
|
13
|
+
@magnet = magnet
|
14
|
+
@seeders = seeders
|
15
|
+
@leechers = leechers
|
16
|
+
@language = language
|
17
|
+
@quality = quality
|
18
|
+
@provider = provider
|
19
|
+
end
|
20
|
+
|
21
|
+
def <=>(other)
|
22
|
+
@seeders <=> other.seeders
|
23
|
+
end
|
24
|
+
|
25
|
+
def to_s
|
26
|
+
string = "#{title} [#{quality}][#{language.upcase}][#{provider}]"
|
27
|
+
string << " (#{size})" if size
|
28
|
+
string << " - [#{seeders.to_s.green}/#{leechers.to_s.red}]"
|
29
|
+
string
|
30
|
+
end
|
31
|
+
|
32
|
+
def filename
|
33
|
+
@filename ||= parsed_hash['dn'].first
|
34
|
+
end
|
35
|
+
|
36
|
+
def info_hash
|
37
|
+
@info_hash ||= extract_info_hash
|
38
|
+
end
|
39
|
+
|
40
|
+
private
|
41
|
+
|
42
|
+
def extract_info_hash
|
43
|
+
# xt=urn:<hash_type>:<info_hash>
|
44
|
+
parsed_hash['xt'].first.split(':').last.downcase
|
45
|
+
end
|
46
|
+
|
47
|
+
def parsed_hash
|
48
|
+
@parsed_hash ||= CGI.parse(magnet.sub('magnet:?', ''))
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'httparty'
|
2
|
+
|
3
|
+
module PopcorntimeSearch
|
4
|
+
class MovieResult
|
5
|
+
include HTTParty
|
6
|
+
base_uri "#{BASE_URL}/movie/"
|
7
|
+
|
8
|
+
attr_accessor :title, :year, :imdb_id
|
9
|
+
attr_reader :kind
|
10
|
+
|
11
|
+
def initialize(result)
|
12
|
+
@title = result['title']
|
13
|
+
@year = result['year']
|
14
|
+
@imdb_id = result['imdb_id']
|
15
|
+
@kind = :movie
|
16
|
+
end
|
17
|
+
|
18
|
+
def to_s
|
19
|
+
"#{title} (#{year})"
|
20
|
+
end
|
21
|
+
|
22
|
+
def links
|
23
|
+
@links ||= build_links
|
24
|
+
end
|
25
|
+
|
26
|
+
private
|
27
|
+
|
28
|
+
def build_links
|
29
|
+
self.class.get("/#{@imdb_id}")['torrents'].each_with_object([]) do |(language, links), links_list|
|
30
|
+
links.each do |quality, info|
|
31
|
+
links_list << Link.new(title: @title,
|
32
|
+
imdb_id: imdb_id,
|
33
|
+
size: info['filesize'],
|
34
|
+
magnet: info['url'],
|
35
|
+
seeders: info['seed'],
|
36
|
+
leechers: info['peer'],
|
37
|
+
language: language,
|
38
|
+
quality: quality,
|
39
|
+
provider: info['provider'])
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'httparty'
|
2
|
+
|
3
|
+
module PopcorntimeSearch
|
4
|
+
class Search
|
5
|
+
include HTTParty
|
6
|
+
base_uri BASE_URL
|
7
|
+
|
8
|
+
attr_accessor :title, :season, :episode, :kind
|
9
|
+
|
10
|
+
def initialize(search)
|
11
|
+
@title = search[TITLE_REGEXP, :showname].strip
|
12
|
+
|
13
|
+
season = search[SEASON_EPISODE_REGEXP, :season]
|
14
|
+
episode = search[SEASON_EPISODE_REGEXP, :episode]
|
15
|
+
@season = season.to_i if season
|
16
|
+
@episode = episode.to_i if episode
|
17
|
+
|
18
|
+
@kind = @season && @episode ? :show : :movie
|
19
|
+
end
|
20
|
+
|
21
|
+
def results
|
22
|
+
@results ||= self.class.get("/#{@kind}s/1", query: { keywords: @title }).map do |result|
|
23
|
+
case @kind
|
24
|
+
when :movie
|
25
|
+
MovieResult.new(result)
|
26
|
+
when :show
|
27
|
+
ShowResult.new(result, @season, @episode)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def results_found?
|
33
|
+
@results_found ||= results.count > 0
|
34
|
+
rescue SocketError
|
35
|
+
@results_found = false
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module PopcorntimeSearch
|
2
|
+
class MovieResult
|
3
|
+
attr_accessor :title, :year, :imdb
|
4
|
+
|
5
|
+
def initialize(result)
|
6
|
+
@title = result['title']
|
7
|
+
@year = result['year']
|
8
|
+
@imdb = result['imdb_id']
|
9
|
+
end
|
10
|
+
|
11
|
+
def to_s
|
12
|
+
"#{title} (#{year})"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
module PopcorntimeSearch
|
2
|
+
class ShowResult < MovieResult
|
3
|
+
base_uri "#{BASE_URL}/show/"
|
4
|
+
|
5
|
+
attr_accessor :season, :episode
|
6
|
+
|
7
|
+
def initialize(result, season, episode)
|
8
|
+
super(result)
|
9
|
+
|
10
|
+
@kind = :show
|
11
|
+
@season = season
|
12
|
+
@episode = episode
|
13
|
+
end
|
14
|
+
|
15
|
+
private
|
16
|
+
|
17
|
+
def build_links
|
18
|
+
episode_links = self.class.get("/#{@imdb_id}")['episodes'].find do |episode|
|
19
|
+
episode['season'] == @season && episode['episode'] == @episode
|
20
|
+
end
|
21
|
+
|
22
|
+
return [] unless episode_links
|
23
|
+
|
24
|
+
episode_links['torrents'].each_with_object([]) do |(quality, info), links_list|
|
25
|
+
next if quality == '0'
|
26
|
+
links_list << Link.new(title: "#{@title} #{@season}x#{@episode.to_s.rjust(2, '0')}",
|
27
|
+
imdb_id: imdb_id,
|
28
|
+
magnet: info['url'],
|
29
|
+
seeders: info['seeds'],
|
30
|
+
leechers: info['peers'],
|
31
|
+
language: 'en',
|
32
|
+
quality: quality,
|
33
|
+
provider: info['provider'])
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'popcorntime_search/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'popcorntime_search'
|
9
|
+
spec.version = PopcorntimeSearch::VERSION
|
10
|
+
spec.authors = ['David Marchante']
|
11
|
+
spec.email = ['davidmarchan@gmail.com']
|
12
|
+
|
13
|
+
spec.summary = %q{Search the popcorn-api https://github.com/popcorn-official/popcorn-api}
|
14
|
+
# spec.description = %q{TODO: Write a longer description or delete this line.}
|
15
|
+
spec.homepage = 'https://github.com/iovis9/popcorntime_search'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(%r{^(test|spec|features)/})
|
19
|
+
end
|
20
|
+
spec.bindir = 'exe'
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
+
spec.require_paths = ['lib']
|
23
|
+
|
24
|
+
spec.add_runtime_dependency 'highline', '~> 1.7'
|
25
|
+
spec.add_runtime_dependency 'httparty', '~> 0.13'
|
26
|
+
|
27
|
+
spec.add_development_dependency 'bundler', '~> 1.15'
|
28
|
+
spec.add_development_dependency 'rake', '~> 12.0'
|
29
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
30
|
+
spec.add_development_dependency 'guard-rspec', '~> 4.6'
|
31
|
+
spec.add_development_dependency 'factory_girl', '~> 4.5'
|
32
|
+
spec.add_development_dependency 'webmock', '~> 3.0'
|
33
|
+
spec.add_development_dependency 'pry', '~> 0.10'
|
34
|
+
spec.add_development_dependency 'pry-byebug', '~> 3.3'
|
35
|
+
spec.add_development_dependency 'awesome_print'
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,218 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: popcorntime_search
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Marchante
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-09-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: highline
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: httparty
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.13'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.13'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.15'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.15'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '12.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '12.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard-rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '4.6'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '4.6'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: factory_girl
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '4.5'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '4.5'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: webmock
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.10'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0.10'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pry-byebug
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '3.3'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3.3'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: awesome_print
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
description:
|
168
|
+
email:
|
169
|
+
- davidmarchan@gmail.com
|
170
|
+
executables:
|
171
|
+
- popcorn
|
172
|
+
extensions: []
|
173
|
+
extra_rdoc_files: []
|
174
|
+
files:
|
175
|
+
- ".gitignore"
|
176
|
+
- ".rspec"
|
177
|
+
- ".travis.yml"
|
178
|
+
- Gemfile
|
179
|
+
- LICENSE.txt
|
180
|
+
- README.md
|
181
|
+
- Rakefile
|
182
|
+
- bin/console
|
183
|
+
- bin/setup
|
184
|
+
- exe/popcorn
|
185
|
+
- lib/popcorntime_search.rb
|
186
|
+
- lib/popcorntime_search/helpers.rb
|
187
|
+
- lib/popcorntime_search/link.rb
|
188
|
+
- lib/popcorntime_search/movie_result.rb
|
189
|
+
- lib/popcorntime_search/search.rb
|
190
|
+
- lib/popcorntime_search/search_result.rb
|
191
|
+
- lib/popcorntime_search/show_result.rb
|
192
|
+
- lib/popcorntime_search/version.rb
|
193
|
+
- popcorntime_search.gemspec
|
194
|
+
homepage: https://github.com/iovis9/popcorntime_search
|
195
|
+
licenses:
|
196
|
+
- MIT
|
197
|
+
metadata: {}
|
198
|
+
post_install_message:
|
199
|
+
rdoc_options: []
|
200
|
+
require_paths:
|
201
|
+
- lib
|
202
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '0'
|
207
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - ">="
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0'
|
212
|
+
requirements: []
|
213
|
+
rubyforge_project:
|
214
|
+
rubygems_version: 2.6.13
|
215
|
+
signing_key:
|
216
|
+
specification_version: 4
|
217
|
+
summary: Search the popcorn-api https://github.com/popcorn-official/popcorn-api
|
218
|
+
test_files: []
|