RubyInline 3.12.2 → 3.12.3
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.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.txt +8 -0
- data/README.txt +1 -1
- data/lib/inline.rb +6 -6
- data/test/test_inline.rb +2 -1
- metadata +84 -104
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1d6182b09e600d7b7fb93d56bf4d602b89e3f95a
|
4
|
+
data.tar.gz: 7acc51292d14cceacc6fe39c901f8cb4840de60b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 243478a68519a0ff15331f215773a1bb0905d16b9574af1ff421e783e976b9960483a1cfbe962c4525531cfc73f4add448a33b9038bb481285766d4b84507b76
|
7
|
+
data.tar.gz: 1829ff4d6d1a19005052c36ee2f9fa8f5442ea653f556dbaabaf307e476a553c256db762048fdb588f6373a147001ace2022315cc727138f525be7907df3bf9e
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
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.12.
|
68
|
+
VERSION = "3.12.3"
|
69
69
|
|
70
70
|
WINDOZE = /mswin|mingw/ =~ RUBY_PLATFORM
|
71
71
|
RUBINIUS = defined? RUBY_ENGINE
|
@@ -592,12 +592,12 @@ VALUE #{method}_equals(VALUE value) {
|
|
592
592
|
(RbConfig::CONFIG['CCDLFLAGS'] if windoze),
|
593
593
|
].compact.join(' ')
|
594
594
|
|
595
|
-
|
596
|
-
|
595
|
+
# odd compilation error on clang + freebsd 10. Ruby built w/ rbenv.
|
596
|
+
cmd = cmd.gsub(/-Wl,-soname,\$@/, "-Wl,-soname,#{File.basename so_name}")
|
597
|
+
|
598
|
+
# strip off some makefile macros for mingw 1.9
|
599
|
+
cmd = cmd.gsub(/\$\(.*\)/, '') if RUBY_PLATFORM =~ /mingw/
|
597
600
|
|
598
|
-
# TODO: remove after osx 10.5.2
|
599
|
-
cmd += ' -flat_namespace -undefined suppress' if
|
600
|
-
RUBY_PLATFORM =~ /darwin9\.[01]/
|
601
601
|
cmd += " 2> #{DEV_NULL}" if $TESTING and not $DEBUG
|
602
602
|
|
603
603
|
warn "Building #{so_name} with '#{cmd}'" if $DEBUG
|
data/test/test_inline.rb
CHANGED
@@ -17,7 +17,7 @@ require 'pathname'
|
|
17
17
|
$inline_path = './lib/inline.rb'
|
18
18
|
$test_inline_path = './test/test_inline.rb'
|
19
19
|
|
20
|
-
class InlineTestCase <
|
20
|
+
class InlineTestCase < Minitest::Test
|
21
21
|
def setup
|
22
22
|
super
|
23
23
|
@rootdir = File.join(Dir.tmpdir, "test_inline.#{$$}")
|
@@ -933,6 +933,7 @@ extern \"C\" {
|
|
933
933
|
|
934
934
|
def test_load
|
935
935
|
# totally tested by test_build
|
936
|
+
assert true
|
936
937
|
end
|
937
938
|
|
938
939
|
end # class TestC
|
metadata
CHANGED
@@ -1,24 +1,18 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: RubyInline
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 3
|
8
|
-
- 12
|
9
|
-
- 2
|
10
|
-
version: 3.12.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.12.3
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Ryan Davis
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
|
-
cert_chain:
|
10
|
+
cert_chain:
|
17
11
|
- |
|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
|
29
|
+
Y4evBVezr3SjXz08vPqRO5YRdO3zfeMT8gBjRqZjWJGMZ2lD4XNfrs7eky74CyZw
|
30
|
+
xx3n58i0lQkBE1EpKE0lFu/y
|
37
31
|
-----END CERTIFICATE-----
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
- !ruby/object:Gem::Dependency
|
32
|
+
date: 2014-04-29 00:00:00.000000000 Z
|
33
|
+
dependencies:
|
34
|
+
- !ruby/object:Gem::Dependency
|
42
35
|
name: ZenTest
|
43
|
-
|
44
|
-
|
45
|
-
none: false
|
46
|
-
requirements:
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
47
38
|
- - ~>
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
|
50
|
-
segments:
|
51
|
-
- 4
|
52
|
-
- 3
|
53
|
-
version: "4.3"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '4.3'
|
54
41
|
type: :runtime
|
55
|
-
version_requirements: *id001
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: minitest
|
58
42
|
prerelease: false
|
59
|
-
|
60
|
-
|
61
|
-
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '4.3'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: minitest
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
62
52
|
- - ~>
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
|
65
|
-
segments:
|
66
|
-
- 4
|
67
|
-
- 7
|
68
|
-
version: "4.7"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.3'
|
69
55
|
type: :development
|
70
|
-
version_requirements: *id002
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: rdoc
|
73
56
|
prerelease: false
|
74
|
-
|
75
|
-
|
76
|
-
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '5.3'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rdoc
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
77
66
|
- - ~>
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
|
80
|
-
segments:
|
81
|
-
- 4
|
82
|
-
- 0
|
83
|
-
version: "4.0"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '4.0'
|
84
69
|
type: :development
|
85
|
-
version_requirements: *id003
|
86
|
-
- !ruby/object:Gem::Dependency
|
87
|
-
name: hoe
|
88
70
|
prerelease: false
|
89
|
-
|
90
|
-
|
91
|
-
requirements:
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
92
73
|
- - ~>
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '4.0'
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: hoe
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.12'
|
99
83
|
type: :development
|
100
|
-
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.12'
|
101
90
|
description: |-
|
102
91
|
Inline allows you to write foreign code within your ruby code. It
|
103
92
|
automatically determines if the code in question has changed and
|
104
93
|
builds it only when necessary. The extensions are then automatically
|
105
94
|
loaded into the class/module that defines it.
|
106
|
-
|
95
|
+
|
107
96
|
You can even write extra builders that will allow you to write inlined
|
108
97
|
code in any language. Use Inline::C as a template and look at
|
109
98
|
Module#inline for the required API.
|
110
|
-
email:
|
99
|
+
email:
|
111
100
|
- ryand-ruby@zenspider.com
|
112
101
|
executables: []
|
113
|
-
|
114
102
|
extensions: []
|
115
|
-
|
116
|
-
extra_rdoc_files:
|
103
|
+
extra_rdoc_files:
|
117
104
|
- History.txt
|
118
105
|
- Manifest.txt
|
119
106
|
- README.txt
|
120
|
-
files:
|
107
|
+
files:
|
108
|
+
- .gemtest
|
121
109
|
- History.txt
|
122
110
|
- Manifest.txt
|
123
111
|
- README.txt
|
@@ -130,40 +118,32 @@ files:
|
|
130
118
|
- test/test_inline.rb
|
131
119
|
- tutorial/example1.rb
|
132
120
|
- tutorial/example2.rb
|
133
|
-
- .gemtest
|
134
121
|
homepage: http://www.zenspider.com/ZSS/Products/RubyInline/
|
135
|
-
licenses:
|
136
|
-
|
122
|
+
licenses:
|
123
|
+
- MIT
|
124
|
+
metadata: {}
|
137
125
|
post_install_message:
|
138
|
-
rdoc_options:
|
126
|
+
rdoc_options:
|
139
127
|
- --main
|
140
128
|
- README.txt
|
141
|
-
require_paths:
|
129
|
+
require_paths:
|
142
130
|
- lib
|
143
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
requirements:
|
155
|
-
- - ">="
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
hash: 3
|
158
|
-
segments:
|
159
|
-
- 0
|
160
|
-
version: "0"
|
161
|
-
requirements:
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - '>='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - '>='
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
requirements:
|
162
142
|
- A POSIX environment and a compiler for your language.
|
163
|
-
rubyforge_project:
|
164
|
-
rubygems_version:
|
143
|
+
rubyforge_project:
|
144
|
+
rubygems_version: 2.2.1
|
165
145
|
signing_key:
|
166
|
-
specification_version:
|
146
|
+
specification_version: 4
|
167
147
|
summary: Inline allows you to write foreign code within your ruby code
|
168
|
-
test_files:
|
148
|
+
test_files:
|
169
149
|
- test/test_inline.rb
|
metadata.gz.sig
CHANGED
Binary file
|