sportradar-api 0.20.1 → 0.20.2

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: feff44514bfe6c281e70d1653b6731e8aac164aba41c8a553c91c2423e63f431
4
- data.tar.gz: 194fc5979bcb4854dca7e84635f6573a6cc70e0deff8203cf5fe5e8ad04a762e
3
+ metadata.gz: 842d41517346b22c3cb540f9132a514dff1baa8c256d04f013df6e560faf06f6
4
+ data.tar.gz: b815a45030f676ba70be4fce250b5e0a08aaa37c2e3f44b3324d9faeaef709df
5
5
  SHA512:
6
- metadata.gz: dd72783790004da3c337019dbcd0756e0d0d39701680f7f2d7d9970af3500825c6cd8dbe1bb3185674872b2826018d31bc85c3b9444a58c7e53ace5c70f48975
7
- data.tar.gz: 323013f8c74cd2dcaa166fe6d76e1c1989ed8547dcf74ea2a71db6e1d41b51e4b8177639e5797b46e4e88cf87cb16989da598e2e14871b0419ba29441ca092fd
6
+ metadata.gz: f5e73668cb8586e14ef06ee7b4844f1e134dead13d4258f76c3ed911c8f562ca6b05c809a91633fde56b85a4b4d3d1752ed13e354ec8564014d13b12d9c0a585
7
+ data.tar.gz: 0d56e21705c97697741d8ca42d1c58b0310b720b44710d11bc5f3639db638c018e790471c52cbdeab77601f59b27a36aee93bdd5fc2becd4663ed3234c68a146
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sportradar-api (0.20.1)
4
+ sportradar-api (0.20.2)
5
5
  activesupport
6
6
  httparty (>= 0.14.0)
7
7
 
@@ -29,9 +29,9 @@ module Sportradar
29
29
 
30
30
  def get_player_props
31
31
  prop_data = fetch_player_props.fetch('competition_sport_events_players_props', [])
32
- if prop_data.size == 10
32
+ if prop_data.size > 0
33
33
  new_data = prop_data
34
- while new_data.size == 10
34
+ while new_data.size > 0
35
35
  new_data = fetch_player_props(start: prop_data.size).fetch('competition_sport_events_players_props', [])
36
36
  prop_data += new_data
37
37
  end
@@ -1,5 +1,5 @@
1
1
  module Sportradar
2
2
  module Api
3
- VERSION = "0.20.1"
3
+ VERSION = "0.20.2"
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.1
4
+ version: 0.20.2
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-10-13 00:00:00.000000000 Z
11
+ date: 2022-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler