sportradar-api 0.11.9 → 0.11.10

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: fc9d140eb11ff45b096f19d0b68a3ee8e984149f
4
- data.tar.gz: a6deabc219ceb7ffc0b6814c158793f0cbd38431
3
+ metadata.gz: 4839fd6c6af069dbe087ea76e0f1777a15b1213d
4
+ data.tar.gz: 72e6fe0e97191c2bd5a5242dd6f81c15de05420d
5
5
  SHA512:
6
- metadata.gz: 293eeffe7e2680674e071fe5ba0d4fe3c68533be5bab3c65374a95c5998e8fe3921981587aefe81551a589af82c6bba03dd8b46b9e09bf5a574d990a63b2b68b
7
- data.tar.gz: 1acdac3e217c7ff3d258dcb4f0aa7a4d58b45ac1d371d8e2c068bec419b22a45e9c19a27caeec9f0e6ce35783de3d3777f570d73a334863de1d8732520b2991d
6
+ metadata.gz: 69996a8c6b94180a7fa7c034c98dd934b9852cfac768f0b6a2477804b46514a17250a9922ead25828e68714fdac2f77f940934a5c146c10e0823319f1e03895a
7
+ data.tar.gz: 824e65180da75ad5b197091f3eb8a0eb0a57d2c4eb7aff5d872a08f28bde1d5967096873b8716935ac3ed0fb2bac87fbec94fe9d5be47c79898aea848d439810
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sportradar-api (0.11.9)
4
+ sportradar-api (0.11.10)
5
5
  activesupport
6
6
  httparty (>= 0.14.0)
7
7
 
@@ -17,16 +17,16 @@ module Sportradar
17
17
  @first_downs = data["first_downs"]
18
18
  @interceptions = data["interceptions"]
19
19
  @touchdowns = data["touchdowns"]
20
- @possession_time = data["possession_time"]
21
- @avg_gain = data["avg_gain"]
22
- @safeties = data["safeties"]
23
- @turnovers = data["turnovers"]
24
- @play_count = data["play_count"]
25
- @rush_plays = data["rush_plays"]
26
- @total_yards = data["total_yards"]
27
- @lost_fumbles = data["lost_fumbles"]
28
- @penalty_yards = data["penalty_yards"]
29
- @return_yards = data["return_yards"]
20
+ @possession_time = data.dig('summary', "possession_time")
21
+ @avg_gain = data.dig('summary', "avg_gain")
22
+ @safeties = data.dig('summary', "safeties")
23
+ @turnovers = data.dig('summary', "turnovers")
24
+ @play_count = data.dig('summary', "play_count")
25
+ @rush_plays = data.dig('summary', "rush_plays")
26
+ @total_yards = data.dig('summary', "total_yards")
27
+ @lost_fumbles = data.dig('summary', "lost_fumbles")
28
+ @penalty_yards = data.dig('summary', "penalty_yards")
29
+ @return_yards = data.dig('summary', "return_yards")
30
30
  end
31
31
 
32
32
  # :skip_test_coverage:
@@ -2,7 +2,7 @@ module Sportradar
2
2
  module Api
3
3
  module Football
4
4
  class Nfl < Data
5
- attr_accessor :response, :id, :name, :alias, :type
5
+ attr_accessor :response, :id, :name, :alias, :type, :season
6
6
  def all_attributes
7
7
  [:name, :alias, :leagues, :divisions, :teams]
8
8
  end
@@ -1,5 +1,5 @@
1
1
  module Sportradar
2
2
  module Api
3
- VERSION = "0.11.9"
3
+ VERSION = "0.11.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportradar-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.9
4
+ version: 0.11.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Eggett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-10 00:00:00.000000000 Z
11
+ date: 2017-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler