sportradar-api 0.20.0.pre2 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a4d74bbc98d4c89505d04f448536bc7ec81fff059ca2a2d4099bb52aec5be0a
4
- data.tar.gz: 8c4f9b76a6f8abc00a6ec0b674c8b09a34cb91a16151622998a7378b74c7e557
3
+ metadata.gz: efdb1c2b6c7dfaab41b0f12a3ce3f36ba5c887a9165f4e9f55cf93da6e06ffc0
4
+ data.tar.gz: fae52f1e64953e51d8329dcb8273de67cd83e156fe8f0c3b33200abe37c1fd34
5
5
  SHA512:
6
- metadata.gz: 19e8efe729085c89fe2845e8b3758b76589c947d267917bf1291d390ce2818c60b37a4d66e3ff327848b66ec74ab88c984f26570faf72a79766b7f4b9fce1847
7
- data.tar.gz: 5b46459f020f0321e1b5af4ba50c31722a7d35d751a833d12af1216b5271febf7374268bfc598ad2820cb12233586eec16d7b35506395232afa9a4254643e573
6
+ metadata.gz: cbb4cdd8825d33afa1b392641884a3cbd954769e257a31142ed5ea22a6c3b6ec495bd9472ff7af0317693cdd9e5f168187de3cb36fa8ffc461ad7f47011c7510
7
+ data.tar.gz: d731a41a12e03aa9f9e3353a896fefaa93c5719bba6a9029439ffa2f17e10cea20e5e7aa8383e136c549d215095cec5d03daf6edb6720b16b79610627064454d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sportradar-api (0.20.0.pre2)
4
+ sportradar-api (0.20.0)
5
5
  activesupport
6
6
  httparty (>= 0.14.0)
7
7
 
@@ -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
 
@@ -65,7 +65,7 @@ module Sportradar
65
65
  self
66
66
  end
67
67
  def api
68
- @api ||= Sportradar::Api::Mma.new
68
+ @api ||= Sportradar::Api::Mma::Api.new
69
69
  end
70
70
 
71
71
 
@@ -1,5 +1,5 @@
1
1
  module Sportradar
2
2
  module Api
3
- VERSION = "0.20.0.pre2"
3
+ VERSION = "0.20.0"
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.20.0.pre2
4
+ version: 0.20.0
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-09-23 00:00:00.000000000 Z
11
+ date: 2022-09-28 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: 1.3.1
464
+ version: '0'
465
465
  requirements: []
466
466
  rubygems_version: 3.0.3.1
467
467
  signing_key: