taric 0.2.4 → 0.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a88eda498245683a65e7d0d4f32eff6ef9036129
4
- data.tar.gz: 4854b59ce8bcc6da7e16dd2343ef964b81095a12
3
+ metadata.gz: beb46c3b1da808ad15546bf88fa8f9598140f14c
4
+ data.tar.gz: 7803f4ec8cdba2678630ed624493791c5fd38df9
5
5
  SHA512:
6
- metadata.gz: 6caeeca75021ac85f5df528b01e44f04112208ba87d35461bb57bdcde9598e68405ff3eac2f0382abd94933c39e2f8e1702d1c3a3fb5e6e60b7cc9b36ad38af1
7
- data.tar.gz: 98ef5f9e68c33986b36de804ae377660ce23e4c06ad493ccd10772423a0a54b4b9c110ef3e946449cf76aa1a85b35767d60d528ea09a88bd2574fb5f4d796ba8
6
+ metadata.gz: 80fdf126427867386bd1f3f975b3c5c1e729e948c9a69daa727e6ee774567fd5ad450f11dc7d2184c8484d876e8779f05b82dd8e5a7fef4c6837e72da7e134be
7
+ data.tar.gz: d37da4ae84c504b07ec13f926c36418614362f5cf008cc361ec4ef40779be26a53935ecb7cf04c33282f533370c7ae27f67a34a94dc582fa4bf984067a558387
@@ -2,4 +2,6 @@ language: ruby
2
2
  rvm:
3
3
  - 2.1.5
4
4
  - 2.2.1
5
-
5
+ addons:
6
+ code_climate:
7
+ repo_token: fe22fac4dc0ecdc30bcc44d3ab1eb41dc15243f9d8592d1e4291945b7b72e24a
data/README.md CHANGED
@@ -57,7 +57,7 @@ There are a couple of ways to set the API key:
57
57
 
58
58
  Taric.configure! do |config|
59
59
  config.api_key = 'whatever_key_rito_assigned_you'
60
- c.adapter = :typhoeus # default is Faraday.default_adapter
60
+ config.adapter = :typhoeus # default is Faraday.default_adapter
61
61
  end
62
62
  ```
63
63
 
@@ -141,4 +141,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
141
141
  4. Push to the branch (`git push origin my-new-feature`)
142
142
  5. Create a new Pull Request
143
143
 
144
- [Riot Games Developer]:https://developer.riotgames.com/
144
+ [Riot Games Developer]:https://developer.riotgames.com/
@@ -7,7 +7,6 @@ require_relative 'league'
7
7
  require_relative 'lol_static_data'
8
8
  require_relative 'lol_status'
9
9
  require_relative 'match'
10
- require_relative 'match_history'
11
10
  require_relative 'match_list'
12
11
  require_relative 'stats'
13
12
  require_relative 'summoner'
@@ -24,7 +23,6 @@ module Taric
24
23
  include Taric::Operation::LolStaticData
25
24
  include Taric::Operation::LolStatus
26
25
  include Taric::Operation::Match
27
- include Taric::Operation::MatchHistory
28
26
  include Taric::Operation::MatchList
29
27
  include Taric::Operation::Stats
30
28
  include Taric::Operation::Summoner
@@ -1,3 +1,3 @@
1
1
  module Taric
2
- VERSION = '0.2.4'
2
+ VERSION = '0.3.0'
3
3
  end
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.2.4
4
+ version: 0.3.0
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-09-10 00:00:00.000000000 Z
11
+ date: 2015-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -189,7 +189,6 @@ files:
189
189
  - lib/taric/operation/lol_static_data.rb
190
190
  - lib/taric/operation/lol_status.rb
191
191
  - lib/taric/operation/match.rb
192
- - lib/taric/operation/match_history.rb
193
192
  - lib/taric/operation/match_list.rb
194
193
  - lib/taric/operation/stats.rb
195
194
  - lib/taric/operation/summoner.rb
@@ -216,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
215
  version: '0'
217
216
  requirements: []
218
217
  rubyforge_project:
219
- rubygems_version: 2.4.3
218
+ rubygems_version: 2.4.8
220
219
  signing_key:
221
220
  specification_version: 4
222
221
  summary: An outrageous Riot Games LoL API Client
@@ -1,17 +0,0 @@
1
- require_relative 'base'
2
- module Taric
3
- module Operation
4
- module MatchHistory
5
- include Taric::Operation::Base
6
-
7
- MATCH_HISTORY_VERSION = 'v2.2'
8
- MATCH_HISTORY = Addressable::Template.new "#{BASE_URL_FN.(MATCH_HISTORY_VERSION)}/matchhistory/{summonerId}{?api_key,championIds,rankedQueues,beginIndex,endIndex}"
9
-
10
- # @see https://developer.riotgames.com/api/methods#!/966/3312
11
- def match_history(summoner_id:, champion_ids: nil, ranked_queues: nil, begin_index: nil, end_index: nil)
12
- response_for MATCH_HISTORY,
13
- {summonerId: summoner_id, championIds: champion_ids, rankedQueues: ranked_queues, beginIndex: begin_index, endIndex: end_index}
14
- end
15
- end
16
- end
17
- end