rubinius-bridge 1.0.8 → 1.1.0

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: 304ede4b23eaad39ef58ee313c3e971ebf0e390e
4
- data.tar.gz: 58dc509b3fc14c303c1a4ec154d2c1728e39bc7d
3
+ metadata.gz: 1b23d44bf41cf69a8cd096554e51b34c472a82b8
4
+ data.tar.gz: e2445315018cec691eb6e12207558496957d4bef
5
5
  SHA512:
6
- metadata.gz: acf2c30859b2504498e8fc53addd700308808e4bb40057486a205884a2d936d3994a63ca3645a0610190f68e1fcf7b67163506a22acc1f9d982462f07e046ba1
7
- data.tar.gz: 0c83c73f0d0dba99c61d39f49a899c6c50533db4abb77c326d0562bfc37d7f29755814df18d7f19c6ef09fc58d730abee50664a1b20e07348f079291c1270656
6
+ metadata.gz: 0e9db5fdfec01ff0ad7216f7afd7f0a00fab8705130a5ecffd399c46e3dccc2053c5371f51a77fc9fceeee5f60503bb5f1472e5b1aff957361d17b5a80ef1667
7
+ data.tar.gz: b0a6457cf0c133f44ed65c7c34e8074ace0918da9fa1938c50f624de0b57237e759a5f690ae10f48fa5a5e69f834108ec2fecf185416fcf0a3b7f6b60c9c314a
@@ -16,7 +16,9 @@ module Rubinius
16
16
  attr_accessor :lines # [Tuple] tuple of the lines where its found
17
17
  attr_accessor :file # [Symbol] the file where this comes from
18
18
  attr_accessor :local_names # [Array<Symbol>] names of the local vars
19
- attr_accessor :scope
19
+ attr_accessor :scope # [ConstantScope] scope for looking up constants
20
+ attr_accessor :keywords # [Tuple] pairs of Symbol name, required flag
21
+ attr_accessor :arity # [Integer] number of arguments, negative if variadic.
20
22
  attr_accessor :primitive
21
23
  attr_accessor :block_index
22
24
 
@@ -24,14 +26,6 @@ module Rubinius
24
26
  # TODO
25
27
  end
26
28
 
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
-
35
29
  def add_metadata(key, val)
36
30
  raise TypeError, "key must be a symbol" unless key.kind_of? Symbol
37
31
 
@@ -1,5 +1,5 @@
1
1
  module Rubinius
2
2
  module Bridge
3
- VERSION = "1.0.8"
3
+ VERSION = "1.1.0"
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.8
4
+ version: 1.1.0
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-05-01 00:00:00.000000000 Z
11
+ date: 2014-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redcard