fantasy-football 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +34 -0
- data/LICENSE.txt +21 -0
- data/README.md +47 -0
- data/Rakefile +2 -0
- data/bin/console +5 -0
- data/bin/fantasyfootball +5 -0
- data/bin/setup +6 -0
- data/config/environment.rb +8 -0
- data/fantasy-football.gemspec +45 -0
- data/lib/fantasy-football.rb +7 -0
- data/lib/fantasy_football/CLI.rb +93 -0
- data/lib/fantasy_football/concerns/findable.rb +19 -0
- data/lib/fantasy_football/concerns/memorable.rb +11 -0
- data/lib/fantasy_football/player.rb +18 -0
- data/lib/fantasy_football/scraper.rb +65 -0
- data/lib/fantasy_football/version.rb +3 -0
- metadata +150 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 947ccbbcc51ff0c201921c206e55ac16b058035b573f80cfda7638bdf6393952
|
4
|
+
data.tar.gz: e8abae5dcb75ec70dd0b94ca2d00dadf7003c00cdeef90d0f109e839d33e21ae
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7276bfa8a49ea40ab1179fa1cf9d1ba59475521f204912ca4eedeb2e7cf43e8dfa8ae63af2f20c0df2105a7e68ddf57eb348d8f3022ed2a2184c8a5840cce816
|
7
|
+
data.tar.gz: 233470a4f0b2855246b9e1981b31b66ea65ff658bb5bf70640b8ddd194089864d993279214cb90845465ff25ac256ab6c42bd53344df3aa04864e6bb39d499af
|
data/.gitignore
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 'mike.dilley@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,34 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
fantasy-football (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
coderay (1.1.2)
|
10
|
+
method_source (0.9.2)
|
11
|
+
mini_portile2 (2.3.0)
|
12
|
+
nokogiri (1.8.5)
|
13
|
+
mini_portile2 (~> 2.3.0)
|
14
|
+
pry (0.12.2)
|
15
|
+
coderay (~> 1.1.0)
|
16
|
+
method_source (~> 0.9.0)
|
17
|
+
rake (10.5.0)
|
18
|
+
require_all (2.0.0)
|
19
|
+
rspec (0.9.4)
|
20
|
+
|
21
|
+
PLATFORMS
|
22
|
+
ruby
|
23
|
+
|
24
|
+
DEPENDENCIES
|
25
|
+
bundler (~> 1.17)
|
26
|
+
fantasy-football!
|
27
|
+
nokogiri
|
28
|
+
pry
|
29
|
+
rake (~> 10.0)
|
30
|
+
require_all
|
31
|
+
rspec
|
32
|
+
|
33
|
+
BUNDLED WITH
|
34
|
+
1.17.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 'Mike Dilley'
|
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,47 @@
|
|
1
|
+
# Fantasy Football
|
2
|
+
|
3
|
+
The purpose of this gem is to scrape data from Fantasypros.com and to produce organized data about fantasy football rankings of players by position. It will provide provide guidance for choosing players for a fantasy football team based on the rankings posted on Fantasypros.com.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'fantasy-football'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install fantasy-football
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
To run
|
24
|
+
|
25
|
+
$ fantasyfootball
|
26
|
+
|
27
|
+
To start IRB
|
28
|
+
|
29
|
+
$ console
|
30
|
+
|
31
|
+
## Development
|
32
|
+
|
33
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
34
|
+
|
35
|
+
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).
|
36
|
+
|
37
|
+
## Contributing
|
38
|
+
|
39
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/'mddilley'/fantasy-football. 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.
|
40
|
+
|
41
|
+
## License
|
42
|
+
|
43
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
44
|
+
|
45
|
+
## Code of Conduct
|
46
|
+
|
47
|
+
Everyone interacting in the Fantasy::Football project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/'mddilley'/fantasy-football/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
data/bin/fantasyfootball
ADDED
data/bin/setup
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "fantasy_football/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "fantasy-football"
|
8
|
+
spec.version = FF::VERSION
|
9
|
+
spec.authors = ["'Mike Dilley'"]
|
10
|
+
spec.email = ["'mike.dilley@gmail.com'"]
|
11
|
+
|
12
|
+
spec.summary = %q{"Fantasy Football"}
|
13
|
+
spec.description = %q{"Displays weekly position rankings and stats from Fantasypros.com"}
|
14
|
+
spec.homepage = "http://rubygems.org/gems/fantasy-football"
|
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"] = "TODO: Put your gem's public repo URL here."
|
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 = "bin"
|
36
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
37
|
+
spec.require_paths = ["lib"]
|
38
|
+
|
39
|
+
spec.add_development_dependency "bundler", "~> 1.17"
|
40
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
41
|
+
spec.add_development_dependency "require_all", ">= 0"
|
42
|
+
spec.add_development_dependency "rspec", ">= 0"
|
43
|
+
spec.add_development_dependency "pry", ">= 0"
|
44
|
+
spec.add_development_dependency "nokogiri", ">= 0"
|
45
|
+
end
|
@@ -0,0 +1,93 @@
|
|
1
|
+
class CLI
|
2
|
+
|
3
|
+
POSITIONS = ["qb", "rb", "te", "wr", "k"]
|
4
|
+
|
5
|
+
attr_accessor :position # Stores current state of position choice
|
6
|
+
|
7
|
+
def welcome
|
8
|
+
puts "Welcome to the NFL Fantasy Football Rankings and Players!"
|
9
|
+
end
|
10
|
+
|
11
|
+
def choose_rankings
|
12
|
+
# Asks for position and lists top players ranked by Fantasypros
|
13
|
+
puts "What position would you like to see rankings for?"
|
14
|
+
puts "Please enter QB, RB, TE, WR, or K:"
|
15
|
+
@position = gets.strip.downcase
|
16
|
+
if POSITIONS.include?(@position)
|
17
|
+
Scraper.new_with_name(@position)
|
18
|
+
print_rankings(@position)
|
19
|
+
choose_player
|
20
|
+
else
|
21
|
+
puts "Invalid entry - please enter a valid input:"
|
22
|
+
choose_rankings
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def print_rankings(position)
|
27
|
+
# Iterates through Player.all to print player name and rankings by position
|
28
|
+
puts " "
|
29
|
+
puts "-- Top #{Scraper.size} #{@position.upcase}s for Week #{Scraper.find_by_name(@position).week} of #{Time.new.year} --"
|
30
|
+
Player.find_by_position(position).sort {|a,b| a.rank.to_i <=> b.rank.to_i}.each {|i| puts "#{i.rank}. #{i.name}"}
|
31
|
+
puts " "
|
32
|
+
end
|
33
|
+
|
34
|
+
def choose_player
|
35
|
+
# Prompts for player rank #, outputs player details
|
36
|
+
puts "If you would like to see details about a player, enter their rank number. If not, enter N:"
|
37
|
+
rank = gets.strip
|
38
|
+
if rank.to_i.between?(1,Scraper.size)
|
39
|
+
print_player(rank)
|
40
|
+
elsif rank.downcase == "n"
|
41
|
+
return
|
42
|
+
else
|
43
|
+
puts "Invalid entry - please enter a valid input:"
|
44
|
+
choose_player
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
def print_player(list_number)
|
49
|
+
# Prints specific player using a custom class finder
|
50
|
+
blank = " "
|
51
|
+
p = Player.find_by_rank_and_position(list_number, @position)
|
52
|
+
Scraper.find_by_name(@position).add_attr(p)
|
53
|
+
puts blank
|
54
|
+
puts " Player Stats "
|
55
|
+
puts "------------------------------- "
|
56
|
+
puts "Name: #{p.name} "
|
57
|
+
puts "Position: #{p.position} "
|
58
|
+
puts "Projection: #{p.projection} points "
|
59
|
+
puts "Team: #{p.team} "
|
60
|
+
puts "Height: #{p.height} "
|
61
|
+
puts "Weight: #{p.weight} lbs. "
|
62
|
+
puts "Age: #{p.age} "
|
63
|
+
puts "College: #{p.college} "
|
64
|
+
puts "------------------------------- "
|
65
|
+
puts blank
|
66
|
+
end
|
67
|
+
|
68
|
+
def again?
|
69
|
+
# Allows user to see details about a different player on the current rank list, choose a different rank list, or quit
|
70
|
+
puts "Would you like to: 1. see details about a different player, 2. see rankings for a different position, or quit?"
|
71
|
+
puts "Please enter 1, 2, or quit."
|
72
|
+
input = gets.strip.downcase
|
73
|
+
if input == "1"
|
74
|
+
print_rankings(@position)
|
75
|
+
choose_player
|
76
|
+
elsif input == "2"
|
77
|
+
choose_rankings
|
78
|
+
elsif input == "quit"
|
79
|
+
exit
|
80
|
+
else
|
81
|
+
puts "Invalid entry - please enter a valid input:"
|
82
|
+
again?
|
83
|
+
end
|
84
|
+
again?
|
85
|
+
end
|
86
|
+
|
87
|
+
def run
|
88
|
+
welcome
|
89
|
+
choose_rankings
|
90
|
+
again?
|
91
|
+
end
|
92
|
+
|
93
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Findable
|
2
|
+
|
3
|
+
module ClassMethods
|
4
|
+
|
5
|
+
def find_by_position(position)
|
6
|
+
self.all.select {|i| i.position == position.upcase}
|
7
|
+
end
|
8
|
+
|
9
|
+
def find_by_rank_and_position(rank, position)
|
10
|
+
self.all.find {|i| i.rank == rank && i.position == position.upcase}
|
11
|
+
end
|
12
|
+
|
13
|
+
def find_by_name(name)
|
14
|
+
self.all.find {|i| i.name == name}
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
class Player
|
2
|
+
|
3
|
+
extend Findable::ClassMethods
|
4
|
+
include Memorable::InstanceMethods
|
5
|
+
|
6
|
+
attr_accessor :name, :position, :projection, :team, :height, :weight, :age, :college, :rank, :url, :scraped
|
7
|
+
|
8
|
+
@@all = []
|
9
|
+
|
10
|
+
def initialize
|
11
|
+
save
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.all # Class variable reader
|
15
|
+
@@all
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
class Scraper
|
2
|
+
|
3
|
+
extend Findable::ClassMethods
|
4
|
+
include Memorable::InstanceMethods
|
5
|
+
|
6
|
+
attr_accessor :name, :week
|
7
|
+
|
8
|
+
@@all = []
|
9
|
+
|
10
|
+
def self.all # Class variable reader
|
11
|
+
@@all
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.size #Determines how many players to scrape per position
|
15
|
+
20
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.new_with_name(name) #Custom class constructor
|
19
|
+
if !Scraper.find_by_name(name)
|
20
|
+
s = Scraper.new
|
21
|
+
s.name = name
|
22
|
+
s.save
|
23
|
+
s.scrape_rankings(name)
|
24
|
+
else
|
25
|
+
Scraper.find_by_name(name)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
def scrape_rankings(position)
|
30
|
+
doc = Nokogiri::HTML(open("https://www.fantasypros.com/nfl/rankings/#{position}.php"))
|
31
|
+
# binding.pry
|
32
|
+
@week = doc.css('h1').text.split[5]
|
33
|
+
table = doc.css('tbody tr') # Selects the HTML table with player rankings
|
34
|
+
build_players(table, name)
|
35
|
+
end
|
36
|
+
|
37
|
+
def build_players(table,position)
|
38
|
+
# Input is HTML table of player rankings, instantiates Players, assigns name, rank, and url
|
39
|
+
table.each_with_index do |t, i|
|
40
|
+
if i < Scraper.size
|
41
|
+
p = Player.new
|
42
|
+
p.name = [t.text.split[1], t.text.split[3]].join(" ")
|
43
|
+
p.rank = t.text.split[0]
|
44
|
+
p.url = "https://www.fantasypros.com" + t.css('a')[0]["href"]
|
45
|
+
p.position = position.upcase
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
def add_attr(player)
|
51
|
+
# Scrapes player url stored in Player instance and assigns additional attributes
|
52
|
+
if player.scraped == nil
|
53
|
+
rescue_s = "n/a"
|
54
|
+
doc = Nokogiri::HTML(open(player.url))
|
55
|
+
player.projection = doc.css('.clearfix.detail span.pull-right')[2].text.split[0]
|
56
|
+
player.team = doc.css('div .pull-left h5').text.strip.split(" - ")[1]
|
57
|
+
player.height = doc.css('span.bio-detail')[0].text[8,6].strip
|
58
|
+
player.weight = doc.css('span.bio-detail')[1].text[8,3]
|
59
|
+
player.age = doc.css('span.bio-detail')[2].text[5,2]
|
60
|
+
player.college = (doc.css('span.bio-detail')[3].text.split(": ")[1].to_s rescue rescue_s)
|
61
|
+
player.scraped = "Y"
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
metadata
ADDED
@@ -0,0 +1,150 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fantasy-football
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- "'Mike Dilley'"
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-11-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: '1.17'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.17'
|
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: require_all
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: nokogiri
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: '"Displays weekly position rankings and stats from Fantasypros.com"'
|
98
|
+
email:
|
99
|
+
- "'mike.dilley@gmail.com'"
|
100
|
+
executables:
|
101
|
+
- console
|
102
|
+
- fantasyfootball
|
103
|
+
- setup
|
104
|
+
extensions: []
|
105
|
+
extra_rdoc_files: []
|
106
|
+
files:
|
107
|
+
- ".gitignore"
|
108
|
+
- CODE_OF_CONDUCT.md
|
109
|
+
- Gemfile
|
110
|
+
- Gemfile.lock
|
111
|
+
- LICENSE.txt
|
112
|
+
- README.md
|
113
|
+
- Rakefile
|
114
|
+
- bin/console
|
115
|
+
- bin/fantasyfootball
|
116
|
+
- bin/setup
|
117
|
+
- config/environment.rb
|
118
|
+
- fantasy-football.gemspec
|
119
|
+
- lib/fantasy-football.rb
|
120
|
+
- lib/fantasy_football/CLI.rb
|
121
|
+
- lib/fantasy_football/concerns/findable.rb
|
122
|
+
- lib/fantasy_football/concerns/memorable.rb
|
123
|
+
- lib/fantasy_football/player.rb
|
124
|
+
- lib/fantasy_football/scraper.rb
|
125
|
+
- lib/fantasy_football/version.rb
|
126
|
+
homepage: http://rubygems.org/gems/fantasy-football
|
127
|
+
licenses:
|
128
|
+
- MIT
|
129
|
+
metadata: {}
|
130
|
+
post_install_message:
|
131
|
+
rdoc_options: []
|
132
|
+
require_paths:
|
133
|
+
- lib
|
134
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
requirements: []
|
145
|
+
rubyforge_project:
|
146
|
+
rubygems_version: 2.7.8
|
147
|
+
signing_key:
|
148
|
+
specification_version: 4
|
149
|
+
summary: '"Fantasy Football"'
|
150
|
+
test_files: []
|