unparser 0.0.12 → 0.0.13

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: fd062c08a57c611c3767f546463eccf1ba55ff11
4
- data.tar.gz: c8b93b86e97966ce74a9ba704603c14f031dbccc
3
+ metadata.gz: b2af4ad071ae22e92bdf4d4221a9086cad42217f
4
+ data.tar.gz: 8957aa9023ffebd5f98fc136bb217cec85cac392
5
5
  SHA512:
6
- metadata.gz: b735186fd0973d7493c020b9f3104150bdb13c2510eed4388c778a8b049fd7e9bd644c31e4902a0a08442e358db4fc141769542a9b1abeddefb7a7123f50c239
7
- data.tar.gz: 78b646a7b7de358bb57abe4f3504c8116ad5938a13110a4835d1afb34ff23ee49bcb324f7cea8c39414bc6c5a80001388476788d01d088116478861e104819ff
6
+ metadata.gz: 0549f1da0cc2ed053fc8371aec5f190853a7ef501ce42802d6c06d1ad4160d5dcb6336925f00030afb5999c60074ec92d442df4b45da0f8c5b480157a00418dd
7
+ data.tar.gz: 2e04cc28508053e9b1ab98d940085c536684794be06e2467983a84ed77b7ed050f1721742b4e2af435181e5046e6a1d6de4a50e17c30966b75d613e27e399b64
@@ -1,3 +1,3 @@
1
1
  ---
2
2
  threshold: 13
3
- total_score: 365
3
+ total_score: 369
@@ -1,2 +1,2 @@
1
1
  ---
2
- threshold: 12.2
2
+ threshold: 18.7
@@ -15,6 +15,8 @@ module Unparser
15
15
  #
16
16
  def dispatch
17
17
  write(K_NEXT)
18
+ return if children.empty?
19
+ parentheses { visit(children.first) }
18
20
  end
19
21
 
20
22
  end # Next
@@ -179,6 +179,7 @@ describe Unparser, 'spike' do
179
179
 
180
180
  context 'next' do
181
181
  assert_source 'next'
182
+ assert_source 'next(bar)'
182
183
  end
183
184
 
184
185
  context 'retry' do
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'unparser'
5
- s.version = '0.0.12'
5
+ s.version = '0.0.13'
6
6
 
7
7
  s.authors = ['Markus Schirp']
8
8
  s.email = 'mbj@schir-dso.com'
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.12
4
+ version: 0.0.13
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-28 00:00:00.000000000 Z
11
+ date: 2013-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser