sportradar-api 0.9.16 → 0.9.17

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: 8582a2c0c94740c070a8293d6279da12fb26cfe5
4
- data.tar.gz: 9698893979b00646a6511cf7377847002fb85454
3
+ metadata.gz: 7fa8cfaa78c197997ea8a55a737ec83556b798b2
4
+ data.tar.gz: 348fc5f03d7ef1109a05a68852aa2656d9f33070
5
5
  SHA512:
6
- metadata.gz: 253839094180edd6e9f0064c0304c6cce6bc6020f04acedcddb6e03afe97400540c2ad14c1c74d95082d4866e7091677ea78e3307b56c27a4ce6029b5b9f4e47
7
- data.tar.gz: 3089af1aeb456a4d312da2083360ec052db85378ff5f77416b0cf71c2e68563d210b7081ceefbc3e0007386d0f0f15c255ccd9ff0a5fb8fb23b788d2ac6ccbf9
6
+ metadata.gz: b64740547695b00e70edf8fb8491082a9b12be6b019f6478d342afa3996f9c4738b564106e3787c7066199a354c920de249a84d0e01dfa59fc08abf3ad1cb27f
7
+ data.tar.gz: 595c5e13f950145ec5c7cbf0870fd5035bffb1cd2b223db239531ec43833e6818f653fdc3564a7dbd273af649978c8d3a83bf78e8bc385e89bc6f1cc99e8ec65
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sportradar-api (0.9.16)
4
+ sportradar-api (0.9.17)
5
5
  activesupport
6
6
  httparty (>= 0.14.0)
7
7
 
@@ -102,6 +102,21 @@ module Sportradar
102
102
  Array(drives&.flat_map(&:plays)).compact
103
103
  end
104
104
 
105
+ def status_description
106
+ {
107
+ "scheduled" => "The game is currently scheduled to occur.",
108
+ "inprogress" => "The game is currently in progress.",
109
+ "halftime" => "The game is currently at the half.",
110
+ "complete" => "The game is over, but the statistics validation process has not been completed.",
111
+ "closed" => "The game is over and the game statistics have been validated.",
112
+ "cancelled" => "The game has been cancelled.",
113
+ "postponed" => "The scheduled game has been postponed for some reason.",
114
+ "delayed" => "The scheduled game, or a game that was in progress, is now delayed for some reason.",
115
+ "flex-schedule" => "The game is currently scheduled to occur on a specific date and time, however, it will more than likely be moved to a different time for broadcast purposes.",
116
+ "time-tbd" => "The game is scheduled to occur, the date is known, but the start time has not been determined.",
117
+ }
118
+ end
119
+
105
120
  end
106
121
  end
107
122
  end
@@ -1,5 +1,5 @@
1
1
  module Sportradar
2
2
  module Api
3
- VERSION = "0.9.16"
3
+ VERSION = "0.9.17"
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.9.16
4
+ version: 0.9.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Eggett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-02 00:00:00.000000000 Z
11
+ date: 2016-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler