fantasyCompare 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f53d9e37a3e024dce12d2639d8fefb60ddde1077
4
- data.tar.gz: 1d7125c423992754bd92c71e18b42d9b19d3e897
3
+ metadata.gz: 1976b9046a53d5fc08835038600417432f52e17d
4
+ data.tar.gz: 05a16b6f4e5ae7b608ef3ed3dde7bbcda0654408
5
5
  SHA512:
6
- metadata.gz: e0df96c022c878c21608b32356579c27e7e0b39655434ccca36b00d888989a467cd4fefff07fb069ab45edb77a9c8afea3af37fa99fecbece0578ca31e4d63b0
7
- data.tar.gz: 8f8a6fbbcf7d9770825374ec082af0e23ca37ec2b2626eaa36c6569f0d78f209823da28f53259df0fdf57ea04b4eba5142c0dec970190175d5583bbbb0bfb774
6
+ metadata.gz: e442b592857f00da615348bd96f94d51f82946d2fc7e82c53aa5a98f35fd3f9fd3a4df6133fe2be787a84d3838c7a5aea107dd5a8d44a66b670dd40f9134b98d
7
+ data.tar.gz: a68b1d4247dbe5d1ac331236b6e44fc187e300cc1f26154e782d607f20d0bcd33ef2032af5c745b6129301aa653a0a7bf84eb639b7f2813d3bd435080e54c5b1
data/README.md CHANGED
@@ -24,7 +24,7 @@ Or install it yourself as:
24
24
 
25
25
  Gem runs in a console where it first displays a list of fantasy football positions. The console then asks the user for an input(1-6) to pick a valid position and a fantasy football week. The console then displays a list of the 10 ten players for that position and their project points for the selected week. The console then asks the user to pick a player for a more detailed view of that player.
26
26
 
27
- In the detail view the players status is displayed and the most recent note for that player. The console then ask's if an additional note should be displayed. If yes is selected notes can be displayed until there are no more. If no is selected or if there are no more notes the console finally asks if details for another position should be displayed. A yes input will start the program over and no input will exit.
27
+ In the detail view the players status is displayed and the most recent note for that player. The console then ask's if an additional note should be displayed. If yes is selected notes can be displayed until there are no more. If no is selected or if there are no more notes the console finally asks if details for another position should be displayed. A yes input will start the program over and no input will exit.
28
28
 
29
29
  ## Development
30
30
 
@@ -34,7 +34,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
34
34
 
35
35
  ## Contributing
36
36
 
37
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/fantasyCompare. 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.
37
+ Bug reports and pull requests are welcome on GitHub at https://github.com/jminterwebs/fantasyCompare. 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.
38
38
 
39
39
 
40
40
  ## License
@@ -54,7 +54,7 @@ class FantasyCompare::NFLJSON
54
54
 
55
55
  #obtain detail veiw of player
56
56
  def self.detail_player_view(info)
57
- info
57
+ info -= 1
58
58
  @playerId = @top_ten[info][:playerId]
59
59
  @playerName = @top_ten[info][:name]
60
60
  @projectedPoints = @top_ten[info][:weekProjectedPts]
@@ -48,7 +48,7 @@ class FantasyCompare::CLI
48
48
  #Validate input
49
49
  while !info.between?(1,10)
50
50
  puts "Invalid Input\n"
51
- puts "Please select a team to find out more info (1-10)\n\n"
51
+ puts "Please select a player to find out more info (1-10)\n\n"
52
52
  FantasyCompare::NFLJSON.list
53
53
  info = gets.chomp
54
54
  info = info.to_i
@@ -1,3 +1,3 @@
1
1
  module FantasyCompare
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fantasyCompare
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Verdone
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-26 00:00:00.000000000 Z
11
+ date: 2016-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler