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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: daa79d3a8860c6cfd5b600090627933b7b2710ade24d4c76099198741accff97
4
- data.tar.gz: f98d1226d19bfb605aa65c5380f7d3891b0b3fa733b7f85f3e21ba0d92ba9ee9
3
+ metadata.gz: f331c75e7b30062614bb12c18bfe208742debf32143048dfb51e322baa53fe83
4
+ data.tar.gz: 8653702786c36a232c7698feb4b8559681dd5418fe9ad5e390578977c2b3525c
5
5
  SHA512:
6
- metadata.gz: 97da96397847d2d55c09a1bf7fa8aa81fe828780b58dd4830635c06fcb4070799df4e271ffa92c2dd64e40caa5fe0ab78609a0cb3940abee8d91a73a09e3f156
7
- data.tar.gz: 95cd4500e97f933fdd29ac2005524a3b1cb8b5283b82a61dd737a9f04bfaf6206dbc32869c95ff9ca95c72efebb8e3fb6d702126fad41a6f058cd81d88b4f173
6
+ metadata.gz: ac6789833e98e6f0b1a940999ea59ac96bf1c9676bf58fff869c1a78fb98a5ffffb3e52254f4e261b73407606e6659bff3c904f31c436694d65d1e2bf873d45d
7
+ data.tar.gz: '088809759e0d6afe7ad9824098f54c1c4d4d66457ef187c3e24b0288bf3f6dfdfbb34e39cb0d5396db8f8360f69fdea55c64e988597115dc6920e98259fd414b'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  Please view this file on the master branch, otherwise it may be outdated
2
2
 
3
+ **Version 0.6.4**
4
+
5
+ Fixed argument propagation in SC2 legacy profile methods.
6
+
3
7
  **Version 0.6.3**
4
8
 
5
9
  Fixed argument propagation in some profile methods.
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.1.1)
16
+ parser (3.0.2.0)
17
17
  ast (~> 2.4.1)
18
18
  rainbow (3.0.0)
19
- rake (13.0.3)
20
- redis (4.2.5)
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.5.0)
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
@@ -2,5 +2,5 @@
2
2
 
3
3
  module BlizzardApi
4
4
  # Gem version
5
- VERSION = '0.6.3'
5
+ VERSION = '0.6.4'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blizzard_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis Schiavo