rubinius-bridge 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubinius/bridge/compiled_code.rb +12 -0
- data/lib/rubinius/bridge/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a6761a1db3b87eca74004b7e46ce2014a6bb6ba
|
4
|
+
data.tar.gz: 51228658e2f8bae85f73a4b6587a6e70e9aa4088
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ed6f2f4380e47d7ee4d600854749c80636ca5d56f20910832f37689612e286495c537087b1de888f08e85130b54e5efaf18ac85b1833bd7564227c9a6e910f4
|
7
|
+
data.tar.gz: c8ba3e195ce16c0ff21784c3caa7028cde083029a7945a540c75a441a721d215e9e423ad0f78b8d355b7448af62543200a465ef441f5bb4624d1faa888ad6718
|
@@ -20,6 +20,18 @@ module Rubinius
|
|
20
20
|
attr_accessor :primitive
|
21
21
|
attr_accessor :block_index
|
22
22
|
|
23
|
+
def decode(bytecodes = @iseq)
|
24
|
+
# TODO
|
25
|
+
end
|
26
|
+
|
27
|
+
def arity
|
28
|
+
if @required_args == @total_args and (@splat.nil? or @splat == -3)
|
29
|
+
@required_args
|
30
|
+
else
|
31
|
+
-(@required_args + 1)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
23
35
|
def add_metadata(key, val)
|
24
36
|
raise TypeError, "key must be a symbol" unless key.kind_of? Symbol
|
25
37
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubinius-bridge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Shirai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redcard
|