unparser 0.1.12 → 0.1.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
- ---
2
- SHA1:
3
- metadata.gz: ad86813fd975be2313a38f97a4c04f91dca90dc0
4
- data.tar.gz: 19160d4496e5e5cbf13f1e2e149885ef8ebd6000
5
- SHA512:
6
- metadata.gz: a689f724e095ff85b0a5398e3a9f111d3ba422bec3614afefc6f1906171059154606ab90d39b6a3581806a9892d59c9ad6b1c102ee88bbce8fbd1deff5f6f406
7
- data.tar.gz: 2a8cd18a6623539df988d61e7bfd9c2cd800eb6f539ed1e2d8b9a15c54a43ebded2ad18419756aac5797f6e4fac99c2258dba6dd32f1f24240cc27b249e582bc
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d4a7819ea2d8ce95d148c52ee34b15ebe1ff90b2
4
+ data.tar.gz: 0e9816a2e5d51a4e69f3a08e85ecfde8ae481a9f
5
+ SHA512:
6
+ metadata.gz: b06c3a9e8f10304d8acfb49504f4830400817506faaaa01e60a22c5b4da509f004ae5c5034604cb72568c1df6861ed0eaa495796988b839ce94fb217fd61b5d1
7
+ data.tar.gz: 4c1e6bb60efa42743788669d69aae5c67d47f278d2b97f357bd40eda44642da6daaa5e5fc58a90cc28e99214df03b76587d5593bc5e6b497caea116e2e9227b4
data/.rspec CHANGED
@@ -1,3 +1,4 @@
1
1
  --color
2
2
  --format progress
3
+ --warnings
3
4
  --order random
data/.rubocop.yml CHANGED
@@ -1,8 +1,8 @@
1
1
  AllCops:
2
- Includes:
2
+ Include:
3
3
  - 'Gemfile'
4
- Excludes:
4
+ Exclude:
5
5
  - 'Gemfile.devtools'
6
- - 'vendor/**'
7
- - 'benchmarks/**'
8
- - 'tmp/**'
6
+ - 'vendor/**/*'
7
+ - 'benchmarks/**/*'
8
+ - 'tmp/**/*'
data/.travis.yml CHANGED
@@ -3,13 +3,13 @@ script: 'bundle exec rake ci'
3
3
  rvm:
4
4
  - 1.9.3
5
5
  - 2.0.0
6
- - ruby
7
- - jruby
8
- - rbx
6
+ - 2.1.2
7
+ - jruby-19mode
8
+ - jruby-20mode
9
+ - rbx-2
9
10
  matrix:
10
11
  allow_failures:
11
- - rvm: rbx
12
- - rvm: ruby
12
+ - rvm: rbx-2
13
13
  notifications:
14
14
  irc:
15
15
  channels:
data/Changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v0.1.13 2014-06-08
2
+
3
+ * Add support for rubinius.
4
+
1
5
  # v0.1.12 2014-04-13
2
6
 
3
7
  * Add support for 2.1 kwsplat
data/Gemfile CHANGED
@@ -3,8 +3,9 @@ source 'https://rubygems.org'
3
3
 
4
4
  gemspec
5
5
 
6
- gem 'anima'
7
- gem 'morpher'
6
+ # Development only dependencies
7
+ gem 'anima', '~> 0.2.0'
8
+ gem 'morpher', '~> 0.2.2'
8
9
 
9
10
  gem 'devtools', git: 'https://github.com/rom-rb/devtools.git'
10
11
  eval_gemfile 'Gemfile.devtools'
data/Gemfile.devtools CHANGED
@@ -1,9 +1,9 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  group :development do
4
- gem 'rake', '~> 10.2.1'
5
- gem 'rspec', '~> 2.14.1'
6
- gem 'rspec-core', '~> 2.14.8'
4
+ gem 'rake', '~> 10.3.2'
5
+ gem 'rspec', '~> 2.99.0'
6
+ gem 'rspec-core', '~> 2.99.0'
7
7
  gem 'yard', '~> 0.8.7.4'
8
8
 
9
9
  platform :rbx do
@@ -16,35 +16,35 @@ group :yard do
16
16
  end
17
17
 
18
18
  group :guard do
19
- gem 'guard', '~> 2.6.0'
19
+ gem 'guard', '~> 2.6.1'
20
20
  gem 'guard-bundler', '~> 2.0.0'
21
- gem 'guard-rspec', '~> 4.2.8'
22
- gem 'guard-rubocop', '~> 1.0.2'
21
+ gem 'guard-rspec', '~> 4.2.9'
22
+ gem 'guard-rubocop', '~> 1.1.0'
23
23
 
24
24
  # file system change event handling
25
- gem 'listen', '~> 2.7.1'
25
+ gem 'listen', '~> 2.7.7'
26
26
  gem 'rb-fchange', '~> 0.0.6', require: false
27
27
  gem 'rb-fsevent', '~> 0.9.4', require: false
28
- gem 'rb-inotify', '~> 0.9.3', require: false
28
+ gem 'rb-inotify', '~> 0.9.5', require: false
29
29
 
30
30
  # notification handling
31
- gem 'libnotify', '~> 0.8.2', require: false
31
+ gem 'libnotify', '~> 0.8.3', require: false
32
32
  gem 'rb-notifu', '~> 0.0.4', require: false
33
33
  gem 'terminal-notifier-guard', '~> 1.5.3', require: false
34
34
  end
35
35
 
36
36
  group :metrics do
37
37
  gem 'coveralls', '~> 0.7.0'
38
- gem 'flay', '~> 2.4.0'
39
- gem 'flog', '~> 4.2.0'
38
+ gem 'flay', '~> 2.5.0'
39
+ gem 'flog', '~> 4.2.1'
40
40
  gem 'reek', '~> 1.3.7'
41
- gem 'rubocop', '~> 0.19.1'
42
- gem 'simplecov', '~> 0.8.2'
41
+ gem 'rubocop', '~> 0.23.0'
42
+ gem 'simplecov', '~> 0.7.1'
43
43
  gem 'yardstick', '~> 0.9.9'
44
44
 
45
45
  platforms :mri do
46
- gem 'mutant', '~> 0.5.9'
47
- gem 'mutant-rspec', '~> 0.5.3'
46
+ gem 'mutant', '~> 0.5.19'
47
+ gem 'mutant-rspec', '~> 0.5.19'
48
48
  end
49
49
 
50
50
  platforms :ruby_19, :ruby_20 do
@@ -66,6 +66,6 @@ end
66
66
 
67
67
  platform :jruby do
68
68
  group :jruby do
69
- gem 'jruby-openssl', '~> 0.8.5'
69
+ gem 'jruby-openssl', '~> 0.9.4'
70
70
  end
71
71
  end
data/README.md CHANGED
@@ -4,16 +4,15 @@ unparser
4
4
  [![Build Status](https://secure.travis-ci.org/mbj/unparser.png?branch=master)](http://travis-ci.org/mbj/unparser)
5
5
  [![Dependency Status](https://gemnasium.com/mbj/unparser.png)](https://gemnasium.com/mbj/unparser)
6
6
  [![Code Climate](https://codeclimate.com/github/mbj/unparser.png)](https://codeclimate.com/github/mbj/unparser)
7
+ [![Gem Version](https://img.shields.io/gem/v/unparser.svg)](https://rubygems.org/gems/unparser)
8
+ [![Gittip](https://img.shields.io/gittip/mbj.svg)](https://gittip.com/mbj)
7
9
 
8
10
  Generate equivalent source for ASTs from whitequarks [parser](https://github.com/whitequark/parser).
9
11
 
10
- This library is able to reproduce 100% of ruby 1.9 and 2.0 syntax. Including its own source code.
12
+ This library is able to reproduce 100% of ruby 1.9, 2.0 and 2.1 syntax. Including its own source code.
11
13
 
12
14
  It serves well for [mutant](https://github.com/mbj/mutant) mutators and the in-memory vendoring for self hosting.
13
15
 
14
- This library dropped the reproduction of 1.8 syntax in the 0.1.0 release.
15
- It currently does not have support for 2.1 specific syntax.
16
-
17
16
  Usage
18
17
  -----
19
18
 
data/config/flay.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  ---
2
2
  threshold: 13
3
- total_score: 727
3
+ total_score: 728
data/config/rubocop.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  inherit_from: ../.rubocop.yml
2
2
 
3
3
  AllCops:
4
- Includes:
4
+ Include:
5
5
  - '**/*.rake'
6
6
  - 'Gemfile'
7
7
  - 'Gemfile.triage'
@@ -21,7 +21,7 @@ module Unparser
21
21
  items << scope
22
22
  end
23
23
  @items = items
24
- @node = node
24
+ super(node)
25
25
  end
26
26
 
27
27
  # Test if local variable was first at given assignment
@@ -99,9 +99,7 @@ module Unparser
99
99
  #
100
100
  def match(neddle)
101
101
  @items.each do |node, current, before|
102
- if node.equal?(neddle)
103
- return yield(current, before)
104
- end
102
+ return yield(current, before) if node.equal?(neddle)
105
103
  end
106
104
  false
107
105
  end
@@ -175,9 +173,7 @@ module Unparser
175
173
  enter(node)
176
174
  yield node, current.dup, before
177
175
  node.children.each do |child|
178
- if child.kind_of?(Parser::AST::Node)
179
- visit(child, &block)
180
- end
176
+ visit(child, &block) if child.kind_of?(Parser::AST::Node)
181
177
  end
182
178
  leave(node)
183
179
  end
@@ -210,9 +206,7 @@ module Unparser
210
206
  # @api private
211
207
  #
212
208
  def leave(node)
213
- if CLOSE_NODES.include?(node.type)
214
- pop
215
- end
209
+ pop if CLOSE_NODES.include?(node.type)
216
210
  end
217
211
 
218
212
  # Define a local variable on current stack
data/lib/unparser/ast.rb CHANGED
@@ -5,7 +5,7 @@ module Unparser
5
5
  module AST
6
6
 
7
7
  FIRST_CHILD = ->(node) { node.children.first }.freeze
8
- TAUTOLOGY = ->(node) { true }.freeze
8
+ TAUTOLOGY = ->(_node) { true }.freeze
9
9
 
10
10
  RESET_NODES = [:module, :class, :sclass, :def, :defs].freeze
11
11
  INHERIT_NODES = [:block].freeze
@@ -193,9 +193,8 @@ module Unparser
193
193
  return unless controller.call(node)
194
194
  block.call(node)
195
195
  node.children.each do |child|
196
- if child.kind_of?(Parser::AST::Node)
197
- call(child)
198
- end
196
+ next unless child.kind_of?(Parser::AST::Node)
197
+ call(child)
199
198
  end
200
199
  self
201
200
  end
data/lib/unparser/cli.rb CHANGED
@@ -70,7 +70,7 @@ module Unparser
70
70
  builder.on('--start-with FILE') do |file|
71
71
  @start_with = sources(file).first
72
72
  end
73
- builder.on('-v', '--verbose') do |file|
73
+ builder.on('-v', '--verbose') do
74
74
  @verbose = true
75
75
  end
76
76
  builder.on('--ignore FILE') do |file|
@@ -91,9 +91,7 @@ module Unparser
91
91
  effective_sources.each do |source|
92
92
  next if @ignore.include?(source)
93
93
  process_source(source)
94
- if @fail_fast
95
- break unless @success
96
- end
94
+ break unless @success if @fail_fast
97
95
  end
98
96
 
99
97
  @success ? EXIT_SUCCESS : EXIT_FAILURE
@@ -43,9 +43,7 @@ module Unparser
43
43
  #
44
44
  def consume(node, source_part = :expression)
45
45
  range = source_range(node, source_part)
46
- if range
47
- @last_range_consumed = range
48
- end
46
+ @last_range_consumed = range if range
49
47
  end
50
48
 
51
49
  # Take end-of-line comments
@@ -115,9 +115,8 @@ module Unparser
115
115
 
116
116
  KEYWORDS = constants.each_with_object([]) do |name, keywords|
117
117
  value = const_get(name).freeze
118
- if name.to_s.start_with?('K_')
119
- keywords << value.to_sym
120
- end
118
+ next unless name.to_s.start_with?('K_')
119
+ keywords << value.to_sym
121
120
  end.to_set.freeze
122
121
 
123
122
  end # Constants
@@ -42,10 +42,9 @@ module Unparser
42
42
  #
43
43
  def dispatch
44
44
  delimited(normal_arguments)
45
- unless shadowargs.empty?
46
- write('; ')
47
- delimited(shadowargs)
48
- end
45
+ return if shadowargs.empty?
46
+ write('; ')
47
+ delimited(shadowargs)
49
48
  end
50
49
 
51
50
  # Return normal arguments
@@ -30,10 +30,9 @@ module Unparser
30
30
  #
31
31
  def emit_right
32
32
  right = right_node
33
- if right
34
- write(WS, T_ASN, WS)
35
- visit(right)
36
- end
33
+ return unless right
34
+ write(WS, T_ASN, WS)
35
+ visit(right)
37
36
  end
38
37
 
39
38
  abstract_method :emit_left
@@ -146,9 +145,7 @@ module Unparser
146
145
  delimited(children)
147
146
  end
148
147
 
149
- if children.one? && !NO_COMMA.include?(children.first.type) && parent_type != :arg_expr
150
- write(',')
151
- end
148
+ write(',') if children.one? && !NO_COMMA.include?(children.first.type) && parent_type != :arg_expr
152
149
  end
153
150
 
154
151
  end # MLHS
@@ -114,9 +114,7 @@ module Unparser
114
114
  visit_indented(if_branch)
115
115
  end
116
116
 
117
- if !if_branch && !else_branch
118
- nl
119
- end
117
+ nl if !if_branch && !else_branch
120
118
  end
121
119
 
122
120
  # Emit else branch
@@ -9,8 +9,6 @@ module Unparser
9
9
 
10
10
  children :value
11
11
 
12
- private
13
-
14
12
  # Emitter for primitives based on Object#inspect
15
13
  class Inspect < self
16
14
 
@@ -86,7 +86,11 @@ module Unparser
86
86
  # @api private
87
87
  #
88
88
  def emit_normal_arguments
89
- *indices, value = arguments
89
+ # Workaround bug in RBX causes to crash here on
90
+ # *indices, value = arguments
91
+ #
92
+ # https://github.com/rubinius/rubinius/issues/3037
93
+ indices, value = arguments[0..-2], arguments.last
90
94
  parentheses(*INDEX_PARENS) do
91
95
  delimited(indices)
92
96
  end
@@ -53,9 +53,7 @@ module Unparser
53
53
  def emit_scope
54
54
  return unless scope
55
55
  visit(scope)
56
- if scope.type != :cbase
57
- write(T_DCL)
58
- end
56
+ write(T_DCL) if scope.type != :cbase
59
57
  end
60
58
  end
61
59
 
@@ -345,10 +345,9 @@ module Unparser
345
345
  #
346
346
  def emit_comments_before(source_part = :expression)
347
347
  comments_before = comments.take_before(node, source_part)
348
- unless comments_before.empty?
349
- emit_comments(comments_before)
350
- buffer.nl
351
- end
348
+ return if comments_before.empty?
349
+ emit_comments(comments_before)
350
+ buffer.nl
352
351
  end
353
352
 
354
353
  # Write end-of-line comments
@@ -372,10 +371,9 @@ module Unparser
372
371
  def emit_eof_comments
373
372
  emit_eol_comments
374
373
  comments_left = comments.take_all
375
- unless comments_left.empty?
376
- buffer.nl
377
- emit_comments(comments_left)
378
- end
374
+ return if comments_left.empty?
375
+ buffer.nl
376
+ emit_comments(comments_left)
379
377
  end
380
378
 
381
379
  # Write each comment to a separate line
@@ -76,12 +76,12 @@ describe 'Unparser on ruby corpus' do
76
76
  # @api private
77
77
  #
78
78
  def system(arguments)
79
- unless Kernel.system(*arguments)
80
- if block_given?
81
- yield
82
- else
83
- raise 'System command failed!'
84
- end
79
+ return if Kernel.system(*arguments)
80
+
81
+ if block_given?
82
+ yield
83
+ else
84
+ raise 'System command failed!'
85
85
  end
86
86
  end
87
87
 
@@ -1,4 +1,8 @@
1
1
  ---
2
+ # Might not elaborate all 2.1 specific ASTs but the only 2.1 lib I know
3
+ - name: chassis
4
+ repo_uri: 'https://github.com/ahawkins/chassis.git'
5
+ exclude: []
2
6
  - name: rubyspec
3
7
  repo_uri: 'https://github.com/rubyspec/rubyspec.git'
4
8
  exclude:
@@ -134,7 +134,7 @@ describe Unparser do
134
134
  context 'execute string' do
135
135
  assert_source '`foo`'
136
136
  assert_source '`foo#{@bar}`'
137
- assert_generates '%x(\))', '`)`'
137
+ assert_generates '%x(\))', '`)`'
138
138
  # FIXME: Research into this one!
139
139
  # assert_generates '%x(`)', '`\``'
140
140
  assert_source '`"`'
@@ -179,9 +179,9 @@ describe Unparser do
179
179
 
180
180
  context 'irange' do
181
181
  assert_generates '1..2', %q(1..2)
182
- assert_source '(0.0 / 0.0)..1'
183
- assert_source '1..(0.0 / 0.0)'
184
- assert_source '(0.0 / 0.0)..100'
182
+ assert_source '(0.0 / 0.0)..1'
183
+ assert_source '1..(0.0 / 0.0)'
184
+ assert_source '(0.0 / 0.0)..100'
185
185
  end
186
186
 
187
187
  context 'erange' do
data/unparser.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'unparser'
5
- gem.version = '0.1.12'
5
+ gem.version = '0.1.13'
6
6
 
7
7
  gem.authors = ['Markus Schirp']
8
8
  gem.email = 'mbj@schir-dso.com'
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
21
21
 
22
22
  gem.add_dependency('parser', '~> 2.1')
23
23
  gem.add_dependency('procto', '~> 0.0.2')
24
- gem.add_dependency('concord', '~> 0.1.4')
24
+ gem.add_dependency('concord', '~> 0.1.5')
25
25
  gem.add_dependency('adamantium', '~> 0.2.0')
26
26
  gem.add_dependency('equalizer', '~> 0.0.9')
27
27
  gem.add_dependency('abstract_type', '~> 0.0.7')
metadata CHANGED
@@ -1,107 +1,85 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: unparser
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.12
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.13
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-13 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2014-06-08 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: parser
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: '2.1'
20
- type: :runtime
21
16
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ~>
25
- - !ruby/object:Gem::Version
26
- version: '2.1'
27
- - !ruby/object:Gem::Dependency
28
- name: procto
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
31
19
  - - ~>
32
- - !ruby/object:Gem::Version
33
- version: 0.0.2
20
+ - !ruby/object:Gem::Version
21
+ version: "2.1"
34
22
  type: :runtime
23
+ version_requirements: *id001
24
+ - !ruby/object:Gem::Dependency
25
+ name: procto
35
26
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
27
+ requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirements:
38
29
  - - ~>
39
- - !ruby/object:Gem::Version
30
+ - !ruby/object:Gem::Version
40
31
  version: 0.0.2
41
- - !ruby/object:Gem::Dependency
42
- name: concord
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ~>
46
- - !ruby/object:Gem::Version
47
- version: 0.1.4
48
32
  type: :runtime
33
+ version_requirements: *id002
34
+ - !ruby/object:Gem::Dependency
35
+ name: concord
49
36
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ~>
53
- - !ruby/object:Gem::Version
54
- version: 0.1.4
55
- - !ruby/object:Gem::Dependency
56
- name: adamantium
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
37
+ requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirements:
59
39
  - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 0.2.0
40
+ - !ruby/object:Gem::Version
41
+ version: 0.1.5
62
42
  type: :runtime
43
+ version_requirements: *id003
44
+ - !ruby/object:Gem::Dependency
45
+ name: adamantium
63
46
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
47
+ requirement: &id004 !ruby/object:Gem::Requirement
48
+ requirements:
66
49
  - - ~>
67
- - !ruby/object:Gem::Version
50
+ - !ruby/object:Gem::Version
68
51
  version: 0.2.0
69
- - !ruby/object:Gem::Dependency
70
- name: equalizer
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ~>
74
- - !ruby/object:Gem::Version
75
- version: 0.0.9
76
52
  type: :runtime
53
+ version_requirements: *id004
54
+ - !ruby/object:Gem::Dependency
55
+ name: equalizer
77
56
  prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
57
+ requirement: &id005 !ruby/object:Gem::Requirement
58
+ requirements:
80
59
  - - ~>
81
- - !ruby/object:Gem::Version
60
+ - !ruby/object:Gem::Version
82
61
  version: 0.0.9
83
- - !ruby/object:Gem::Dependency
84
- name: abstract_type
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ~>
88
- - !ruby/object:Gem::Version
89
- version: 0.0.7
90
62
  type: :runtime
63
+ version_requirements: *id005
64
+ - !ruby/object:Gem::Dependency
65
+ name: abstract_type
91
66
  prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
67
+ requirement: &id006 !ruby/object:Gem::Requirement
68
+ requirements:
94
69
  - - ~>
95
- - !ruby/object:Gem::Version
70
+ - !ruby/object:Gem::Version
96
71
  version: 0.0.7
72
+ type: :runtime
73
+ version_requirements: *id006
97
74
  description: Generate equivalent source for parser gem AST nodes
98
75
  email: mbj@schir-dso.com
99
- executables:
76
+ executables:
100
77
  - unparser
101
78
  extensions: []
102
- extra_rdoc_files:
79
+
80
+ extra_rdoc_files:
103
81
  - README.md
104
- files:
82
+ files:
105
83
  - .gitignore
106
84
  - .rspec
107
85
  - .rubocop.yml
@@ -206,30 +184,32 @@ files:
206
184
  - spec/unit/unparser_spec.rb
207
185
  - unparser.gemspec
208
186
  homepage: http://github.com/mbj/unparser
209
- licenses:
187
+ licenses:
210
188
  - MIT
211
189
  metadata: {}
190
+
212
191
  post_install_message:
213
192
  rdoc_options: []
214
- require_paths:
193
+
194
+ require_paths:
215
195
  - lib
216
- required_ruby_version: !ruby/object:Gem::Requirement
217
- requirements:
218
- - - '>='
219
- - !ruby/object:Gem::Version
220
- version: '0'
221
- required_rubygems_version: !ruby/object:Gem::Requirement
222
- requirements:
223
- - - '>='
224
- - !ruby/object:Gem::Version
225
- version: '0'
196
+ required_ruby_version: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - &id007
199
+ - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: "0"
202
+ required_rubygems_version: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - *id007
226
205
  requirements: []
206
+
227
207
  rubyforge_project:
228
- rubygems_version: 2.0.14
208
+ rubygems_version: 2.2.2
229
209
  signing_key:
230
210
  specification_version: 4
231
211
  summary: Generate equivalent source for parser gem AST nodes
232
- test_files:
212
+ test_files:
233
213
  - spec/integration/unparser/corpus_spec.rb
234
214
  - spec/integrations.yml
235
215
  - spec/spec_helper.rb