rbtc_arbitrage 1.4.5 → 1.4.6

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: bd462146c2382b7359c86477a61e3650a7e71f4e
4
- data.tar.gz: 3ee512b9888db70ad867cfd432a0e2127b9e14da
3
+ metadata.gz: 62369ae5921161c77cf12861468a5a030c341501
4
+ data.tar.gz: 455e70c7cef5c338ad71b61fde1f83748b7afbd2
5
5
  SHA512:
6
- metadata.gz: e652d1027f3c204e6272657ddf5667e73923f9bf4c0b8e751da0887593a59e962c4f8f0ccfcb7ace528626477435a74fdd14a9a59c90c655398910e8c2c3c1be
7
- data.tar.gz: a313b8d5cadc99de28844adce28cf2e222c210f25ed4932580e9ef00b873236c568644156da5a3ddbe87add793d82d1171214ed5b9fd8ac5ed9d8957603ead94
6
+ metadata.gz: 6b4fc22945496444b7fcb510bb5f8e3b22ac1c35f14c35d384cffd72d9c700a7ffe5e80b776ba114522a8c2beaff0120275f26a7f28947372479e02ac29433f7
7
+ data.tar.gz: fc36f51cac71e6e4ed8ff34d566d8ba884c57e5dc4ba436f942ba790da274bc9b279918a232cbe157b33a83ab6fc41ffd8817937d27538bfeb74eb48cf012601
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rbtc_arbitrage (1.4.5)
4
+ rbtc_arbitrage (1.4.6)
5
5
  activemodel (>= 3.1)
6
6
  activesupport (>= 3.1)
7
7
  bitstamp
@@ -16,10 +16,11 @@ module RbtcArbitrage
16
16
  if @options[:verbose]
17
17
  warning = "Coinbase doesn't provide a USD balance because"
18
18
  warning << " it connects to your bank account. Be careful, "
19
- warning << "because this will withdraw directly from your accounts."
19
+ warning << "because this will withdraw directly from your accounts"
20
+ warning << "when you trade live."
20
21
  logger.warn warning
21
22
  end
22
- @balance ||= [interface.balance.to_f, max_float]
23
+ @balance ||= [max_float, max_float]
23
24
  end
24
25
 
25
26
  # Configures the client's API keys.
@@ -1,3 +1,3 @@
1
1
  module RbtcArbitrage
2
- VERSION = "1.4.5"
2
+ VERSION = "1.4.6"
3
3
  end
@@ -7,9 +7,8 @@ describe RbtcArbitrage::Clients::CoinbaseClient do
7
7
  it { client.exchange.should == :coinbase }
8
8
 
9
9
  describe "#balance" do
10
- it "fetches the balance correctly", :vcr do
11
- balance = coinbase.balance.to_f
12
- expected = [balance, Float::MAX]
10
+ it "fetches the balance correctly" do
11
+ expected = [Float::MAX, Float::MAX]
13
12
  client.balance.should eql(expected)
14
13
  client.balance.each do |b|
15
14
  b.should be_a(Float)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbtc_arbitrage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hank Stoever
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-08 00:00:00.000000000 Z
11
+ date: 2014-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler