ffi 1.1.0.rc1 → 1.1.0.rc2
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.
- data/Rakefile +4 -2
- data/ext/ffi_c/libffi.bsd.mk +1 -1
- data/ext/ffi_c/libffi.darwin.mk +1 -0
- data/ext/ffi_c/libffi.gnu.mk +1 -1
- metadata +3 -5
- data/lib/ffi_c.bundle +0 -0
data/Rakefile
CHANGED
|
@@ -5,7 +5,6 @@ USE_RAKE_COMPILER = (RUBY_PLATFORM =~ /java/) ? false : true
|
|
|
5
5
|
if USE_RAKE_COMPILER
|
|
6
6
|
gem 'rake-compiler', '>=0.6.0'
|
|
7
7
|
require 'rake/extensiontask'
|
|
8
|
-
ENV['RUBY_CC_VERSION'] = '1.8.7:1.9.3'
|
|
9
8
|
end
|
|
10
9
|
|
|
11
10
|
require 'date'
|
|
@@ -75,7 +74,7 @@ PROJ.name = 'ffi'
|
|
|
75
74
|
PROJ.authors = 'Wayne Meissner'
|
|
76
75
|
PROJ.email = 'wmeissner@gmail.com'
|
|
77
76
|
PROJ.url = 'http://wiki.github.com/ffi/ffi'
|
|
78
|
-
PROJ.version = '1.1.0.
|
|
77
|
+
PROJ.version = '1.1.0.rc2'
|
|
79
78
|
PROJ.rubyforge.name = 'ffi'
|
|
80
79
|
PROJ.readme_file = 'README.rdoc'
|
|
81
80
|
|
|
@@ -189,3 +188,6 @@ task 'spec:specdoc' => TEST_DEPS
|
|
|
189
188
|
|
|
190
189
|
task :default => :specs
|
|
191
190
|
|
|
191
|
+
task 'gem:win32' do
|
|
192
|
+
sh("rake cross native gem RUBY_CC_VERSION='1.8.7:1.9.3'") || raise("win32 build failed!")
|
|
193
|
+
end
|
data/ext/ffi_c/libffi.bsd.mk
CHANGED
|
@@ -7,7 +7,7 @@ INCFLAGS += -I${LIBFFI_BUILD_DIR}/include
|
|
|
7
7
|
LOCAL_LIBS += ${LIBFFI} -lpthread
|
|
8
8
|
|
|
9
9
|
LIBFFI_CFLAGS = ${FFI_MMAP_EXEC} -pthread
|
|
10
|
-
LIBFFI_BUILD_DIR = ${.CURDIR}/libffi
|
|
10
|
+
LIBFFI_BUILD_DIR = ${.CURDIR}/libffi-${arch}
|
|
11
11
|
|
|
12
12
|
.if ${srcdir} == "."
|
|
13
13
|
LIBFFI_SRC_DIR := ${.CURDIR}/libffi
|
data/ext/ffi_c/libffi.darwin.mk
CHANGED
data/ext/ffi_c/libffi.gnu.mk
CHANGED
|
@@ -9,7 +9,7 @@ INCFLAGS += -I"$(LIBFFI_BUILD_DIR)"/include
|
|
|
9
9
|
LOCAL_LIBS += $(LIBFFI)
|
|
10
10
|
BUILD_DIR = $(shell pwd)
|
|
11
11
|
LIBFFI_CFLAGS = $(FFI_MMAP_EXEC)
|
|
12
|
-
LIBFFI_BUILD_DIR = $(BUILD_DIR)/libffi
|
|
12
|
+
LIBFFI_BUILD_DIR = $(BUILD_DIR)/libffi-$(arch)
|
|
13
13
|
|
|
14
14
|
ifeq ($(srcdir),.)
|
|
15
15
|
LIBFFI_SRC_DIR := $(shell pwd)/libffi
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ffi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 1213833217
|
|
5
5
|
prerelease: 6
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 1
|
|
9
9
|
- 0
|
|
10
10
|
- rc
|
|
11
|
-
-
|
|
12
|
-
version: 1.1.0.
|
|
11
|
+
- 2
|
|
12
|
+
version: 1.1.0.rc2
|
|
13
13
|
platform: ruby
|
|
14
14
|
authors:
|
|
15
15
|
- Wayne Meissner
|
|
@@ -61,7 +61,6 @@ extra_rdoc_files:
|
|
|
61
61
|
- lib/ffi/platform/x86_64-netbsd/types.conf
|
|
62
62
|
- lib/ffi/platform/x86_64-openbsd/types.conf
|
|
63
63
|
- lib/ffi/platform/x86_64-solaris/types.conf
|
|
64
|
-
- lib/ffi_c.bundle
|
|
65
64
|
files:
|
|
66
65
|
- History.txt
|
|
67
66
|
- LICENSE
|
|
@@ -443,7 +442,6 @@ files:
|
|
|
443
442
|
- lib/ffi/types.rb
|
|
444
443
|
- lib/ffi/union.rb
|
|
445
444
|
- lib/ffi/variadic.rb
|
|
446
|
-
- lib/ffi_c.bundle
|
|
447
445
|
- spec/ffi/async_callback_spec.rb
|
|
448
446
|
- spec/ffi/bool_spec.rb
|
|
449
447
|
- spec/ffi/buffer_spec.rb
|
data/lib/ffi_c.bundle
DELETED
|
Binary file
|