bittrex 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +5 -4
- data/bittrex.gemspec +1 -1
- data/lib/bittrex/version.rb +1 -1
- data/lib/bittrex/withdrawal.rb +2 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 769c344d987eff854b77f19eba5809091bc90010
|
4
|
+
data.tar.gz: 8badc95d655acf79261b1da25e8a5910e49096a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7725955961b22b9cf080d0c4144025474a7ced50f14518e14132205569b2d45fb9003bc884962feb5795d7ca47bf595edb4592931dcdd2046ab101cabc2c1b07
|
7
|
+
data.tar.gz: b2428bee6fc78b0a73cf68d865f020e4d01e21e266a337ec9586b2ef8661b82bccf62b405604b1bfdf9c2033f018d645e9a70882add4411134144cc3c69ea92b
|
data/.circleci/config.yml
CHANGED
@@ -44,10 +44,11 @@ jobs:
|
|
44
44
|
TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
|
45
45
|
|
46
46
|
bundle exec rspec --format progress \
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
47
|
+
--format RspecJunitFormatter \
|
48
|
+
--out /tmp/test-results/rspec.xml \
|
49
|
+
--format progress \
|
50
|
+
-- \
|
51
|
+
$TEST_FILES
|
51
52
|
|
52
53
|
# collect reports
|
53
54
|
- store_test_results:
|
data/bittrex.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency 'faraday', '
|
21
|
+
spec.add_dependency 'faraday', '>= 0.9.0'
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.6"
|
24
24
|
spec.add_development_dependency "rake"
|
data/lib/bittrex/version.rb
CHANGED
data/lib/bittrex/withdrawal.rb
CHANGED
@@ -4,7 +4,7 @@ module Bittrex
|
|
4
4
|
|
5
5
|
attr_reader :id, :currency, :quantity, :address, :authorized,
|
6
6
|
:pending, :canceled, :invalid_address,
|
7
|
-
:transaction_cost, :transaction_id, :executed_at
|
7
|
+
:transaction_cost, :transaction_id, :executed_at, :raw
|
8
8
|
|
9
9
|
def initialize(attrs = {})
|
10
10
|
@id = attrs['PaymentUuid']
|
@@ -18,6 +18,7 @@ module Bittrex
|
|
18
18
|
@transaction_cost = attrs['TxCost']
|
19
19
|
@transaction_id = attrs['TxId']
|
20
20
|
@executed_at = extract_timestamp(attrs['Opened'])
|
21
|
+
@raw = attrs
|
21
22
|
end
|
22
23
|
|
23
24
|
def self.all
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bittrex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Werner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.9.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.9.0
|
27
27
|
- !ruby/object:Gem::Dependency
|