taric 0.1.10 → 0.1.11
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 +4 -4
- data/lib/taric/operation/api.rb +2 -0
- data/lib/taric/operation/api_challenge.rb +20 -0
- data/lib/taric/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed77ff9affb7844366896d0dfcf3c3d0d5f01b5a
|
4
|
+
data.tar.gz: d79cd98d16a3b5e8c74c64dc1c4b4bc6734d0ce1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87bfaf8c38a124e03f995c11b83e77b92e38f191ae40cbb7d73f0aed79afb351f1dfc365c021ad1a77106c037e361f4fec66c35fa83bc512f36e3f8a489b0e40
|
7
|
+
data.tar.gz: 522320c21bc0accd72a6fc61ad7250379cf0037dbc86427a56329a65ec0855fab094fe3ec5da5e3ea1e29a5b09daeef1622d0677e9c7508191e8a8be983a243d
|
data/lib/taric/operation/api.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require_relative 'api_challenge'
|
1
2
|
require_relative 'champion'
|
2
3
|
require_relative 'current_game'
|
3
4
|
require_relative 'featured_games'
|
@@ -13,6 +14,7 @@ require_relative 'team'
|
|
13
14
|
module Taric
|
14
15
|
module Operation
|
15
16
|
module API
|
17
|
+
include Taric::Operation::ApiChallenge
|
16
18
|
include Taric::Operation::Champion
|
17
19
|
include Taric::Operation::CurrentGame
|
18
20
|
include Taric::Operation::FeaturedGames
|
@@ -0,0 +1,20 @@
|
|
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
|
+
|
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.1.
|
4
|
+
version: 0.1.11
|
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-
|
11
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -193,6 +193,7 @@ files:
|
|
193
193
|
- lib/taric/connection.rb
|
194
194
|
- lib/taric/faraday_middleware/http_exception.rb
|
195
195
|
- lib/taric/operation/api.rb
|
196
|
+
- lib/taric/operation/api_challenge.rb
|
196
197
|
- lib/taric/operation/base.rb
|
197
198
|
- lib/taric/operation/champion.rb
|
198
199
|
- lib/taric/operation/current_game.rb
|
@@ -228,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
229
|
version: '0'
|
229
230
|
requirements: []
|
230
231
|
rubyforge_project:
|
231
|
-
rubygems_version: 2.4.
|
232
|
+
rubygems_version: 2.4.3
|
232
233
|
signing_key:
|
233
234
|
specification_version: 4
|
234
235
|
summary: An outrageous Riot Games LoL API Client
|