gun_broker 1.4.0 → 1.4.1

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
  SHA1:
3
- metadata.gz: c7c5d35e48c658ec3bb20f91f9324d87689576eb
4
- data.tar.gz: 190619c274d40d9ca6c5ebc3b4a006262d8655ee
3
+ metadata.gz: 62e2a0d5b757726f01aab30d96873237f267da2f
4
+ data.tar.gz: f30c026a0577ebe4b4105b521b1e6053319493db
5
5
  SHA512:
6
- metadata.gz: 560eab3e870fb03dd1f02909b89506a9e9f85b39199475081761811f23ce8b3c15eaa0a98bac1e6e32776949e679aa995aa62898da3be94956b20021e0a09688
7
- data.tar.gz: 298d96e0ceb32d73c4b397a6049db34b0544aa411d19b07e3895fe821f7e2f9564721cd0d03960ecb8b9f5291248bca54792ae4b3d2dc827ca0ee279890bfb8c
6
+ metadata.gz: 055802eefb16172590179da870b52f88bffd5dbd4961ee03fb3c31f45e0e3cc30b8c0adf556bb76ba9a18714cff50bd8732570694409538424a6be06e172a08a
7
+ data.tar.gz: bff3a7bf1f2c16f8155baa41a09dfbfe746bc0125622ec8f9087b02e2528d6bde915e41ba2414e853322d605c4a99c629ab6f6ded9c88d1eea5c2bbf597be330
@@ -45,7 +45,7 @@ module GunBroker
45
45
 
46
46
  # @return [Array] Item IDs of associated items for this Order.
47
47
  def item_ids
48
- @attrs['itemIDs']
48
+ (@attrs['items'] || @attrs['orderItemsCollection']).collect { |item| item['itemID'] }
49
49
  end
50
50
 
51
51
  # @return [Hash] Billing info for this Order.
@@ -1,3 +1,3 @@
1
1
  module GunBroker
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gun_broker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Campbell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-29 00:00:00.000000000 Z
11
+ date: 2018-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler