sportradar-api 0.10.30 → 0.10.31

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
  SHA1:
3
- metadata.gz: 5c44f4f297f8251584ebacb403e544ab0623a8ef
4
- data.tar.gz: a8bc5cdfa6a5614320de3ea6d8d829f800bfb8e6
3
+ metadata.gz: 1c264f75e77d632e06ccc8f355bfc5c53653384e
4
+ data.tar.gz: 4e4835a87533878018d8679120df936523f7db13
5
5
  SHA512:
6
- metadata.gz: b9ba096db5d13f83a6700fd45f94a28daa8d88dfb12fe31fc6116768dd7b82651bcd132fe3a45e75584cb0dade51f2987b4bd32c371da83ca425ee2095657e2b
7
- data.tar.gz: 7949556ce8398a1d989f5ee0c03bc6ed8083faa2d0ce47a5af476f94b11b538d54f77dc102d985a0caf35e7252aa4909f4ef94dae899060072a1b91ae246e32b
6
+ metadata.gz: 6f62768601a0c1d288fd084b51291fd3badce6e52dff3b1c6a48ffb3911cf16ed734beacccd8b69cc954046736355bc476544b9cabcbb7b7dc378ee8adec8ba2
7
+ data.tar.gz: 90320371676a43f3dd2216756c2bb2d5bc768dace85bcb55118b4524f5116f6c25ab3fd613c63b8a2444ce7978df2e2394977e10a5ebedae7a123dc990936b53
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sportradar-api (0.10.30)
4
+ sportradar-api (0.10.31)
5
5
  activesupport
6
6
  httparty (>= 0.14.0)
7
7
 
@@ -7,8 +7,8 @@ module Sportradar
7
7
 
8
8
  def initialize(data, **opts)
9
9
  @response = data
10
- @api = opts[:api]
11
- @event = opts[:event]
10
+ # @api = opts[:api]
11
+ # @event = opts[:event]
12
12
 
13
13
  @id = data["id"]
14
14
  @type = data['type']
@@ -2,7 +2,7 @@ module Sportradar
2
2
  module Api
3
3
  module Baseball
4
4
  class Pitch < Data
5
- attr_accessor :response, :id, :at_bat, :outcome_id, :status, :count, :is_ab_over, :warming_up, :runners, :errors, :pitch_type_name, :speed, :outcome, :hit_type
5
+ attr_accessor :response, :id, :at_bat, :outcome_id, :status, :count, :is_ab_over, :warming_up, :runners, :errors, :pitch_type_name, :x, :y, :total_pitch_count, :speed, :outcome, :hit_type,
6
6
 
7
7
  def initialize(data, **opts)
8
8
  @response = data
@@ -99,7 +99,7 @@ module Sportradar
99
99
  end
100
100
 
101
101
  def parse_steal(data)
102
-
102
+
103
103
  end
104
104
 
105
105
  {"type"=>"steal", "id"=>"76762fd9-683c-42f2-8c72-8d9fd4f5bc7b", "status"=>"official", "created_at"=>"2017-05-06T02:56:49+00:00", "pitcher"=>{"id"=>"9dd06397-4353-44e8-81bb-6e88a75e42b5"}, "runners"=>[{"id"=>"3e39fe20-6dca-4894-807b-1ce76ff93e29", "starting_base"=>1, "ending_base"=>1, "outcome_id"=>"", "out"=>false, "last_name"=>"Owings", "first_name"=>"Christopher", "preferred_name"=>"Chris", "jersey_number"=>"16"}]}
@@ -1,5 +1,5 @@
1
1
  module Sportradar
2
2
  module Api
3
- VERSION = "0.10.30"
3
+ VERSION = "0.10.31"
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.10.30
4
+ version: 0.10.31
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-05-12 00:00:00.000000000 Z
11
+ date: 2017-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler