rubypython 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -1
- data/Manifest.txt +16 -1
- data/PostInstall.txt +1 -1
- data/README.txt +7 -2
- data/config/hoe.rb +12 -12
- data/ext/rubypython_bridge/cbridge.c +92 -90
- data/ext/rubypython_bridge/cbridge.h +6 -16
- data/ext/rubypython_bridge/ptor.c +110 -56
- data/ext/rubypython_bridge/ptor.h +9 -25
- data/ext/rubypython_bridge/rp_blankobject.c +42 -0
- data/ext/rubypython_bridge/rp_blankobject.h +10 -0
- data/ext/rubypython_bridge/rp_class.c +56 -0
- data/ext/rubypython_bridge/rp_class.h +6 -0
- data/ext/rubypython_bridge/rp_error.c +14 -4
- data/ext/rubypython_bridge/rp_error.h +3 -1
- data/ext/rubypython_bridge/rp_function.c +31 -0
- data/ext/rubypython_bridge/rp_function.h +6 -0
- data/ext/rubypython_bridge/rp_instance.c +165 -0
- data/ext/rubypython_bridge/rp_instance.h +6 -0
- data/ext/rubypython_bridge/rp_module.c +159 -0
- data/ext/rubypython_bridge/rp_module.h +7 -0
- data/ext/rubypython_bridge/rp_object.c +93 -427
- data/ext/rubypython_bridge/rp_object.h +8 -54
- data/ext/rubypython_bridge/rp_util.c +61 -0
- data/ext/rubypython_bridge/rp_util.h +11 -0
- data/ext/rubypython_bridge/rtop.c +103 -54
- data/ext/rubypython_bridge/rtop.h +11 -16
- data/ext/rubypython_bridge/rubypython_bridge.c +48 -20
- data/ext/rubypython_bridge/rubypython_bridge.h +5 -6
- data/lib/rubypython.rb +2 -2
- data/lib/rubypython/session.rb +4 -0
- data/lib/rubypython/version.rb +1 -1
- data/test/python_helpers/objects.py +12 -0
- data/test/python_helpers/objects.pyc +0 -0
- data/test/test_rubypython.rb +123 -19
- data/test/test_rubypython_bridge_extn.rb +52 -19
- data/test/test_session.rb +1 -1
- data/website/index.html +25 -9
- data/website/index.txt +26 -3
- metadata +20 -5
- data/.autotest +0 -9
data/test/test_session.rb
CHANGED
data/website/index.html
CHANGED
@@ -33,17 +33,31 @@
|
|
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.
|
36
|
+
<a href="http://rubyforge.org/projects/rubypython" class="numbers">0.2.8</a>
|
37
37
|
</div>
|
38
|
-
<h2>
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
<h2>Is it in active development?</h2>
|
39
|
+
The short answer: No. I started rubypython a couple of years
|
40
|
+
ago in connection with some work I was doing as part of a
|
41
|
+
summer research job. I actively worked on it a for a period of
|
42
|
+
a few months from that time onward. Since then I have moved on
|
43
|
+
to other things more closely related to my chosen field, although I do
|
44
|
+
still come back now and again to tinker with the project.
|
45
|
+
|
46
|
+
Nonetheless, I am always happy to help debug the code if a
|
47
|
+
problem should arise. So don’t hesitate to contact me if you
|
48
|
+
have trouble.
|
49
|
+
Also, should anyone wish to take on the main drive of the
|
50
|
+
project and move forward with it, send me an email and we’ll talk.
|
51
|
+
<h2>What</h2>
|
52
|
+
<p>RubyPython is a C bridge between Ruby and Python with a Ruby interface. It’s aim is to make the power of the Python’s great standard library available to Ruby programmers from within Ruby.</p>
|
53
|
+
<p></p>
|
54
|
+
<h3>Installing</h3>
|
55
|
+
To install execute the following:
|
42
56
|
<p><pre class='syntax'><span class="ident">sudo</span> <span class="ident">gem</span> <span class="ident">install</span> <span class="ident">rubypython</span></pre></p>
|
43
57
|
<p>Don’t worry if you got some ugly output from <span class="caps">RDOC</span> and RI.</p>
|
44
|
-
<h2>The
|
58
|
+
<h2>The Basics</h2>
|
45
59
|
<p>Check out the <span class="caps">RDOC</span> pages at <a href="http://rubypython.rubyforge.org/rdoc">http://rubypython.rubyforge.org/rdoc</a></p>
|
46
|
-
<p>I have
|
60
|
+
<p>I have test the system on Mac OS 10.5 and Ubuntu Jaunty 9.04. If anyone has issues with another setup let me know and I’ll do what I can.</p>
|
47
61
|
<h2>Forum</h2>
|
48
62
|
<p><a href="http://groups.google.com/group/rubypython">http://groups.google.com/group/rubypython</a></p>
|
49
63
|
<h2>How to submit patches</h2>
|
@@ -51,6 +65,8 @@ h2. Installing</p>
|
|
51
65
|
<p>You can fetch the source from:</p>
|
52
66
|
<p><a href="http://rubyforge.org/scm/?group_id=6737">http://rubyforge.org/scm/?group_id=6737</a></p>
|
53
67
|
<pre>git clone git://rubyforge.org/rubypython.git</pre>
|
68
|
+
<p>or pick it up from github (it’s a mirror)</p>
|
69
|
+
<pre> git clone git://github.org/sentient6/rubypython.git</pre>
|
54
70
|
<h3>Build and test instructions</h3>
|
55
71
|
<pre>cd rubypython
|
56
72
|
rake test
|
@@ -58,9 +74,9 @@ rake install_gem</pre>
|
|
58
74
|
<h2>License</h2>
|
59
75
|
<p>This code is free to use under the terms of the <span class="caps">MIT</span> license.</p>
|
60
76
|
<h2>Contact</h2>
|
61
|
-
<p>Comments are welcome. Send an email to <a href="mailto:
|
77
|
+
<p>Comments are welcome. Send an email to <a href="mailto:raineszm+rubypython@gmail.com">Zach Raines</a> email via the <a href="http://groups.google.com/group/rubypython">forum</a></p>
|
62
78
|
<p class="coda">
|
63
|
-
<a href="mailto:achatesavc+rubypython@gmail.com">Zach Raines</a>,
|
79
|
+
<a href="mailto:achatesavc+rubypython@gmail.com">Zach Raines</a>, 8th October 2009<br>
|
64
80
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
65
81
|
</p>
|
66
82
|
</div>
|
data/website/index.txt
CHANGED
@@ -1,11 +1,30 @@
|
|
1
1
|
h1. rubypython
|
2
2
|
|
3
|
+
h2. Is it in active development?
|
4
|
+
|
5
|
+
The short answer: No. I started rubypython a couple of years
|
6
|
+
ago in connection with some work I was doing as part of a
|
7
|
+
summer research job. I actively worked on it a for a period of
|
8
|
+
a few months from that time onward. Since then I have moved on
|
9
|
+
to other things more closely related to my chosen field, although I do
|
10
|
+
still come back now and again to tinker with the project.
|
11
|
+
|
12
|
+
Nonetheless, I am always happy to help debug the code if a
|
13
|
+
problem should arise. So don't hesitate to contact me if you
|
14
|
+
have trouble.
|
15
|
+
|
16
|
+
Also, should anyone wish to take on the main drive of the
|
17
|
+
project and move forward with it, send me an email and we'll talk.
|
3
18
|
|
4
19
|
h2. What
|
5
20
|
|
6
21
|
RubyPython is a C bridge between Ruby and Python with a Ruby interface. It's aim is to make the power of the Python's great standard library available to Ruby programmers from within Ruby.
|
7
22
|
|
8
|
-
|
23
|
+
|
24
|
+
|
25
|
+
h3. Installing
|
26
|
+
|
27
|
+
To install execute the following:
|
9
28
|
|
10
29
|
<pre syntax="ruby">sudo gem install rubypython</pre>
|
11
30
|
|
@@ -15,7 +34,7 @@ h2. The Basics
|
|
15
34
|
|
16
35
|
Check out the RDOC pages at "http://rubypython.rubyforge.org/rdoc":http://rubypython.rubyforge.org/rdoc
|
17
36
|
|
18
|
-
I have
|
37
|
+
I have test the system on Mac OS 10.5 and Ubuntu Jaunty 9.04. If anyone has issues with another setup let me know and I'll do what I can.
|
19
38
|
|
20
39
|
|
21
40
|
h2. Forum
|
@@ -32,6 +51,10 @@ You can fetch the source from:
|
|
32
51
|
|
33
52
|
<pre>git clone git://rubyforge.org/rubypython.git</pre>
|
34
53
|
|
54
|
+
or pick it up from github (it's a mirror)
|
55
|
+
|
56
|
+
<pre> git clone git://github.org/sentient6/rubypython.git</pre>
|
57
|
+
|
35
58
|
|
36
59
|
h3. Build and test instructions
|
37
60
|
|
@@ -46,5 +69,5 @@ This code is free to use under the terms of the MIT license.
|
|
46
69
|
|
47
70
|
h2. Contact
|
48
71
|
|
49
|
-
Comments are welcome. Send an email to "Zach Raines":mailto:
|
72
|
+
Comments are welcome. Send an email to "Zach Raines":mailto:raineszm+rubypython@gmail.com email via the "forum":http://groups.google.com/group/rubypython
|
50
73
|
|
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.
|
4
|
+
version: 0.2.9
|
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-10-
|
12
|
+
date: 2009-10-19 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 2.3.
|
23
|
+
version: 2.3.3
|
24
24
|
version:
|
25
25
|
description: A bridge between ruby and python
|
26
26
|
email:
|
@@ -37,7 +37,6 @@ extra_rdoc_files:
|
|
37
37
|
- README.txt
|
38
38
|
- website/index.txt
|
39
39
|
files:
|
40
|
-
- .autotest
|
41
40
|
- History.txt
|
42
41
|
- License.txt
|
43
42
|
- Manifest.txt
|
@@ -52,15 +51,28 @@ files:
|
|
52
51
|
- ext/rubypython_bridge/extconf.rb
|
53
52
|
- ext/rubypython_bridge/ptor.c
|
54
53
|
- ext/rubypython_bridge/ptor.h
|
54
|
+
- ext/rubypython_bridge/rp_blankobject.c
|
55
|
+
- ext/rubypython_bridge/rp_blankobject.h
|
56
|
+
- ext/rubypython_bridge/rp_class.c
|
57
|
+
- ext/rubypython_bridge/rp_class.h
|
55
58
|
- ext/rubypython_bridge/rp_error.c
|
56
59
|
- ext/rubypython_bridge/rp_error.h
|
60
|
+
- ext/rubypython_bridge/rp_function.c
|
61
|
+
- ext/rubypython_bridge/rp_function.h
|
62
|
+
- ext/rubypython_bridge/rp_instance.c
|
63
|
+
- ext/rubypython_bridge/rp_instance.h
|
64
|
+
- ext/rubypython_bridge/rp_module.c
|
65
|
+
- ext/rubypython_bridge/rp_module.h
|
57
66
|
- ext/rubypython_bridge/rp_object.c
|
58
67
|
- ext/rubypython_bridge/rp_object.h
|
68
|
+
- ext/rubypython_bridge/rp_util.c
|
69
|
+
- ext/rubypython_bridge/rp_util.h
|
59
70
|
- ext/rubypython_bridge/rtop.c
|
60
71
|
- ext/rubypython_bridge/rtop.h
|
61
72
|
- ext/rubypython_bridge/rubypython_bridge.c
|
62
73
|
- ext/rubypython_bridge/rubypython_bridge.h
|
63
74
|
- lib/rubypython.rb
|
75
|
+
- lib/rubypython/session.rb
|
64
76
|
- lib/rubypython/version.rb
|
65
77
|
- lib/rubypython/wrapper_extensions.rb
|
66
78
|
- script/console
|
@@ -73,10 +85,13 @@ files:
|
|
73
85
|
- tasks/extconf.rake
|
74
86
|
- tasks/extconf/rubypython_bridge.rake
|
75
87
|
- tasks/website.rake
|
88
|
+
- test/python_helpers/objects.py
|
89
|
+
- test/python_helpers/objects.pyc
|
76
90
|
- test/test.wav
|
77
91
|
- test/test_helper.rb
|
78
92
|
- test/test_rubypython.rb
|
79
93
|
- test/test_rubypython_bridge_extn.rb
|
94
|
+
- test/test_session.rb
|
80
95
|
- website/index.html
|
81
96
|
- website/index.txt
|
82
97
|
- website/javascripts/rounded_corners_lite.inc.js
|
@@ -88,7 +103,7 @@ post_install_message: |+
|
|
88
103
|
|
89
104
|
For more information on RubyPython, see http://rubypython.rubyforge.org
|
90
105
|
|
91
|
-
If you find a bug, or have any suggestions, email me at:
|
106
|
+
If you find a bug, or have any suggestions, email me at: raineszm+rubypython@gmail.com
|
92
107
|
|
93
108
|
If you would like to help develop RubyPython, also send me an email.
|
94
109
|
|