dotka 1.0.1 → 1.0.2

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: abb5b2bdcba7877102dbf764ae789edaa8f7b61e
4
- data.tar.gz: 254045feb91738337af980b81167c9b9f1c95c0f
3
+ metadata.gz: c89e9c4f858d41aa3617177a1627236f82ab1491
4
+ data.tar.gz: cb0cfc0a5218594ef24cdc31bebd6bf2635345fe
5
5
  SHA512:
6
- metadata.gz: c9dbef1e0536a0b10d567426fe03530e1175baff4a46005dd58a3447577294e02094e84edfbef95695110f9a4a98beb510ae71735ffc5bb175174718b668e3c1
7
- data.tar.gz: 6df151b40a521ee39d08c6a2967b1f88e6218b74ef39a1dc8c76d04a9374726b8de65dbbe47f144fe1cb47e046886a48e121cb7abe088b176ff78ea7d424b663
6
+ metadata.gz: f91b23a356752ab28ee3cdd27d7b41a60b6c8e0e0e8a76bdeba48ed0fc3b3e87b6387637d76a4421e689a9bdc08e9586baf293e6cf5b0a387b6ebe0a8b2fb87e
7
+ data.tar.gz: 195c412c7c86164f7b54b0ddc0bc2d4cd615caa73a471e0f4738f7f123d06b69a57acef7634d30badf9d8c294b7921d4caea1649624e8fb4118f7c15f00cbaa4
@@ -0,0 +1 @@
1
+ /dotka-*.gem
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rest-client', '~> 1.7.2'
4
+ gem 'rspec', '~> 3.1.0'
5
+ gem 'json', '~> 1.8.1'
@@ -0,0 +1,30 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.2.5)
5
+ json (1.8.1)
6
+ mime-types (2.4.3)
7
+ netrc (0.9.0)
8
+ rest-client (1.7.2)
9
+ mime-types (>= 1.16, < 3.0)
10
+ netrc (~> 0.7)
11
+ rspec (3.1.0)
12
+ rspec-core (~> 3.1.0)
13
+ rspec-expectations (~> 3.1.0)
14
+ rspec-mocks (~> 3.1.0)
15
+ rspec-core (3.1.7)
16
+ rspec-support (~> 3.1.0)
17
+ rspec-expectations (3.1.2)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.1.0)
20
+ rspec-mocks (3.1.3)
21
+ rspec-support (~> 3.1.0)
22
+ rspec-support (3.1.2)
23
+
24
+ PLATFORMS
25
+ ruby
26
+
27
+ DEPENDENCIES
28
+ json (~> 1.8.1)
29
+ rest-client (~> 1.7.2)
30
+ rspec (~> 3.1.0)
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 bound1ess
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,7 @@
1
+ # Dota 2 Web API Wrapper
2
+
3
+ I will post some more information soon.
4
+
5
+ ## License information
6
+
7
+ This project is licensed under the MIT license (see the `LICENSE` file).
@@ -0,0 +1,7 @@
1
+ task :specs do
2
+ sh "rspec ./spec/ --color --format=documentation"
3
+ end
4
+
5
+ task :default => [:specs] do
6
+ puts "All done!"
7
+ end
@@ -0,0 +1,90 @@
1
+ [
2
+ {
3
+ "id": "0",
4
+ "name": "Unknown"
5
+ },
6
+ {
7
+ "id": "1",
8
+ "name": "All Pick"
9
+ },
10
+ {
11
+ "id": "2",
12
+ "name": "Captains Mode"
13
+ },
14
+ {
15
+ "id": "3",
16
+ "name": "Random Draft"
17
+ },
18
+ {
19
+ "id": "4",
20
+ "name": "Single Draft"
21
+ },
22
+ {
23
+ "id": "5",
24
+ "name": "All Random"
25
+ },
26
+ {
27
+ "id": "6",
28
+ "name": "?? INTRO\/DEATH ??"
29
+ },
30
+ {
31
+ "id": "7",
32
+ "name": "The Diretide"
33
+ },
34
+ {
35
+ "id": "8",
36
+ "name": "Reverse Captains Mode"
37
+ },
38
+ {
39
+ "id": "9",
40
+ "name": "Greeviling"
41
+ },
42
+ {
43
+ "id": "10",
44
+ "name": "Tutorial"
45
+ },
46
+ {
47
+ "id": "11",
48
+ "name": "Mid Only"
49
+ },
50
+ {
51
+ "id": "12",
52
+ "name": "Least Played"
53
+ },
54
+ {
55
+ "id": "13",
56
+ "name": "New Player Pool"
57
+ },
58
+ {
59
+ "id": "14",
60
+ "name": "Compendium Matchmaking"
61
+ },
62
+ {
63
+ "id": "15",
64
+ "name": "Custom"
65
+ },
66
+ {
67
+ "id": "16",
68
+ "name": "Captains Draft"
69
+ },
70
+ {
71
+ "id": "17",
72
+ "name": "Balanced Draft"
73
+ },
74
+ {
75
+ "id": "18",
76
+ "name": "Ability Draft"
77
+ },
78
+ {
79
+ "id": "19",
80
+ "name": "?? Event ??"
81
+ },
82
+ {
83
+ "id": "20",
84
+ "name": "All Random Death Match"
85
+ },
86
+ {
87
+ "id": "21",
88
+ "name": "1vs1 Solo Mid"
89
+ }
90
+ ]
@@ -0,0 +1,547 @@
1
+ [
2
+ {
3
+ "id": "1",
4
+ "name": "antimage",
5
+ "localized_name": "Anti-Mage"
6
+ },
7
+ {
8
+ "id": "2",
9
+ "name": "axe",
10
+ "localized_name": "Axe"
11
+ },
12
+ {
13
+ "id": "3",
14
+ "name": "bane",
15
+ "localized_name": "Bane"
16
+ },
17
+ {
18
+ "id": "4",
19
+ "name": "bloodseeker",
20
+ "localized_name": "Bloodseeker"
21
+ },
22
+ {
23
+ "id": "5",
24
+ "name": "crystal_maiden",
25
+ "localized_name": "Crystal Maiden"
26
+ },
27
+ {
28
+ "id": "6",
29
+ "name": "drow_ranger",
30
+ "localized_name": "Drow Ranger"
31
+ },
32
+ {
33
+ "id": "7",
34
+ "name": "earthshaker",
35
+ "localized_name": "Earthshaker"
36
+ },
37
+ {
38
+ "id": "8",
39
+ "name": "juggernaut",
40
+ "localized_name": "Juggernaut"
41
+ },
42
+ {
43
+ "id": "9",
44
+ "name": "mirana",
45
+ "localized_name": "Mirana"
46
+ },
47
+ {
48
+ "id": "11",
49
+ "name": "nevermore",
50
+ "localized_name": "Shadow Fiend"
51
+ },
52
+ {
53
+ "id": "10",
54
+ "name": "morphling",
55
+ "localized_name": "Morphling"
56
+ },
57
+ {
58
+ "id": "12",
59
+ "name": "phantom_lancer",
60
+ "localized_name": "Phantom Lancer"
61
+ },
62
+ {
63
+ "id": "13",
64
+ "name": "puck",
65
+ "localized_name": "Puck"
66
+ },
67
+ {
68
+ "id": "14",
69
+ "name": "pudge",
70
+ "localized_name": "Pudge"
71
+ },
72
+ {
73
+ "id": "15",
74
+ "name": "razor",
75
+ "localized_name": "Razor"
76
+ },
77
+ {
78
+ "id": "16",
79
+ "name": "sand_king",
80
+ "localized_name": "Sand King"
81
+ },
82
+ {
83
+ "id": "17",
84
+ "name": "storm_spirit",
85
+ "localized_name": "Storm Spirit"
86
+ },
87
+ {
88
+ "id": "18",
89
+ "name": "sven",
90
+ "localized_name": "Sven"
91
+ },
92
+ {
93
+ "id": "19",
94
+ "name": "tiny",
95
+ "localized_name": "Tiny"
96
+ },
97
+ {
98
+ "id": "20",
99
+ "name": "vengefulspirit",
100
+ "localized_name": "Vengeful Spirit"
101
+ },
102
+ {
103
+ "id": "21",
104
+ "name": "windrunner",
105
+ "localized_name": "Windranger"
106
+ },
107
+ {
108
+ "id": "22",
109
+ "name": "zuus",
110
+ "localized_name": "Zeus"
111
+ },
112
+ {
113
+ "id": "23",
114
+ "name": "kunkka",
115
+ "localized_name": "Kunkka"
116
+ },
117
+ {
118
+ "id": "25",
119
+ "name": "lina",
120
+ "localized_name": "Lina"
121
+ },
122
+ {
123
+ "id": "31",
124
+ "name": "lich",
125
+ "localized_name": "Lich"
126
+ },
127
+ {
128
+ "id": "26",
129
+ "name": "lion",
130
+ "localized_name": "Lion"
131
+ },
132
+ {
133
+ "id": "27",
134
+ "name": "shadow_shaman",
135
+ "localized_name": "Shadow Shaman"
136
+ },
137
+ {
138
+ "id": "28",
139
+ "name": "slardar",
140
+ "localized_name": "Slardar"
141
+ },
142
+ {
143
+ "id": "29",
144
+ "name": "tidehunter",
145
+ "localized_name": "Tidehunter"
146
+ },
147
+ {
148
+ "id": "30",
149
+ "name": "witch_doctor",
150
+ "localized_name": "Witch Doctor"
151
+ },
152
+ {
153
+ "id": "32",
154
+ "name": "riki",
155
+ "localized_name": "Riki"
156
+ },
157
+ {
158
+ "id": "33",
159
+ "name": "enigma",
160
+ "localized_name": "Enigma"
161
+ },
162
+ {
163
+ "id": "34",
164
+ "name": "tinker",
165
+ "localized_name": "Tinker"
166
+ },
167
+ {
168
+ "id": "35",
169
+ "name": "sniper",
170
+ "localized_name": "Sniper"
171
+ },
172
+ {
173
+ "id": "36",
174
+ "name": "necrolyte",
175
+ "localized_name": "Necrophos"
176
+ },
177
+ {
178
+ "id": "37",
179
+ "name": "warlock",
180
+ "localized_name": "Warlock"
181
+ },
182
+ {
183
+ "id": "38",
184
+ "name": "beastmaster",
185
+ "localized_name": "Beastmaster"
186
+ },
187
+ {
188
+ "id": "39",
189
+ "name": "queenofpain",
190
+ "localized_name": "Queen of Pain"
191
+ },
192
+ {
193
+ "id": "40",
194
+ "name": "venomancer",
195
+ "localized_name": "Venomancer"
196
+ },
197
+ {
198
+ "id": "41",
199
+ "name": "faceless_void",
200
+ "localized_name": "Faceless Void"
201
+ },
202
+ {
203
+ "id": "42",
204
+ "name": "skeleton_king",
205
+ "localized_name": "Skeleton King"
206
+ },
207
+ {
208
+ "id": "43",
209
+ "name": "death_prophet",
210
+ "localized_name": "Death Prophet"
211
+ },
212
+ {
213
+ "id": "44",
214
+ "name": "phantom_assassin",
215
+ "localized_name": "Phantom Assassin"
216
+ },
217
+ {
218
+ "id": "45",
219
+ "name": "pugna",
220
+ "localized_name": "Pugna"
221
+ },
222
+ {
223
+ "id": "46",
224
+ "name": "templar_assassin",
225
+ "localized_name": "Templar Assassin"
226
+ },
227
+ {
228
+ "id": "47",
229
+ "name": "viper",
230
+ "localized_name": "Viper"
231
+ },
232
+ {
233
+ "id": "48",
234
+ "name": "luna",
235
+ "localized_name": "Luna"
236
+ },
237
+ {
238
+ "id": "49",
239
+ "name": "dragon_knight",
240
+ "localized_name": "Dragon Knight"
241
+ },
242
+ {
243
+ "id": "50",
244
+ "name": "dazzle",
245
+ "localized_name": "Dazzle"
246
+ },
247
+ {
248
+ "id": "51",
249
+ "name": "rattletrap",
250
+ "localized_name": "Clockwerk"
251
+ },
252
+ {
253
+ "id": "52",
254
+ "name": "leshrac",
255
+ "localized_name": "Leshrac"
256
+ },
257
+ {
258
+ "id": "53",
259
+ "name": "furion",
260
+ "localized_name": "Nature's Prophet"
261
+ },
262
+ {
263
+ "id": "54",
264
+ "name": "life_stealer",
265
+ "localized_name": "Lifestealer"
266
+ },
267
+ {
268
+ "id": "55",
269
+ "name": "dark_seer",
270
+ "localized_name": "Dark Seer"
271
+ },
272
+ {
273
+ "id": "56",
274
+ "name": "clinkz",
275
+ "localized_name": "Clinkz"
276
+ },
277
+ {
278
+ "id": "57",
279
+ "name": "omniknight",
280
+ "localized_name": "Omniknight"
281
+ },
282
+ {
283
+ "id": "58",
284
+ "name": "enchantress",
285
+ "localized_name": "Enchantress"
286
+ },
287
+ {
288
+ "id": "59",
289
+ "name": "huskar",
290
+ "localized_name": "Huskar"
291
+ },
292
+ {
293
+ "id": "60",
294
+ "name": "night_stalker",
295
+ "localized_name": "Night Stalker"
296
+ },
297
+ {
298
+ "id": "61",
299
+ "name": "broodmother",
300
+ "localized_name": "Broodmother"
301
+ },
302
+ {
303
+ "id": "62",
304
+ "name": "bounty_hunter",
305
+ "localized_name": "Bounty Hunter"
306
+ },
307
+ {
308
+ "id": "63",
309
+ "name": "weaver",
310
+ "localized_name": "Weaver"
311
+ },
312
+ {
313
+ "id": "64",
314
+ "name": "jakiro",
315
+ "localized_name": "Jakiro"
316
+ },
317
+ {
318
+ "id": "65",
319
+ "name": "batrider",
320
+ "localized_name": "Batrider"
321
+ },
322
+ {
323
+ "id": "66",
324
+ "name": "chen",
325
+ "localized_name": "Chen"
326
+ },
327
+ {
328
+ "id": "67",
329
+ "name": "spectre",
330
+ "localized_name": "Spectre"
331
+ },
332
+ {
333
+ "id": "69",
334
+ "name": "doom_bringer",
335
+ "localized_name": "Doom"
336
+ },
337
+ {
338
+ "id": "68",
339
+ "name": "ancient_apparition",
340
+ "localized_name": "Ancient Apparition"
341
+ },
342
+ {
343
+ "id": "70",
344
+ "name": "ursa",
345
+ "localized_name": "Ursa"
346
+ },
347
+ {
348
+ "id": "71",
349
+ "name": "spirit_breaker",
350
+ "localized_name": "Spirit Breaker"
351
+ },
352
+ {
353
+ "id": "72",
354
+ "name": "gyrocopter",
355
+ "localized_name": "Gyrocopter"
356
+ },
357
+ {
358
+ "id": "73",
359
+ "name": "alchemist",
360
+ "localized_name": "Alchemist"
361
+ },
362
+ {
363
+ "id": "74",
364
+ "name": "invoker",
365
+ "localized_name": "Invoker"
366
+ },
367
+ {
368
+ "id": "75",
369
+ "name": "silencer",
370
+ "localized_name": "Silencer"
371
+ },
372
+ {
373
+ "id": "76",
374
+ "name": "obsidian_destroyer",
375
+ "localized_name": "Outworld Devourer"
376
+ },
377
+ {
378
+ "id": "77",
379
+ "name": "lycan",
380
+ "localized_name": "Lycanthrope"
381
+ },
382
+ {
383
+ "id": "78",
384
+ "name": "brewmaster",
385
+ "localized_name": "Brewmaster"
386
+ },
387
+ {
388
+ "id": "79",
389
+ "name": "shadow_demon",
390
+ "localized_name": "Shadow Demon"
391
+ },
392
+ {
393
+ "id": "80",
394
+ "name": "lone_druid",
395
+ "localized_name": "Lone Druid"
396
+ },
397
+ {
398
+ "id": "81",
399
+ "name": "chaos_knight",
400
+ "localized_name": "Chaos Knight"
401
+ },
402
+ {
403
+ "id": "82",
404
+ "name": "meepo",
405
+ "localized_name": "Meepo"
406
+ },
407
+ {
408
+ "id": "83",
409
+ "name": "treant",
410
+ "localized_name": "Treant Protector"
411
+ },
412
+ {
413
+ "id": "84",
414
+ "name": "ogre_magi",
415
+ "localized_name": "Ogre Magi"
416
+ },
417
+ {
418
+ "id": "85",
419
+ "name": "undying",
420
+ "localized_name": "Undying"
421
+ },
422
+ {
423
+ "id": "86",
424
+ "name": "rubick",
425
+ "localized_name": "Rubick"
426
+ },
427
+ {
428
+ "id": "87",
429
+ "name": "disruptor",
430
+ "localized_name": "Disruptor"
431
+ },
432
+ {
433
+ "id": "88",
434
+ "name": "nyx_assassin",
435
+ "localized_name": "Nyx Assassin"
436
+ },
437
+ {
438
+ "id": "89",
439
+ "name": "naga_siren",
440
+ "localized_name": "Naga Siren"
441
+ },
442
+ {
443
+ "id": "90",
444
+ "name": "keeper_of_the_light",
445
+ "localized_name": "Keeper of the Light"
446
+ },
447
+ {
448
+ "id": "91",
449
+ "name": "wisp",
450
+ "localized_name": "Wisp"
451
+ },
452
+ {
453
+ "id": "92",
454
+ "name": "visage",
455
+ "localized_name": "Visage"
456
+ },
457
+ {
458
+ "id": "93",
459
+ "name": "slark",
460
+ "localized_name": "Slark"
461
+ },
462
+ {
463
+ "id": "94",
464
+ "name": "medusa",
465
+ "localized_name": "Medusa"
466
+ },
467
+ {
468
+ "id": "95",
469
+ "name": "troll_warlord",
470
+ "localized_name": "Troll Warlord"
471
+ },
472
+ {
473
+ "id": "96",
474
+ "name": "centaur",
475
+ "localized_name": "Centaur Warrunner"
476
+ },
477
+ {
478
+ "id": "97",
479
+ "name": "magnataur",
480
+ "localized_name": "Magnus"
481
+ },
482
+ {
483
+ "id": "98",
484
+ "name": "shredder",
485
+ "localized_name": "Timbersaw"
486
+ },
487
+ {
488
+ "id": "99",
489
+ "name": "bristleback",
490
+ "localized_name": "Bristleback"
491
+ },
492
+ {
493
+ "id": "100",
494
+ "name": "tusk",
495
+ "localized_name": "Tusk"
496
+ },
497
+ {
498
+ "id": "101",
499
+ "name": "skywrath_mage",
500
+ "localized_name": "Skywrath Mage"
501
+ },
502
+ {
503
+ "id": "102",
504
+ "name": "abaddon",
505
+ "localized_name": "Abaddon"
506
+ },
507
+ {
508
+ "id": "103",
509
+ "name": "elder_titan",
510
+ "localized_name": "Elder Titan"
511
+ },
512
+ {
513
+ "id": "104",
514
+ "name": "legion_commander",
515
+ "localized_name": "Legion Commander"
516
+ },
517
+ {
518
+ "id": "106",
519
+ "name": "ember_spirit",
520
+ "localized_name": "Ember Spirit"
521
+ },
522
+ {
523
+ "id": "107",
524
+ "name": "earth_spirit",
525
+ "localized_name": "Earth Spirit"
526
+ },
527
+ {
528
+ "id": "108",
529
+ "name": "abyssal_underlord",
530
+ "localized_name": "Abyssal Underlord"
531
+ },
532
+ {
533
+ "id": "109",
534
+ "name": "terrorblade",
535
+ "localized_name": "Terrorblade"
536
+ },
537
+ {
538
+ "id": "110",
539
+ "name": "phoenix",
540
+ "localized_name": "Phoenix"
541
+ },
542
+ {
543
+ "id": "105",
544
+ "name": "techies",
545
+ "localized_name": "Techies"
546
+ }
547
+ ]