uwsgi 1.9.13 → 1.9.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/uwsgi/extconf.rb +6 -1
  2. metadata +2 -2
data/ext/uwsgi/extconf.rb CHANGED
@@ -7,7 +7,12 @@ Net::HTTP.start("uwsgi.it") do |http|
7
7
  end
8
8
  end
9
9
 
10
- system("bash install.sh rack #{Dir.pwd}/uwsgi.ruby")
10
+ major,minor = RUBY_VERSION.split('.')
11
+ if major.to_i >= 2 or (major.to_i == 1 and minor.to_i >= 9)
12
+ system("bash install.sh ruby2 #{Dir.pwd}/uwsgi.ruby")
13
+ else
14
+ system("bash install.sh rack #{Dir.pwd}/uwsgi.ruby")
15
+ end
11
16
 
12
17
  open("Makefile", "w") do |file|
13
18
  file.write("all:\n")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uwsgi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.13
4
+ version: 1.9.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-22 00:00:00.000000000 Z
12
+ date: 2013-07-21 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: The uWSGI server for Ruby/Rack
15
15
  email: info@unbit.it