overwatch_league 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -1
- data/lib/overwatch_league/api.rb +4 -0
- data/lib/overwatch_league/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: 32524768bba4a7ccef8a34be84e079dcac99e450
|
4
|
+
data.tar.gz: f112601aa7532ce418d60f42451e407d00b6a6ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eea91b206bf68948b0e3ad83607ab6c2fb9bf8aebb92f757cf537636ec8cc74c965d5a551371c621189fb8730c2f0b22e812d3515c18425fedd6f6fe35462093
|
7
|
+
data.tar.gz: eecdc6817a6b0bd9559e41ec7a455fe70960a46eea33158d9d0d2410f6a60eb3ddfcf205fd5411376ebb5e88b4744a8002823248c26113de570ca62c31a53c35
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,9 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
-
## [
|
7
|
+
## [1.1.0] - 2018-05-15
|
8
|
+
### Added
|
9
|
+
- Support for the live match endpoint (`client.live_match`)
|
8
10
|
|
9
11
|
## [1.0.0] - 2018-04-02
|
10
12
|
- Initial release
|
data/lib/overwatch_league/api.rb
CHANGED
@@ -31,6 +31,10 @@ module OverwatchLeague
|
|
31
31
|
handle_response(Request.get(URL.new("#{BASE_URL}/matches/#{match_id}")))
|
32
32
|
end
|
33
33
|
|
34
|
+
def live_match
|
35
|
+
handle_response(Request.get(URL.new("#{BASE_URL}/live-match")))
|
36
|
+
end
|
37
|
+
|
34
38
|
def schedule
|
35
39
|
handle_response(Request.get(URL.new("#{BASE_URL}/schedule")))
|
36
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: overwatch_league
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Gayfer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|