sportradar-api 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +10 -6
- data/lib/sportradar/api/basketball/nba/player.rb +3 -1
- data/lib/sportradar/api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03f6248dd4fefe7ad9dd9d6d51cde0e074458af60f6cccc5605c5e1ed122cf3c
|
4
|
+
data.tar.gz: 91b960f18557bf9f174d4558ff9a0b13b4b71d91405e4ffc48b60eea0e04ff37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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.
|
34
|
+
httparty (0.20.0)
|
35
|
+
mime-types (~> 3.0)
|
35
36
|
multi_xml (>= 0.5.2)
|
36
|
-
i18n (1.
|
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
|
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
|
|
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.
|
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-
|
11
|
+
date: 2022-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|