RubyInline 3.8.2 → 3.8.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.
- data/History.txt +6 -0
- data/lib/inline.rb +9 -1
- metadata +5 -26
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
data/History.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.8.
|
68
|
+
VERSION = '3.8.3'
|
69
69
|
|
70
70
|
WINDOZE = /mswin|mingw/ =~ RUBY_PLATFORM
|
71
71
|
RUBINIUS = defined? RUBY_ENGINE
|
@@ -647,6 +647,14 @@ VALUE #{method}_equals(VALUE value) {
|
|
647
647
|
@libs.push(*flags)
|
648
648
|
end
|
649
649
|
|
650
|
+
##
|
651
|
+
# Create a static variable and initialize it to a value.
|
652
|
+
|
653
|
+
def add_static name, init, type = "VALUE"
|
654
|
+
prefix "static #{type} #{name};"
|
655
|
+
add_to_init "#{name} = #{init};"
|
656
|
+
end
|
657
|
+
|
650
658
|
##
|
651
659
|
# Adds custom content to the end of the init function.
|
652
660
|
|
metadata
CHANGED
@@ -1,36 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RubyInline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.8.
|
4
|
+
version: 3.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
- |
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDPjCCAiagAwIBAgIBADANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
|
14
|
-
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLG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dyiyINUHtb5ej/T
|
30
|
-
FBHgymkyj/AOSqKRIpXPhjC6
|
31
|
-
-----END CERTIFICATE-----
|
10
|
+
cert_chain: []
|
32
11
|
|
33
|
-
date: 2009-
|
12
|
+
date: 2009-08-07 00:00:00 -07:00
|
34
13
|
default_executable:
|
35
14
|
dependencies:
|
36
15
|
- !ruby/object:Gem::Dependency
|
@@ -51,7 +30,7 @@ dependencies:
|
|
51
30
|
requirements:
|
52
31
|
- - ">="
|
53
32
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.3.
|
33
|
+
version: 2.3.3
|
55
34
|
version:
|
56
35
|
description: |-
|
57
36
|
Inline allows you to write foreign code within your ruby code. It
|
@@ -110,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
89
|
requirements:
|
111
90
|
- A POSIX environment and a compiler for your language.
|
112
91
|
rubyforge_project: rubyinline
|
113
|
-
rubygems_version: 1.3.
|
92
|
+
rubygems_version: 1.3.5
|
114
93
|
signing_key:
|
115
94
|
specification_version: 3
|
116
95
|
summary: Inline allows you to write foreign code within your ruby code
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
Binary file
|