coinbase 4.0.8 → 4.0.9
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.
Potentially problematic release.
This version of coinbase might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/coinbase.gemspec +1 -1
- data/lib/coinbase/wallet/api_client.rb +1 -1
- data/lib/coinbase/wallet/version.rb +1 -1
- data/spec/endpoints_spec.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2aeb20fe3f9c2693a7999d145bc89a0053ea33d8
|
|
4
|
+
data.tar.gz: c76f4a45921c73886af5fbe36fa6e3a8e9f02584
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e53a6aa567705fe317ba8775bd1c41bb4533d43a5a68653ee89a79cf3506ceaf06b8a1d50536c941c0588e4bce4812b87b5d0a81b691d040e41ebc01617e863d
|
|
7
|
+
data.tar.gz: 55644bd507fe39c22c45e0cbc8eeb6c6fa5c70d1b740b9d3e48901288b85833c94423f0b8db8af0c2c04c5585af366f9f75e7e121e6ab259c46754c622ebc325
|
data/coinbase.gemspec
CHANGED
|
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
|
|
|
7
7
|
gem.name = "coinbase"
|
|
8
8
|
gem.version = Coinbase::Wallet::VERSION
|
|
9
9
|
gem.authors = ["John Duhamel", "Jori Lallo"]
|
|
10
|
-
gem.email = ["
|
|
10
|
+
gem.email = ["api@coinbase.com"]
|
|
11
11
|
gem.description = "Client library for Coinbase Wallet API v2"
|
|
12
12
|
gem.summary = "Client library for Coinbase Wallet API v2"
|
|
13
13
|
gem.homepage = "https://developers.coinbase.com/api/v2"
|
|
@@ -20,7 +20,7 @@ module Coinbase
|
|
|
20
20
|
def exchange_rates(params = {})
|
|
21
21
|
out = nil
|
|
22
22
|
get("/v2/exchange-rates", params) do |resp|
|
|
23
|
-
out =
|
|
23
|
+
out = APIObject.new(self, resp.data)
|
|
24
24
|
yield(out, resp) if block_given?
|
|
25
25
|
end
|
|
26
26
|
out
|
data/spec/endpoints_spec.rb
CHANGED
|
@@ -16,8 +16,8 @@ describe Coinbase::Wallet do
|
|
|
16
16
|
|
|
17
17
|
it "gets exchange rates" do
|
|
18
18
|
stub_request(:get, "https://api.coinbase.com/v2/exchange-rates")
|
|
19
|
-
.to_return(body: { data:
|
|
20
|
-
expect(@client.exchange_rates).to eq
|
|
19
|
+
.to_return(body: { data: mock_item }.to_json)
|
|
20
|
+
expect(@client.exchange_rates).to eq mock_item
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
it "gets buy price" do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coinbase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Duhamel
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-10-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|
|
@@ -83,7 +83,7 @@ dependencies:
|
|
|
83
83
|
version: '0'
|
|
84
84
|
description: Client library for Coinbase Wallet API v2
|
|
85
85
|
email:
|
|
86
|
-
-
|
|
86
|
+
- api@coinbase.com
|
|
87
87
|
executables:
|
|
88
88
|
- console
|
|
89
89
|
- setup
|