blizzard_api 0.3.10 → 0.3.11

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: 5cf06d7b559908f9d323a4c7e2da059a9da60697f4048fdd53fe09e485acc229
4
- data.tar.gz: 8adc3dae8a36c1aae4a7a4aae51ba268af374dc8aff3e652c81159340374b2a0
3
+ metadata.gz: 0d749ca8885288890aa3fd989b55d761520775a0187bc395802152d09a27b57d
4
+ data.tar.gz: b9da4c8d1aa1c505737a258780e80db4c41a0ea789fef38b7d673cdd5ad3a29b
5
5
  SHA512:
6
- metadata.gz: 199eef0b6e579aeef8381b1f7e8577d63976115ad135e63591be8147d551d7bfef3ea6e9cfaf8ef823115b8ad8156ef3da2ead5e50ec67604ccdac28c2e85cf4
7
- data.tar.gz: bfa921cff79d09fc441f30196bba8132ac0c8a5f6e67b8fc824ac5596f6889ae36d732bb8b22cfd65400e3507bc2d8db70dfbf698be5cde096ca08b17382a65a
6
+ metadata.gz: 2320bad31262928a97d77ddf5092ad86a80278ac88572be33a9f252aa639d99973a8c3554b786f3c95fc9a05be0aba099412038eaee56bda11a9e6414221ff40
7
+ data.tar.gz: 7a9df7fb947da25b9e5ae4e19c6384acfe3f5111f6d4ca2615f4ab87ee80cdfde25bb7cbebde597e2c5bebe4b303a661605e6ff51ef68860c24c07895883c844
@@ -1,5 +1,9 @@
1
1
  Please view this file on the master branch, otherwise it may be outdated
2
2
 
3
+ **Version 0.3.11**
4
+
5
+ Fixed D3 item URL.
6
+
3
7
  **Version 0.3.10**
4
8
 
5
9
  Really fixed D3 profile URLs this time.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- blizzard_api (0.3.9)
4
+ blizzard_api (0.3.11)
5
5
  redis (~> 4.1, >= 4.1.0)
6
6
 
7
7
  GEM
@@ -14,12 +14,11 @@ module BlizzardApi
14
14
  # Return information about an item
15
15
  #
16
16
  # @param item_slug [String] Item slug
17
- # @param item_id [Integer] Item id
18
17
  # @!macro request_options
19
18
  #
20
19
  # @!macro response
21
- def get(item_slug, item_id, options = {})
22
- api_request "#{base_url(:community)}/data/item/#{item_slug}-#{item_id}", { ttl: CACHE_TRIMESTER }.merge(options)
20
+ def get(item_slug_and_id, options = {})
21
+ api_request "#{base_url(:community)}/data/item/#{item_slug_and_id}", { ttl: CACHE_TRIMESTER }.merge(options)
23
22
  end
24
23
  end
25
24
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module BlizzardApi
4
4
  # Gem version
5
- VERSION = '0.3.10'
5
+ VERSION = '0.3.11'
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.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis Schiavo