bitex_bot 0.2.13 → 0.2.14

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: b8994e54974f11a72d84fe860f4089d59561e6ac
4
- data.tar.gz: 70e62bb47abb627a4b1f71312bc7b5b9f6c3389e
3
+ metadata.gz: c42b05ed4278c7d8b1b9850c46c9bba7994d21fc
4
+ data.tar.gz: dfb6023e89e0321d26a5850573fbf973d674bead
5
5
  SHA512:
6
- metadata.gz: a26decc7d2f8f81c37e6bf3a751f9b3f84acdc4be6149320869a0343c36801d6e94dc8ec43d0bd52e03599c3b1262b75c26b1f060e84f2740887e9f54d132c21
7
- data.tar.gz: 34359e33f27d99d5be888e8c4fe641c4031adf8787b1629aa82958c0376df67fd385c3025b950368b8c690ac3af2db9bc5be17b222c0891010475a5da326b0e0
6
+ metadata.gz: 54e0bbd23f490ef6448b2396c3d636a8a7b1d6f7221633de4c88dff0bfeb225914f0debd83a6f3636899577395d1e489d34b8c76eb52199857c266aed5ee6286
7
+ data.tar.gz: 034990c359727a7784fc2ed10e6ce1db327748800842c4c19351cf13991c3a3f26e831598c3e5c44d86741055afed754b331437d190a040c14929bb43b86a261
@@ -22,11 +22,12 @@ class BitfinexApiWrapper
22
22
  def self.transactions
23
23
  with_retry 'transactions' do
24
24
  Bitfinex::Client.new.trades.collect do |t|
25
- { tid: t['tid'].to_i,
25
+ Hashie::Mash.new({
26
+ tid: t['tid'].to_i,
26
27
  price: t['price'],
27
28
  amount: t['amount'],
28
29
  date: t['timestamp']
29
- }
30
+ })
30
31
  end
31
32
  end
32
33
  end
@@ -1,3 +1,3 @@
1
1
  module BitexBot
2
- VERSION = "0.2.13"
2
+ VERSION = "0.2.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitex_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nubis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-04-14 00:00:00.000000000 Z
12
+ date: 2016-04-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: settingslogic