steam-trade 0.0.2 → 0.0.3
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 +4 -4
- data/lib/Trade.rb +2 -2
- data/steam-trade.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49704550ed2e68393e6733157899072b7121f3dd
|
4
|
+
data.tar.gz: 46fb84c4abf3f43adf727987a94041d9e478cc9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21b5a79a450738730623f7864ae45efaa52ce91512cd542c27812a9ca8fb1f6c3b54852afee0dc7df63d46f47f3316aeecb855cc2321c73c7beb794d6bd7aa79
|
7
|
+
data.tar.gz: ea0ebf2a10661d4f8ab6c1231160125a88c4b8008a1648bbfd8d5921c5fce229f960f060c219ce3b4960b73a4520607c35914747c4132b8dcdad7b7481a04261
|
data/lib/Trade.rb
CHANGED
@@ -56,11 +56,11 @@ module TradeCommands
|
|
56
56
|
{'Referer' => 'https://steamcommunity.com/tradeoffer/new', 'Origin' => 'https://steamcommunity.com'}
|
57
57
|
)
|
58
58
|
response = JSON.parse(send.body)
|
59
|
-
puts "trade offer sent" + response["tradeofferid"])
|
59
|
+
puts "trade offer sent " + response["tradeofferid"])
|
60
60
|
if response["needs_mobile_confirmation"] == true
|
61
61
|
if @identity_secret != nil && @steamid != nil
|
62
62
|
responsehash = response.merge(send_trade_allow_request(response["tradeofferid"]))
|
63
|
-
puts "offer confirmed" + response["tradeofferid"]
|
63
|
+
puts "offer confirmed " + response["tradeofferid"]
|
64
64
|
else
|
65
65
|
puts "cannot confirm trade automatically, informations missing"
|
66
66
|
puts "Please confirm the trade offer manually #{response["tradeofferid"]} "
|
data/steam-trade.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "steam-trade"
|
8
|
-
spec.version = '0.0.
|
8
|
+
spec.version = '0.0.3'
|
9
9
|
spec.date = '2018-04-21'
|
10
10
|
spec.authors = ["OmG3r"]
|
11
11
|
spec.email = ["adam.boulila@live.fr"]
|