fantasy-football 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b11fbd88cf3dfc178a6686a488e6aedd727ff6dce636c86913fd9e9429b3db0b
4
- data.tar.gz: 6b6d3478c7e35b64ce53a9ca83676a6358b3b468e38e54257293db12f6880480
3
+ metadata.gz: c7b64077cc72f182c80b8fbef1d6cfe1d58d24f5ef3e35a3b77891f5c472c8ec
4
+ data.tar.gz: e3d0986bb8babd9e862390bce7f26a0f5cad59b7ddfe0e80404a17aecff89eb7
5
5
  SHA512:
6
- metadata.gz: 9f5443603c4e01c885773f05e0cf3d0dc5fee77941d8be3d6cd6eaa3be0610d88fafd8aef19e75335197b7f1810ae8f323329909ab159d16a82fead4842d15d5
7
- data.tar.gz: dd8b855a019762ee120c9ad49400f2a46299561f059e930258b5c3b4c9fec14b5914833e5e0f9aa34c81f38953034edb8368d64e7ac049865e0b05353dcf24c4
6
+ metadata.gz: 96a935f811fdeb33d9c8e48a0307553503e39f12c916aedd8b381d7a4503e6e9efc7897104397363854a392f8c56dd34daed0ef25b9e789b2de2869d34004031
7
+ data.tar.gz: d28423da0cb221d52b82ad92d25ce6433e85c14bee46c97d236fe930c1309937696ba54805d0650d54289fc744e9c82d7c82b4e46bf0759123f358c04a0e7068
@@ -27,7 +27,7 @@ class FantasyFootball::CLI
27
27
  # Iterates through Player.all to print player name and rankings by position
28
28
  puts " "
29
29
  puts "-- Top #{FantasyFootball::Scraper.size} #{position.upcase}s for Week #{11} 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}"}
30
+ FantasyFootball::Player.find_by_position(position).sort {|a,b| a.rank.to_i <=> b.rank.to_i}.each {|i| puts "#{i.rank}. #{i.name}"}
31
31
  puts " "
32
32
  end
33
33
 
@@ -10,9 +10,9 @@ module Findable
10
10
  self.all.find {|i| i.rank == rank && i.position == position.upcase}
11
11
  end
12
12
 
13
- def find_by_name(name)
14
- self.all.find {|i| i.name == name}
15
- end
13
+ # def find_by_name(name)
14
+ # self.all.find {|i| i.name == name}
15
+ # end
16
16
 
17
17
  end
18
18
 
@@ -1,3 +1,3 @@
1
1
  module FantasyFootball
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fantasy-football
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - "'Mike Dilley'"