gun_broker 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2add80a1c97a54bbda6eb276bcbf610238ee2946
4
- data.tar.gz: 127030f06ed62e09f5e474d801aacca34b6f3686
3
+ metadata.gz: f02df2d0bcc349ad31daf68f74584496eee7b757
4
+ data.tar.gz: b5c75e748042ae38d8e3e52b8f254d7cf428c8ba
5
5
  SHA512:
6
- metadata.gz: 204b40ff2def5436d7b86153d0e40ab3c5e720434127f545b88db9aefe896b8e93654c29c42e37d8f39832c186ee5aad543e24402be2f40510ff0ab4ab7670d4
7
- data.tar.gz: 831fa1522f558b9c27e423ae643535c3481f04bae97649449d15b55a3a158a617900f612c589fff44b783a999597d8f1a5e828543fd065ee66ac3dc682547e16
6
+ metadata.gz: 28f5d5ee4ddbd7514c088a09bd8ee115329abf79ddc44b70864059b5055dc63e110f360c42e2f3e3354445d4c90b6c0b834742beaf8720044e42254ccbe96b8e
7
+ data.tar.gz: 8d442c5f1da97906a72328c95833c39a921861f46e2eddf6a79a815d5d54ac08c1b3c2ced511d00469b7b7c8d6b0610fddef630fe04b53e14a4b4497eeb94f26
@@ -54,7 +54,11 @@ module GunBroker
54
54
 
55
55
  # @return [String] GunBroker.com URL for this Item.
56
56
  def url
57
- "http://www.gunbroker.com/Auction/ViewItem.aspx?Item=#{id}"
57
+ if GunBroker.sandbox
58
+ "http://www.sandbox.gunbroker.com/Auction/ViewItem.aspx?Item=#{id}"
59
+ else
60
+ "http://www.gunbroker.com/Auction/ViewItem.aspx?Item=#{id}"
61
+ end
58
62
  end
59
63
 
60
64
  # @param key [String] An Item attribute name (from the JSON response).
@@ -1,3 +1,3 @@
1
1
  module GunBroker
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
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: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Campbell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-13 00:00:00.000000000 Z
11
+ date: 2015-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler