sb-alpaca 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac4950d46e241d5126af847bd06a00ea9bb2ca0d195dcdf7677c0ead79957eea
4
- data.tar.gz: 141a5c5e40bd16f4aa19a85527277b57f8a1759a5b10ec6b21368c6d40211838
3
+ metadata.gz: 7bbc24665a40f5fca4c02d3b580895c0a01ee40bb6be115977ed77e6d369f124
4
+ data.tar.gz: df85be632eab3d2caa6e98d8e432783dab5b84ee605d922d9c1eae1b511ce7f5
5
5
  SHA512:
6
- metadata.gz: e8990d336e2207ae5c62b4089aadaabdd729631b332f7c8d249f08922af8ccdc28f3b4ec7a5ec97e735c3c860d566db07966374440d977d1c4a6238f7a11c6c3
7
- data.tar.gz: 583a9e91cf5d520b014529ce373a5f9b953b86863a55fe533595addd4590bca3bf8a8b170c1c351d99ec58cdae2cc53bc45b436a782df7fa4ef59bdb57d07538
6
+ metadata.gz: e0615dbbbfb9bc676c9039580098a2bd8e1421cb974e62700b299b010ca9e4ce63979a356611d21f58cc1ea94ad39f8b6bafae312280ca03c0f5c672e3967916
7
+ data.tar.gz: f0ea660bd1a3f4b1860487e492ffd4212d5638df459615eaaf57bec4f46c45e8b5d41161a5427c45757a9dbb4acd18f96a8d87c870ed1efe69d22427cefd1416
@@ -104,9 +104,9 @@ module Sb
104
104
  if data['status'] == 'authorized'
105
105
  @state = 'authorized'
106
106
  elsif e_data['stream'] == 'trade_updates' || e_data['stream'] == 'account_updates'
107
- @subscriptions[@type].each {|s| s.call(data) }
107
+ @subscriptions[@type].each {|s| s.call(e_data) }
108
108
  elsif data['ev']
109
- @subscriptions[@type].each {|s| s.call(data) }
109
+ @subscriptions[@type].each {|s| s.call(e_data) }
110
110
  end
111
111
 
112
112
  #p [:message, p_data]
@@ -1,5 +1,5 @@
1
1
  module Sb
2
2
  module Alpaca
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sb-alpaca
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - iodevel