blizzard_api 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +4 -4
- data/lib/blizzard_api/starcraft/community/legacy.rb +6 -6
- data/lib/blizzard_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f331c75e7b30062614bb12c18bfe208742debf32143048dfb51e322baa53fe83
|
4
|
+
data.tar.gz: 8653702786c36a232c7698feb4b8559681dd5418fe9ad5e390578977c2b3525c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac6789833e98e6f0b1a940999ea59ac96bf1c9676bf58fff869c1a78fb98a5ffffb3e52254f4e261b73407606e6659bff3c904f31c436694d65d1e2bf873d45d
|
7
|
+
data.tar.gz: '088809759e0d6afe7ad9824098f54c1c4d4d66457ef187c3e24b0288bf3f6dfdfbb34e39cb0d5396db8f8360f69fdea55c64e988597115dc6920e98259fd414b'
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -13,11 +13,11 @@ GEM
|
|
13
13
|
e2mmap (0.1.0)
|
14
14
|
minitest (5.14.4)
|
15
15
|
parallel (1.20.1)
|
16
|
-
parser (3.0.
|
16
|
+
parser (3.0.2.0)
|
17
17
|
ast (~> 2.4.1)
|
18
18
|
rainbow (3.0.0)
|
19
|
-
rake (13.0.
|
20
|
-
redis (4.
|
19
|
+
rake (13.0.6)
|
20
|
+
redis (4.3.1)
|
21
21
|
regexp_parser (2.1.1)
|
22
22
|
rexml (3.2.5)
|
23
23
|
rubocop (0.93.1)
|
@@ -29,7 +29,7 @@ GEM
|
|
29
29
|
rubocop-ast (>= 0.6.0)
|
30
30
|
ruby-progressbar (~> 1.7)
|
31
31
|
unicode-display_width (>= 1.4.0, < 2.0)
|
32
|
-
rubocop-ast (1.
|
32
|
+
rubocop-ast (1.8.0)
|
33
33
|
parser (>= 3.0.1.1)
|
34
34
|
ruby-progressbar (1.11.0)
|
35
35
|
thwait (0.2.0)
|
@@ -20,7 +20,7 @@ module BlizzardApi
|
|
20
20
|
def profile(region_id, realm_id, profile_id, **options)
|
21
21
|
reg = resolve_region(region_id)
|
22
22
|
opts = { ttl: CACHE_DAY }.merge(options)
|
23
|
-
api_request "#{base_url(:community)}/legacy/profile/#{reg}/#{realm_id}/#{profile_id}", opts
|
23
|
+
api_request "#{base_url(:community)}/legacy/profile/#{reg}/#{realm_id}/#{profile_id}", **opts
|
24
24
|
end
|
25
25
|
|
26
26
|
##
|
@@ -33,7 +33,7 @@ module BlizzardApi
|
|
33
33
|
def ladders(region_id, realm_id, profile_id, **options)
|
34
34
|
reg = resolve_region(region_id)
|
35
35
|
opts = { ttl: CACHE_DAY }.merge(options)
|
36
|
-
api_request "#{base_url(:community)}/legacy/profile/#{reg}/#{realm_id}/#{profile_id}/ladder ", opts
|
36
|
+
api_request "#{base_url(:community)}/legacy/profile/#{reg}/#{realm_id}/#{profile_id}/ladder ", **opts
|
37
37
|
end
|
38
38
|
|
39
39
|
##
|
@@ -46,7 +46,7 @@ module BlizzardApi
|
|
46
46
|
def match(region_id, realm_id, profile_id, **options)
|
47
47
|
reg = resolve_region(region_id)
|
48
48
|
opts = { ttl: CACHE_DAY }.merge(options)
|
49
|
-
api_request "#{base_url(:community)}/legacy/profile/#{reg}/#{realm_id}/#{profile_id}/matches", opts
|
49
|
+
api_request "#{base_url(:community)}/legacy/profile/#{reg}/#{realm_id}/#{profile_id}/matches", **opts
|
50
50
|
end
|
51
51
|
|
52
52
|
##
|
@@ -58,7 +58,7 @@ module BlizzardApi
|
|
58
58
|
def ladder(region_id, ladder_id, **options)
|
59
59
|
reg = resolve_region(region_id)
|
60
60
|
opts = { ttl: CACHE_DAY }.merge(options)
|
61
|
-
api_request "#{base_url(:community)}/legacy/ladder/#{reg}/#{ladder_id}", opts
|
61
|
+
api_request "#{base_url(:community)}/legacy/ladder/#{reg}/#{ladder_id}", **opts
|
62
62
|
end
|
63
63
|
|
64
64
|
##
|
@@ -69,7 +69,7 @@ module BlizzardApi
|
|
69
69
|
def achievements(region_id, **options)
|
70
70
|
reg = resolve_region(region_id)
|
71
71
|
opts = { ttl: CACHE_DAY }.merge(options)
|
72
|
-
api_request "#{base_url(:community)}/legacy/data/achievements/#{reg}", opts
|
72
|
+
api_request "#{base_url(:community)}/legacy/data/achievements/#{reg}", **opts
|
73
73
|
end
|
74
74
|
|
75
75
|
##
|
@@ -80,7 +80,7 @@ module BlizzardApi
|
|
80
80
|
def rewards(region_id, **options)
|
81
81
|
reg = resolve_region(region_id)
|
82
82
|
opts = { ttl: CACHE_DAY }.merge(options)
|
83
|
-
api_request "#{base_url(:community)}/legacy/data/rewards/#{reg}", opts
|
83
|
+
api_request "#{base_url(:community)}/legacy/data/rewards/#{reg}", **opts
|
84
84
|
end
|
85
85
|
end
|
86
86
|
end
|
data/lib/blizzard_api/version.rb
CHANGED