cryptoexchange 0.12.0 → 0.12.1

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: f0b17ae96ebba5813aab73c5e502deb4813c9c2b
4
- data.tar.gz: 068c4729248fccddc800d366447e74bdf5e589a4
3
+ metadata.gz: 156fdba06f370689e70059e71dd2e1c08522d315
4
+ data.tar.gz: 665333f735f3f0e37f3b9176816a3c83c55bdac0
5
5
  SHA512:
6
- metadata.gz: 6337c4523d06f01ca41ee66748fedf23449b79957224f86e167ebb2dd636e09e848f8fa4a085318f82a866cfa53c631e891dbefaf64b02285a5b614754e1c7ef
7
- data.tar.gz: f477306326f5fa1fa7641f91733122d402071b3df397670773ef4c964e364fc5f8de06bc2da524bf2e707f1fbadd885402f1c3392f27006f494b16c75fc2b261
6
+ metadata.gz: 77db044066dba1f26e92847467faf3ca4c032834000dcc5892ccd28e1831ad71ebd65fb37bc8bb62a78cb5f6720ad4f91bf5e2e9e7d5fc8d4d3860a2bbcb998d
7
+ data.tar.gz: f4e63848067560144e979182e4f3d2c19749c095915523c745eae578e57c53cd61f9c5abd0f2bf017350118ffb51fea95d2e670e56f8d6474441f2dfc9dae7da
@@ -19,8 +19,7 @@ module Cryptoexchange::Exchanges
19
19
 
20
20
  def adapt_all(output)
21
21
  output.map do |key, value|
22
- base = key.split("_").first
23
- target = key.split("_").last
22
+ target, base = key.split("_")
24
23
  market_pair = Cryptoexchange::Models::MarketPair.new(
25
24
  base: base,
26
25
  target: target,
@@ -1,3 +1,3 @@
1
1
  module Cryptoexchange
2
- VERSION = "0.12.0"
2
+ VERSION = "0.12.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptoexchange
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TM Lee