btce 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/btce.rb +2 -2
  2. metadata +2 -3
data/lib/btce.rb CHANGED
@@ -244,8 +244,8 @@ module Btce
244
244
  def trade_api_call(method, extra)
245
245
  params = {"method" => method, "nonce" => nonce}
246
246
  if ! extra.empty?
247
- extra.each do |a|
248
- params[a.to_s] = a
247
+ extra.each do |k,v|
248
+ params[k.to_s] = v
249
249
  end
250
250
  end
251
251
  signed = sign params
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: btce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-14 00:00:00.000000000 Z
12
+ date: 2013-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: monkey-patch
@@ -59,4 +59,3 @@ signing_key:
59
59
  specification_version: 3
60
60
  summary: A simple library to interface with the API for btc-e.com in Ruby.
61
61
  test_files: []
62
- has_rdoc: