sportradar-api 0.16.0 → 0.16.1

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: 728ba648950b8cab5dee8e41e1e69ac24147bee213382aa0f5b8554430918d85
4
- data.tar.gz: 38d070d071f227dcbbee7813fd737800ba551662247cdfd0683eacbfad9bddd3
3
+ metadata.gz: 03f6248dd4fefe7ad9dd9d6d51cde0e074458af60f6cccc5605c5e1ed122cf3c
4
+ data.tar.gz: 91b960f18557bf9f174d4558ff9a0b13b4b71d91405e4ffc48b60eea0e04ff37
5
5
  SHA512:
6
- metadata.gz: 0f51fe2a602f27a84639b040fb9220dc7fdb62c4cff598b7daee2f62f5124e94f2e3f28c7e34456a4c0bc9fccd8644289f791817c8c6fb60a8f09a4543921b9d
7
- data.tar.gz: 829d946e8e842d61b4842201327657b67400c60f6ffc95308c2fc2a46c68f0186fde2bc006aca677631356f3e7bb8a48705de8ac0720d902a53a34644d1b5bd7
6
+ metadata.gz: dbafa97a79e3514e7c5d26fed96ccc2a614cc8e4e924ebfef36563cc8486376e80bda2520a756417619a60631b28579d80dc391c8949dff12cbbb3f70b69b881
7
+ data.tar.gz: 45585e585a00f67e95620b9d38aee76889912cf26774f6b8dfec0c38af0f10fcf5e5b2a9a31548f1d308ec1e0dbc2ba6b8a589241941afcfd989b60db1dab5b4
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sportradar-api (0.15.1)
4
+ sportradar-api (0.16.1)
5
5
  activesupport
6
6
  httparty (>= 0.14.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (6.1.3.2)
11
+ activesupport (6.1.5)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 1.6, < 2)
14
14
  minitest (>= 5.1)
@@ -19,7 +19,7 @@ GEM
19
19
  codeclimate-test-reporter (1.0.8)
20
20
  simplecov (<= 0.13)
21
21
  coderay (1.1.1)
22
- concurrent-ruby (1.1.8)
22
+ concurrent-ruby (1.1.9)
23
23
  coveralls (0.8.19)
24
24
  json (>= 1.8, < 3)
25
25
  simplecov (~> 0.12.0)
@@ -31,12 +31,16 @@ GEM
31
31
  docile (1.1.5)
32
32
  dotenv (2.7.6)
33
33
  hashdiff (0.3.4)
34
- httparty (0.16.2)
34
+ httparty (0.20.0)
35
+ mime-types (~> 3.0)
35
36
  multi_xml (>= 0.5.2)
36
- i18n (1.8.10)
37
+ i18n (1.10.0)
37
38
  concurrent-ruby (~> 1.0)
38
39
  json (2.1.0)
39
40
  method_source (0.8.2)
41
+ mime-types (3.4.1)
42
+ mime-types-data (~> 3.2015)
43
+ mime-types-data (3.2022.0105)
40
44
  minitest (5.10.2)
41
45
  minitest-focus (1.1.2)
42
46
  minitest (>= 4, < 6)
@@ -65,7 +69,7 @@ GEM
65
69
  addressable (>= 2.3.6)
66
70
  crack (>= 0.3.2)
67
71
  hashdiff
68
- zeitwerk (2.4.2)
72
+ zeitwerk (2.5.4)
69
73
 
70
74
  PLATFORMS
71
75
  ruby
@@ -3,7 +3,7 @@ module Sportradar
3
3
  module Basketball
4
4
  class Nba
5
5
  class Player < Data
6
- attr_accessor :response, :id, :number, :full_name, :first_name, :last_name, :position, :birth_place, :college, :height, :weight, :averages, :totals, :draft, :stats, :team
6
+ attr_accessor :response, :id, :number, :full_name, :first_name, :last_name, :position, :birth_place, :college, :height, :weight, :averages, :totals, :draft, :stats, :team, :not_playing_reason, :not_playing_description
7
7
  # @all_hash = {}
8
8
  # def self.new(data, **opts)
9
9
  # existing = @all_hash[data['id']]
@@ -57,6 +57,8 @@ module Sportradar
57
57
  @experience = data['experience'] if data['experience'] # "3",
58
58
  @birth_place = data['birth_place'].gsub(',,', ', ') if data['birth_place'] # "Benin City,, NGA",
59
59
  @updated = data['updated'] if data['updated'] # "2016-07-08T12:11:59+00:00",
60
+ @not_playing_reason = data['not_playing_reason'] if data['not_playing_reason'] # "Inactive - Injury/Illness"
61
+ @not_playing_description = data['not_playing_description'] if data['not_playing_description'] # "Left Ankle; Sprain"
60
62
 
61
63
  # NBA specific below
62
64
 
@@ -1,5 +1,5 @@
1
1
  module Sportradar
2
2
  module Api
3
- VERSION = "0.16.0"
3
+ VERSION = "0.16.1"
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.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Eggett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-11 00:00:00.000000000 Z
11
+ date: 2022-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler