RubyInline 3.12.5 → 3.12.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.txt +6 -0
- data/lib/inline.rb +2 -7
- data/test/test_inline.rb +0 -12
- data.tar.gz.sig +0 -0
- metadata +19 -17
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ba7b8737df8454f2428459aa7066082c3966cd52213ae62126489327ce614b9
|
4
|
+
data.tar.gz: 77476279cc150dbfec24b72cfbee747af92f13489e6c46d44436deb06e095fa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb1b824084189a44908e5896fba9acb9637c26c31a5944f0c3bd9fa986aae2986e30c05f4a1886672d8dc9a46b619a8b566d5051f8504a48365ddc96d85473fd
|
7
|
+
data.tar.gz: 1c9184d49d7ecf30af622fa8a6b317ca84707524f810b6ee9eb675ceb68d419814116f85eb096ffca523634e7d9f4287e538de584eb2786684b1c05f298bcb0c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/inline.rb
CHANGED
@@ -65,17 +65,12 @@ class CompilationError < RuntimeError; end
|
|
65
65
|
# the current namespace.
|
66
66
|
|
67
67
|
module Inline
|
68
|
-
VERSION = "3.12.
|
68
|
+
VERSION = "3.12.6"
|
69
69
|
|
70
70
|
WINDOZE = /mswin|mingw/ =~ RUBY_PLATFORM
|
71
|
-
RUBINIUS = defined? RUBY_ENGINE
|
72
71
|
DEV_NULL = (WINDOZE ? 'nul' : '/dev/null')
|
73
72
|
GEM = 'gem'
|
74
|
-
RAKE =
|
75
|
-
File.join(Gem.bindir, 'rake')
|
76
|
-
else
|
77
|
-
"#{Gem.ruby} -S rake"
|
78
|
-
end
|
73
|
+
RAKE = "#{Gem.ruby} -S rake"
|
79
74
|
|
80
75
|
warn "RubyInline v #{VERSION}" if $DEBUG
|
81
76
|
|
data/test/test_inline.rb
CHANGED
@@ -870,8 +870,6 @@ extern \"C\" {
|
|
870
870
|
end
|
871
871
|
|
872
872
|
def test_build_good
|
873
|
-
skip "https://github.com/MagLev/maglev/issues/231" if maglev?
|
874
|
-
|
875
873
|
code = util_simple_code(:DumbTest1, "long dumbpi() { return 314; }")
|
876
874
|
util_test_build(code) do
|
877
875
|
result = DumbTest1.new.dumbpi
|
@@ -982,8 +980,6 @@ EOR
|
|
982
980
|
|
983
981
|
class TestModule < InlineTestCase
|
984
982
|
def test_nested
|
985
|
-
skip "https://github.com/MagLev/maglev/issues/231" if maglev?
|
986
|
-
|
987
983
|
Object.class_eval $test_module_code
|
988
984
|
fb = Foo::Bar.new
|
989
985
|
assert_equal(42, fb.forty_two_instance)
|
@@ -1004,16 +1000,12 @@ class TestModule < InlineTestCase
|
|
1004
1000
|
end
|
1005
1001
|
|
1006
1002
|
def test_argument_check_good
|
1007
|
-
skip "https://github.com/MagLev/maglev/issues/231" if maglev?
|
1008
|
-
|
1009
1003
|
util_arity_check
|
1010
1004
|
fb = Foo::Bar.new
|
1011
1005
|
assert_equal 13, fb.arity6(1, 2, 3, 4, 5, "blah")
|
1012
1006
|
end
|
1013
1007
|
|
1014
1008
|
def test_argument_check_fewer
|
1015
|
-
skip "https://github.com/MagLev/maglev/issues/231" if maglev?
|
1016
|
-
|
1017
1009
|
util_arity_check
|
1018
1010
|
fb = Foo::Bar.new
|
1019
1011
|
|
@@ -1023,8 +1015,6 @@ class TestModule < InlineTestCase
|
|
1023
1015
|
end
|
1024
1016
|
|
1025
1017
|
def test_argument_check_more
|
1026
|
-
skip "https://github.com/MagLev/maglev/issues/231" if maglev?
|
1027
|
-
|
1028
1018
|
util_arity_check
|
1029
1019
|
fb = Foo::Bar.new
|
1030
1020
|
assert_raises ArgumentError do
|
@@ -1033,8 +1023,6 @@ class TestModule < InlineTestCase
|
|
1033
1023
|
end
|
1034
1024
|
|
1035
1025
|
def test_inline
|
1036
|
-
skip "https://github.com/MagLev/maglev/issues/231" if maglev?
|
1037
|
-
|
1038
1026
|
self.class.inline(:C) do |builder|
|
1039
1027
|
builder.c "int add(int a, int b) { return a + b; }"
|
1040
1028
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RubyInline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.12.
|
4
|
+
version: 3.12.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDPjCCAiagAwIBAgIBBjANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
14
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
-
|
15
|
+
GRYDY29tMB4XDTIxMTIyMzIzMTkwNFoXDTIyMTIyMzIzMTkwNFowRTETMBEGA1UE
|
16
16
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
17
17
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
18
18
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -22,14 +22,14 @@ cert_chain:
|
|
22
22
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
23
23
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
24
24
|
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
AQCKB5jfsuSnKb+t/Wrh3UpdkmX7TrEsjVmERC0pPqzQ5GQJgmEXDD7oMgaKXaAq
|
26
|
+
x2m+KSZDrqk7c8uho5OX6YMqg4KdxehfSLqqTZGoeV78qwf/jpPQZKTf+W9gUSJh
|
27
|
+
zsWpo4K50MP+QtdSbKXZwjAafpQ8hK0MnnZ/aeCsW9ov5vdXpYbf3dpg6ADXRGE7
|
28
|
+
lQY2y1tJ5/chqu6h7dQmnm2ABUqx9O+JcN9hbCYoA5i/EeubUEtFIh2w3SpO6YfB
|
29
|
+
JFmxn4h9YO/pVdB962BdBNNDia0kgIjI3ENnkLq0dKpYU3+F3KhEuTksLO0L6X/V
|
30
|
+
YsuyUzsMz6GQA4khyaMgKNSD
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: ZenTest
|
@@ -71,14 +71,14 @@ dependencies:
|
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '3.
|
74
|
+
version: '3.23'
|
75
75
|
type: :development
|
76
76
|
prerelease: false
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '3.
|
81
|
+
version: '3.23'
|
82
82
|
description: |-
|
83
83
|
Inline allows you to write foreign code within your ruby code. It
|
84
84
|
automatically determines if the code in question has changed and
|
@@ -112,8 +112,10 @@ files:
|
|
112
112
|
homepage: http://www.zenspider.com/ZSS/Products/RubyInline/
|
113
113
|
licenses:
|
114
114
|
- MIT
|
115
|
-
metadata:
|
116
|
-
|
115
|
+
metadata:
|
116
|
+
homepage_uri: http://www.zenspider.com/ZSS/Products/RubyInline/
|
117
|
+
source_code_uri: https://github.com/seattlerb/rubyinline
|
118
|
+
post_install_message:
|
117
119
|
rdoc_options:
|
118
120
|
- "--main"
|
119
121
|
- README.txt
|
@@ -131,8 +133,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
133
|
version: '0'
|
132
134
|
requirements:
|
133
135
|
- A POSIX environment and a compiler for your language.
|
134
|
-
rubygems_version: 3.
|
135
|
-
signing_key:
|
136
|
+
rubygems_version: 3.3.12
|
137
|
+
signing_key:
|
136
138
|
specification_version: 4
|
137
139
|
summary: Inline allows you to write foreign code within your ruby code
|
138
140
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|