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.
@@ -5,4 +5,8 @@ VCR.configure do |c|
5
5
  c.hook_into :webmock
6
6
  c.cassette_library_dir = File.join(File.dirname(__FILE__), "..", "fixtures", "vcr_cassettes")
7
7
  c.configure_rspec_metadata!
8
+
9
+ c.before_record do |i|
10
+ i.response.body.force_encoding("UTF-8")
11
+ end
8
12
  end
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.2
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