Skip to content

Commit

Permalink
Prepare for gem-release
Browse files Browse the repository at this point in the history
  • Loading branch information
Hartmut Bischoff committed Feb 23, 2021
1 parent 7869512 commit 84b5a38
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ GIT
PATH
remote: .
specs:
ib-api (972.1)
ib-api (972.2)
activemodel
activesupport (>= 6.0)

GEM
remote: https://rubygems.org/
specs:
activemodel (6.1.0)
activesupport (= 6.1.0)
activesupport (6.1.0)
activemodel (6.1.2.1)
activesupport (= 6.1.2.1)
activesupport (6.1.2.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
coderay (1.1.3)
concurrent-ruby (1.1.7)
concurrent-ruby (1.1.8)
diff-lcs (1.4.4)
ffi (1.13.1)
formatador (0.2.5)
Expand All @@ -41,14 +41,14 @@ GEM
guard (~> 2.1)
guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0)
i18n (1.8.5)
i18n (1.8.9)
concurrent-ruby (~> 1.0)
listen (3.2.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
lumberjack (1.2.8)
method_source (1.0.0)
minitest (5.14.2)
minitest (5.14.3)
nenv (0.3.0)
notiffany (0.1.3)
nenv (~> 0.1)
Expand Down Expand Up @@ -89,7 +89,7 @@ PLATFORMS
ruby

DEPENDENCIES
bundler (~> 1.17)
bundler
guard
guard-rspec
ib-api!
Expand Down
5 changes: 5 additions & 0 deletions lib/models/ib/order.rb
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,11 @@ def to_human
(account ? "/#{account}" : '') +
(commission ? " fee #{commission}" : '') + ">"
end
def serialize_rabbit
{ 'Contract' => contract.present? ? contract.serialize( :option, :trading_class ): '' ,
'Order' => self,
'OrderState' => order_state}
end

end # class Order
end # module IB

0 comments on commit 84b5a38

Please sign in to comment.