Moved version string to lib.
git-svn-id: http://igraph.rubyforge.org/svn/trunk@25 71f48855-0bbf-4aa5-930d-4df415e86613
This commit is contained in:
parent
b5daeb86dc
commit
cc86b37a24
|
@ -1,9 +1,10 @@
|
||||||
require 'hoe'
|
require 'hoe'
|
||||||
|
|
||||||
$LOAD_PATH.unshift("./lib")
|
|
||||||
$LOAD_PATH.unshift("./ext")
|
$LOAD_PATH.unshift("./ext")
|
||||||
|
|
||||||
hoe = Hoe.new("igraph",'0.1.1') do |p|
|
require 'igraph'
|
||||||
|
|
||||||
|
hoe = Hoe.new("igraph",IGraph::VERSION) do |p|
|
||||||
|
|
||||||
p.author = "Alex Gutteridge"
|
p.author = "Alex Gutteridge"
|
||||||
p.email = "alexg@kuicr.kyoto-u.ac.jp"
|
p.email = "alexg@kuicr.kyoto-u.ac.jp"
|
||||||
|
|
|
@ -158,6 +158,8 @@ void Init_igraph(){
|
||||||
|
|
||||||
rb_include_module(cIGraph, rb_mEnumerable);
|
rb_include_module(cIGraph, rb_mEnumerable);
|
||||||
|
|
||||||
|
rb_define_const(cIGraph, "VERSION", rb_str_new2("0.3"));
|
||||||
|
|
||||||
rb_define_const(cIGraph, "EDGEORDER_ID", INT2NUM(1));
|
rb_define_const(cIGraph, "EDGEORDER_ID", INT2NUM(1));
|
||||||
rb_define_const(cIGraph, "EDGEORDER_FROM", INT2NUM(2));
|
rb_define_const(cIGraph, "EDGEORDER_FROM", INT2NUM(2));
|
||||||
rb_define_const(cIGraph, "EDGEORDER_TO", INT2NUM(3));
|
rb_define_const(cIGraph, "EDGEORDER_TO", INT2NUM(3));
|
||||||
|
|
Loading…
Reference in New Issue