rubypython 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,7 @@
1
- == 0.2.6 2008-3-19
1
+ == 0.2.7 2009-3-30
2
+ * Bug Fixes
3
+ * Fixed some bugs which caused rubypython to be unable to determine python version correctly.
4
+ == 0.2.6 2009-3-19
2
5
  * Bug Fixes
3
6
  * Further updates to increase compatibility with 1.9.
4
7
  == 0.2.5 2009-3-18
@@ -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 "I'm sorry you need at least Python 2.4 to use rubypython"
7
- exit -1
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)||find("python2.4",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
@@ -2,7 +2,7 @@ module RubyPython
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- TINY = 6
5
+ TINY = 7
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
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.6
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-03-19 00:00:00 -04:00
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.2.0
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/test_rubypython_bridge_extn.rb
123
+ - test/test_helper.rb
116
124
  - test/test_session.rb
125
+ - test/test_rubypython_bridge_extn.rb