dota 0.0.2 → 0.0.3
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 +80 -18
- data/lib/dota.rb +2 -0
- data/lib/dota/api/client.rb +20 -5
- data/lib/dota/api/league.rb +31 -0
- data/lib/dota/api/match.rb +6 -0
- data/lib/dota/api/match/draft.rb +27 -0
- data/lib/dota/version.rb +1 -1
- data/spec/dota/api/league_spec.rb +23 -0
- data/spec/dota/api/match/draft_spec.rb +19 -0
- data/spec/dota/api/match/player_spec.rb +4 -0
- data/spec/dota/api/match_spec.rb +6 -0
- data/spec/dota_spec.rb +18 -1
- data/spec/fixtures/vcr_cassettes/GetLeagueListing.yml +2960 -0
- data/spec/support/vcr.rb +4 -0
- metadata +9 -1
data/spec/support/vcr.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vinni Carlo Caños
|
|
@@ -155,16 +155,21 @@ files:
|
|
|
155
155
|
- lib/dota/api/client.rb
|
|
156
156
|
- lib/dota/api/hero.rb
|
|
157
157
|
- lib/dota/api/item.rb
|
|
158
|
+
- lib/dota/api/league.rb
|
|
158
159
|
- lib/dota/api/match.rb
|
|
160
|
+
- lib/dota/api/match/draft.rb
|
|
159
161
|
- lib/dota/api/match/player.rb
|
|
160
162
|
- lib/dota/configuration.rb
|
|
161
163
|
- lib/dota/utils/inspect.rb
|
|
162
164
|
- lib/dota/version.rb
|
|
163
165
|
- spec/dota/api/hero_spec.rb
|
|
164
166
|
- spec/dota/api/item_spec.rb
|
|
167
|
+
- spec/dota/api/league_spec.rb
|
|
168
|
+
- spec/dota/api/match/draft_spec.rb
|
|
165
169
|
- spec/dota/api/match/player_spec.rb
|
|
166
170
|
- spec/dota/api/match_spec.rb
|
|
167
171
|
- spec/dota_spec.rb
|
|
172
|
+
- spec/fixtures/vcr_cassettes/GetLeagueListing.yml
|
|
168
173
|
- spec/fixtures/vcr_cassettes/GetMatchDetails.yml
|
|
169
174
|
- spec/spec_helper.rb
|
|
170
175
|
- spec/support/vcr.rb
|
|
@@ -195,9 +200,12 @@ summary: Ruby client for the Dota 2 WebAPI
|
|
|
195
200
|
test_files:
|
|
196
201
|
- spec/dota/api/hero_spec.rb
|
|
197
202
|
- spec/dota/api/item_spec.rb
|
|
203
|
+
- spec/dota/api/league_spec.rb
|
|
204
|
+
- spec/dota/api/match/draft_spec.rb
|
|
198
205
|
- spec/dota/api/match/player_spec.rb
|
|
199
206
|
- spec/dota/api/match_spec.rb
|
|
200
207
|
- spec/dota_spec.rb
|
|
208
|
+
- spec/fixtures/vcr_cassettes/GetLeagueListing.yml
|
|
201
209
|
- spec/fixtures/vcr_cassettes/GetMatchDetails.yml
|
|
202
210
|
- spec/spec_helper.rb
|
|
203
211
|
- spec/support/vcr.rb
|