For example, here is how I now must check for version 1.0.0RC3 or later:
if (defined?JRUBY_VERSION) &&
((JRUBY_VERSION =~ /^(\d+\.\d+\.\d+)([-\.A-Z0-9]*)/ &&
(($1 == '1.0.0' && ($2.empty? || $2 >= 'RC3')) || $1 > '1.0.0')) ||
(JRUBY_VERSION =~ /^(\d+\.\d+)([-\.A-Z0-9]*)/ && $1 >= '1.1
Array#== doesn't use custom to_ary method for RHS arguments
---
Key: JRUBY-1148
URL: http://jira.codehaus.org/browse/JRUBY-1148
Project: JRuby
Issue Type: Bug
Components: Core
On 6/15/07, Bill Dortch <[EMAIL PROTECTED]> wrote:
For example, here is how I now must check for version 1.0.0RC3 or later:
if (defined?JRUBY_VERSION) &&
((JRUBY_VERSION =~ /^(\d+\.\d+\.\d+)([-\.A-Z0-9]*)/ &&
(($1 == '1.0.0' && ($2.empty? || $2 >= 'RC3')) || $1 > ' 1.0.0')) ||
(JRU
Isn't it fairly common to drop the trailing .0 in a 3-number version?
I think in the Ruby world it's more common to keep the third ('tiny')
version component (as in the RubyGems RationalVersioningPolicy). But what
I'm really looking for is a statement of JRuby's policy, so people can code
to it
port, client_id)
ib_socket.req_mkt_data(1, contract, generic_tick_list)
sleep 100
ib_socket.disconnect
So far, it successfully connects to the IB TWS.
It works and then throws an error similar to
http://jira.codehaus.org/browse/JRUBY-987 bug report.
I'm a little confused on how to work around
Multipart Uploads still fails.
--
Key: JRUBY-1150
URL: http://jira.codehaus.org/browse/JRUBY-1150
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.0.0