whats-on-netflix 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1eccdae881fcd08672f6ee7ec6f852b60106d826
4
+ data.tar.gz: 608720f5e6cea5167e8cc3cb376b89e10590e1d9
5
+ SHA512:
6
+ metadata.gz: 02b10bb621d20da67aa3394b5ce11615d8b8a9dfd9358ce3d427298cb8ca9da103c3ce2f534bfde33cd48142fea462bd59efd9f92cc945e6af6f68e836daf19d
7
+ data.tar.gz: d077c2f0c9bbbfcd28d69d97327a185a00532d7d61fee10023946990e2248fbbbc975cda45eda08ffe0f8ddfc0ddff314adca3704ed8266d035293e8e2871f3b
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.0
5
+ before_install: gem install bundler -v 1.13.1
@@ -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 clare.e.horton@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,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in new_on_netflix.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Clare
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,29 @@
1
+ # What's On Netflix
2
+
3
+ What's On Netflix is a small web scraper with a CLI interface that tells you what's coming soon and leaving soon on Netflix. What's On Netflix pulls data from Whats-On-Netflix.com and IMDB. Hat tip to [https://github.com/o-sam-o/yayimdbs](yayimdbs) for helping me work out the finer points of scraping IMDB info.
4
+
5
+ ## Installation
6
+
7
+ Once you've downloaded the code and cd-ed into the proper directory, run the following command in your terminal:
8
+
9
+ $ gem install whats-on-netflix
10
+
11
+ ## Usage
12
+
13
+ Run `whats-on-netflix` to get started. Then run `coming-soon` or `leaving-soon` to see a list of what's being added or removed from Netflix this month. Enter the number of a particular movie or show to get information on its genre, cast, and plot.
14
+
15
+ ## Development
16
+
17
+ 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.
18
+
19
+ 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).
20
+
21
+ ## Contributing
22
+
23
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/new_on_netflix. 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.
24
+
25
+
26
+ ## License
27
+
28
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
29
+
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 "whats_on_netflix"
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
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
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative '../lib/whats_on_netflix'
4
+
5
+ WhatsOnNetflix::CLI.new.start
@@ -0,0 +1,8 @@
1
+ require 'pry'
2
+ require 'nokogiri'
3
+ require 'open-uri'
4
+
5
+ require_relative '../lib/whats_on_netflix/list'
6
+ require_relative '../lib/whats_on_netflix/leaving_soon'
7
+ require_relative '../lib/whats_on_netflix/coming_soon'
8
+ require_relative '../lib/whats_on_netflix/scraper'
@@ -0,0 +1,115 @@
1
+ # CLI interface
2
+
3
+ module WhatsOnNetflix
4
+ class CLI
5
+ attr_accessor:input
6
+
7
+ def initialize
8
+ WhatsOnNetflix::ComingSoon.add_movies
9
+ WhatsOnNetflix::LeavingSoon.add_movies
10
+ @input = ""
11
+ puts ""
12
+ puts "============================="
13
+ puts "Welcome to What's On Netflix!"
14
+ puts "============================="
15
+ end
16
+
17
+ def start
18
+ while !exit?
19
+ list_available_commands
20
+
21
+ if @input == "coming-soon"
22
+ WhatsOnNetflix::ComingSoon.list
23
+ list_options
24
+
25
+ while !exit? && !back?
26
+ if valid_number?(WhatsOnNetflix::ComingSoon.all)
27
+ WhatsOnNetflix::ComingSoon.item(@input)
28
+ item_options
29
+ else
30
+ unknown_command
31
+ end
32
+ end
33
+
34
+ elsif @input == "leaving-soon"
35
+ WhatsOnNetflix::LeavingSoon.list
36
+ list_options
37
+
38
+ while !exit? && !back?
39
+ if valid_number?(WhatsOnNetflix::LeavingSoon.all)
40
+ WhatsOnNetflix::LeavingSoon.item(@input)
41
+ item_options
42
+ else
43
+ unknown_command
44
+ end
45
+ end
46
+
47
+ elsif !exit?
48
+ unknown_command
49
+ end
50
+ end
51
+ exit
52
+ end
53
+
54
+ ### CLI dialogue
55
+
56
+ def exit
57
+ puts "See you later!"
58
+ end
59
+
60
+ def item_options
61
+ puts ""
62
+ puts "---"
63
+ puts "Options:"
64
+ puts "enter another number from the list"
65
+ puts "back: see a different list"
66
+ puts "exit: exit"
67
+ @input = gets.strip
68
+ end
69
+
70
+ def list_available_commands
71
+ puts ""
72
+ puts "---"
73
+ puts "Options:"
74
+ puts "coming-soon: see what's new on Netflix this month"
75
+ puts "leaving-soon: see what's leaving Netflix this month"
76
+ puts "exit: exit"
77
+ puts ""
78
+ @input = gets.strip
79
+ end
80
+
81
+ def list_options
82
+ puts ""
83
+ puts "---"
84
+ puts "Options:"
85
+ puts "enter a number to see more"
86
+ puts "back: see a different list"
87
+ puts "exit: exit"
88
+ @input = gets.strip
89
+ end
90
+
91
+ def unknown_command
92
+ puts ""
93
+ puts "I'm sorry, I don't recognize that command."
94
+ puts ""
95
+ @input = gets.strip
96
+ end
97
+
98
+ ### CLI logic
99
+
100
+ def exit?
101
+ @input == "exit"
102
+ end
103
+
104
+ def back?
105
+ @input == "back"
106
+ end
107
+
108
+ def valid_number?(array)
109
+ @input.to_i > 0 && @input.to_i < (array.length + 1)
110
+ end
111
+
112
+ end
113
+ end
114
+
115
+ require_relative '../config/environment'
@@ -0,0 +1,23 @@
1
+ require 'pry'
2
+
3
+ module WhatsOnNetflix
4
+ class ComingSoon < List
5
+
6
+ @@all = []
7
+
8
+ def self.all
9
+ @@all
10
+ end
11
+
12
+ def self.list_url
13
+ "http://www.whats-on-netflix.com/coming-soon/#{self.current_month}-#{self.current_year}-new-netflix-releases/"
14
+ end
15
+
16
+ def self.list
17
+ puts "= = = = ="
18
+ puts "Coming Soon on Netflix"
19
+ puts "= = = = ="
20
+ self.print_list
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,20 @@
1
+ module WhatsOnNetflix
2
+ class LeavingSoon < List
3
+ @@all = []
4
+
5
+ def self.all
6
+ @@all
7
+ end
8
+
9
+ def self.list_url
10
+ "http://www.whats-on-netflix.com/leaving-soon/titles-leaving-netflix-in-#{self.current_month}-#{self.current_year}/"
11
+ end
12
+
13
+ def self.list
14
+ puts "= = = = ="
15
+ puts "Leaving Soon from Netflix"
16
+ puts "= = = = ="
17
+ self.print_list
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,61 @@
1
+ module WhatsOnNetflix
2
+ class List
3
+ attr_accessor:display_title, :title, :year, :genre, :stars, :plot
4
+
5
+ def initialize(display_title)
6
+ @display_title = display_title
7
+ end
8
+
9
+ def self.add_movies
10
+ self.create_from_array(WhatsOnNetflix::Scraper.scrape_title_list(self.list_url))
11
+ end
12
+
13
+ def self.create_from_array(array)
14
+ array.each do |entry|
15
+ movie = self.new(entry)
16
+ new_title = entry.split("(")
17
+ movie.title = new_title[0].strip
18
+ self.all << movie
19
+ end
20
+ end
21
+
22
+ def add_data_from_hash(hash)
23
+ self.year = hash[:year]
24
+ self.genre = hash[:genre]
25
+ self.stars = hash[:stars]
26
+ self.plot = hash[:plot]
27
+ end
28
+
29
+ ### used to generate current url for whats-on-netflix.com
30
+
31
+ def self.current_month
32
+ Date::MONTHNAMES[Date.today.month].downcase
33
+ end
34
+
35
+ def self.current_year
36
+ Date.today.year
37
+ end
38
+
39
+ ### CLI printers
40
+
41
+ def self.print_list
42
+ self.all.each_with_index do |movie, index|
43
+ puts "#{index + 1}. #{movie.display_title}"
44
+ end
45
+ end
46
+
47
+ def self.item(input)
48
+ movie = self.all[input.to_i - 1]
49
+ movie.add_data_from_hash(WhatsOnNetflix::Scraper.scrape_imdb_info(movie.title))
50
+ puts ""
51
+ puts "---"
52
+ puts "#{movie.title} - #{movie.year}"
53
+ puts "#{movie.genre}"
54
+ puts "Starring #{movie.stars}"
55
+ puts ""
56
+ puts "#{movie.plot}"
57
+ movie
58
+ end
59
+
60
+ end
61
+ end
@@ -0,0 +1,64 @@
1
+ require 'nokogiri'
2
+ require 'open-uri'
3
+ require 'pry'
4
+
5
+ module WhatsOnNetflix
6
+ class Scraper
7
+
8
+ def self.get_html(url)
9
+ Nokogiri::HTML(open(url))
10
+ end
11
+
12
+ def self.scrape_title_list(url)
13
+ html = self.get_html(url)
14
+
15
+ titles = []
16
+
17
+ html.css("h4 + ul li").each do |title|
18
+ titles << title.text
19
+ end
20
+
21
+ titles
22
+ end
23
+
24
+
25
+
26
+ def self.scrape_imdb_info(name)
27
+
28
+ search_page = Nokogiri::HTML(open("http://www.imdb.com/find?s=tt&q=" + URI.escape(name)))
29
+
30
+ movie_page = Nokogiri::HTML(open("http://www.imdb.com" + "#{search_page.css("td a").attribute("href").value}"))
31
+
32
+ info = {}
33
+
34
+ info[:plot] = movie_page.css("div.summary_text").text.strip
35
+ info[:genre] = ""
36
+ info[:stars] = ""
37
+ info[:year] = ""
38
+
39
+ # getting info[:genre] into a readable format
40
+
41
+ movie_page.css('span[itemprop="genre"]').each do |genre|
42
+ info[:genre].concat("| #{genre.text} |")
43
+ end
44
+
45
+ # getting info[:stars] into a readable format
46
+
47
+ movie_page.css('span[itemprop="actors"]').each do |actor|
48
+ info[:stars].concat("#{actor.text.strip} ")
49
+ end
50
+
51
+ # getting info[:year] - TV show and movie pages are formatted a little differently
52
+
53
+ if movie_page.css('a[title="See more release dates"]').text.include?("TV Series")
54
+ info[:year] = movie_page.css('a[title="See more release dates"]').text
55
+ else
56
+ info[:year] = movie_page.css('span#titleYear').text.strip.gsub("(", "").gsub(")", "")
57
+ end
58
+
59
+ info
60
+ end
61
+
62
+
63
+ end
64
+ end
@@ -0,0 +1,3 @@
1
+ module WhatsOnNetflix
2
+ VERSION = "0.1.1"
3
+ end
data/spec.md ADDED
@@ -0,0 +1,6 @@
1
+ # Specifications for the CLI Assessment
2
+
3
+ Specs:
4
+ - [ ] Have a CLI for interfacing with the application
5
+ - [ ] Pull data from an external source
6
+ - [ ] Implement both list and detail views
@@ -0,0 +1,34 @@
1
+ require "spec_helper"
2
+ require 'stringio'
3
+
4
+ describe WhatsOnNetflix do
5
+
6
+ #disables long lists of output
7
+ before do
8
+ $stdout = StringIO.new
9
+ end
10
+ after(:all) do
11
+ $stdout = STDOUT
12
+ end
13
+
14
+ it "has a version number" do
15
+ expect(WhatsOnNetflix::VERSION).not_to be nil
16
+ end
17
+
18
+ it "lists Coming Soon" do
19
+ WhatsOnNetflix::CLI.new
20
+ expect(WhatsOnNetflix::ComingSoon.list).not_to be nil
21
+ end
22
+
23
+ it "lists Coming Soon movie info" do
24
+ expect(WhatsOnNetflix::ComingSoon.item("1")).not_to be nil
25
+ end
26
+
27
+ it "lists Leaving Soon" do
28
+ expect(WhatsOnNetflix::LeavingSoon.list).not_to be nil
29
+ end
30
+
31
+ it "lists Leaving Soon movie info" do
32
+ expect(WhatsOnNetflix::LeavingSoon.item("1")).not_to be nil
33
+ end
34
+ end
@@ -0,0 +1,5 @@
1
+ $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
2
+ require "whats_on_netflix"
3
+
4
+
5
+
@@ -0,0 +1,40 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'whats_on_netflix/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "whats-on-netflix"
8
+ spec.version = WhatsOnNetflix::VERSION
9
+ spec.authors = ["Clare Horton"]
10
+ spec.email = ["clare.e.horton@gmail.com"]
11
+
12
+ spec.summary = "See what's being added and removed from Netflix this month"
13
+ spec.homepage = "https://github.com/radditude/whats-on-netflix-cli-gem"
14
+ spec.license = "MIT"
15
+
16
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
18
+ if spec.respond_to?(:metadata)
19
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
20
+ else
21
+ raise "RubyGems 2.0 or newer is required to protect against " \
22
+ "public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files`.split($\)
26
+ spec.executables = ["whats-on-netflix"]
27
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
28
+ spec.name = "whats-on-netflix"
29
+ spec.require_paths = ["lib", "lib/whats_on_netflix", "config"]
30
+ spec.version = WhatsOnNetflix::VERSION
31
+ spec.license = "MIT"
32
+
33
+ spec.add_runtime_dependency "nokogiri", "~> 0", ">=0"
34
+
35
+ spec.add_development_dependency "bundler", "~> 1.13"
36
+ spec.add_development_dependency "rake", "~> 10.0"
37
+ spec.add_development_dependency "rspec", "~> 3.0"
38
+ spec.add_development_dependency "pry", "~> 0"
39
+ spec.add_development_dependency "nokogiri", "~> 0", ">=0"
40
+ end
metadata ADDED
@@ -0,0 +1,167 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: whats-on-netflix
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Clare Horton
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-09-28 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: '0'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: bundler
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.13'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.13'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '10.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '10.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rspec
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '3.0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: pry
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: nokogiri
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ description:
110
+ email:
111
+ - clare.e.horton@gmail.com
112
+ executables:
113
+ - whats-on-netflix
114
+ extensions: []
115
+ extra_rdoc_files: []
116
+ files:
117
+ - ".gitignore"
118
+ - ".travis.yml"
119
+ - CODE_OF_CONDUCT.md
120
+ - Gemfile
121
+ - LICENSE.txt
122
+ - README.md
123
+ - Rakefile
124
+ - bin/console
125
+ - bin/setup
126
+ - bin/whats-on-netflix
127
+ - config/environment.rb
128
+ - lib/whats_on_netflix.rb
129
+ - lib/whats_on_netflix/coming_soon.rb
130
+ - lib/whats_on_netflix/leaving_soon.rb
131
+ - lib/whats_on_netflix/list.rb
132
+ - lib/whats_on_netflix/scraper.rb
133
+ - lib/whats_on_netflix/version.rb
134
+ - spec.md
135
+ - spec/01_whats_on_netflix_spec.rb
136
+ - spec/spec_helper.rb
137
+ - whats_on_netflix.gemspec
138
+ homepage: https://github.com/radditude/whats-on-netflix-cli-gem
139
+ licenses:
140
+ - MIT
141
+ metadata:
142
+ allowed_push_host: https://rubygems.org
143
+ post_install_message:
144
+ rdoc_options: []
145
+ require_paths:
146
+ - lib
147
+ - lib/whats_on_netflix
148
+ - config
149
+ required_ruby_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ required_rubygems_version: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ requirements: []
160
+ rubyforge_project:
161
+ rubygems_version: 2.5.1
162
+ signing_key:
163
+ specification_version: 4
164
+ summary: See what's being added and removed from Netflix this month
165
+ test_files:
166
+ - spec/01_whats_on_netflix_spec.rb
167
+ - spec/spec_helper.rb