ruby-lol 0.9.14 → 0.9.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lol/static_request.rb +7 -2
- data/lib/lol/version.rb +1 -1
- data/spec/api_version_spec.rb +1 -1
- data/spec/fixtures/v1.2/get-champion-by-id.json +6 -0
- data/spec/fixtures/v1.2/get-item-by-id.json +6 -0
- data/spec/fixtures/v1.2/get-item.json +1563 -0
- data/spec/fixtures/v1.2/get-mastery-by-id.json +9 -0
- data/spec/fixtures/v1.2/get-mastery.json +389 -0
- data/spec/fixtures/v1.2/get-realm.json +1 -0
- data/spec/fixtures/v1.2/get-rune-by-id.json +26 -0
- data/spec/fixtures/v1.2/get-rune.json +2966 -0
- data/spec/fixtures/v1.2/get-static-champion.json +714 -0
- data/spec/fixtures/v1.2/get-summoner-spell-by-id.json +39 -0
- data/spec/fixtures/v1.2/get-summoner-spell.json +97 -0
- data/spec/fixtures/v1.2/get-versions.json +1 -0
- data/spec/lol/static_request_spec.rb +24 -4
- metadata +26 -24
- data/spec/fixtures/v1/get-champion-by-id.json +0 -952
- data/spec/fixtures/v1/get-champion.json +0 -708
- data/spec/fixtures/v1/get-item-by-id.json +0 -5
- data/spec/fixtures/v1/get-item.json +0 -982
- data/spec/fixtures/v1/get-mastery-by-id.json +0 -9
- data/spec/fixtures/v1/get-mastery.json +0 -1359
- data/spec/fixtures/v1/get-realm.json +0 -18
- data/spec/fixtures/v1/get-rune-by-id.json +0 -22
- data/spec/fixtures/v1/get-rune.json +0 -6465
- data/spec/fixtures/v1/get-summoner-spell-by-id.json +0 -64
- data/spec/fixtures/v1/get-summoner-spell.json +0 -657
@@ -0,0 +1,9 @@
|
|
1
|
+
{
|
2
|
+
"id": 4353,
|
3
|
+
"description": [
|
4
|
+
"+2% Cooldown Reduction and reduces the cooldown of Activated Items by 4%",
|
5
|
+
"+3.5% Cooldown Reduction and reduces the cooldown of Activated Items by 7%",
|
6
|
+
"+5% Cooldown Reduction and reduces the cooldown of Activated Items by 10%"
|
7
|
+
],
|
8
|
+
"name": "Intelligence"
|
9
|
+
}
|
@@ -0,0 +1,389 @@
|
|
1
|
+
{
|
2
|
+
"data": {
|
3
|
+
"4353": {
|
4
|
+
"id": 4353,
|
5
|
+
"description": [
|
6
|
+
"+2% Cooldown Reduction and reduces the cooldown of Activated Items by 4%",
|
7
|
+
"+3.5% Cooldown Reduction and reduces the cooldown of Activated Items by 7%",
|
8
|
+
"+5% Cooldown Reduction and reduces the cooldown of Activated Items by 10%"
|
9
|
+
],
|
10
|
+
"name": "Intelligence"
|
11
|
+
},
|
12
|
+
"4352": {
|
13
|
+
"id": 4352,
|
14
|
+
"description": ["Melee - Grants +15 Gold on champion kill or assist<br>Ranged - Grants +3 Gold each time an enemy champion is attacked. This cannot trigger on the same champion more than once every 5 seconds"],
|
15
|
+
"name": "Bandit"
|
16
|
+
},
|
17
|
+
"4253": {
|
18
|
+
"id": 4253,
|
19
|
+
"description": ["Start the game with a 50 Health shield. This shield regenerates each time after respawning"],
|
20
|
+
"name": "Runic Blessing"
|
21
|
+
},
|
22
|
+
"4113": {
|
23
|
+
"id": 4113,
|
24
|
+
"description": [
|
25
|
+
"+1.25% Cooldown Reduction",
|
26
|
+
"+2.5% Cooldown Reduction",
|
27
|
+
"+3.75% Cooldown Reduction",
|
28
|
+
"+5% Cooldown Reduction"
|
29
|
+
],
|
30
|
+
"name": "Sorcery"
|
31
|
+
},
|
32
|
+
"4251": {
|
33
|
+
"id": 4251,
|
34
|
+
"description": ["Increases self-healing, Health Regen, Lifesteal, and Spellvamp by 10% when below 25% Health"],
|
35
|
+
"name": "Second Wind"
|
36
|
+
},
|
37
|
+
"4112": {
|
38
|
+
"id": 4112,
|
39
|
+
"description": [
|
40
|
+
"+1.25% Attack Speed",
|
41
|
+
"+2.5% Attack Speed",
|
42
|
+
"+3.75% Attack Speed",
|
43
|
+
"+5% Attack Speed"
|
44
|
+
],
|
45
|
+
"name": "Fury"
|
46
|
+
},
|
47
|
+
"4252": {
|
48
|
+
"id": 4252,
|
49
|
+
"description": [
|
50
|
+
"+1 Armor and 0.5 Magic Resist for each nearby enemy champion",
|
51
|
+
"+2 Armor and 1 Magic Resistance for each nearby enemy champion",
|
52
|
+
"+3 Armor and 1.5 Magic Resistance for each nearby enemy champion",
|
53
|
+
"+4 Armor and 2 Magic Resist for each nearby enemy champion"
|
54
|
+
],
|
55
|
+
"name": "Legendary Guardian"
|
56
|
+
},
|
57
|
+
"4111": {
|
58
|
+
"id": 4111,
|
59
|
+
"description": ["Melee - Deal an additional 2% damage and receive an additional 1% damage<br>Ranged - Deal an additional 1.5% damage and receive an additional 1.5% damage"],
|
60
|
+
"name": "Double-Edged Sword"
|
61
|
+
},
|
62
|
+
"4152": {
|
63
|
+
"id": 4152,
|
64
|
+
"description": [
|
65
|
+
"+2% Armor and Magic Penetration",
|
66
|
+
"+4% Armor and Magic Penetration",
|
67
|
+
"+6% Armor and Magic Penetration"
|
68
|
+
],
|
69
|
+
"name": "Devastating Strikes"
|
70
|
+
},
|
71
|
+
"4212": {
|
72
|
+
"id": 4212,
|
73
|
+
"description": [
|
74
|
+
"+1 Health per 5 seconds",
|
75
|
+
"+2 Health per 5 seconds"
|
76
|
+
],
|
77
|
+
"name": "Recovery"
|
78
|
+
},
|
79
|
+
"4211": {
|
80
|
+
"id": 4211,
|
81
|
+
"description": [
|
82
|
+
"Reduces incoming damage from champion basic attacks by 1",
|
83
|
+
"Reduces incoming damage from champion basic attacks by 2"
|
84
|
+
],
|
85
|
+
"name": "Block"
|
86
|
+
},
|
87
|
+
"4151": {
|
88
|
+
"id": 4151,
|
89
|
+
"description": ["Critical hits grant +5% Attack Speed for 3 seconds (stacks up to 3 times)"],
|
90
|
+
"name": "Frenzy"
|
91
|
+
},
|
92
|
+
"4154": {
|
93
|
+
"id": 4154,
|
94
|
+
"description": ["Basic Attacks also deal bonus magic damage equal to 5% of Ability Power"],
|
95
|
+
"name": "Arcane Blade"
|
96
|
+
},
|
97
|
+
"4311": {
|
98
|
+
"id": 4311,
|
99
|
+
"description": ["Reduces the casting time of Recall by 1 second<br><br>Dominion - Reduces the casting time of Enhanced Recall by 0.5 seconds"],
|
100
|
+
"name": "Phasewalker"
|
101
|
+
},
|
102
|
+
"4314": {
|
103
|
+
"id": 4314,
|
104
|
+
"description": ["Increases the cast range of trinket items by 15%"],
|
105
|
+
"name": "Scout"
|
106
|
+
},
|
107
|
+
"4313": {
|
108
|
+
"id": 4313,
|
109
|
+
"description": [
|
110
|
+
"+1 Mana Regen per 5 seconds",
|
111
|
+
"+2 Mana Regen per 5 seconds",
|
112
|
+
"+3 Mana Regen per 5 seconds"
|
113
|
+
],
|
114
|
+
"name": "Meditation"
|
115
|
+
},
|
116
|
+
"4362": {
|
117
|
+
"id": 4362,
|
118
|
+
"description": ["+5% Movement Speed out of combat"],
|
119
|
+
"name": "Wanderer"
|
120
|
+
},
|
121
|
+
"4312": {
|
122
|
+
"id": 4312,
|
123
|
+
"description": [
|
124
|
+
"+0.5% Movement Speed",
|
125
|
+
"+1% Movement Speed",
|
126
|
+
"+1.5% Movement Speed"
|
127
|
+
],
|
128
|
+
"name": "Fleet of Foot"
|
129
|
+
},
|
130
|
+
"4213": {
|
131
|
+
"id": 4213,
|
132
|
+
"description": [
|
133
|
+
"Increases bonus Armor and Magic Resistance by 2.5%",
|
134
|
+
"Increases bonus Armor and Magic Resistance by 5%"
|
135
|
+
],
|
136
|
+
"name": "Enchanted Armor"
|
137
|
+
},
|
138
|
+
"4214": {
|
139
|
+
"id": 4214,
|
140
|
+
"description": [
|
141
|
+
"Reduces damage taken from neutral monsters by 1<br><br>This does not affect lane minions",
|
142
|
+
"Reduces damage taken from neutral monsters by 2<br><br>This does not affect lane minions"
|
143
|
+
],
|
144
|
+
"name": "Tough Skin"
|
145
|
+
},
|
146
|
+
"4114": {
|
147
|
+
"id": 4114,
|
148
|
+
"description": ["Basic attacks and single target spells deal an additional 2 damage to minions and monsters<br><br>This does not trigger off of area of effect damage or damage over time effects"],
|
149
|
+
"name": "Butcher"
|
150
|
+
},
|
151
|
+
"4122": {
|
152
|
+
"id": 4122,
|
153
|
+
"description": [
|
154
|
+
"+4 Attack Damage at level 18 (+0.22 Attack Damage per level)",
|
155
|
+
"+7 Attack Damage at level 18 (+0.39 Attack Damage per level)",
|
156
|
+
"+10 Attack Damage at level 18 (+0.55 Attack Damage per level)"
|
157
|
+
],
|
158
|
+
"name": "Brute Force"
|
159
|
+
},
|
160
|
+
"4121": {
|
161
|
+
"id": 4121,
|
162
|
+
"description": ["Damaging an enemy with a spell increases allied champions' damage to that enemy by 1% for the next 3 seconds"],
|
163
|
+
"name": "Expose Weakness"
|
164
|
+
},
|
165
|
+
"4124": {
|
166
|
+
"id": 4124,
|
167
|
+
"description": ["Killing a unit restores 3 Health and 1 Mana"],
|
168
|
+
"name": "Feast"
|
169
|
+
},
|
170
|
+
"4262": {
|
171
|
+
"id": 4262,
|
172
|
+
"description": ["Reduces the duration of crowd control effects by 15%"],
|
173
|
+
"name": "Tenacious"
|
174
|
+
},
|
175
|
+
"4123": {
|
176
|
+
"id": 4123,
|
177
|
+
"description": [
|
178
|
+
"+6 Ability Power at level 18 (+0.33 Ability Power per level)",
|
179
|
+
"+11 Ability Power at level 18 (+0.61 Ability Power per level)",
|
180
|
+
"+16 Ability Power at level 18 (+0.89 Ability Power per level)"
|
181
|
+
],
|
182
|
+
"name": "Mental Force"
|
183
|
+
},
|
184
|
+
"4221": {
|
185
|
+
"id": 4221,
|
186
|
+
"description": ["Melee - Reduces all incoming damage from champions by 2<br>Ranged - Reduces all incoming damage from champions by 1"],
|
187
|
+
"name": "Unyielding"
|
188
|
+
},
|
189
|
+
"4162": {
|
190
|
+
"id": 4162,
|
191
|
+
"description": ["+3% increased damage"],
|
192
|
+
"name": "Havoc"
|
193
|
+
},
|
194
|
+
"4222": {
|
195
|
+
"id": 4222,
|
196
|
+
"description": [
|
197
|
+
"+12 Health",
|
198
|
+
"+24 Health",
|
199
|
+
"+36 Health"
|
200
|
+
],
|
201
|
+
"name": "Veteran's Scars"
|
202
|
+
},
|
203
|
+
"4322": {
|
204
|
+
"id": 4322,
|
205
|
+
"description": [
|
206
|
+
"Reduces the cooldown of Summoner Spells by 4%",
|
207
|
+
"Reduces the cooldown of Summoner Spells by 7%",
|
208
|
+
"Reduces the cooldown of Summoner Spells by 10%"
|
209
|
+
],
|
210
|
+
"name": "Summoner's Insight"
|
211
|
+
},
|
212
|
+
"4333": {
|
213
|
+
"id": 4333,
|
214
|
+
"description": [
|
215
|
+
"+1% Lifesteal and Spellvamp",
|
216
|
+
"+2% Lifesteal and Spellvamp",
|
217
|
+
"+3% Lifesteal and Spellvamp"
|
218
|
+
],
|
219
|
+
"name": "Vampirism"
|
220
|
+
},
|
221
|
+
"4332": {
|
222
|
+
"id": 4332,
|
223
|
+
"description": ["Increases the duration of shrine, relic, quest, and neutral monster buffs by 20%"],
|
224
|
+
"name": "Runic Affinity"
|
225
|
+
},
|
226
|
+
"4224": {
|
227
|
+
"id": 4224,
|
228
|
+
"description": ["Taking Basic Attack Damage from neutral monsters cause them to bleed, dealing physical damage equal to 1% of their current Health each second<br>This does not work against lane minions"],
|
229
|
+
"name": "Bladed Armor"
|
230
|
+
},
|
231
|
+
"4331": {
|
232
|
+
"id": 4331,
|
233
|
+
"description": [
|
234
|
+
"+0.5 Gold every 10 seconds",
|
235
|
+
"+1 Gold every 10 seconds",
|
236
|
+
"+1.5 Gold every 10 seconds"
|
237
|
+
],
|
238
|
+
"name": "Greed"
|
239
|
+
},
|
240
|
+
"4134": {
|
241
|
+
"id": 4134,
|
242
|
+
"description": [
|
243
|
+
"Increases damage dealt to champions below 20% Health by 5%",
|
244
|
+
"Increases damage dealt to champions below 35% Health by 5%",
|
245
|
+
"Increases damage dealt to champions below 50% Health by 5%"
|
246
|
+
],
|
247
|
+
"name": "Executioner"
|
248
|
+
},
|
249
|
+
"4132": {
|
250
|
+
"id": 4132,
|
251
|
+
"description": ["+4 Attack Damage"],
|
252
|
+
"name": "Martial Mastery"
|
253
|
+
},
|
254
|
+
"4133": {
|
255
|
+
"id": 4133,
|
256
|
+
"description": ["+6 Ability Power"],
|
257
|
+
"name": "Arcane Mastery"
|
258
|
+
},
|
259
|
+
"4234": {
|
260
|
+
"id": 4234,
|
261
|
+
"description": [
|
262
|
+
"+2 Magic Resist",
|
263
|
+
"+3.5 Magic Resistance",
|
264
|
+
"+5 Magic Resistance"
|
265
|
+
],
|
266
|
+
"name": "Resistance"
|
267
|
+
},
|
268
|
+
"4131": {
|
269
|
+
"id": 4131,
|
270
|
+
"description": ["Damaging an enemy champion with a Basic Attack increases Spell Damage by 1%, stacking up to 3 times (max 3% damage increase)"],
|
271
|
+
"name": "Spell Weaving"
|
272
|
+
},
|
273
|
+
"4233": {
|
274
|
+
"id": 4233,
|
275
|
+
"description": [
|
276
|
+
"+2 Armor",
|
277
|
+
"+3.5 Armor",
|
278
|
+
"+5 Armor"
|
279
|
+
],
|
280
|
+
"name": "Hardiness"
|
281
|
+
},
|
282
|
+
"4232": {
|
283
|
+
"id": 4232,
|
284
|
+
"description": ["+3% Maximum Health"],
|
285
|
+
"name": "Juggernaut"
|
286
|
+
},
|
287
|
+
"4323": {
|
288
|
+
"id": 4323,
|
289
|
+
"description": ["+1 Health Regen per 5 seconds for every 300 maximum Mana"],
|
290
|
+
"name": "Strength of Spirit"
|
291
|
+
},
|
292
|
+
"4231": {
|
293
|
+
"id": 4231,
|
294
|
+
"description": ["Reduces damage taken by 3% from enemies that have impaired movement (slows, snares, taunts, stuns, etc.)"],
|
295
|
+
"name": "Oppression"
|
296
|
+
},
|
297
|
+
"4324": {
|
298
|
+
"id": 4324,
|
299
|
+
"description": ["Increases the duration of potions and elixirs by 10%"],
|
300
|
+
"name": "Alchemist"
|
301
|
+
},
|
302
|
+
"4342": {
|
303
|
+
"id": 4342,
|
304
|
+
"description": ["+40 Starting Gold"],
|
305
|
+
"name": "Wealth"
|
306
|
+
},
|
307
|
+
"4341": {
|
308
|
+
"id": 4341,
|
309
|
+
"description": ["+1 Gold each time an ally kills a nearby lane minion"],
|
310
|
+
"name": "Scavenger"
|
311
|
+
},
|
312
|
+
"4344": {
|
313
|
+
"id": 4344,
|
314
|
+
"description": [
|
315
|
+
"+5 Experience every 10 seconds while near a higher level allied champion",
|
316
|
+
"+10 Experience every 10 seconds while near a higher level allied champion"
|
317
|
+
],
|
318
|
+
"name": "Inspiration"
|
319
|
+
},
|
320
|
+
"4343": {
|
321
|
+
"id": 4343,
|
322
|
+
"description": [
|
323
|
+
"+2% increased maximum Mana",
|
324
|
+
"+3.5% increased maximum Mana",
|
325
|
+
"+5% increased maximum Mana"
|
326
|
+
],
|
327
|
+
"name": "Expanded Mind"
|
328
|
+
},
|
329
|
+
"4143": {
|
330
|
+
"id": 4143,
|
331
|
+
"description": [
|
332
|
+
"Increases Ability Power by 2%",
|
333
|
+
"Increases Ability Power by 3.5%",
|
334
|
+
"Increases Ability Power by 5%"
|
335
|
+
],
|
336
|
+
"name": "Archmage"
|
337
|
+
},
|
338
|
+
"4144": {
|
339
|
+
"id": 4144,
|
340
|
+
"description": ["Champion kills and assists restore 5% missing Health and Mana"],
|
341
|
+
"name": "Dangerous Game"
|
342
|
+
},
|
343
|
+
"4241": {
|
344
|
+
"id": 4241,
|
345
|
+
"description": [
|
346
|
+
"Regenerates 0.35% of missing Health every 5 seconds",
|
347
|
+
"Regenerates 0.675% of missing Health every 5 seconds",
|
348
|
+
"Regenerates 1% of missing Health every 5 seconds"
|
349
|
+
],
|
350
|
+
"name": "Perseverance "
|
351
|
+
},
|
352
|
+
"4243": {
|
353
|
+
"id": 4243,
|
354
|
+
"description": ["Reduces damage taken from critical strikes by 10%"],
|
355
|
+
"name": "Reinforced Armor"
|
356
|
+
},
|
357
|
+
"4334": {
|
358
|
+
"id": 4334,
|
359
|
+
"description": ["Health potions are upgraded into Biscuits that restore an additional 20 Health and 10 Mana instantly upon consumption"],
|
360
|
+
"name": "Culinary Master"
|
361
|
+
},
|
362
|
+
"4242": {
|
363
|
+
"id": 4242,
|
364
|
+
"description": ["Reduces the effectiveness of slows by 10%"],
|
365
|
+
"name": "Swiftness"
|
366
|
+
},
|
367
|
+
"4141": {
|
368
|
+
"id": 4141,
|
369
|
+
"description": ["Damaging an enemy champion with a spell increases Basic Attack Damage by 1%, stacking up to 3 times (max 3% damage increase)"],
|
370
|
+
"name": "Blade Weaving"
|
371
|
+
},
|
372
|
+
"4244": {
|
373
|
+
"id": 4244,
|
374
|
+
"description": ["Reduces damage taken by 4% from Area of Effect magic damage"],
|
375
|
+
"name": "Evasive"
|
376
|
+
},
|
377
|
+
"4142": {
|
378
|
+
"id": 4142,
|
379
|
+
"description": [
|
380
|
+
"Increases bonus Attack Damage by 2%",
|
381
|
+
"Increases Bonus Attack Damage by 3.5%",
|
382
|
+
"Increases Bonus Attack Damage by 5%"
|
383
|
+
],
|
384
|
+
"name": "Warlord"
|
385
|
+
}
|
386
|
+
},
|
387
|
+
"type": "mastery",
|
388
|
+
"version": "4.6.3"
|
389
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"css":"0.152.55","dd":"4.2.6","l":"en_US","n":{"item":"4.6.3","rune":"4.6.3","mastery":"4.6.3","summoner":"4.6.3","champion":"4.6.3","profileicon":"4.6.3","language":"4.6.3"},"profileiconmax":28,"v":"4.6.3","lg":"0.152.55","cdn":"http://ddragon.leagueoflegends.com/cdn"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"tags": [
|
3
|
+
"magic",
|
4
|
+
"flat",
|
5
|
+
"quintessence"
|
6
|
+
],
|
7
|
+
"id": 5235,
|
8
|
+
"sanitizedDescription": "+3.85 ability power",
|
9
|
+
"stats": {"FlatMagicDamageMod": 3.85},
|
10
|
+
"description": "+3.85 ability power",
|
11
|
+
"name": "Quintessence of Ability Power",
|
12
|
+
"image": {
|
13
|
+
"w": 48,
|
14
|
+
"full": "bl_3_2.png",
|
15
|
+
"sprite": "rune0.png",
|
16
|
+
"group": "rune",
|
17
|
+
"h": 48,
|
18
|
+
"y": 144,
|
19
|
+
"x": 96
|
20
|
+
},
|
21
|
+
"rune": {
|
22
|
+
"isRune": true,
|
23
|
+
"tier": "2",
|
24
|
+
"type": "black"
|
25
|
+
}
|
26
|
+
}
|