RubyInline 3.8.4 → 3.8.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/Rakefile +1 -1
- data/lib/inline.rb +2 -1
- data/test/test_inline.rb +4 -3
- metadata +58 -36
- data.tar.gz.sig +0 -1
- metadata.gz.sig +0 -0
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -14,7 +14,7 @@ Hoe.spec "RubyInline" do
|
|
14
14
|
clean_globs << File.expand_path("~/.ruby_inline")
|
15
15
|
spec_extras[:requirements] =
|
16
16
|
"A POSIX environment and a compiler for your language."
|
17
|
-
extra_deps << 'ZenTest' # ZenTest mapping
|
17
|
+
extra_deps << ['ZenTest', '~> 4.3.0'] # for ZenTest mapping
|
18
18
|
end
|
19
19
|
|
20
20
|
task :test => :clean
|
data/lib/inline.rb
CHANGED
@@ -65,7 +65,7 @@ class CompilationError < RuntimeError; end
|
|
65
65
|
# the current namespace.
|
66
66
|
|
67
67
|
module Inline
|
68
|
-
VERSION = '3.8.
|
68
|
+
VERSION = '3.8.5'
|
69
69
|
|
70
70
|
WINDOZE = /mswin|mingw/ =~ RUBY_PLATFORM
|
71
71
|
RUBINIUS = defined? RUBY_ENGINE
|
@@ -564,6 +564,7 @@ VALUE #{method}_equals(VALUE value) {
|
|
564
564
|
|
565
565
|
cmd = [ Config::CONFIG['LDSHARED'],
|
566
566
|
flags,
|
567
|
+
Config::CONFIG['DLDFLAGS'],
|
567
568
|
Config::CONFIG['CCDLFLAGS'],
|
568
569
|
Config::CONFIG['CFLAGS'],
|
569
570
|
'-I', hdrdir,
|
data/test/test_inline.rb
CHANGED
@@ -5,9 +5,10 @@ $0 = __FILE__ if $0 =~ /-e|\(eval\)/
|
|
5
5
|
require 'inline'
|
6
6
|
require 'tempfile'
|
7
7
|
require 'tmpdir'
|
8
|
-
require 'test/unit'
|
9
8
|
require 'fileutils' unless defined?(::FileUtils)
|
10
9
|
|
10
|
+
require 'minitest/autorun'
|
11
|
+
|
11
12
|
File.umask(0)
|
12
13
|
|
13
14
|
require 'pathname'
|
@@ -21,7 +22,7 @@ if $expand_paths then
|
|
21
22
|
$test_inline_path = File.expand_path $test_inline_path
|
22
23
|
end
|
23
24
|
|
24
|
-
class InlineTestCase <
|
25
|
+
class InlineTestCase < MiniTest::Unit::TestCase
|
25
26
|
def setup
|
26
27
|
super
|
27
28
|
@rootdir = File.join(Dir.tmpdir, "test_inline.#{$$}")
|
@@ -793,7 +794,7 @@ extern \"C\" {
|
|
793
794
|
def test_generate_ext_bad_allocate
|
794
795
|
@builder.c_singleton "VALUE allocate(VALUE bad) { return Qnil; }"
|
795
796
|
|
796
|
-
e =
|
797
|
+
e = assert_raises RuntimeError do
|
797
798
|
@builder.generate_ext
|
798
799
|
end
|
799
800
|
|
metadata
CHANGED
@@ -1,58 +1,78 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RubyInline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 3
|
7
|
+
- 8
|
8
|
+
- 5
|
9
|
+
version: 3.8.5
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Ryan Davis
|
8
13
|
autorequire:
|
9
14
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
- |
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDPjCCAiagAwIBAgIBADANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
|
14
|
-
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
GRYDY29tMB4XDTA5MDMwNjE4NTMxNVoXDTEwMDMwNjE4NTMxNVowRTETMBEGA1UE
|
16
|
-
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
17
|
-
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
18
|
-
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
19
|
-
taCPaLmfYIaFcHHCSY4hYDJijRQkLxPeB3xbOfzfLoBDbjvx5JxgJxUjmGa7xhcT
|
20
|
-
oOvjtt5P8+GSK9zLzxQP0gVLS/D0FmoE44XuDr3iQkVS2ujU5zZL84mMNqNB1znh
|
21
|
-
GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
|
22
|
-
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
23
|
-
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
24
|
-
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
|
25
|
-
AQAY59gYvDxqSqgC92nAP9P8dnGgfZgLxP237xS6XxFGJSghdz/nI6pusfCWKM8m
|
26
|
-
vzjjH2wUMSSf3tNudQ3rCGLf2epkcU13/rguI88wO6MrE0wi4ZqLQX+eZQFskJb/
|
27
|
-
w6x9W1ur8eR01s397LSMexySDBrJOh34cm2AlfKr/jokKCTwcM0OvVZnAutaovC0
|
28
|
-
l1SVZ0ecg88bsWHA0Yhh7NFxK1utWoIhtB6AFC/+trM0FQEB/jZkIS8SaNzn96Rl
|
29
|
-
n0sZEf77FLf5peR8TP/PtmIg7Cyqz23sLM4mCOoTGIy5OcZ8TdyiyINUHtb5ej/T
|
30
|
-
FBHgymkyj/AOSqKRIpXPhjC6
|
31
|
-
-----END CERTIFICATE-----
|
15
|
+
cert_chain: []
|
32
16
|
|
33
|
-
date:
|
17
|
+
date: 2010-09-01 00:00:00 -07:00
|
34
18
|
default_executable:
|
35
19
|
dependencies:
|
36
20
|
- !ruby/object:Gem::Dependency
|
37
21
|
name: ZenTest
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ~>
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 4
|
29
|
+
- 3
|
30
|
+
- 0
|
31
|
+
version: 4.3.0
|
38
32
|
type: :runtime
|
39
|
-
|
40
|
-
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: rubyforge
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
38
|
requirements:
|
42
39
|
- - ">="
|
43
40
|
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
|
41
|
+
segments:
|
42
|
+
- 2
|
43
|
+
- 0
|
44
|
+
- 4
|
45
|
+
version: 2.0.4
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id002
|
46
48
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
49
|
+
name: minitest
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 1
|
57
|
+
- 6
|
58
|
+
- 0
|
59
|
+
version: 1.6.0
|
48
60
|
type: :development
|
49
|
-
|
50
|
-
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: hoe
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
51
66
|
requirements:
|
52
67
|
- - ">="
|
53
68
|
- !ruby/object:Gem::Version
|
54
|
-
|
55
|
-
|
69
|
+
segments:
|
70
|
+
- 2
|
71
|
+
- 6
|
72
|
+
- 0
|
73
|
+
version: 2.6.0
|
74
|
+
type: :development
|
75
|
+
version_requirements: *id004
|
56
76
|
description: |-
|
57
77
|
Inline allows you to write foreign code within your ruby code. It
|
58
78
|
automatically determines if the code in question has changed and
|
@@ -99,18 +119,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
119
|
requirements:
|
100
120
|
- - ">="
|
101
121
|
- !ruby/object:Gem::Version
|
122
|
+
segments:
|
123
|
+
- 0
|
102
124
|
version: "0"
|
103
|
-
version:
|
104
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
126
|
requirements:
|
106
127
|
- - ">="
|
107
128
|
- !ruby/object:Gem::Version
|
129
|
+
segments:
|
130
|
+
- 0
|
108
131
|
version: "0"
|
109
|
-
version:
|
110
132
|
requirements:
|
111
133
|
- A POSIX environment and a compiler for your language.
|
112
134
|
rubyforge_project: rubyinline
|
113
|
-
rubygems_version: 1.3.
|
135
|
+
rubygems_version: 1.3.6
|
114
136
|
signing_key:
|
115
137
|
specification_version: 3
|
116
138
|
summary: Inline allows you to write foreign code within your ruby code
|
data.tar.gz.sig
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
B��x~ m19h ��^�x0�Ckr#��c���+Ħ�o�E8O<�m�)�@܁Im@
|
metadata.gz.sig
DELETED
Binary file
|