ffi-inline 0.0.4.2 → 0.0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,11 @@ Compiler.define :gcc do
26
26
  else
27
27
  "#{ldshared} #{ENV['CFLAGS']} -o #{output.shellescape} #{input.shellescape} #{libs} 2>>#{log.shellescape}"
28
28
  end
29
- File.write(log, cmd + "\n")
29
+
30
+ File.open(log, 'a') {|f|
31
+ f.puts(cmd)
32
+ }
33
+
30
34
  unless system(cmd)
31
35
  raise CompilationError.new(log)
32
36
  end
@@ -26,7 +26,11 @@ Compiler.define :tcc do
26
26
  else
27
27
  "#{ldshared} #{ENV['CFLAGS']} #{libs} -o #{output.shellescape} #{input.shellescape} 2>>#{log.shellescape}"
28
28
  end
29
- File.write(log, cmd + "\n")
29
+
30
+ File.open(log, 'a') {|f|
31
+ f.puts(cmd)
32
+ }
33
+
30
34
  unless system(cmd)
31
35
  raise CompilationError.new(log)
32
36
  end
@@ -11,7 +11,7 @@
11
11
  module FFI
12
12
 
13
13
  module Inline
14
- VERSION = '0.0.4.2'
14
+ VERSION = '0.0.4.3'
15
15
  end
16
16
 
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-inline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.2
4
+ version: 0.0.4.3
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: 2012-11-07 00:00:00.000000000 Z
12
+ date: 2013-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
@@ -100,9 +100,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  requirements: []
102
102
  rubyforge_project:
103
- rubygems_version: 1.8.24
103
+ rubygems_version: 1.8.23
104
104
  signing_key:
105
105
  specification_version: 3
106
106
  summary: Inline C/C++ in Ruby easily and cleanly.
107
107
  test_files:
108
108
  - spec/inline_spec.rb
109
+ has_rdoc: