gun_broker 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gun_broker/item.rb +5 -1
- data/lib/gun_broker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f02df2d0bcc349ad31daf68f74584496eee7b757
|
4
|
+
data.tar.gz: b5c75e748042ae38d8e3e52b8f254d7cf428c8ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28f5d5ee4ddbd7514c088a09bd8ee115329abf79ddc44b70864059b5055dc63e110f360c42e2f3e3354445d4c90b6c0b834742beaf8720044e42254ccbe96b8e
|
7
|
+
data.tar.gz: 8d442c5f1da97906a72328c95833c39a921861f46e2eddf6a79a815d5d54ac08c1b3c2ced511d00469b7b7c8d6b0610fddef630fe04b53e14a4b4497eeb94f26
|
data/lib/gun_broker/item.rb
CHANGED
@@ -54,7 +54,11 @@ module GunBroker
|
|
54
54
|
|
55
55
|
# @return [String] GunBroker.com URL for this Item.
|
56
56
|
def url
|
57
|
-
|
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).
|
data/lib/gun_broker/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|