RubyInline 3.6.4 → 3.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/History.txt +5 -0
  2. data/lib/inline.rb +4 -1
  3. metadata +2 -2
@@ -1,3 +1,8 @@
1
+ ### 3.6.5 / 2007-11-08
2
+
3
+ * 1 minor enhancement:
4
+ * Quick fix for OSX 10.5 native ruby (should be fixed in 10.5.2).
5
+
1
6
  ### 3.6.4 / 2007-08-20
2
7
 
3
8
  * 1 minor enhancement:
@@ -51,7 +51,7 @@ class CompilationError < RuntimeError; end
51
51
  # the current namespace.
52
52
 
53
53
  module Inline
54
- VERSION = '3.6.4'
54
+ VERSION = '3.6.5'
55
55
 
56
56
  WINDOZE = /win32/ =~ RUBY_PLATFORM
57
57
  DEV_NULL = (WINDOZE ? 'nul' : '/dev/null')
@@ -388,6 +388,9 @@ module Inline
388
388
  libs = @libs.join(' ')
389
389
 
390
390
  cmd = "#{Config::CONFIG['LDSHARED']} #{flags} #{Config::CONFIG['CCDLFLAGS']} #{Config::CONFIG['CFLAGS']} -I #{hdrdir} -I #{Config::CONFIG['includedir']} -o \"#{so_name}\" \"#{File.expand_path(src_name)}\" #{libs}" + crap_for_windoze
391
+ # TODO: remove after osx 10.5.2
392
+ cmd += ' -flat_namespace -undefined suppress' if
393
+ RUBY_PLATFORM =~ /darwin9\.[01]/
391
394
  cmd += " 2> #{DEV_NULL}" if $TESTING and not $DEBUG
392
395
 
393
396
  $stderr.puts "Building #{so_name} with '#{cmd}'" if $DEBUG
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: RubyInline
5
5
  version: !ruby/object:Gem::Version
6
- version: 3.6.4
7
- date: 2007-08-20 00:00:00 -07:00
6
+ version: 3.6.5
7
+ date: 2007-11-08 00:00:00 -08:00
8
8
  summary: Ruby Inline is an analog to Perl's Inline::C. Out of the box, it allows you to embed C/++ external module code in your ruby script directly.
9
9
  require_paths:
10
10
  - lib