Skip to content

Commit

Permalink
* lib/rdoc/options.rb (Options::check_diagram): dot -V output
Browse files Browse the repository at this point in the history
	  changed. [ ruby-Bugs-11978 ], Thanks Florian Frank.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
shyouhei committed Sep 22, 2007
1 parent de72459 commit 756354d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
Sun Sep 23 05:42:35 2007 URABE Shyouhei <shyouhei@ruby-lang.org>

* lib/rdoc/options.rb (Options::check_diagram): dot -V output
changed. [ ruby-Bugs-11978 ], Thanks Florian Frank.

Wed Sep 19 11:13:07 2007 Yukihiro Matsumoto <matz@ruby-lang.org>

* bignum.c (bigtrunc): RBIGNUM(x)->len may be zero. out of bound
Expand Down
4 changes: 2 additions & 2 deletions lib/rdoc/options.rb
Expand Up @@ -550,12 +550,12 @@ def check_diagram
ver = nil
IO.popen("dot -V 2>&1") do |io|
ver = io.read
if ver =~ /dot\s+version(?:\s+gviz)?\s+(\d+)\.(\d+)/
if ver =~ /dot.+version(?:\s+gviz)?\s+(\d+)\.(\d+)/
ok = ($1.to_i > 1) || ($1.to_i == 1 && $2.to_i >= 8)
end
end
unless ok
if ver =~ /^dot version/
if ver =~ /^dot.+version/
$stderr.puts "Warning: You may need dot V1.8.6 or later to use\n",
"the --diagram option correctly. You have:\n\n ",
ver,
Expand Down
8 changes: 4 additions & 4 deletions version.h
@@ -1,15 +1,15 @@
#define RUBY_VERSION "1.8.6"
#define RUBY_RELEASE_DATE "2007-09-19"
#define RUBY_RELEASE_DATE "2007-09-23"
#define RUBY_VERSION_CODE 186
#define RUBY_RELEASE_CODE 20070919
#define RUBY_PATCHLEVEL 107
#define RUBY_RELEASE_CODE 20070923
#define RUBY_PATCHLEVEL 108

#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8
#define RUBY_VERSION_TEENY 6
#define RUBY_RELEASE_YEAR 2007
#define RUBY_RELEASE_MONTH 9
#define RUBY_RELEASE_DAY 19
#define RUBY_RELEASE_DAY 23

#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];
Expand Down

0 comments on commit 756354d

Please sign in to comment.