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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a0a9bcb97ce550631436cd003a7d356eefbe63c
4
- data.tar.gz: 98a84b2414fcce1bba30c994df6a748eeee65e26
3
+ metadata.gz: 8a6761a1db3b87eca74004b7e46ce2014a6bb6ba
4
+ data.tar.gz: 51228658e2f8bae85f73a4b6587a6e70e9aa4088
5
5
  SHA512:
6
- metadata.gz: 19c54caf6e6eb4aef84524ab9bfc953fb70a0abbabb293583ae83d0b49f31fcedfb9a595e8260093ab461988c7111058094583885fa3f927769a5f81827a56fa
7
- data.tar.gz: 0bd7ea70458b3f267a0628fcf5b4ebdbd2fea9656810146b643545a722ce723bee45cffab5e5b43ca735abb00457bfcc47d1bc45af2d93111dbce19c1eb7cf78
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
 
@@ -1,5 +1,5 @@
1
1
  module Rubinius
2
2
  module Bridge
3
- VERSION = "1.0.6"
3
+ VERSION = "1.0.7"
4
4
  end
5
5
  end
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.6
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-03-14 00:00:00.000000000 Z
11
+ date: 2014-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redcard