rubypython 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -1
- data/ext/rubypython_bridge/extconf.rb +10 -3
- data/lib/rubypython/version.rb +1 -1
- metadata +16 -7
data/History.txt
CHANGED
@@ -3,8 +3,15 @@ require 'open3'
|
|
3
3
|
|
4
4
|
begin
|
5
5
|
if (Open3.popen3("python --version") { |i,o,e| e.read}.chomp.split[1].to_f < 2.4)
|
6
|
-
puts "
|
7
|
-
|
6
|
+
puts "Rubypython seem to think you don't have python 2.4 or higher."
|
7
|
+
puts "Try install anyway? (y/n)"
|
8
|
+
c=gets.chomp
|
9
|
+
while !["y","n"].member? c do
|
10
|
+
puts "Please type y or n"
|
11
|
+
end
|
12
|
+
if(c=="n")
|
13
|
+
exit -1
|
14
|
+
end
|
8
15
|
end
|
9
16
|
rescue
|
10
17
|
puts "Could not check python version. Do you have Python 2.4 or higher? (y/n)"
|
@@ -20,7 +27,7 @@ if(!system("which python-config"))
|
|
20
27
|
exit -1
|
21
28
|
end
|
22
29
|
|
23
|
-
unless find_library("python2.5",nil)||
|
30
|
+
unless find_library("python2.6",nil)||find_library("python2.5",nil)||find_library("python2.4",nil)
|
24
31
|
puts "Could not find python libraries"
|
25
32
|
exit -1
|
26
33
|
end
|
data/lib/rubypython/version.rb
CHANGED
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Raines
|
@@ -9,10 +9,19 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-10 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: hoe
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.3.2
|
24
|
+
version:
|
16
25
|
description: A bridge between ruby and python
|
17
26
|
email:
|
18
27
|
- achatesavc+rubypython@gmail.com
|
@@ -105,12 +114,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
114
|
requirements:
|
106
115
|
- Python, ~>2.4
|
107
116
|
rubyforge_project: rubypython
|
108
|
-
rubygems_version: 1.
|
117
|
+
rubygems_version: 1.3.1
|
109
118
|
signing_key:
|
110
119
|
specification_version: 2
|
111
120
|
summary: A bridge between ruby and python
|
112
121
|
test_files:
|
113
|
-
- test/test_helper.rb
|
114
122
|
- test/test_rubypython.rb
|
115
|
-
- test/
|
123
|
+
- test/test_helper.rb
|
116
124
|
- test/test_session.rb
|
125
|
+
- test/test_rubypython_bridge_extn.rb
|