riot_games_api 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/lib/riot_games_api/lol/constant/champions.rb +6 -0
- data/lib/riot_games_api/lol/constant/items.rb +97 -23
- data/lib/riot_games_api/version.rb +1 -1
- data/riot_games_api.gemspec +4 -4
- data/spec/lol/resource/stats_spec.rb +0 -1
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/_realm/should_have_data_cdn_is_cdn_url.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/_realm/should_have_static_data_of_realm.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_all/key_by_id_is_false/should_have_inputed_data_version.yml +37391 -37297
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_all/key_by_id_is_false/should_have_static_data_key_with_champion_name.yml +37391 -37297
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_all/key_by_id_is_false/should_have_static_data_of_champions.yml +37391 -37297
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_all/key_by_id_is_true/should_have_static_data_keys_is_champion_id.yml +37376 -37281
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_all/key_by_id_is_true/should_have_static_data_of_champion.yml +37376 -37281
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_by_id/should_have_data_key_is_shaco.yml +8 -8
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/champion/_champion_by_id/should_have_static_data_of_champion.yml +8 -8
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/item/_item_all/should_have_inputed_data_version.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/item/_item_all/should_have_static_data_of_items.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/item/_item_all/should_have_static_data_with_item_name.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/item/_item_by_id/should_have_data_name_is_biscuit.yml +6 -6
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/item/_item_by_id/should_have_static_data_of_item.yml +4 -4
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/mastery/_mastery_all/should_have_inputed_data_version.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/mastery/_mastery_all/should_have_static_data_of_masterys.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/mastery/_mastery_all/should_have_static_data_with_mastery_name.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/mastery/_mastery_by_id/should_have_data_name_is_sorcery.yml +4 -4
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/mastery/_mastery_by_id/should_have_static_data_of_mastery.yml +4 -4
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/rune/_rune_all/should_have_inputed_data_version.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/rune/_rune_all/should_have_static_data_of_runes.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/rune/_rune_all/should_have_static_data_with_rune_name.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/rune/_rune_by_id/should_have_data_name_is_rune_name.yml +4 -4
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/rune/_rune_by_id/should_have_static_data_of_rune.yml +4 -4
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_all/key_by_id_is_false/should_have_inputed_data_version.yml +16 -16
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_all/key_by_id_is_false/should_have_static_data_key_with_summoner_spell_name.yml +16 -16
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_all/key_by_id_is_false/should_have_static_data_of_summoner_spell.yml +16 -16
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_all/key_by_id_is_true/should_have_static_data_keys_is_sumoner_spell_id.yml +17 -17
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_all/key_by_id_is_true/should_have_static_data_of_summoner_spell.yml +17 -17
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_by_id/should_have_data_name_is_teleport.yml +5 -5
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_StaticData/summoner_spell/_summoner_spell_by_id/should_have_static_data_of_summoner_spell.yml +5 -5
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_ranked/latest_season/should_not_found_ranked_stats.yml +4 -4
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_ranked/season3/should_have_champion_stats.yml +5 -5
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_ranked/season3/should_have_modify_data_which_unixtime_milliseconds.yml +5 -5
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_summary/latest_season/should_have_player_stat_summaries.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_summary/latest_season/should_have_summoner_id_inputed.yml +3 -3
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_summary/season3/should_have_player_stat_summaries.yml +5 -5
- data/spec/vcr_cassettes/RiotGamesApi_LOL_Resource_Stats/_summary/season3/should_have_summoner_id_inputed.yml +3 -3
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28be7efe4632376cb37279d8089e99445b8b914d
|
4
|
+
data.tar.gz: edc5b8faa28fd65e367335a6c524dca002ab3539
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 115bbf88867b326f0b94d629283dff1a357bd0a9a67f9134a6f67ac81ea91725cd1189d0dd3a15e84ca78e7b72d2da8a9280c233f888148e1d42a375fc6cbdf2
|
7
|
+
data.tar.gz: ec1f9ced6ad7ff19a39827bd8ca6d0773fdf529bfd94469a0732c89914b746d420a93e9b8670fea4bfcd79fa4a132dbe5fd051a7ed7140e7a8d08221bc3e08a5
|
data/README.md
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/riot_games_api.svg)](http://badge.fury.io/rb/riot_games_api)
|
1
2
|
[![Build Status](https://drone.io/github.com/shishi/riot_games_api/status.png)](https://drone.io/github.com/shishi/riot_games_api/latest)
|
2
3
|
[![Build Status](https://travis-ci.org/shishi/riot_games_api.svg?branch=master)](https://travis-ci.org/shishi/riot_games_api)
|
3
4
|
[![Code Climate](https://codeclimate.com/github/shishi/riot_games_api.png)](https://codeclimate.com/github/shishi/riot_games_api) [![Code Climate](https://codeclimate.com/github/shishi/riot_games_api/coverage.png
|
@@ -37,7 +38,7 @@ Very thanks to Riot for greatest game.
|
|
37
38
|
https://developer.riotgames.com/
|
38
39
|
|
39
40
|
``` ruby
|
40
|
-
|
41
|
+
|
41
42
|
client = RiotGamesApi::LOL::Client.new api_key: 'your_api_key'
|
42
43
|
# from summoner resource
|
43
44
|
summoner = client.summoner.by_name 'shishisn'
|
@@ -73,17 +74,17 @@ url = realm.cdn
|
|
73
74
|
dd_version = realm.dd
|
74
75
|
|
75
76
|
image_url = url + dd_version + '/img/' + image_group + xin_image_filename
|
76
|
-
|
77
|
+
|
77
78
|
```
|
78
79
|
|
79
80
|
### Public method list
|
80
81
|
|
81
|
-
You may need to inspect return object to know what they have.
|
82
|
+
You may need to inspect return object to know what they have.
|
82
83
|
|
83
84
|
返されるオブジェクトをインスペクトすると、どんなデータを持ってるのか分かりやすいです。
|
84
85
|
|
85
86
|
```
|
86
|
-
There are some more options, you found in lib/riot_games_api/lol/resource
|
87
|
+
There are some more options, you found in lib/riot_games_api/lol/resource
|
87
88
|
|
88
89
|
RiotGamesApi::LOL::Resource::Champion
|
89
90
|
This resource for champion's status like active, free, enable or not in ranked
|
@@ -1,5 +1,10 @@
|
|
1
1
|
module RiotGamesApi
|
2
2
|
module LOL
|
3
|
+
# how to generate list
|
4
|
+
# add :wukong by me
|
5
|
+
# client.static_data.champion_all.data.each do |key, value|
|
6
|
+
# p "#{key}: #{value[:id]}"
|
7
|
+
# end
|
3
8
|
CHAMPIONS = {
|
4
9
|
aatrox: 266,
|
5
10
|
ahri: 103,
|
@@ -11,6 +16,7 @@ module RiotGamesApi
|
|
11
16
|
ashe: 22,
|
12
17
|
blitzcrank: 53,
|
13
18
|
brand: 63,
|
19
|
+
braum: 201,
|
14
20
|
caitlyn: 51,
|
15
21
|
cassiopeia: 69,
|
16
22
|
chogath: 31,
|
@@ -1,13 +1,17 @@
|
|
1
1
|
module RiotGamesApi
|
2
2
|
module LOL
|
3
|
+
# how to generate list
|
4
|
+
# client.static_data.item_all.data.each do |key, value|
|
5
|
+
# p "#{key}: #{value[:id]}"
|
6
|
+
# end
|
3
7
|
ITEMS = {
|
4
|
-
abyssal_scepter: 3001,
|
5
8
|
aegis_of_the_legion: 3105,
|
6
9
|
aether_wisp: 3113,
|
7
10
|
amplifying_tome: 1052,
|
8
11
|
ancient_coin: 3301,
|
9
12
|
archangels_staff: 3003,
|
10
13
|
archangels_staff_crystal_scar: 3007,
|
14
|
+
ardent_censer: 3504,
|
11
15
|
athenes_unholy_grail: 3174,
|
12
16
|
atmas_impaler: 3005,
|
13
17
|
augment_death: 3198,
|
@@ -22,7 +26,31 @@ module RiotGamesApi
|
|
22
26
|
blackfire_torch: 3188,
|
23
27
|
blade_of_the_ruined_king: 3153,
|
24
28
|
blasting_wand: 1026,
|
25
|
-
|
29
|
+
bonetooth_necklace_1: 3166,
|
30
|
+
bonetooth_necklace_2: 3167,
|
31
|
+
bonetooth_necklace_3: 3168,
|
32
|
+
bonetooth_necklace_4: 3169,
|
33
|
+
bonetooth_necklace_5: 3171,
|
34
|
+
bonetooth_necklace_6: 3405,
|
35
|
+
bonetooth_necklace_7: 3406,
|
36
|
+
bonetooth_necklace_8: 3407,
|
37
|
+
bonetooth_necklace_9: 3408,
|
38
|
+
bonetooth_necklace_10: 3409,
|
39
|
+
bonetooth_necklace_11: 3411,
|
40
|
+
bonetooth_necklace_12: 3412,
|
41
|
+
bonetooth_necklace_13: 3413,
|
42
|
+
bonetooth_necklace_14: 3414,
|
43
|
+
bonetooth_necklace_15: 3415,
|
44
|
+
bonetooth_necklace_16: 3417,
|
45
|
+
bonetooth_necklace_17: 3418,
|
46
|
+
bonetooth_necklace_18: 3419,
|
47
|
+
bonetooth_necklace_19: 3420,
|
48
|
+
bonetooth_necklace_20: 3421,
|
49
|
+
bonetooth_necklace_21: 3450,
|
50
|
+
bonetooth_necklace_22: 3451,
|
51
|
+
bonetooth_necklace_23: 3452,
|
52
|
+
bonetooth_necklace_24: 3453,
|
53
|
+
bonetooth_necklace_25: 3454,
|
26
54
|
boots_of_mobility: 3117,
|
27
55
|
boots_of_speed: 1001,
|
28
56
|
boots_of_swiftness: 3009,
|
@@ -37,21 +65,55 @@ module RiotGamesApi
|
|
37
65
|
deathfire_grasp: 3128,
|
38
66
|
dervish_blade: 3137,
|
39
67
|
dorans_blade: 1055,
|
68
|
+
dorans_blade_showdown: 1075,
|
40
69
|
dorans_ring: 1056,
|
70
|
+
dorans_ring_showdown: 1076,
|
41
71
|
dorans_shield: 1054,
|
72
|
+
dorans_shield_showdown: 1074,
|
42
73
|
elixir_of_brilliance: 2039,
|
43
74
|
elixir_of_fortitude: 2037,
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
75
|
+
enchantment_abyssal_scepter: 3001,
|
76
|
+
enchantment_alacrity_1: 3254,
|
77
|
+
enchantment_alacrity_2: 3259,
|
78
|
+
enchantment_alacrity_3: 3264,
|
79
|
+
enchantment_alacrity_4: 3269,
|
80
|
+
enchantment_alacrity_5: 3274,
|
81
|
+
enchantment_alacrity_6: 3279,
|
82
|
+
enchantment_alacrity_7: 3284,
|
83
|
+
enchantment_captain_1: 3251,
|
84
|
+
enchantment_captain_2: 3256,
|
85
|
+
enchantment_captain_3: 3261,
|
86
|
+
enchantment_captain_4: 3266,
|
87
|
+
enchantment_captain_5: 3271,
|
88
|
+
enchantment_captain_6: 3276,
|
89
|
+
enchantment_captain_7: 3281,
|
90
|
+
enchantment_distortion_1: 3253,
|
91
|
+
enchantment_distortion_2: 3258,
|
92
|
+
enchantment_distortion_3: 3263,
|
93
|
+
enchantment_distortion_4: 3268,
|
94
|
+
enchantment_distortion_5: 3273,
|
95
|
+
enchantment_distortion_6: 3278,
|
96
|
+
enchantment_distortion_7: 3283,
|
97
|
+
enchantment_furor_1: 3252,
|
98
|
+
enchantment_furor_2: 3257,
|
99
|
+
enchantment_furor_3: 3262,
|
100
|
+
enchantment_furor_4: 3267,
|
101
|
+
enchantment_furor_5: 3272,
|
102
|
+
enchantment_furor_6: 3277,
|
103
|
+
enchantment_furor_7: 3282,
|
104
|
+
enchantment_homeguard_1: 3250,
|
105
|
+
enchantment_homeguard_2: 3255,
|
106
|
+
enchantment_homeguard_3: 3260,
|
107
|
+
enchantment_homeguard_4: 3270,
|
108
|
+
enchantment_homeguard_5: 3275,
|
109
|
+
enchantment_homeguard_6: 3280,
|
49
110
|
entropy: 3184,
|
111
|
+
essence_reaver: 3508,
|
50
112
|
executioners_calling: 3123,
|
51
113
|
explorers_ward: 2050,
|
52
114
|
face_of_the_mountain: 3401,
|
53
115
|
faerie_charm: 1004,
|
54
|
-
|
116
|
+
farsight_orb_trinket: 3363,
|
55
117
|
feral_flare: 3160,
|
56
118
|
fiendish_codex: 3108,
|
57
119
|
forbidden_idol: 3114,
|
@@ -61,18 +123,24 @@ module RiotGamesApi
|
|
61
123
|
frozen_mallet: 3022,
|
62
124
|
giants_belt: 1011,
|
63
125
|
glacial_shroud: 3024,
|
64
|
-
|
65
|
-
|
126
|
+
greater_stealth_totem_trinket: 3361,
|
127
|
+
greater_vision_totem_trinket: 3362,
|
66
128
|
grezs_spectral_lantern: 3159,
|
67
|
-
guardians_horn: 2051,
|
68
129
|
guardian_angel: 3026,
|
130
|
+
guardians_horn: 2051,
|
69
131
|
guinsoos_rageblade: 3124,
|
70
132
|
haunting_guise: 3136,
|
133
|
+
head_of_khazix_1: 3175,
|
134
|
+
head_of_khazix_2: 3410,
|
135
|
+
head_of_khazix_3: 3416,
|
136
|
+
head_of_khazix_4: 3422,
|
137
|
+
head_of_khazix_5: 3455,
|
71
138
|
health_potion: 2003,
|
72
139
|
hexdrinker: 3155,
|
73
140
|
hextech_gunblade: 3146,
|
74
141
|
hextech_revolver: 3145,
|
75
142
|
hextech_sweeper: 3187,
|
143
|
+
homeguard: 3265,
|
76
144
|
hunters_machete: 1039,
|
77
145
|
iceborn_gauntlet: 3025,
|
78
146
|
ichor_of_illumination: 2048,
|
@@ -97,7 +165,8 @@ module RiotGamesApi
|
|
97
165
|
mikaels_crucible: 3222,
|
98
166
|
moonflair_spellblade: 3170,
|
99
167
|
morellonomicon: 3165,
|
100
|
-
|
168
|
+
muramana_1: 3042,
|
169
|
+
muramana_2: 3043,
|
101
170
|
nashors_tooth: 3115,
|
102
171
|
needlessly_large_rod: 1058,
|
103
172
|
negatron_cloak: 1057,
|
@@ -107,7 +176,7 @@ module RiotGamesApi
|
|
107
176
|
odyns_veil: 3180,
|
108
177
|
ohmwrecker: 3056,
|
109
178
|
oracles_extract: 2047,
|
110
|
-
|
179
|
+
oracles_lens_trinket: 3364,
|
111
180
|
orb_of_winter: 3112,
|
112
181
|
overlords_bloodmail: 3084,
|
113
182
|
phage: 3044,
|
@@ -117,9 +186,10 @@ module RiotGamesApi
|
|
117
186
|
prospectors_blade: 1062,
|
118
187
|
prospectors_ring: 1063,
|
119
188
|
quicksilver_sash: 3140,
|
189
|
+
quill_coat: 3205,
|
120
190
|
rabadons_deathcap: 3089,
|
121
191
|
randuins_omen: 3143,
|
122
|
-
|
192
|
+
ravenous_hydra_melee_only: 3074,
|
123
193
|
recurve_bow: 1043,
|
124
194
|
rejuvenation_bead: 1006,
|
125
195
|
relic_shield: 3302,
|
@@ -127,16 +197,18 @@ module RiotGamesApi
|
|
127
197
|
rod_of_ages_crystal_scar: 3029,
|
128
198
|
ruby_crystal: 1028,
|
129
199
|
ruby_sightstone: 2045,
|
130
|
-
|
200
|
+
runaans_hurricane_ranged_only: 3085,
|
131
201
|
rylais_crystal_scepter: 3116,
|
132
202
|
sanguine_blade: 3181,
|
133
203
|
sapphire_crystal: 1027,
|
134
|
-
|
204
|
+
scrying_orb_trinket: 3342,
|
135
205
|
seekers_armguard: 3191,
|
136
|
-
|
206
|
+
seraphs_embrace_1: 3040,
|
207
|
+
seraphs_embrace_2: 3048,
|
137
208
|
sheen: 3057,
|
138
209
|
sightstone: 2049,
|
139
210
|
sorcerers_shoes: 3020,
|
211
|
+
soul_anchor_trinket: 3345,
|
140
212
|
spectres_cowl: 3211,
|
141
213
|
spellthiefs_edge: 3303,
|
142
214
|
spirit_of_the_ancient_golem: 3207,
|
@@ -148,7 +220,7 @@ module RiotGamesApi
|
|
148
220
|
stealth_ward: 2044,
|
149
221
|
stinger: 3101,
|
150
222
|
sunfire_cape: 3068,
|
151
|
-
|
223
|
+
sweeping_lens_trinket: 3341,
|
152
224
|
sword_of_the_divine: 3131,
|
153
225
|
sword_of_the_occult: 3141,
|
154
226
|
talisman_of_ascension: 3069,
|
@@ -161,15 +233,17 @@ module RiotGamesApi
|
|
161
233
|
the_hex_core: 3200,
|
162
234
|
the_lightbringer: 3185,
|
163
235
|
thornmail: 3075,
|
164
|
-
|
165
|
-
|
236
|
+
tiamat_melee_only: 3077,
|
237
|
+
total_biscuit_of_rejuvenation_1: 2009,
|
238
|
+
total_biscuit_of_rejuvenation_2: 2010,
|
166
239
|
trinity_force: 3078,
|
167
|
-
|
240
|
+
twin_shadows_1: 3023,
|
241
|
+
twin_shadows_2: 3290,
|
168
242
|
vampiric_scepter: 1053,
|
169
243
|
vision_ward: 2043,
|
170
244
|
void_staff: 3135,
|
171
245
|
wardens_mail: 3082,
|
172
|
-
|
246
|
+
warding_totem_trinket: 3340,
|
173
247
|
warmogs_armor: 3083,
|
174
248
|
wicked_hatchet: 3122,
|
175
249
|
will_of_the_ancients: 3152,
|
@@ -180,7 +254,7 @@ module RiotGamesApi
|
|
180
254
|
zeal: 3086,
|
181
255
|
zekes_herald: 3050,
|
182
256
|
zephyr: 3172,
|
183
|
-
zhonyas_hourglass: 3157
|
257
|
+
zhonyas_hourglass: 3157,
|
184
258
|
}
|
185
259
|
end
|
186
260
|
end
|
data/riot_games_api.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = RiotGamesApi::VERSION
|
9
9
|
spec.authors = ["Shigenobu Nishikawa"]
|
10
10
|
spec.email = ["shishi.s.n@gmail.com"]
|
11
|
-
spec.summary = %q{ Make
|
12
|
-
spec.description = %q{ Make
|
11
|
+
spec.summary = %q{ Make easy to access Riot Games API. }
|
12
|
+
spec.description = %q{ Make easy to access Riot Games API to get their game data like League of Legends. }
|
13
13
|
spec.homepage = "https://github.com/shishi/riot_games_api"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_runtime_dependency 'json'
|
22
|
-
spec.add_runtime_dependency 'faraday', ['>= 0.7.4', '< 0.
|
23
|
-
spec.add_runtime_dependency 'faraday_middleware', '~> 0.9.
|
22
|
+
spec.add_runtime_dependency 'faraday', ['>= 0.7.4', '< 0.10']
|
23
|
+
spec.add_runtime_dependency 'faraday_middleware', '~> 0.9.1'
|
24
24
|
spec.add_runtime_dependency 'rash', '~> 0.4.0'
|
25
25
|
spec.add_runtime_dependency 'virtus', '~> 1.0.2'
|
26
26
|
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
-
|
11
|
+
- RiotGamesApi gem v0.0.2
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=UTF-8
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 21 Apr 2014 10:11:53 GMT
|
31
31
|
Server:
|
32
32
|
- Jetty(9.1.1.v20140108)
|
33
33
|
Vary:
|
@@ -40,5 +40,5 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"css\":\"0.152.55\",\"dd\":\"4.2.6\",\"l\":\"en_US\",\"n\":{\"item\":\"4.5.4\",\"rune\":\"4.5.4\",\"mastery\":\"4.5.4\",\"summoner\":\"4.5.4\",\"champion\":\"4.5.4\",\"profileicon\":\"4.5.4\",\"language\":\"4.5.4\"},\"profileiconmax\":28,\"v\":\"4.5.4\",\"lg\":\"0.152.55\",\"cdn\":\"http://ddragon.leagueoflegends.com/cdn\"}"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Mon, 21 Apr 2014 10:11:57 GMT
|
44
44
|
recorded_with: VCR 2.9.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
-
|
11
|
+
- RiotGamesApi gem v0.0.2
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -27,7 +27,7 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=UTF-8
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 21 Apr 2014 10:11:53 GMT
|
31
31
|
Server:
|
32
32
|
- Jetty(9.1.1.v20140108)
|
33
33
|
Vary:
|
@@ -40,5 +40,5 @@ http_interactions:
|
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"css\":\"0.152.55\",\"dd\":\"4.2.6\",\"l\":\"en_US\",\"n\":{\"item\":\"4.5.4\",\"rune\":\"4.5.4\",\"mastery\":\"4.5.4\",\"summoner\":\"4.5.4\",\"champion\":\"4.5.4\",\"profileicon\":\"4.5.4\",\"language\":\"4.5.4\"},\"profileiconmax\":28,\"v\":\"4.5.4\",\"lg\":\"0.152.55\",\"cdn\":\"http://ddragon.leagueoflegends.com/cdn\"}"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Mon, 21 Apr 2014 10:11:56 GMT
|
44
44
|
recorded_with: VCR 2.9.0
|