unparser 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/config/flay.yml +1 -1
- data/lib/unparser/emitter/assignment.rb +6 -1
- data/spec/integration/unparser/spike_spec.rb +1 -0
- data/unparser.gemspec +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: 11255e57313330254373b6beda0deb4377e6e463
|
4
|
+
data.tar.gz: 0f946bd5799e2e86c4f93c1014e514f75a8cf4b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b0102c269b17bee7c295b050103b68778968ff7d5b2e51b7360e7a6d11cad94f5281375344014284fbe5c1d5459ff65323fe7a7d3a5ba91e3c683ed718929ea
|
7
|
+
data.tar.gz: e164f2beffb130ce0fecd88e2b910f728d604dbc0defdbf59262b521565fccf3743b9e22e60a2a29a2482bd0ed0cbbcc9c6eec618f3feec9e611e111e7a1381a
|
data/.travis.yml
CHANGED
data/config/flay.yml
CHANGED
@@ -131,8 +131,13 @@ module Unparser
|
|
131
131
|
# @api private
|
132
132
|
#
|
133
133
|
def dispatch
|
134
|
-
|
134
|
+
if parent.node.type == :mlhs
|
135
|
+
parentheses { delimited(children) }
|
136
|
+
else
|
137
|
+
delimited(children)
|
138
|
+
end
|
135
139
|
end
|
140
|
+
|
136
141
|
end # MLHS
|
137
142
|
|
138
143
|
end # Assignment
|
data/unparser.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unparser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Schirp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parser
|