bittrex 0.0.4 → 0.0.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62544601ad8147aab330ff85bd81e379005f5294
4
- data.tar.gz: 836c1344730b59f7db4a34f22ba4e39abf4220ee
3
+ metadata.gz: 769c344d987eff854b77f19eba5809091bc90010
4
+ data.tar.gz: 8badc95d655acf79261b1da25e8a5910e49096a7
5
5
  SHA512:
6
- metadata.gz: d7d566fb25055c7e5d0de242333d7f5b0dc39369627af25a156f3ba4be621dbc488659961a295b86694bd44f518248601990cc0d89f57160426666a4729be386
7
- data.tar.gz: 378601b6e8f2d7de06a104d9ed8cfb2fdace504175b94bd6ac553f109df162e94e3044b00941a89243c4a9954ee8ac8d3b6610a18a864be8d6c6644de1a7bd09
6
+ metadata.gz: 7725955961b22b9cf080d0c4144025474a7ced50f14518e14132205569b2d45fb9003bc884962feb5795d7ca47bf595edb4592931dcdd2046ab101cabc2c1b07
7
+ data.tar.gz: b2428bee6fc78b0a73cf68d865f020e4d01e21e266a337ec9586b2ef8661b82bccf62b405604b1bfdf9c2033f018d645e9a70882add4411134144cc3c69ea92b
@@ -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
- --format RspecJunitFormatter \
48
- --out /tmp/test-results/rspec.xml \
49
- --format progress \
50
- "${TEST_FILES}"
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:
@@ -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', '~> 0.9.0'
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"
@@ -1,3 +1,3 @@
1
1
  module Bittrex
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -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
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: 2017-12-10 00:00:00.000000000 Z
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