RubyInline 3.11.3 → 3.11.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data.tar.gz.sig +0 -0
  2. data/History.txt +6 -0
  3. data/lib/inline.rb +4 -6
  4. metadata +10 -10
  5. metadata.gz.sig +0 -0
data.tar.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 3.11.4 / 2012-11-23
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Improve windows compatibility (MinGW). (luislavena)
6
+
1
7
  === 3.11.3 / 2012-07-05
2
8
 
3
9
  * 1 bug fix:
data/lib/inline.rb CHANGED
@@ -65,15 +65,13 @@ class CompilationError < RuntimeError; end
65
65
  # the current namespace.
66
66
 
67
67
  module Inline
68
- VERSION = '3.11.3'
68
+ VERSION = '3.11.4'
69
69
 
70
70
  WINDOZE = /mswin|mingw/ =~ RUBY_PLATFORM
71
71
  RUBINIUS = defined? RUBY_ENGINE
72
72
  DEV_NULL = (WINDOZE ? 'nul' : '/dev/null')
73
- GEM = (WINDOZE ? 'gem.bat' : 'gem')
74
- RAKE = if WINDOZE then
75
- 'rake.bat'
76
- elsif RUBINIUS then
73
+ GEM = 'gem'
74
+ RAKE = if RUBINIUS then
77
75
  File.join(Gem.bindir, 'rake')
78
76
  else
79
77
  "#{Gem.ruby} -S rake"
@@ -646,7 +644,7 @@ VALUE #{method}_equals(VALUE value) {
646
644
  " -link /OUT:\"#{self.so_name}\" /LIBPATH:\"#{RbConfig::CONFIG['libdir']}\" /DEFAULTLIB:\"#{RbConfig::CONFIG['LIBRUBY']}\" /INCREMENTAL:no /EXPORT:Init_#{module_name}"
647
645
  when /mingw32/ then
648
646
  c = RbConfig::CONFIG
649
- " -Wl,--enable-auto-import -L#{c['libdir']} -l#{c['RUBY_SO_NAME']}"
647
+ " -Wl,--enable-auto-import -L#{c['libdir']} -l#{c['RUBY_SO_NAME']} -o #{so_name.inspect}"
650
648
  when /i386-cygwin/ then
651
649
  ' -L/usr/local/lib -lruby.dll'
652
650
  else
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RubyInline
3
3
  version: !ruby/object:Gem::Version
4
- hash: 45
4
+ hash: 35
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 11
9
- - 3
10
- version: 3.11.3
9
+ - 4
10
+ version: 3.11.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Davis
@@ -36,7 +36,7 @@ cert_chain:
36
36
  FBHgymkyj/AOSqKRIpXPhjC6
37
37
  -----END CERTIFICATE-----
38
38
 
39
- date: 2012-07-05 00:00:00 Z
39
+ date: 2012-11-23 00:00:00 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ZenTest
@@ -61,11 +61,11 @@ dependencies:
61
61
  requirements:
62
62
  - - ~>
63
63
  - !ruby/object:Gem::Version
64
- hash: 7
64
+ hash: 29
65
65
  segments:
66
+ - 4
66
67
  - 3
67
- - 0
68
- version: "3.0"
68
+ version: "4.3"
69
69
  type: :development
70
70
  version_requirements: *id002
71
71
  - !ruby/object:Gem::Dependency
@@ -91,11 +91,11 @@ dependencies:
91
91
  requirements:
92
92
  - - ~>
93
93
  - !ruby/object:Gem::Version
94
- hash: 7
94
+ hash: 1
95
95
  segments:
96
96
  - 3
97
- - 0
98
- version: "3.0"
97
+ - 3
98
+ version: "3.3"
99
99
  type: :development
100
100
  version_requirements: *id004
101
101
  description: |-
metadata.gz.sig CHANGED
Binary file