dota_api_wrapper 0.2.0 → 0.2.1

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: 4f5b3571fc32ce22d011e8822aa52318e5204ec5
4
- data.tar.gz: 26825239df53069c99b5004270666f93aed04497
3
+ metadata.gz: 02d94ff52033a6ff17d4e6276b55491887500169
4
+ data.tar.gz: 99da27c075dc06202fb2b933cc2363b0acdfce7d
5
5
  SHA512:
6
- metadata.gz: 00e287952b9f15cba499a43b5d969cb2d9f868810aaed1298d67da9280d19dfe5c920d2695dd24d35ab0d1b0b1f7093fb0282ceffae5812b7fdf74bd26cd4934
7
- data.tar.gz: 588f8098d0bdc5985afd939ce9d84ea46136dbe4137e1db6c41d9ad09dbd9d5551710a458720a073854b5fe5affe4bc54d55968836541da2d1967b8c521c0201
6
+ metadata.gz: 4d57329a4747f2e45769b241da7702cebb9c1ecf543ccaa66b7a059797e9de15330f314408eeb68211d97ab8cd0ba94928a01ad061e2fb332f6ee3d751900dac
7
+ data.tar.gz: feb9a962d6de6d50cfc58a36ad206a5db1d6ded6481e49b3254227da09b07555ea1d8b57e4656396318828cdc041afe85c5499d91c4431e0a9fdc8d290dfdf4f
@@ -28,6 +28,12 @@ module DotaApiWrapper
28
28
  @match_details ||= retrieve_details
29
29
  end
30
30
 
31
+ # Return hash with all data from match
32
+ def complete_details
33
+ match_info.merge(match_details)
34
+ end
35
+
36
+ # Consume API wrapper to get matches
31
37
  def self.get_matches(options = {})
32
38
  api_result = retrieve_info('/GetMatchHistory/V001', options)
33
39
  return api_result['result'] unless api_result.empty?
@@ -1,3 +1,3 @@
1
1
  module DotaApiWrapper
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dota_api_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-19 00:00:00.000000000 Z
11
+ date: 2016-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty