unparser 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +1 -1
- data/Changelog.md +6 -0
- data/Gemfile +0 -2
- data/Gemfile.lock +28 -23
- data/config/flay.yml +1 -1
- data/lib/unparser/emitter/literal/range.rb +1 -1
- data/spec/unit/unparser_spec.rb +2 -0
- data/unparser.gemspec +7 -5
- metadata +31 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc149df7cd940bb78d005b8f3d30635a877c270d37f40cfe8e7d9ba8b305ab8a
|
4
|
+
data.tar.gz: c8a1d3dd4aba58f7fd6a6188341916566857057663d660bd24a2d40f6247158a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cba4e5c9f029441dbca0eb39304478562e76c13023ec22b83dc5eeb58d7640d5c0d83878dad104e45ae6369662f3be0e7141398fb7cf37f6e4932075e305b0b
|
7
|
+
data.tar.gz: 2c61445c8d43bf01f24bb2f79dd2c49ba96fceef9479c6f1b94a77d7b5eba43fb79f0bbbf7d3995e143b81d208da6ad04852ec761daaf210741f46a049da0893
|
data/.circleci/config.yml
CHANGED
data/Changelog.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,33 +1,13 @@
|
|
1
|
-
GIT
|
2
|
-
remote: https://github.com/mbj/mutant.git
|
3
|
-
revision: f138cc7b16ed6dab728ef2e2f46731754086b9e8
|
4
|
-
branch: upgrade/parser
|
5
|
-
specs:
|
6
|
-
mutant (0.9.1)
|
7
|
-
abstract_type (~> 0.0.7)
|
8
|
-
adamantium (~> 0.2.0)
|
9
|
-
anima (~> 0.3.1)
|
10
|
-
ast (~> 2.2)
|
11
|
-
concord (~> 0.1.5)
|
12
|
-
diff-lcs (~> 1.3)
|
13
|
-
equalizer (~> 0.0.9)
|
14
|
-
ice_nine (~> 0.11.1)
|
15
|
-
memoizable (~> 0.4.2)
|
16
|
-
mutant-license (~> 0.1.0)
|
17
|
-
parser (~> 2.6.5)
|
18
|
-
procto (~> 0.0.2)
|
19
|
-
unparser (~> 0.4.5)
|
20
|
-
|
21
1
|
PATH
|
22
2
|
remote: .
|
23
3
|
specs:
|
24
|
-
unparser (0.4.
|
4
|
+
unparser (0.4.7)
|
25
5
|
abstract_type (~> 0.0.7)
|
26
6
|
adamantium (~> 0.2.0)
|
27
7
|
concord (~> 0.1.5)
|
28
8
|
diff-lcs (~> 1.3)
|
29
9
|
equalizer (~> 0.0.9)
|
30
|
-
parser (
|
10
|
+
parser (>= 2.6.5)
|
31
11
|
procto (~> 0.0.2)
|
32
12
|
|
33
13
|
GEM
|
@@ -101,7 +81,31 @@ GEM
|
|
101
81
|
equalizer (~> 0.0.9)
|
102
82
|
ice_nine (~> 0.11.0)
|
103
83
|
procto (~> 0.0.2)
|
84
|
+
mprelude (0.1.0)
|
85
|
+
abstract_type (~> 0.0.7)
|
86
|
+
adamantium (~> 0.2.0)
|
87
|
+
concord (~> 0.1.5)
|
88
|
+
equalizer (~> 0.0.9)
|
89
|
+
ice_nine (~> 0.11.1)
|
90
|
+
procto (~> 0.0.2)
|
91
|
+
mutant (0.9.4)
|
92
|
+
abstract_type (~> 0.0.7)
|
93
|
+
adamantium (~> 0.2.0)
|
94
|
+
anima (~> 0.3.1)
|
95
|
+
ast (~> 2.2)
|
96
|
+
concord (~> 0.1.5)
|
97
|
+
diff-lcs (~> 1.3)
|
98
|
+
equalizer (~> 0.0.9)
|
99
|
+
ice_nine (~> 0.11.1)
|
100
|
+
memoizable (~> 0.4.2)
|
101
|
+
mprelude (~> 0.1.0)
|
102
|
+
parser (~> 2.6.5)
|
103
|
+
procto (~> 0.0.2)
|
104
|
+
unparser (~> 0.4.6)
|
104
105
|
mutant-license (0.1.0)
|
106
|
+
mutant-rspec (0.9.4)
|
107
|
+
mutant (~> 0.9.4)
|
108
|
+
rspec-core (>= 3.8.0, < 4.0.0)
|
105
109
|
parallel (1.19.1)
|
106
110
|
parser (2.6.5.0)
|
107
111
|
ast (~> 2.4.0)
|
@@ -168,8 +172,9 @@ DEPENDENCIES
|
|
168
172
|
anima (~> 0.3.1)
|
169
173
|
devtools (~> 0.1.23)
|
170
174
|
morpher (~> 0.2.6)
|
171
|
-
mutant
|
175
|
+
mutant (~> 0.9.4)
|
172
176
|
mutant-license!
|
177
|
+
mutant-rspec (~> 0.9.4)
|
173
178
|
unparser!
|
174
179
|
|
175
180
|
BUNDLED WITH
|
data/config/flay.yml
CHANGED
data/spec/unit/unparser_spec.rb
CHANGED
@@ -265,6 +265,7 @@ describe Unparser, mutant_expression: 'Unparser::Emitter*' do
|
|
265
265
|
end
|
266
266
|
|
267
267
|
context 'irange' do
|
268
|
+
assert_unterminated '1..'
|
268
269
|
assert_unterminated '1..2'
|
269
270
|
assert_unterminated '(0.0 / 0.0)..1'
|
270
271
|
assert_unterminated '1..(0.0 / 0.0)'
|
@@ -272,6 +273,7 @@ describe Unparser, mutant_expression: 'Unparser::Emitter*' do
|
|
272
273
|
end
|
273
274
|
|
274
275
|
context 'erange' do
|
276
|
+
assert_unterminated '1...'
|
275
277
|
assert_unterminated '1...2'
|
276
278
|
end
|
277
279
|
|
data/unparser.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'unparser'
|
3
|
-
gem.version = '0.4.
|
3
|
+
gem.version = '0.4.7'
|
4
4
|
|
5
5
|
gem.authors = ['Markus Schirp']
|
6
6
|
gem.email = 'mbj@schirp-dso.com'
|
@@ -21,10 +21,12 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.add_dependency('equalizer', '~> 0.0.9')
|
22
22
|
gem.add_dependency('diff-lcs', '~> 1.3')
|
23
23
|
gem.add_dependency('concord', '~> 0.1.5')
|
24
|
-
gem.add_dependency('parser', '
|
24
|
+
gem.add_dependency('parser', '>= 2.6.5')
|
25
25
|
gem.add_dependency('procto', '~> 0.0.2')
|
26
26
|
|
27
|
-
gem.add_development_dependency('anima',
|
28
|
-
gem.add_development_dependency('devtools',
|
29
|
-
gem.add_development_dependency('morpher',
|
27
|
+
gem.add_development_dependency('anima', '~> 0.3.1')
|
28
|
+
gem.add_development_dependency('devtools', '~> 0.1.23')
|
29
|
+
gem.add_development_dependency('morpher', '~> 0.2.6')
|
30
|
+
gem.add_development_dependency('mutant', '~> 0.9.4')
|
31
|
+
gem.add_development_dependency('mutant-rspec', '~> 0.9.4')
|
30
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unparser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Schirp
|
@@ -84,14 +84,14 @@ dependencies:
|
|
84
84
|
name: parser
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 2.6.5
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 2.6.5
|
97
97
|
- !ruby/object:Gem::Dependency
|
@@ -150,6 +150,34 @@ dependencies:
|
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 0.2.6
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: mutant
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.9.4
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.9.4
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: mutant-rspec
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 0.9.4
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.9.4
|
153
181
|
description: Generate equivalent source for parser gem AST nodes
|
154
182
|
email: mbj@schirp-dso.com
|
155
183
|
executables:
|