taric 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/taric/operation/api.rb +0 -2
- data/lib/taric/version.rb +1 -1
- metadata +2 -3
- data/lib/taric/operation/api_challenge.rb +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7902c7e824920bcdc9adc4b42f334dbac902fe68
|
4
|
+
data.tar.gz: 30e5b9ef6a135ec72dd44734aa884660064fc3f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43f68e87d1cffe89e1a40bd4bf6ed7413e3e554800052d1b7690a4fcaff2fc075cdb2b21655f8201cbcbadfc3aa805e279099d4c0c588643053683a5daa7236c
|
7
|
+
data.tar.gz: 1a012bddbce732f14f9ebf8b445e87c1dcc6ed2e0f511346a63fa62929c46db3794f659d544f98b29bed48d3d80f67ddae41b4b3f2dcfda503f2dca0cb451d77
|
data/lib/taric/operation/api.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require_relative 'api_challenge'
|
2
1
|
require_relative 'champion'
|
3
2
|
require_relative 'current_game'
|
4
3
|
require_relative 'featured_games'
|
@@ -14,7 +13,6 @@ require_relative 'team'
|
|
14
13
|
module Taric
|
15
14
|
module Operation
|
16
15
|
module API
|
17
|
-
include Taric::Operation::ApiChallenge
|
18
16
|
include Taric::Operation::Champion
|
19
17
|
include Taric::Operation::CurrentGame
|
20
18
|
include Taric::Operation::FeaturedGames
|
data/lib/taric/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taric
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joseph Yi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -179,7 +179,6 @@ files:
|
|
179
179
|
- lib/taric/connection.rb
|
180
180
|
- lib/taric/faraday_middleware/http_exception.rb
|
181
181
|
- lib/taric/operation/api.rb
|
182
|
-
- lib/taric/operation/api_challenge.rb
|
183
182
|
- lib/taric/operation/base.rb
|
184
183
|
- lib/taric/operation/champion.rb
|
185
184
|
- lib/taric/operation/current_game.rb
|
@@ -1,20 +0,0 @@
|
|
1
|
-
require_relative 'base'
|
2
|
-
require 'addressable/template'
|
3
|
-
|
4
|
-
module Taric
|
5
|
-
module Operation
|
6
|
-
module ApiChallenge
|
7
|
-
include Taric::Operation::Base
|
8
|
-
API_CHALLENGE_VERSION = 'v4.1'.freeze
|
9
|
-
API_CHALLENGE_MATCH_IDS = Addressable::Template.new "#{BASE_URL_FN.(API_CHALLENGE_VERSION)}/game/ids{?api_key,beginDate}"
|
10
|
-
|
11
|
-
# Match ids given a begin date
|
12
|
-
#
|
13
|
-
#
|
14
|
-
def api_challenge_match_ids(begin_date:)
|
15
|
-
response_for API_CHALLENGE_MATCH_IDS, beginDate: begin_date
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|