shattered_ogre 0.3-i386-mswin32 → 0.3.1-i386-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -1,10 +1,12 @@
1
1
  def platform
2
+ return "universal-darwin8.0" if PLATFORM =~ /i686-darwin/ || PLATFORM == "universal-darwin8.0"
2
3
  return `ruby -e "puts PLATFORM"`.chomp if PLATFORM =~ /darwin/
3
4
  return PLATFORM
4
5
  end
6
+ SHATTERED_OGRE_DLLS = File.expand_path(File.dirname(__FILE__)+"/"+PLATFORM)
5
7
  # ShatteredOgre.dll will search all ENV["PATH"]s for OgreMain.dll.
6
8
  if PLATFORM =~ /mswin/
7
- ENV["PATH"] += ";" + File.expand_path(File.dirname(__FILE__)+"/"+PLATFORM)
9
+ ENV["PATH"] += ";" + SHATTERED_OGRE_DLLS
8
10
  end
9
11
 
10
- require File.dirname(__FILE__)+"/#{platform}/ShatteredOgre"
12
+ require "#{File.expand_path(File.dirname(__FILE__)+'/'+platform)}/ShatteredOgre"
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: shattered_ogre
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.3"
7
- date: 2006-04-28 00:00:00 -05:00
6
+ version: 0.3.1
7
+ date: 2006-05-17 00:00:00 -05:00
8
8
  summary: "Shattered Ogre: Ogre/Swig bindings for any language."
9
9
  require_paths:
10
10
  - lib