sportradar-api 0.19.4 → 0.19.5

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: cd632c76f639fcdd6627dbc2323fc85ee6b8fe20d3eb37b3f4ee1855590e2d54
4
- data.tar.gz: acaf3b496f64a18051969bd18a84de9dc8c717535c371cbd297329b5be804b6f
3
+ metadata.gz: 91d785ee5334307b7acd6551e671ab011d7efef696cc82efd1722fbee93f3c2c
4
+ data.tar.gz: '08f1b8db7db314e7dbf3e8be7981a53f7a1ca88bdb9903515fa6efb4f0bbd28b'
5
5
  SHA512:
6
- metadata.gz: a3d9a2d3b120f76804a9287ff0f5d734dccc674451bcaf48b71542849c62ac9e97480c43de38d886a564a3e30ee86075ce57152f68cf70524b508d6856dc7f9b
7
- data.tar.gz: ce834768c971a60c379029efa678a687c3465e0a4d2d75af51158068cc10e9436eca4014ddd2757cb018c0c3a611a10b107ada473b351391fde73b2512da1cea
6
+ metadata.gz: aceebc518749571b41197a196b688b4499253d59cfb038bb6f2acf6e2ae134ac2df7abecbd90eabb642a3a04c0c34326d118af67a1c42aa49fb1433bf7a19000
7
+ data.tar.gz: b989cb984461be64ab9118520f37273f3a0666d2777b673ea77e1aa2c4302528d98e28f234c1aae265d5af3a854e94028a754a2f1a9419f90ce6e59326a0afd5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sportradar-api (0.19.4)
4
+ sportradar-api (0.19.5)
5
5
  activesupport
6
6
  httparty (>= 0.14.0)
7
7
 
@@ -14,10 +14,6 @@ module Sportradar
14
14
  Player
15
15
  end
16
16
 
17
- def path_season_stats(year = season_year, season = nfl_season)
18
- "seasontd/#{year}/#{nfl_season}/teams/#{ id }/statistics"
19
- end
20
-
21
17
  def api
22
18
  @api || Sportradar::Api::Football::Nfl::Api.new
23
19
  end
@@ -139,13 +139,13 @@ module Sportradar
139
139
  "teams/#{ id }"
140
140
  end
141
141
  def path_base_stats(year = season_year, season = default_season)
142
- "seasontd/#{year}/#{season}/teams/#{id}"
142
+ "seasons/#{year}/#{season}/teams/#{id}"
143
143
  end
144
144
  def path_roster
145
145
  "#{ path_base }/profile" # nfl is profile, ncaa is roster
146
146
  end
147
- def path_season_stats
148
- "#{ path_base_stats }/statistics"
147
+ def path_season_stats(year = season_year, season = default_season)
148
+ "#{ path_base_stats(year, season) }/statistics"
149
149
  end
150
150
 
151
151
 
@@ -1,5 +1,5 @@
1
1
  module Sportradar
2
2
  module Api
3
- VERSION = "0.19.4"
3
+ VERSION = "0.19.5"
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.19.4
4
+ version: 0.19.5
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-07-22 00:00:00.000000000 Z
11
+ date: 2022-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler