espn_pub 0.1.12 → 0.1.13

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
  SHA256:
3
- metadata.gz: 30fd533f6b593e843a5744e575737f138ea6af33963b07937696f67cb970ab47
4
- data.tar.gz: 19d211169bb883ec04ed6548e3dc826a300d7eeaba472c1562761ef619f6b450
3
+ metadata.gz: 68325ed9c1b710f4f358c7f3baac8f6efc41321821dfed6d86da6b3074479621
4
+ data.tar.gz: 973468036ecbf7c93b0fd87140610e3eda5c66ceed81552984490af802cb4634
5
5
  SHA512:
6
- metadata.gz: 8cabbe8888557c9e5f8066c7a870bd2616a8ea2e472675e4393b051c01564c6acbd2da402a4671605684109630a82117e5674f9ba32be651d1aabfc0f1c29fb8
7
- data.tar.gz: 818ded422a8067dc5fc44d27867e1fbfd3675feeb1b68d11335d5c23ed4e0c77a57678f1b0d6e8f26aa2f83c46436dc4d87a43761e22b46ccc7e0627dca38b74
6
+ metadata.gz: 91432e1617a1b61514e8b2d60b364143d2b70aa1f09ea987f00306c780aa2ff1d44ff145f35db22a886414c221987641fdcef4d4668910d2351b386713f502fd
7
+ data.tar.gz: a47e0dcc0ce5053f8df672326ea3a94e12c7659e72f8ea2612214c9ba40b170d4062677e3b130d3234d42d02d4745b8ecfb96d9753d6b84a9fa83cbc24fed005
@@ -62,7 +62,7 @@ module EspnPub
62
62
  stats_data[key] = athlete['stats'][index]
63
63
  end
64
64
  @player_game_stats << EspnPub::Entities::PlayerGameStat.new(
65
- player: player, team: team, stats_data: stats_data
65
+ player: player, team: team, stats_data: stats_data, starter: athlete['starter']
66
66
  )
67
67
  end
68
68
  end
@@ -3,12 +3,13 @@
3
3
  module EspnPub
4
4
  module Entities
5
5
  class PlayerGameStat < Base
6
- attr_reader :player, :team, :stats_data
6
+ attr_reader :player, :team, :stats_data, :starter
7
7
 
8
- def initialize(player:, team:, stats_data: {})
8
+ def initialize(player:, team:, stats_data: {}, starter: false)
9
9
  @player = player
10
10
  @team = team
11
11
  @stats_data = stats_data
12
+ @starter = starter
12
13
  super()
13
14
  end
14
15
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EspnPub
4
- VERSION = '0.1.12'
4
+ VERSION = '0.1.13'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: espn_pub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeffrey Bowman