[
http://jira.openqa.org/browse/WTR-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19913#action_19913
]
Jarmo Pertman commented on WTR-458:
-----------------------------------
That's because there's not a constant Watir::IE::VERSION starting from 1.6.6
anymore. See the following irb session:
irb(main):001:0> require "watir"
=> true
irb(main):003:0> Watir::IE.constants.grep /VERSION/
=> []
irb(main):004:0> VERSION
=> "1.8.6"
irb(main):005:0> Watir::IE::VERSION
(irb):5: warning: toplevel constant VERSION referenced by Watir::IE::VERSION
=> "1.8.6"
So, actually a VERSION constant, which is a top-level one - a Ruby one, will be
outputted.
Is there any actual use-case where this version should be accessible?
> Watir version 1.6.6 doesn't show correct version number
> -------------------------------------------------------
>
> Key: WTR-458
> URL: http://jira.openqa.org/browse/WTR-458
> Project: Watir
> Issue Type: Bug
> Components: Gem installer
> Affects Versions: 1.6.6
> Environment: Windows XP, IE8
> Reporter: Ning Cao
> Priority: Major
>
> I'm running Watir on Windows XP and just updated to version 1.6.6, after the
> installation I wanted to check the version by using
> ruby -e 'require "watir"; puts Watir::IE::VERSION'
> [expected]Should show version number 1.6.6
> [actual]The output was:
> -e:1: warning: toplevel constant VERSION referenced by Watir::IE::VERSION
> 1.8.6
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development