ib-ruby 0.5.17 → 0.5.18
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +4 -0
- data/TODO +15 -0
- data/VERSION +1 -1
- data/lib/ib-ruby/connection.rb +1 -0
- data/lib/ib-ruby/messages/incoming.rb +1 -1
- data/spec/message_helper.rb +6 -0
- metadata +2 -2
data/HISTORY
CHANGED
data/TODO
CHANGED
@@ -12,3 +12,18 @@ http://finance.groups.yahoo.com/group/TWSAPI/message/25413
|
|
12
12
|
pair into a single call - to simplify DSL.
|
13
13
|
|
14
14
|
6. Compatibility check for new TWS v.966
|
15
|
+
|
16
|
+
7. Fix iteration bug
|
17
|
+
(probably, caused by new IB message arriving while we're adding new subscriber):
|
18
|
+
RuntimeError: can't add a new key into hash during iteration
|
19
|
+
[]= at org/jruby/RubyHash.java:899
|
20
|
+
subscribe at /Users/vb/.rvm/gems/jruby-head@option_mower/gems/ib-ruby-0.5.17/lib/ib-ruby/connection.rb:132
|
21
|
+
each at org/jruby/RubyArray.java:1609
|
22
|
+
subscribe at /Users/vb/.rvm/gems/jruby-head@option_mower/gems/ib-ruby-0.5.17/lib/ib-ruby/connection.rb:121
|
23
|
+
subscribe_orders at /Users/vb/Dev/ib/option_mower/lib/option_mower/connection.rb:153
|
24
|
+
start at /Users/vb/Dev/ib/option_mower/lib/option_mower/connection.rb:42
|
25
|
+
start at /Users/vb/Dev/ib/option_mower/lib/option_mower/connection.rb:17
|
26
|
+
start at /Users/vb/Dev/ib/option_mower/lib/option_mower/robot.rb:103
|
27
|
+
run at /Users/vb/Dev/ib/option_mower/lib/option_mower/robot.rb:121
|
28
|
+
(root) at bin/option_mower:46
|
29
|
+
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.18
|
data/lib/ib-ruby/connection.rb
CHANGED
data/spec/message_helper.rb
CHANGED
@@ -39,6 +39,12 @@ def should_log *patterns
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
+
def should_not_log *patterns
|
43
|
+
patterns.each do |pattern|
|
44
|
+
log_entries.any? { |entry| entry =~ pattern }.should be_false
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
42
48
|
## Connection helpers
|
43
49
|
|
44
50
|
def connect_and_receive *message_types
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: ib-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.5.
|
5
|
+
version: 0.5.18
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Paul Legato
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2012-02-
|
14
|
+
date: 2012-02-15 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|