sportradar-api 0.20.0.pre2 → 0.20.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 +1 -1
- data/lib/sportradar/api/mma/fight.rb +4 -1
- data/lib/sportradar/api/mma/fighter.rb +1 -1
- data/lib/sportradar/api/odds/api.rb +1 -1
- data/lib/sportradar/api/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: feff44514bfe6c281e70d1653b6731e8aac164aba41c8a553c91c2423e63f431
|
4
|
+
data.tar.gz: 194fc5979bcb4854dca7e84635f6573a6cc70e0deff8203cf5fe5e8ad04a762e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd72783790004da3c337019dbcd0756e0d0d39701680f7f2d7d9970af3500825c6cd8dbe1bb3185674872b2826018d31bc85c3b9444a58c7e53ace5c70f48975
|
7
|
+
data.tar.gz: 323013f8c74cd2dcaa166fe6d76e1c1989ed8547dcf74ea2a71db6e1d41b51e4b8177639e5797b46e4e88cf87cb16989da598e2e14871b0419ba29441ca092fd
|
data/Gemfile.lock
CHANGED
@@ -21,6 +21,9 @@ module Sportradar
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def update(data, **opts)
|
24
|
+
if data["summaries"]
|
25
|
+
update(data["summaries"][0])
|
26
|
+
end
|
24
27
|
if data["sport_event"]
|
25
28
|
update(data["sport_event"])
|
26
29
|
end
|
@@ -93,7 +96,7 @@ module Sportradar
|
|
93
96
|
end
|
94
97
|
|
95
98
|
def api
|
96
|
-
@api ||= Sportradar::Api::Mma.new
|
99
|
+
@api ||= Sportradar::Api::Mma::Api.new
|
97
100
|
end
|
98
101
|
|
99
102
|
|
@@ -4,7 +4,7 @@ module Sportradar
|
|
4
4
|
class Api < Request
|
5
5
|
attr_accessor :access_level, :language_code, :error, :base_path
|
6
6
|
|
7
|
-
def initialize(base_path
|
7
|
+
def initialize(base_path:, access_level: default_access_level, language_code: 'en', **args)
|
8
8
|
@language_code = language_code
|
9
9
|
@access_level = access_level
|
10
10
|
@base_path = base_path
|
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.20.
|
4
|
+
version: 0.20.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-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -459,9 +459,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
459
459
|
version: '0'
|
460
460
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
461
461
|
requirements:
|
462
|
-
- - "
|
462
|
+
- - ">="
|
463
463
|
- !ruby/object:Gem::Version
|
464
|
-
version:
|
464
|
+
version: '0'
|
465
465
|
requirements: []
|
466
466
|
rubygems_version: 3.0.3.1
|
467
467
|
signing_key:
|