rubinius-ast 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubinius/ast/control_flow.rb +4 -8
- data/lib/rubinius/ast/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce309d261674f72639f17fab1746c6e70b207e43
|
4
|
+
data.tar.gz: 53ef60ff69d147a5232e6b5988eeb1ea60e189d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fbd9b7c7b706657e60760162da1cce65bd2d3e9bd154a1cb20c73f42557edf6a0052edf324d8c7b35cd02efc2b4d36f7873ee023e10d23f9846886511b6d200
|
7
|
+
data.tar.gz: a9e5446be9d2bf2d40f6c55bb606750ed3b3fea0ea36d64e943f11805886a82f6eb4074292052f01f488f4e6f79596f8949952116efb9bf6d549da805be105aa
|
@@ -89,12 +89,8 @@ module CodeTools
|
|
89
89
|
@splat = nil
|
90
90
|
@single = nil
|
91
91
|
|
92
|
-
|
93
|
-
|
94
|
-
conditions = conditions.array
|
95
|
-
end
|
96
|
-
|
97
|
-
if conditions.kind_of? ArrayLiteral
|
92
|
+
case conditions
|
93
|
+
when ArrayLiteral
|
98
94
|
if conditions.body.last.kind_of? When
|
99
95
|
last = conditions.body.pop
|
100
96
|
if last.conditions.kind_of? ArrayLiteral
|
@@ -111,8 +107,8 @@ module CodeTools
|
|
111
107
|
else
|
112
108
|
@conditions = conditions
|
113
109
|
end
|
114
|
-
|
115
|
-
@splat = SplatWhen.new line, conditions
|
110
|
+
when SplatValue, ConcatArgs, PushArgs
|
111
|
+
@splat = SplatWhen.new line, conditions
|
116
112
|
@conditions = nil
|
117
113
|
else
|
118
114
|
@conditions = conditions
|
data/lib/rubinius/ast/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubinius-ast
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Shirai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -89,8 +89,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
91
|
rubyforge_project:
|
92
|
-
rubygems_version: 2.
|
92
|
+
rubygems_version: 2.4.5
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
95
|
summary: An Abstract Syntax Tree for Ruby.
|
96
96
|
test_files: []
|
97
|
+
has_rdoc:
|