dota 0.0.9 → 0.0.10
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/README.md +52 -27
- data/lib/dota.rb +1 -0
- data/lib/dota/api/client.rb +16 -0
- data/lib/dota/api/team.rb +61 -0
- data/lib/dota/version.rb +1 -1
- data/spec/dota/api/team_spec.rb +55 -0
- data/spec/dota_spec.rb +61 -22
- data/spec/fixtures/vcr_cassettes/GetTeamInfoByTeamID.yml +48 -0
- data/spec/fixtures/vcr_cassettes/GetTeamInfoByTeamID_many.yml +888 -0
- data/spec/spec_helper.rb +4 -0
- metadata +9 -2
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dota
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vinni Carlo Caños
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -148,6 +148,7 @@ files:
|
|
148
148
|
- lib/dota/api/match.rb
|
149
149
|
- lib/dota/api/match/draft.rb
|
150
150
|
- lib/dota/api/match/player.rb
|
151
|
+
- lib/dota/api/team.rb
|
151
152
|
- lib/dota/configuration.rb
|
152
153
|
- lib/dota/utils/inspect.rb
|
153
154
|
- lib/dota/version.rb
|
@@ -159,12 +160,15 @@ files:
|
|
159
160
|
- spec/dota/api/match/draft_spec.rb
|
160
161
|
- spec/dota/api/match/player_spec.rb
|
161
162
|
- spec/dota/api/match_spec.rb
|
163
|
+
- spec/dota/api/team_spec.rb
|
162
164
|
- spec/dota_spec.rb
|
163
165
|
- spec/fixtures/vcr_cassettes/GetFriendList.yml
|
164
166
|
- spec/fixtures/vcr_cassettes/GetLeagueListing.yml
|
165
167
|
- spec/fixtures/vcr_cassettes/GetMatchDetails.yml
|
166
168
|
- spec/fixtures/vcr_cassettes/GetMatchHistory.yml
|
167
169
|
- spec/fixtures/vcr_cassettes/GetRarities.yml
|
170
|
+
- spec/fixtures/vcr_cassettes/GetTeamInfoByTeamID.yml
|
171
|
+
- spec/fixtures/vcr_cassettes/GetTeamInfoByTeamID_many.yml
|
168
172
|
- spec/spec_helper.rb
|
169
173
|
- spec/support/vcr.rb
|
170
174
|
homepage: http://github.com/vinnicc/dota
|
@@ -200,11 +204,14 @@ test_files:
|
|
200
204
|
- spec/dota/api/match/draft_spec.rb
|
201
205
|
- spec/dota/api/match/player_spec.rb
|
202
206
|
- spec/dota/api/match_spec.rb
|
207
|
+
- spec/dota/api/team_spec.rb
|
203
208
|
- spec/dota_spec.rb
|
204
209
|
- spec/fixtures/vcr_cassettes/GetFriendList.yml
|
205
210
|
- spec/fixtures/vcr_cassettes/GetLeagueListing.yml
|
206
211
|
- spec/fixtures/vcr_cassettes/GetMatchDetails.yml
|
207
212
|
- spec/fixtures/vcr_cassettes/GetMatchHistory.yml
|
208
213
|
- spec/fixtures/vcr_cassettes/GetRarities.yml
|
214
|
+
- spec/fixtures/vcr_cassettes/GetTeamInfoByTeamID.yml
|
215
|
+
- spec/fixtures/vcr_cassettes/GetTeamInfoByTeamID_many.yml
|
209
216
|
- spec/spec_helper.rb
|
210
217
|
- spec/support/vcr.rb
|