rubypython 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.2.6 2008-3-19
2
+ * Bug Fixes
3
+ * Further updates to increase compatibility with 1.9.
1
4
  == 0.2.5 2009-3-18
2
5
  * Bug Fixes
3
6
  * Updated to build and run under Ruby 1.9.
@@ -10,7 +10,6 @@ VALUE cBlankObject;
10
10
  VALUE blank_undef_if(VALUE name,VALUE klass)
11
11
  {
12
12
  VALUE mname=rb_funcall(name,rb_intern("to_s"),0);
13
- printf("OH SHIT\n");
14
13
  if(rb_funcall(mname,rb_intern("match"),1,rb_str_new2("(?:^__)|(?:\\?$)|(?:^send$)|(?:^class$)"))==Qnil)
15
14
  {
16
15
  rb_undef_method(klass,STR2CSTR(mname));
@@ -19,7 +19,7 @@ PyObject* rtop_string(VALUE rString)
19
19
  PyObject* rtop_array_list(VALUE rArray)
20
20
  {
21
21
  PyObject* pList;
22
- int size=RARRAY(rArray)->len;
22
+ int size=RARRAY_LEN(rArray);
23
23
  pList=PyList_New(size);
24
24
  int i;
25
25
  for(i=0;i<size;i++)
@@ -47,7 +47,7 @@ PyObject* rtop_hash(VALUE rHash)
47
47
 
48
48
  pDict=PyDict_New();
49
49
 
50
- for(i=0;i<RARRAY(rKeys)->len;i++)
50
+ for(i=0;i<RARRAY_LEN(rKeys);i++)
51
51
  {
52
52
  rKey=rb_ary_entry(rKeys,i);
53
53
  rVal=rb_hash_aref(rHash,rKey);
@@ -19,7 +19,7 @@ static VALUE func_with_module(VALUE self, VALUE args)
19
19
  {
20
20
  int started_here=safe_start();
21
21
  VALUE module,func,return_val;
22
- if(RARRAY(args)->len<2) return Qfalse;
22
+ if(RARRAY_LEN(args)<2) return Qfalse;
23
23
  module=rb_ary_shift(args);
24
24
  func=rb_ary_shift(args);
25
25
  return_val=rp_call_func_with_module_name(module,func,args);
@@ -2,7 +2,7 @@ module RubyPython
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- TINY = 5
5
+ TINY = 6
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>rubypython</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/rubypython"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/rubypython" class="numbers">0.2.4</a>
36
+ <a href="http://rubyforge.org/projects/rubypython" class="numbers">0.2.6</a>
37
37
  </div>
38
38
  <h2>What</h2>
39
39
  <p>RubyPython is a C bridge between Ruby and Python with a Ruby interface. It&#8217;s aim is to make the power of the Python&#8217;s great standard library available to Ruby programmers from within Ruby.<br />
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubypython
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Raines
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-18 00:00:00 -04:00
12
+ date: 2009-03-19 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15