cli_epl_table 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 +11 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +49 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +6 -0
- data/bin/console +17 -0
- data/bin/setup +8 -0
- data/cli_epl_table.gemspec +47 -0
- data/exe/epl +7 -0
- data/lib/cli_epl_table/cli.rb +65 -0
- data/lib/cli_epl_table/scraper.rb +9 -0
- data/lib/cli_epl_table/teams.rb +43 -0
- data/lib/cli_epl_table/version.rb +3 -0
- data/lib/cli_epl_table.rb +9 -0
- metadata +165 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f15597083895a3d98154823d968f9ba18d141bc9
|
4
|
+
data.tar.gz: 9dff3fbf56da55bb9f18a17eeda82673e48aff22
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f3630b28dc87689fea61a268e8246611f04bcf0835654c4322ea00a7a4bad7357152b11ffd89b425598a4e5881dc4eba4879015e608b91e3af0f8b0ace6166b1
|
7
|
+
data.tar.gz: cad3230bb5cf770d8d3d591566bb23d91b9681f68b973ce34cf9d37b7e021cf641ad1afcdf3003ee53a1c425290ead7fce09d7b660aeae7f9af4979e6cca0104
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -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 cdcardle@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
data/Gemfile.lock
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
cli_epl_table (0.1.0)
|
5
|
+
certified (~> 1)
|
6
|
+
colorize (~> 0.8)
|
7
|
+
nokogiri (~> 1.10)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
certified (1.0.0)
|
13
|
+
coderay (1.1.2)
|
14
|
+
colorize (0.8.1)
|
15
|
+
diff-lcs (1.3)
|
16
|
+
method_source (0.9.2)
|
17
|
+
mini_portile2 (2.4.0)
|
18
|
+
nokogiri (1.10.3-x86-mingw32)
|
19
|
+
mini_portile2 (~> 2.4.0)
|
20
|
+
pry (0.12.2)
|
21
|
+
coderay (~> 1.1.0)
|
22
|
+
method_source (~> 0.9.0)
|
23
|
+
rake (10.5.0)
|
24
|
+
rspec (3.8.0)
|
25
|
+
rspec-core (~> 3.8.0)
|
26
|
+
rspec-expectations (~> 3.8.0)
|
27
|
+
rspec-mocks (~> 3.8.0)
|
28
|
+
rspec-core (3.8.0)
|
29
|
+
rspec-support (~> 3.8.0)
|
30
|
+
rspec-expectations (3.8.4)
|
31
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
32
|
+
rspec-support (~> 3.8.0)
|
33
|
+
rspec-mocks (3.8.0)
|
34
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
+
rspec-support (~> 3.8.0)
|
36
|
+
rspec-support (3.8.2)
|
37
|
+
|
38
|
+
PLATFORMS
|
39
|
+
x86-mingw32
|
40
|
+
|
41
|
+
DEPENDENCIES
|
42
|
+
bundler (~> 2.0)
|
43
|
+
cli_epl_table!
|
44
|
+
pry (~> 0.12)
|
45
|
+
rake (~> 10.0)
|
46
|
+
rspec (~> 3.0)
|
47
|
+
|
48
|
+
BUNDLED WITH
|
49
|
+
2.0.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Chris Cardle
|
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,43 @@
|
|
1
|
+
# CliEplTable
|
2
|
+
|
3
|
+
Hey there!
|
4
|
+
|
5
|
+
`epl` (short for cli_epl_gem) is a gem to view the current English Premier League table in your terminal. You can view the full table or check individual teams for more statistics.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'cli_epl_table'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install cli_epl_table
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
Once `cli_epl_table` is installed, all you have to do is type `epl` in your terminal. It will load up the EPL table and you can explore from there.
|
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/cdcardle/cli_epl_table. 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.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
40
|
+
|
41
|
+
## Code of Conduct
|
42
|
+
|
43
|
+
Everyone interacting in the CliEplTable project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/cli_epl_table/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'nokogiri'
|
4
|
+
require 'open-uri'
|
5
|
+
|
6
|
+
require "bundler/setup"
|
7
|
+
require "cli_epl_table"
|
8
|
+
|
9
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
10
|
+
# with your gem easier. You can also use a different console, if you like.
|
11
|
+
|
12
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
13
|
+
# require "pry"
|
14
|
+
# Pry.start
|
15
|
+
|
16
|
+
require "irb"
|
17
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "cli_epl_table/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "cli_epl_table"
|
8
|
+
spec.version = CliEplTable::VERSION
|
9
|
+
spec.authors = ["Chris Cardle"]
|
10
|
+
spec.email = ["cdcardle@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = "CLI Premier League table in your terminal!"
|
13
|
+
spec.description = "You can check the current English Premier League table based on the official Premier League website from your terminal. You can also check individual teams for more of their statistics."
|
14
|
+
spec.homepage = "https://github.com/cdcardle/cli_epl_table"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
+
|
22
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
23
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
24
|
+
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
25
|
+
else
|
26
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
27
|
+
"public gem pushes."
|
28
|
+
end
|
29
|
+
|
30
|
+
# Specify which files should be added to the gem when it is released.
|
31
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
32
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
33
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
34
|
+
end
|
35
|
+
spec.bindir = "exe"
|
36
|
+
spec.executables = "epl"
|
37
|
+
spec.require_paths = ["lib"]
|
38
|
+
|
39
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
40
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
41
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
42
|
+
spec.add_development_dependency "pry", "~> 0.12"
|
43
|
+
|
44
|
+
spec.add_dependency "nokogiri", "~> 1.10"
|
45
|
+
spec.add_dependency "colorize", "~> 0.8"
|
46
|
+
spec.add_dependency "certified", "~> 1"
|
47
|
+
end
|
data/exe/epl
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'colorize'
|
2
|
+
|
3
|
+
class CliEplTable::CLI
|
4
|
+
def self.call
|
5
|
+
show_table
|
6
|
+
table
|
7
|
+
goodbye
|
8
|
+
end
|
9
|
+
|
10
|
+
# show the full table at startup
|
11
|
+
def self.show_table
|
12
|
+
puts "English Premier League Table:".blue
|
13
|
+
# puts "1. Man City - points"
|
14
|
+
# puts "2. Man U - points"
|
15
|
+
@teams = CliEplTable::Teams.list
|
16
|
+
@teams.each do |team|
|
17
|
+
puts "#{team.position}. ".yellow + "#{team.name}".blue + " - " + "#{team.points} points".red
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
# take user input showing the table or team they enter until they exit
|
22
|
+
def self.table
|
23
|
+
input = nil
|
24
|
+
while input != "exit"
|
25
|
+
puts "-------------------------------------------------".white
|
26
|
+
puts "Enter the position number(1-20) of the team you would like to see in depth, type table to show the table again, or type exit to exit:".cyan
|
27
|
+
input = gets.strip.downcase
|
28
|
+
|
29
|
+
if input.to_i > 0 && input.to_i < 21
|
30
|
+
team = @teams[input.to_i - 1]
|
31
|
+
puts "-------------------------------------------------".white
|
32
|
+
puts "Team Name: ".blue + "#{team.name}".light_red
|
33
|
+
if team.position == "1"
|
34
|
+
puts "Position: ".blue + "#{team.position}st place".light_red
|
35
|
+
elsif team.position == "2"
|
36
|
+
puts "Position: ".blue + "#{team.position}nd place".light_red
|
37
|
+
elsif team.position == "3"
|
38
|
+
puts "Position: ".blue + "#{team.position}rd place".light_red
|
39
|
+
else
|
40
|
+
puts "Position: ".blue + "#{team.position}th place".light_red
|
41
|
+
end
|
42
|
+
puts "Games Played: ".blue + "#{team.games_played}".light_red
|
43
|
+
puts "Games Won: ".blue + "#{team.games_won}".light_red
|
44
|
+
puts "Games Drawn: ".blue + "#{team.games_drawn}".light_red
|
45
|
+
puts "Games Lost: ".blue + "#{team.games_lost}".light_red
|
46
|
+
puts "Goals For: ".blue + "#{team.goals_for}".light_red
|
47
|
+
puts "Goals Against: ".blue + "#{team.goals_against}".light_red
|
48
|
+
puts "Goal Differential: ".blue + "#{team.goal_differential}".light_red
|
49
|
+
puts "Points: ".blue + "#{team.points}".light_red
|
50
|
+
elsif input == "table"
|
51
|
+
puts "-------------------------------------------------".white
|
52
|
+
show_table
|
53
|
+
elsif input == "exit"
|
54
|
+
else
|
55
|
+
puts "-------------------------------------------------".white
|
56
|
+
puts "Invalid entry, enter a valid position number, table, or exit.".red
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# exit message for when the user types exit
|
62
|
+
def self.goodbye
|
63
|
+
puts "Thanks for checking out the standings!".cyan
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
class CliEplTable::Teams
|
2
|
+
attr_accessor :name, :position, :games_played, :games_won, :games_drawn, :games_lost, :goals_for, :goals_against, :goal_differential, :points
|
3
|
+
@@all = []
|
4
|
+
|
5
|
+
# define all
|
6
|
+
def self.all
|
7
|
+
@@all
|
8
|
+
end
|
9
|
+
|
10
|
+
# list of teams created by scraping only once
|
11
|
+
def self.list
|
12
|
+
self.teams unless self.all.length > 0
|
13
|
+
self.all
|
14
|
+
end
|
15
|
+
|
16
|
+
# get data from CliEplTable::Scraper
|
17
|
+
def self.data
|
18
|
+
CliEplTable::Scraper.scrape_site
|
19
|
+
end
|
20
|
+
|
21
|
+
# use data to create an array of teams with their attributes
|
22
|
+
def self.teams
|
23
|
+
teams = self.data.search('tbody tr[data-compseason="274"]')
|
24
|
+
|
25
|
+
team_array = []
|
26
|
+
teams.each {|team| team_array << team}
|
27
|
+
team_array.each do |team|
|
28
|
+
new_team = self.new
|
29
|
+
new_team.position = team.css("span.value").text
|
30
|
+
new_team.name = team.css("td.team span.long").text
|
31
|
+
new_team.points = team.css("td.points").text
|
32
|
+
new_team.games_played = team.css("td")[3].text
|
33
|
+
new_team.games_won = team.css("td")[4].text
|
34
|
+
new_team.games_drawn = team.css("td")[5].text
|
35
|
+
new_team.games_lost = team.css("td")[6].text
|
36
|
+
new_team.goals_for = team.css("td")[7].text
|
37
|
+
new_team.goals_against = team.css("td")[8].text
|
38
|
+
new_team.goal_differential = team.css("td")[9].text.strip
|
39
|
+
self.all << new_team
|
40
|
+
new_team
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
metadata
ADDED
@@ -0,0 +1,165 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cli_epl_table
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Chris Cardle
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-06-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.12'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.12'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: nokogiri
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.10'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.10'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: colorize
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.8'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.8'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: certified
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1'
|
111
|
+
description: You can check the current English Premier League table based on the official
|
112
|
+
Premier League website from your terminal. You can also check individual teams
|
113
|
+
for more of their statistics.
|
114
|
+
email:
|
115
|
+
- cdcardle@gmail.com
|
116
|
+
executables:
|
117
|
+
- epl
|
118
|
+
extensions: []
|
119
|
+
extra_rdoc_files: []
|
120
|
+
files:
|
121
|
+
- ".gitignore"
|
122
|
+
- ".rspec"
|
123
|
+
- ".travis.yml"
|
124
|
+
- CODE_OF_CONDUCT.md
|
125
|
+
- Gemfile
|
126
|
+
- Gemfile.lock
|
127
|
+
- LICENSE.txt
|
128
|
+
- README.md
|
129
|
+
- Rakefile
|
130
|
+
- bin/console
|
131
|
+
- bin/setup
|
132
|
+
- cli_epl_table.gemspec
|
133
|
+
- exe/epl
|
134
|
+
- lib/cli_epl_table.rb
|
135
|
+
- lib/cli_epl_table/cli.rb
|
136
|
+
- lib/cli_epl_table/scraper.rb
|
137
|
+
- lib/cli_epl_table/teams.rb
|
138
|
+
- lib/cli_epl_table/version.rb
|
139
|
+
homepage: https://github.com/cdcardle/cli_epl_table
|
140
|
+
licenses:
|
141
|
+
- MIT
|
142
|
+
metadata:
|
143
|
+
homepage_uri: https://github.com/cdcardle/cli_epl_table
|
144
|
+
source_code_uri: https://github.com/cdcardle/cli_epl_table
|
145
|
+
post_install_message:
|
146
|
+
rdoc_options: []
|
147
|
+
require_paths:
|
148
|
+
- lib
|
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.2
|
162
|
+
signing_key:
|
163
|
+
specification_version: 4
|
164
|
+
summary: CLI Premier League table in your terminal!
|
165
|
+
test_files: []
|