We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5a909 commit 4f3c2c2Copy full SHA for 4f3c2c2
lib/esdb/match.rb
@@ -42,12 +42,12 @@ def userdelete(user_id)
42
JSON.parse(resp)
43
end
44
45
- def expansion
46
- (release_string && release_string[0] == '2' && release_string != '2.0.4.24944' && release_string != '2.0.5.25092') ? 'HotS' : 'WoL'
+ def expansion_tag
+ expansion == 0 ? 'WoL' : 'HotS'
47
48
49
def expansion_long
50
- expansion == 'HotS' ? 'Heart of the Swarm' : 'Wings of Liberty'
+ expansion == 1 ? 'Heart of the Swarm' : 'Wings of Liberty'
51
52
53
0 commit comments