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
@@ -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,18 +27,18 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=UTF-8
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Mon, 21 Apr 2014 10:10:10 GMT
|
31
31
|
Server:
|
32
32
|
- Jetty(9.1.1.v20140108)
|
33
33
|
Vary:
|
34
34
|
- Accept-Encoding, User-Agent
|
35
|
-
|
36
|
-
-
|
35
|
+
Content-Length:
|
36
|
+
- '383'
|
37
37
|
Connection:
|
38
38
|
- keep-alive
|
39
39
|
body:
|
40
40
|
encoding: UTF-8
|
41
41
|
string: "{\"summonerId\":42139310,\"playerStatSummaries\":[{\"playerStatSummaryType\":\"AramUnranked5x5\",\"wins\":5,\"modifyDate\":1380961387000,\"aggregatedStats\":{\"totalChampionKills\":44,\"totalTurretsKilled\":3,\"totalAssists\":131}},{\"playerStatSummaryType\":\"CAP5x5\",\"wins\":0,\"modifyDate\":1375430552000,\"aggregatedStats\":{}},{\"playerStatSummaryType\":\"CoopVsAI\",\"wins\":3,\"modifyDate\":1366429253000,\"aggregatedStats\":{\"totalChampionKills\":4,\"totalMinionKills\":293,\"totalTurretsKilled\":5,\"totalNeutralMinionsKilled\":0,\"totalAssists\":14}},{\"playerStatSummaryType\":\"FirstBlood1x1\",\"wins\":2,\"modifyDate\":1388567148000,\"aggregatedStats\":{}},{\"playerStatSummaryType\":\"FirstBlood2x2\",\"wins\":1,\"modifyDate\":1388567148000,\"aggregatedStats\":{}},{\"playerStatSummaryType\":\"OdinUnranked\",\"wins\":0,\"modifyDate\":1375430552000,\"aggregatedStats\":{}},{\"playerStatSummaryType\":\"RankedSolo5x5\",\"wins\":7,\"losses\":8,\"modifyDate\":1378635320000,\"aggregatedStats\":{\"totalChampionKills\":33,\"totalMinionKills\":460,\"totalTurretsKilled\":5,\"totalNeutralMinionsKilled\":521,\"totalAssists\":124}},{\"playerStatSummaryType\":\"Unranked\",\"wins\":183,\"modifyDate\":1388877115000,\"aggregatedStats\":{\"totalChampionKills\":1511,\"totalMinionKills\":45930,\"totalTurretsKilled\":357,\"totalNeutralMinionsKilled\":8524,\"totalAssists\":2772}},{\"playerStatSummaryType\":\"Unranked3x3\",\"wins\":0,\"modifyDate\":1375430552000,\"aggregatedStats\":{}}]}"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Mon, 21 Apr 2014 10:10:13 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:10:09 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: "{\"summonerId\":42139310,\"playerStatSummaries\":[{\"playerStatSummaryType\":\"AramUnranked5x5\",\"wins\":5,\"modifyDate\":1380961387000,\"aggregatedStats\":{\"totalChampionKills\":44,\"totalTurretsKilled\":3,\"totalAssists\":131}},{\"playerStatSummaryType\":\"CAP5x5\",\"wins\":0,\"modifyDate\":1375430552000,\"aggregatedStats\":{}},{\"playerStatSummaryType\":\"CoopVsAI\",\"wins\":3,\"modifyDate\":1366429253000,\"aggregatedStats\":{\"totalChampionKills\":4,\"totalMinionKills\":293,\"totalTurretsKilled\":5,\"totalNeutralMinionsKilled\":0,\"totalAssists\":14}},{\"playerStatSummaryType\":\"FirstBlood1x1\",\"wins\":2,\"modifyDate\":1388567148000,\"aggregatedStats\":{}},{\"playerStatSummaryType\":\"FirstBlood2x2\",\"wins\":1,\"modifyDate\":1388567148000,\"aggregatedStats\":{}},{\"playerStatSummaryType\":\"OdinUnranked\",\"wins\":0,\"modifyDate\":1375430552000,\"aggregatedStats\":{}},{\"playerStatSummaryType\":\"RankedSolo5x5\",\"wins\":7,\"losses\":8,\"modifyDate\":1378635320000,\"aggregatedStats\":{\"totalChampionKills\":33,\"totalMinionKills\":460,\"totalTurretsKilled\":5,\"totalNeutralMinionsKilled\":521,\"totalAssists\":124}},{\"playerStatSummaryType\":\"Unranked\",\"wins\":183,\"modifyDate\":1388877115000,\"aggregatedStats\":{\"totalChampionKills\":1511,\"totalMinionKills\":45930,\"totalTurretsKilled\":357,\"totalNeutralMinionsKilled\":8524,\"totalAssists\":2772}},{\"playerStatSummaryType\":\"Unranked3x3\",\"wins\":0,\"modifyDate\":1375430552000,\"aggregatedStats\":{}}]}"
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Mon, 21 Apr 2014 10:10:13 GMT
|
44
44
|
recorded_with: VCR 2.9.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riot_games_api
|
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
|
- Shigenobu Nishikawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: 0.7.4
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: '0.
|
36
|
+
version: '0.10'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,21 +43,21 @@ dependencies:
|
|
43
43
|
version: 0.7.4
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
46
|
+
version: '0.10'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: faraday_middleware
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.9.
|
53
|
+
version: 0.9.1
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.9.
|
60
|
+
version: 0.9.1
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rash
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,8 +184,8 @@ dependencies:
|
|
184
184
|
- - ">="
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: '0'
|
187
|
-
description: " Make
|
188
|
-
|
187
|
+
description: " Make easy to access Riot Games API to get their game data like League
|
188
|
+
of Legends. "
|
189
189
|
email:
|
190
190
|
- shishi.s.n@gmail.com
|
191
191
|
executables: []
|
@@ -390,10 +390,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
390
390
|
version: '0'
|
391
391
|
requirements: []
|
392
392
|
rubyforge_project:
|
393
|
-
rubygems_version: 2.2.
|
393
|
+
rubygems_version: 2.2.2
|
394
394
|
signing_key:
|
395
395
|
specification_version: 4
|
396
|
-
summary: Make
|
396
|
+
summary: Make easy to access Riot Games API.
|
397
397
|
test_files:
|
398
398
|
- spec/lol/resource/champion_spec.rb
|
399
399
|
- spec/lol/resource/game_spec.rb
|