renet 0.1.5-i386-mingw32 → 0.1.6-i386-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/renet.rb +7 -5
  2. metadata +1 -1
data/lib/renet.rb CHANGED
@@ -6,9 +6,11 @@ if File.exists?("#{File.dirname(__FILE__)}/renet.so")
6
6
  require "#{File.dirname(__FILE__)}/renet.so"
7
7
  end
8
8
 
9
- if defined? RUBY_VERSION and RUBY_VERSION[0..2] == '1.9' then
10
- version = '1.9'
11
- else
12
- version = '1.8'
9
+ if File.exists?("#{File.dirname(__FILE__)}/renet.1.8.so")
10
+ if defined? RUBY_VERSION and RUBY_VERSION[0..2] == '1.9' then
11
+ version = '1.9'
12
+ else
13
+ version = '1.8'
14
+ end
15
+ require "#{File.dirname(__FILE__)}/renet.#{version}.so"
13
16
  end
14
- require "#{File.dirname(__FILE__)}/renet.#{version}.so"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: i386-mingw32
7
7
  authors: