sportradar-api 0.13.24 → 0.13.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: efcf47e5a6970b82c0795211958c277f99dcf61d
4
- data.tar.gz: 7b786d9ae02be5189fdecad0306621c701bdd3d5
3
+ metadata.gz: c946f7dda0d6878bd5ae159bd1878ee25512c4a7
4
+ data.tar.gz: a4facc3791511a862e793dc227da6173115da242
5
5
  SHA512:
6
- metadata.gz: 4b810969dc532fc4d48ed7e508a8751d6e808bdc0bbafed3030c521cd2c61faa4ca71ec990201bdc28a02beddc7a37a9509bb77c1fd2e21f6d48e515f138492b
7
- data.tar.gz: 39e1ed6c33019876d4bd1b9ad58e0c6fc93149e3f927d049e74ca3ce41d6033615c0c9620414bec1710a3eaa2e5624350e64256e1244cc87e5fe6c898db4be3e
6
+ metadata.gz: fb2183dd1ac0b9758ce3edd045a2a1f0c19f9d256d7f00e58d254266cc830c4150539741be62ed5f4a47d69a14ba77dc21cd4c899931709529a5c5ef87c66ca2
7
+ data.tar.gz: 6b0604041ae25e2af2d1aca84f25413bbf486935b5df23e6b368a474d23c38fb14ae81cbb310b8ad6f46210b4c8e48078f003107a1909b57d9d8c0a407d173e7
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sportradar-api (0.13.24)
4
+ sportradar-api (0.13.25)
5
5
  activesupport
6
6
  httparty (>= 0.14.0)
7
7
 
@@ -96,6 +96,14 @@ module Sportradar
96
96
  @name || [@first_name, @last_name].join(' ')
97
97
  end
98
98
 
99
+ def birth_date
100
+ @date_of_birth
101
+ end
102
+
103
+ def jersey
104
+ @jersey_number
105
+ end
106
+
99
107
  def first_name
100
108
  @name.split()[1]
101
109
  end
@@ -150,6 +150,9 @@ module Sportradar
150
150
  data = api.get_data(path_statistics(tourn_id)).to_h
151
151
  ingest_statistics(data)
152
152
  end
153
+ def get_season_stats(*args)
154
+ get_statistics
155
+ end
153
156
  def ingest_statistics(data)
154
157
  update(data)
155
158
  data
@@ -1,5 +1,5 @@
1
1
  module Sportradar
2
2
  module Api
3
- VERSION = "0.13.24"
3
+ VERSION = "0.13.25"
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.13.24
4
+ version: 0.13.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Eggett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler