stattleship-ruby 0.1.26 → 0.1.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/stattleship/models/pitch.rb +25 -17
- data/lib/stattleship/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e7920e5c728d3b9c37822b772e3638927c319f5
|
4
|
+
data.tar.gz: 4addc7e1ddcfe87a2bcd27e25cd28f630e61619d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b0c09ba9fbb714353f54a727f589f6a69bc550035453bb86ba3e82bda674b4a9b9881125d037c0992c0228b7b2e39ebaacd4bae042d7f3f6b3a97beae25d37a
|
7
|
+
data.tar.gz: 4037775d041090335319b976389625d4dece72574b4175c0d90f4e64ce9371267ad98367818c76542fedf010d89fce31c202aafa14e51bf0a14e8afd8346e0f3
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Check out the [Stattleship API](https://api.stattleship.com) - The Sports Data A
|
|
9
9
|
|
10
10
|
Meaningful. Developer-Friendly.
|
11
11
|
|
12
|
-
:football: :basketball: and :black_circle: :
|
12
|
+
:football: :basketball: and :black_circle: :snowflake: and :baseball: !
|
13
13
|
|
14
14
|
We're gonna need a bigger :boat:!
|
15
15
|
|
@@ -22,7 +22,7 @@ gem install stattleship-ruby
|
|
22
22
|
## Usage
|
23
23
|
|
24
24
|
```
|
25
|
-
gem 'stattleship-ruby', '~> 0.1.
|
25
|
+
gem 'stattleship-ruby', '~> 0.1.26'
|
26
26
|
```
|
27
27
|
|
28
28
|
### Build
|
@@ -34,7 +34,7 @@ gem build stattleship-ruby.gemspec
|
|
34
34
|
### Install
|
35
35
|
|
36
36
|
```rb
|
37
|
-
gem install stattleship-ruby-0.1.
|
37
|
+
gem install stattleship-ruby-0.1.26.gem
|
38
38
|
```
|
39
39
|
## Prerequisites
|
40
40
|
|
@@ -255,26 +255,27 @@ module Stattleship
|
|
255
255
|
def dump
|
256
256
|
{
|
257
257
|
id: id,
|
258
|
-
half: half,
|
259
|
-
hit_location: hit_location,
|
260
|
-
hit_type: hit_type,
|
261
|
-
inning_label: inning_label,
|
262
|
-
pitch_name: pitch_name,
|
263
|
-
pitch_outcome: pitch_outcome,
|
264
|
-
pitch_outcome_type: pitch_outcome_type,
|
265
|
-
pitch_type: pitch_type,
|
266
258
|
at_bat_balls: at_bat_balls,
|
267
259
|
at_bat_outs: at_bat_outs,
|
268
260
|
at_bat_pitch_count: at_bat_pitch_count,
|
269
261
|
at_bat_strikes: at_bat_strikes,
|
262
|
+
description: description,
|
270
263
|
even_count: even_count,
|
264
|
+
event_id: event_id,
|
271
265
|
full_count: full_count,
|
266
|
+
game_id: game_id,
|
267
|
+
half: half,
|
268
|
+
hit_description: hit_description,
|
269
|
+
hit_location: hit_location,
|
270
|
+
hit_location_name: hit_location_name,
|
271
|
+
hit_type: hit_type,
|
272
|
+
hitter_id: hitter_id,
|
273
|
+
hitter_name: hitter_name,
|
272
274
|
hitter_pitch_count: hitter_pitch_count,
|
275
|
+
hitter_team_id: hitter_team_id,
|
276
|
+
hitter_team_name: hitter_team_name,
|
273
277
|
inning: inning,
|
274
|
-
|
275
|
-
pitch_speed: pitch_speed,
|
276
|
-
pitch_count: pitch_count,
|
277
|
-
pitch_zone: pitch_zone,
|
278
|
+
inning_label: inning_label,
|
278
279
|
is_at_bat: is_at_bat,
|
279
280
|
is_at_bat_over: is_at_bat_over,
|
280
281
|
is_bunt: is_bunt,
|
@@ -285,14 +286,21 @@ module Stattleship
|
|
285
286
|
is_passed_ball: is_passed_ball,
|
286
287
|
is_triple_play: is_triple_play,
|
287
288
|
is_wild_pitch: is_wild_pitch,
|
289
|
+
ordinal_inning: ordinal_inning,
|
290
|
+
pitch_count: pitch_count,
|
291
|
+
pitch_description: pitch_description,
|
292
|
+
pitch_name: pitch_name,
|
293
|
+
pitch_outcome: pitch_outcome,
|
294
|
+
pitch_outcome_type: pitch_outcome_type,
|
295
|
+
pitch_speed: pitch_speed,
|
296
|
+
pitch_type: pitch_type,
|
297
|
+
pitch_zone: pitch_zone,
|
288
298
|
pitched_at: pitched_at,
|
289
|
-
event_id: event_id,
|
290
|
-
game_id: game_id,
|
291
|
-
team_id: team_id,
|
292
299
|
pitcher_id: pitcher_id,
|
293
|
-
hitter_id: hitter_id,
|
294
|
-
hitter_team_id: hitter_team_id,
|
295
300
|
pitcher_name: pitcher_name,
|
301
|
+
sequence: sequence,
|
302
|
+
team_id: team_id,
|
303
|
+
team_name: team_name,
|
296
304
|
}
|
297
305
|
end
|
298
306
|
end
|
data/lib/stattleship/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stattleship-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stattleship
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-03-
|
12
|
+
date: 2017-03-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|