sportradar-api 0.12.1 → 0.12.2

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: b514a3e1f6532c216d3d19df5c189b45e4686f0c
4
- data.tar.gz: 9c08fc98da409006c5cea61c24b8976cb3af8bde
3
+ metadata.gz: 9538ff3b620cdabcbb587012dee95c598047dab8
4
+ data.tar.gz: aff8b8023390988c5e94bf682377deaa59c2331d
5
5
  SHA512:
6
- metadata.gz: 5058da90f72b7c8ddbf3b9172797e8684ae3e1275c2543439e44b37d462684e05b2a65400a14c02dfea087caceaf30656b35c4c2fc98d27a21c2cc82e31ffa4b
7
- data.tar.gz: 64dd72c03e03dec6bfd556da1b2a677c9bbf1ddfe70add51c73fb899f8a6a64808c46e75b118e558c0034b8ed651ff9f4743571aa0c629ba7468c78c5af82c58
6
+ metadata.gz: 7e9d4fa9f7106d57e003da562476be7922b4b7d8329e20d8d26c40e15cd02be696647e9bb96b1c08942ff4df2cce8516c673eb60fd128c1f564bfa1b552b319e
7
+ data.tar.gz: 500bee949be1ee8069fac9493452b9d61eaffda414c45db97a69c072f246ab38c19857c5102f7f6329be8f1292f79cdf4c7dcb2335173022c6d421bbc160393f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sportradar-api (0.12.1)
4
+ sportradar-api (0.12.2)
5
5
  activesupport
6
6
  httparty (>= 0.14.0)
7
7
 
@@ -59,6 +59,12 @@ module Sportradar
59
59
  "flagranttwo" => FlagrantTwo,
60
60
  "delay" => Delay,
61
61
  "ejection" => Ejection,
62
+ "defaultviolation" => DefaultViolation,
63
+ "defensivegoaltending" => DefensiveGoalTending,
64
+ "doublelane" => DoubleLane,
65
+ "lane" => Lane,
66
+ "possession" => Possession,
67
+ "stoppage" => Stoppage,
62
68
  # abstract types, used for lookup purposes
63
69
  "foul" => Foul,
64
70
  "shotmade" => ShotMade,
@@ -37,3 +37,9 @@ require_relative 'plays/flagrant_one'
37
37
  require_relative 'plays/flagrant_two'
38
38
  require_relative 'plays/delay'
39
39
  require_relative 'plays/ejection'
40
+ require_relative 'plays/default_violation'
41
+ require_relative 'plays/defensive_goal_tending'
42
+ require_relative 'plays/double_lane'
43
+ require_relative 'plays/lane'
44
+ require_relative 'plays/possession'
45
+ require_relative 'plays/stoppage'
@@ -0,0 +1,11 @@
1
+ module Sportradar
2
+ module Api
3
+ module Basketball
4
+ class DefaultViolation < Play::Base
5
+ def display_type
6
+ 'Default Violation'
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ module Sportradar
2
+ module Api
3
+ module Basketball
4
+ class DefensiveGoalTending < Play::Base
5
+ def display_type
6
+ 'Defensive Goal Tending'
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ module Sportradar
2
+ module Api
3
+ module Basketball
4
+ class DoubleLane < Play::Base
5
+ def display_type
6
+ 'Double Lane'
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ module Sportradar
2
+ module Api
3
+ module Basketball
4
+ class Lane < Play::Base
5
+ def display_type
6
+ 'Lane'
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ module Sportradar
2
+ module Api
3
+ module Basketball
4
+ class Possession < Play::Base
5
+ def display_type
6
+ 'Possession'
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ module Sportradar
2
+ module Api
3
+ module Basketball
4
+ class Stoppage < Play::Base
5
+ def display_type
6
+ 'Stoppage'
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -1,5 +1,5 @@
1
1
  module Sportradar
2
2
  module Api
3
- VERSION = "0.12.1"
3
+ VERSION = "0.12.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.12.1
4
+ version: 0.12.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: 2017-10-02 00:00:00.000000000 Z
11
+ date: 2017-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -301,8 +301,11 @@ files:
301
301
  - lib/sportradar/api/basketball/plays/block.rb
302
302
  - lib/sportradar/api/basketball/plays/clear_path_foul.rb
303
303
  - lib/sportradar/api/basketball/plays/deadball.rb
304
+ - lib/sportradar/api/basketball/plays/default_violation.rb
305
+ - lib/sportradar/api/basketball/plays/defensive_goal_tending.rb
304
306
  - lib/sportradar/api/basketball/plays/defensive_three_seconds.rb
305
307
  - lib/sportradar/api/basketball/plays/delay.rb
308
+ - lib/sportradar/api/basketball/plays/double_lane.rb
306
309
  - lib/sportradar/api/basketball/plays/ejection.rb
307
310
  - lib/sportradar/api/basketball/plays/end_period.rb
308
311
  - lib/sportradar/api/basketball/plays/flagrant_one.rb
@@ -312,18 +315,21 @@ files:
312
315
  - lib/sportradar/api/basketball/plays/free_throw_miss.rb
313
316
  - lib/sportradar/api/basketball/plays/jumpball.rb
314
317
  - lib/sportradar/api/basketball/plays/kickball.rb
318
+ - lib/sportradar/api/basketball/plays/lane.rb
315
319
  - lib/sportradar/api/basketball/plays/lineup_change.rb
316
320
  - lib/sportradar/api/basketball/plays/offensive_foul.rb
317
321
  - lib/sportradar/api/basketball/plays/official_timeout.rb
318
322
  - lib/sportradar/api/basketball/plays/open_inbound.rb
319
323
  - lib/sportradar/api/basketball/plays/open_tip.rb
320
324
  - lib/sportradar/api/basketball/plays/personal_foul.rb
325
+ - lib/sportradar/api/basketball/plays/possession.rb
321
326
  - lib/sportradar/api/basketball/plays/rebound.rb
322
327
  - lib/sportradar/api/basketball/plays/review.rb
323
328
  - lib/sportradar/api/basketball/plays/shooting_foul.rb
324
329
  - lib/sportradar/api/basketball/plays/shot_made.rb
325
330
  - lib/sportradar/api/basketball/plays/shot_miss.rb
326
331
  - lib/sportradar/api/basketball/plays/steal.rb
332
+ - lib/sportradar/api/basketball/plays/stoppage.rb
327
333
  - lib/sportradar/api/basketball/plays/team_timeout.rb
328
334
  - lib/sportradar/api/basketball/plays/technical_foul.rb
329
335
  - lib/sportradar/api/basketball/plays/three_point_made.rb