smite_ruby 1.4.3 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +60 -0
- data/README.md +35 -21
- data/lib/smite.rb +18 -14
- data/lib/smite/client.rb +95 -13
- data/lib/smite/data_transform.rb +8 -8
- data/lib/smite/game.rb +43 -30
- data/lib/smite/getgods.json +151 -0
- data/lib/smite/god.rb +1 -1
- data/lib/smite/god_rank.rb +1 -1
- data/lib/smite/god_stats.rb +11 -13
- data/lib/smite/item.rb +18 -4
- data/lib/smite/motd.rb +19 -0
- data/lib/smite/object.rb +2 -1
- data/lib/smite/player.rb +20 -35
- data/lib/smite/queue.rb +19 -0
- data/lib/smite/recent_match.rb +18 -0
- data/lib/smite/recommended_items.rb +22 -0
- data/smite_ruby.gemspec +4 -2
- data/spec/ability_spec.rb +7 -0
- data/spec/achievements_spec.rb +7 -0
- data/spec/client_spec.rb +52 -0
- data/spec/data_transform_spec.rb +7 -0
- data/spec/friend_spec.rb +7 -0
- data/spec/game_spec.rb +200 -0
- data/spec/god_rank_spec.rb +7 -0
- data/spec/god_spec.rb +57 -0
- data/spec/god_stats_spec.rb +7 -0
- data/spec/item_effect_spec.rb +7 -0
- data/spec/item_spec.rb +85 -0
- data/spec/match_spec.rb +7 -0
- data/spec/player_spec.rb +76 -0
- data/spec/responses/createsession.json +1 -0
- data/spec/responses/getachievements.json +11 -0
- data/spec/responses/getdataused.json +1 -0
- data/spec/responses/getesportsproleaguedetails.json +1 -0
- data/spec/responses/getfriends.json +44 -0
- data/spec/responses/getgodranks.json +71 -0
- data/spec/responses/getgodrecommendeditems.json +1 -0
- data/spec/responses/getgods.json +461 -0
- data/spec/responses/getitems.json +118 -0
- data/spec/responses/getleagueleaderboard.json +1 -0
- data/spec/responses/getleagueseasons.json +1 -0
- data/spec/responses/getmatchdetails.json +1 -0
- data/spec/responses/getmatchhistory.json +61 -0
- data/spec/responses/getmatchidsbyqueue.json +1 -0
- data/spec/responses/getmatchplayerdetails.json +1 -0
- data/spec/responses/getmotd.json +37 -0
- data/spec/responses/getplayer.json +57 -0
- data/spec/responses/getplayerstatus.json +1 -0
- data/spec/responses/getqueuestats.json +1 -0
- data/spec/responses/getsearchteams.json +1 -0
- data/spec/responses/getteamdetails.json +1 -0
- data/spec/responses/getteamplayers.json +1 -0
- data/spec/responses/gettopmatches.json +1 -0
- data/spec/responses/testsession.json +1 -0
- data/spec/shared_examples/smite_object.rb +17 -0
- data/spec/spec_helper.rb +51 -0
- metadata +75 -2
@@ -0,0 +1,118 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"ChildItemId" : 7527,
|
4
|
+
"DeviceName" : "Sovereignty",
|
5
|
+
"IconId" : 2864,
|
6
|
+
"ItemDescription" :
|
7
|
+
{"Description" : "This item gives the owner an aura of magical and physical protections.",
|
8
|
+
"Menuitems" : [{"Description" : "Health", "Value" : "+200"}, {"Description" : "Physical Protection", "Value" : "+50"}],
|
9
|
+
"SecondaryDescription" : "AURA - All allies within 70 units gain +20 Magical Protections and +25 HP5."},
|
10
|
+
"ItemId" : 7528,
|
11
|
+
"ItemTier" : 3,
|
12
|
+
"Price" : 700,
|
13
|
+
"RootItemId" : 7526,
|
14
|
+
"ShortDesc" : "Physical and Magical Protection Aura.",
|
15
|
+
"StartingItem" : false,
|
16
|
+
"Type" : "Item",
|
17
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/2864.jpg",
|
18
|
+
"ret_msg" : null
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"ChildItemId" : 0,
|
22
|
+
"DeviceName" : "Vampiric Shroud",
|
23
|
+
"IconId" : 2178,
|
24
|
+
"ItemDescription" :
|
25
|
+
{"Description" : "This starting item is for Magical users and gives them a chance to gain Health and Mana.",
|
26
|
+
"Menuitems" :
|
27
|
+
[{"Description" : "Magical Power", "Value" : "+20"},
|
28
|
+
{"Description" : "Health", "Value" : "+100"},
|
29
|
+
{"Description" : "MP5", "Value" : "+5"}],
|
30
|
+
"SecondaryDescription" : "PASSIVE - Killing an enemy restores 10 Health and 10 Mana."},
|
31
|
+
"ItemId" : 8247,
|
32
|
+
"ItemTier" : 1,
|
33
|
+
"Price" : 800,
|
34
|
+
"RootItemId" : 8247,
|
35
|
+
"ShortDesc" : "Killing minions or camps restores Health and Mana.",
|
36
|
+
"StartingItem" : true,
|
37
|
+
"Type" : "Item",
|
38
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/2178.jpg",
|
39
|
+
"ret_msg" : null
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"ChildItemId" : 9859,
|
43
|
+
"DeviceName" : "Soul Reaver",
|
44
|
+
"IconId" : 2908,
|
45
|
+
"ItemDescription" :
|
46
|
+
{"Description" : "This item causes the owner's ability to deal a percentage of the target's Health as additional damage.",
|
47
|
+
"Menuitems" : [{"Description" : "Magical Power", "Value" : "+100"}, {"Description" : "Mana", "Value" : "+300"}],
|
48
|
+
"SecondaryDescription" :
|
49
|
+
"PASSIVE - When a god takes damage from your abilities, they take 15% of their maximum Health in additional damage. If multiple gods are hit, the damage is applied to the one with the greatest maximum Health. This can only occur once every 60 seconds."},
|
50
|
+
"ItemId" : 9128,
|
51
|
+
"ItemTier" : 3,
|
52
|
+
"Price" : 1350,
|
53
|
+
"RootItemId" : 9858,
|
54
|
+
"ShortDesc" : "Bonus damage based on target's maximum Health.",
|
55
|
+
"StartingItem" : false,
|
56
|
+
"Type" : "Item",
|
57
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/2908.jpg",
|
58
|
+
"ret_msg" : null
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"ChildItemId" : 8566,
|
62
|
+
"DeviceName" : "Shifter's Shield",
|
63
|
+
"IconId" : 2254,
|
64
|
+
"ItemDescription" :
|
65
|
+
{"Description" : "This item gives the owner additional Physical Power or Protections based on missing Health.",
|
66
|
+
"Menuitems" :
|
67
|
+
[{"Description" : "Physical Power", "Value" : "+40"},
|
68
|
+
{"Description" : "Physical Protection", "Value" : "+15"},
|
69
|
+
{"Description" : "Magical Protection", "Value" : "+15"}],
|
70
|
+
"SecondaryDescription" :
|
71
|
+
"PASSIVE - While over 50% Health, you gain +20 Physical Power. While under 50% Health, you gain +20 Protections."},
|
72
|
+
"ItemId" : 8549,
|
73
|
+
"ItemTier" : 3,
|
74
|
+
"Price" : 1500,
|
75
|
+
"RootItemId" : 9833,
|
76
|
+
"ShortDesc" : "Provides Physical Power or Protections based on missing Health.",
|
77
|
+
"StartingItem" : false,
|
78
|
+
"Type" : "Item",
|
79
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/2254.jpg",
|
80
|
+
"ret_msg" : null
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"ChildItemId" : 0,
|
84
|
+
"DeviceName" : "Potion of Magical Might",
|
85
|
+
"IconId" : 1977,
|
86
|
+
"ItemDescription" :
|
87
|
+
{"Description" : "This consumable increases your Magical Power.",
|
88
|
+
"Menuitems" : [],
|
89
|
+
"SecondaryDescription" : "This consumable increases your Magical Power by 50 for 5 minutes or until you are killed."},
|
90
|
+
"ItemId" : 7529,
|
91
|
+
"ItemTier" : 1,
|
92
|
+
"Price" : 450,
|
93
|
+
"RootItemId" : 7529,
|
94
|
+
"ShortDesc" : "Magical Power buff.",
|
95
|
+
"StartingItem" : false,
|
96
|
+
"Type" : "Consumable",
|
97
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/1977.jpg",
|
98
|
+
"ret_msg" : null
|
99
|
+
},
|
100
|
+
{"ChildItemId" : 8850,
|
101
|
+
"DeviceName" : "Improved Aegis",
|
102
|
+
"IconId" : 2640,
|
103
|
+
"ItemDescription" :
|
104
|
+
{"Description" : "Invulnerability for 1.5 seconds.",
|
105
|
+
"Menuitems" : [],
|
106
|
+
"SecondaryDescription" :
|
107
|
+
"Using this item makes you invulnerable to damage for 1.5s, preventing you from taking action. Cooldown - 150s."},
|
108
|
+
"ItemId" : 8851,
|
109
|
+
"ItemTier" : 2,
|
110
|
+
"Price" : 300,
|
111
|
+
"RootItemId" : 8850,
|
112
|
+
"ShortDesc" : "Invulnerability for a duration.",
|
113
|
+
"StartingItem" : false,
|
114
|
+
"Type" : "Active",
|
115
|
+
"itemIcon_URL" : "http://hirezstudios.blob.core.windows.net/sitefinity/smite-items/2640.jpg",
|
116
|
+
"ret_msg" : null
|
117
|
+
}
|
118
|
+
]
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"ActiveId1" : 7531,
|
4
|
+
"ActiveId2" : 8868,
|
5
|
+
"Active_1" : "Greater Purification",
|
6
|
+
"Active_2" : "Improved Blink",
|
7
|
+
"Active_3" : null,
|
8
|
+
"Assists" : 17,
|
9
|
+
"Ban1" : "Sobek",
|
10
|
+
"Ban1Id" : 1747,
|
11
|
+
"Ban2" : "Ares",
|
12
|
+
"Ban2Id" : 1782,
|
13
|
+
"Ban3" : "Khepri",
|
14
|
+
"Ban3Id" : 2066,
|
15
|
+
"Ban4" : "Xing_Tian",
|
16
|
+
"Ban4Id" : 2072,
|
17
|
+
"Ban5" : "Sol",
|
18
|
+
"Ban5Id" : 2074,
|
19
|
+
"Ban6" : "Chiron",
|
20
|
+
"Ban6Id" : 2075,
|
21
|
+
"Creeps" : 133,
|
22
|
+
"Damage" : 30381,
|
23
|
+
"Damage_Bot" : 91362,
|
24
|
+
"Damage_Mitigated" : 7648,
|
25
|
+
"Damage_Structure" : 2624,
|
26
|
+
"Damage_Taken" : 19180,
|
27
|
+
"Deaths" : 1,
|
28
|
+
"God" : "Awilix",
|
29
|
+
"GodId" : 2037,
|
30
|
+
"Gold" : 15669,
|
31
|
+
"Healing" : 0,
|
32
|
+
"ItemId1" : 0,
|
33
|
+
"ItemId2" : 9626,
|
34
|
+
"ItemId3" : 7904,
|
35
|
+
"ItemId4" : 7829,
|
36
|
+
"ItemId5" : 7575,
|
37
|
+
"ItemId6" : 9339,
|
38
|
+
"Item_1" : "",
|
39
|
+
"Item_2" : "Warrior Tabi",
|
40
|
+
"Item_3" : "Jotunn's Wrath",
|
41
|
+
"Item_4" : "Brawler's Beat Stick",
|
42
|
+
"Item_5" : "The Executioner",
|
43
|
+
"Item_6" : "Mail of Renewal",
|
44
|
+
"Killing_Spree" : 9,
|
45
|
+
"Kills" : 14,
|
46
|
+
"Level" : 20,
|
47
|
+
"Match" : 222171635,
|
48
|
+
"Match_Time" : "2/1/2016 5:38:31 PM",
|
49
|
+
"Minutes" : 25,
|
50
|
+
"Multi_kill_Max" : 2,
|
51
|
+
"Queue" : "Leagues: Conquest",
|
52
|
+
"Skin" : "Blood Moon",
|
53
|
+
"SkinId" : 10934,
|
54
|
+
"Surrendered" : null,
|
55
|
+
"Team1Score" : 0,
|
56
|
+
"Team2Score" : 0,
|
57
|
+
"Win_Status" : "Win",
|
58
|
+
"playerName" : "adapting",
|
59
|
+
"ret_msg" : null
|
60
|
+
}
|
61
|
+
]
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1,37 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"description" : "<li>Gimme da gold! Start with a whopping 100,000 gold at the beginning of this all in Arena match.<li>Map: Arena</li><li>Starting Gold:100,000</li><li>Gods: Owned</li><li>Selection: Blind Pick</li></li>",
|
4
|
+
"gameMode" : "Arena",
|
5
|
+
"maxPlayers" : "",
|
6
|
+
"name" : "Hoarder",
|
7
|
+
"ret_msg" : null,
|
8
|
+
"startDateTime" : "2/1/2016 9:00:00 AM",
|
9
|
+
"team1GodsCSV" : "",
|
10
|
+
"team2GodsCSV" : "",
|
11
|
+
"title" : "Hoarder"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"description" : "<li>The battle of Ragnarok is here and all the gods are gathered in Asgard. Bring your favorite god to this fight at the end of the world. <li>Map: Assault</li><li>Gods:All</li><li>Selection:All Pick</li></li>\t",
|
15
|
+
"gameMode" : "Assault",
|
16
|
+
"maxPlayers" : "",
|
17
|
+
"name" : "All Out Assault (no aphro)",
|
18
|
+
"ret_msg" : null,
|
19
|
+
"startDateTime" : "1/31/2016 9:00:00 AM",
|
20
|
+
"team1GodsCSV" :
|
21
|
+
"1737, 1956, 2056, 2110, 1773, 1668, 2034, 1899, 1699, 1782, 1748, 1919, 2037, 1809, 1755, 1678, 2047, 2008, 1966, 1921, 2075, 1920, 1778, 1843, 1784, 1978, 1763, 1676, 1674, 1718, 1848, 2040, 1673, 1918, 1999, 1649, 2066, 1677, 1993, 1797, 2051, 1941, 1915, 1872, 1980, 2036, 1958, 1669, 2000, 1881, 1698, 2002, 2063, 2065, 1988, 2005, 1747, 2074, 1944, 2030, 1943, 1779, 1924, 1991, 1723, 1869, 1864, 2072, 1670, 1672, 1926",
|
22
|
+
"team2GodsCSV" :
|
23
|
+
"1737, 1956, 2056, 2110, 1773, 1668, 2034, 1899, 1699, 1782, 1748, 1919, 2037, 1809, 1755, 1678, 2047, 2008, 1966, 1921, 2075, 1920, 1778, 1843, 1784, 1978, 1763, 1676, 1674, 1718, 1848, 2040, 1673, 1918, 1999, 1649, 2066, 1677, 1993, 1797, 2051, 1941, 1915, 1872, 1980, 2036, 1958, 1669, 2000, 1881, 1698, 2002, 2063, 2065, 1988, 2005, 1747, 2074, 1944, 2030, 1943, 1779, 1924, 1991, 1723, 1869, 1864, 2072, 1670, 1672, 1926",
|
24
|
+
"title" : "All Out Assault"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"description" : "Join in the true sport of the gods, slaying each other. Battle your foes to see which team can slaughter 30 of their enemy first.<li>Map: Arena</li><li>Minion deaths don’t remove enemy tickets.</li><li>Only brute minions count when entering an enemy portal</li><li>Base Heal Disabled</li><li>Infinite Mana</li><li>Starting Ticket Count:150</li><li>Gods: Owned</li>",
|
28
|
+
"gameMode" : "Arena",
|
29
|
+
"maxPlayers" : "",
|
30
|
+
"name" : "Mass Deicide",
|
31
|
+
"ret_msg" : null,
|
32
|
+
"startDateTime" : "1/30/2016 9:00:00 AM",
|
33
|
+
"team1GodsCSV" : "",
|
34
|
+
"team2GodsCSV" : "",
|
35
|
+
"title" : "Mass Deicide"
|
36
|
+
}
|
37
|
+
]
|
@@ -0,0 +1,57 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"Avatar_URL" : "http://app.smitegame.com/playeravatar/?id=10587",
|
4
|
+
"Created_Datetime" : "12/29/2013 8:55:42 PM",
|
5
|
+
"Id" : 2784051,
|
6
|
+
"Last_Login_Datetime" : "2/1/2016 4:49:29 PM",
|
7
|
+
"LeagueConquest" :
|
8
|
+
{
|
9
|
+
"Leaves" : 17,
|
10
|
+
"Losses" : 498,
|
11
|
+
"Name" : "Conquest",
|
12
|
+
"Points" : 2334,
|
13
|
+
"PrevRank" : 1,
|
14
|
+
"Rank" : 1000,
|
15
|
+
"Rank_Stat_Conquest" : null,
|
16
|
+
"Rank_Stat_Joust" : null,
|
17
|
+
"Season" : 2,
|
18
|
+
"Tier" : 26,
|
19
|
+
"Trend" : 0,
|
20
|
+
"Wins" : 739,
|
21
|
+
"player_id" : null,
|
22
|
+
"ret_msg" : null
|
23
|
+
},
|
24
|
+
"LeagueJoust" :
|
25
|
+
{
|
26
|
+
"Leaves" : 0,
|
27
|
+
"Losses" : 18,
|
28
|
+
"Name" : "Joust",
|
29
|
+
"Points" : 21,
|
30
|
+
"PrevRank" : 142,
|
31
|
+
"Rank" : 1000,
|
32
|
+
"Rank_Stat_Conquest" : null,
|
33
|
+
"Rank_Stat_Joust" : null,
|
34
|
+
"Season" : 2,
|
35
|
+
"Tier" : 26,
|
36
|
+
"Trend" : 0,
|
37
|
+
"Wins" : 40,
|
38
|
+
"player_id" : null,
|
39
|
+
"ret_msg" : null
|
40
|
+
},
|
41
|
+
"Leaves" : 21,
|
42
|
+
"Level" : 30,
|
43
|
+
"Losses" : 1977,
|
44
|
+
"MasteryLevel" : 66,
|
45
|
+
"Name" : "[Epsi]Adapting",
|
46
|
+
"Rank_Stat" : 0,
|
47
|
+
"Rank_Stat_Joust" : 0,
|
48
|
+
"TeamId" : 478427,
|
49
|
+
"Team_Name" : "Epsilon eSports",
|
50
|
+
"Tier_Conquest" : 26,
|
51
|
+
"Tier_Joust" : 26,
|
52
|
+
"Total_Achievements" : 141,
|
53
|
+
"Total_Worshippers" : 52023,
|
54
|
+
"Wins" : 3728,
|
55
|
+
"ret_msg" : null
|
56
|
+
}
|
57
|
+
]
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
"successful"
|
@@ -0,0 +1,17 @@
|
|
1
|
+
RSpec.shared_examples "a Smite::Object" do
|
2
|
+
it 'has all underscored data fields' do
|
3
|
+
smite_obj.attributes.each do |attr|
|
4
|
+
expect(attr).not_to match(/[A-Z]/)
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
it 'responds to each data field' do
|
9
|
+
smite_obj.attributes.each do |attr|
|
10
|
+
expect{ smite_obj.send(attr) }.not_to raise_error
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'does not keep ret_msg as an attribute' do
|
15
|
+
expect(smite_obj.attributes).not_to include('ret_msg')
|
16
|
+
end
|
17
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'rspec'
|
2
|
+
require 'webmock'
|
3
|
+
|
4
|
+
require_relative File.join(File.dirname(__FILE__), '..', 'lib', 'smite.rb')
|
5
|
+
require_relative File.join(File.dirname(__FILE__), 'shared_examples', 'smite_object.rb')
|
6
|
+
|
7
|
+
def response_file(request)
|
8
|
+
"#{File.dirname(__FILE__)}/responses/#{request}.json"
|
9
|
+
end
|
10
|
+
|
11
|
+
def response_body(request)
|
12
|
+
File.open(response_file(request)).read
|
13
|
+
end
|
14
|
+
|
15
|
+
RSpec.configure do |config|
|
16
|
+
config.before do
|
17
|
+
WebMock.disable_net_connect! allow_localhost: true
|
18
|
+
%w(
|
19
|
+
createsession
|
20
|
+
testsession
|
21
|
+
getdataused
|
22
|
+
getgods
|
23
|
+
getitems
|
24
|
+
getesportsproleaguedetails
|
25
|
+
getgodrecommendeditems
|
26
|
+
getmatchplayerdetails
|
27
|
+
getmatchidsbyqueue
|
28
|
+
getleagueseasons
|
29
|
+
getleagueleaderboard
|
30
|
+
getmotd
|
31
|
+
getplayerstatus
|
32
|
+
getqueuestats
|
33
|
+
getteamdetails
|
34
|
+
getteamplayers
|
35
|
+
gettopmatches
|
36
|
+
getmatchdetails
|
37
|
+
getachievements
|
38
|
+
getfriends
|
39
|
+
getgodranks
|
40
|
+
getplayer
|
41
|
+
getmatchhistory
|
42
|
+
getsearchteams
|
43
|
+
).each do |method|
|
44
|
+
WebMock.stub_request(:get, /#{method}/).to_return(
|
45
|
+
body: response_body(method),
|
46
|
+
headers: { content_type: 'application/json' },
|
47
|
+
status: 200
|
48
|
+
)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smite_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NcUltimate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01
|
11
|
+
date: 2016-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: webmock
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
41
69
|
description: Ruby Client for consuming the Smite API
|
42
70
|
email: jmklemen@gmail.com
|
43
71
|
executables: []
|
@@ -47,6 +75,7 @@ files:
|
|
47
75
|
- .DS_Store
|
48
76
|
- .gitignore
|
49
77
|
- Gemfile
|
78
|
+
- Gemfile.lock
|
50
79
|
- README.md
|
51
80
|
- lib/smite.rb
|
52
81
|
- lib/smite/ability.rb
|
@@ -55,15 +84,59 @@ files:
|
|
55
84
|
- lib/smite/data_transform.rb
|
56
85
|
- lib/smite/friend.rb
|
57
86
|
- lib/smite/game.rb
|
87
|
+
- lib/smite/getgods.json
|
58
88
|
- lib/smite/god.rb
|
59
89
|
- lib/smite/god_rank.rb
|
60
90
|
- lib/smite/god_stats.rb
|
61
91
|
- lib/smite/item.rb
|
62
92
|
- lib/smite/item_effect.rb
|
63
93
|
- lib/smite/match.rb
|
94
|
+
- lib/smite/motd.rb
|
64
95
|
- lib/smite/object.rb
|
65
96
|
- lib/smite/player.rb
|
97
|
+
- lib/smite/queue.rb
|
98
|
+
- lib/smite/recent_match.rb
|
99
|
+
- lib/smite/recommended_items.rb
|
66
100
|
- smite_ruby.gemspec
|
101
|
+
- spec/ability_spec.rb
|
102
|
+
- spec/achievements_spec.rb
|
103
|
+
- spec/client_spec.rb
|
104
|
+
- spec/data_transform_spec.rb
|
105
|
+
- spec/friend_spec.rb
|
106
|
+
- spec/game_spec.rb
|
107
|
+
- spec/god_rank_spec.rb
|
108
|
+
- spec/god_spec.rb
|
109
|
+
- spec/god_stats_spec.rb
|
110
|
+
- spec/item_effect_spec.rb
|
111
|
+
- spec/item_spec.rb
|
112
|
+
- spec/match_spec.rb
|
113
|
+
- spec/player_spec.rb
|
114
|
+
- spec/responses/createsession.json
|
115
|
+
- spec/responses/getachievements.json
|
116
|
+
- spec/responses/getdataused.json
|
117
|
+
- spec/responses/getesportsproleaguedetails.json
|
118
|
+
- spec/responses/getfriends.json
|
119
|
+
- spec/responses/getgodranks.json
|
120
|
+
- spec/responses/getgodrecommendeditems.json
|
121
|
+
- spec/responses/getgods.json
|
122
|
+
- spec/responses/getitems.json
|
123
|
+
- spec/responses/getleagueleaderboard.json
|
124
|
+
- spec/responses/getleagueseasons.json
|
125
|
+
- spec/responses/getmatchdetails.json
|
126
|
+
- spec/responses/getmatchhistory.json
|
127
|
+
- spec/responses/getmatchidsbyqueue.json
|
128
|
+
- spec/responses/getmatchplayerdetails.json
|
129
|
+
- spec/responses/getmotd.json
|
130
|
+
- spec/responses/getplayer.json
|
131
|
+
- spec/responses/getplayerstatus.json
|
132
|
+
- spec/responses/getqueuestats.json
|
133
|
+
- spec/responses/getsearchteams.json
|
134
|
+
- spec/responses/getteamdetails.json
|
135
|
+
- spec/responses/getteamplayers.json
|
136
|
+
- spec/responses/gettopmatches.json
|
137
|
+
- spec/responses/testsession.json
|
138
|
+
- spec/shared_examples/smite_object.rb
|
139
|
+
- spec/spec_helper.rb
|
67
140
|
homepage: https://rubygems.org/gems/smite_ruby
|
68
141
|
licenses:
|
69
142
|
- MIT
|