unparser 0.4.2 → 0.4.3

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
  SHA256:
3
- metadata.gz: 886a0b1f016a1a94ad83cccb4cf5dcc45e782f88fa7a8d3579d4949259936189
4
- data.tar.gz: 336cc1f4385e28da41caddb0b73df357bf7801475dd7428e939f2b945fbb8c94
3
+ metadata.gz: 27b8023ba4879d4fb484914a38e3bf2515275744a3965c5be4e050669fed819c
4
+ data.tar.gz: '0958f06e01392248f103326228a6c3ed40ff55d0f77532faad27aaba38f8b604'
5
5
  SHA512:
6
- metadata.gz: 6e8448b3639116f6ef25f81eb67c8a83dcc38ee3ef76d4f9a58ad3a9a2c1f5bf424bb12ed80b3455f631584a2d41704127251ec444c02162530d9ffccdc5f457
7
- data.tar.gz: 9c01060dd823d352066253b7956fd6df5b51acb16c5bb8b77bf919c334b424d0237f2bf89b7cfc092771959ffb1b6215db6a069e3ed748a52f8faafbc15eec9d
6
+ metadata.gz: b6ebe89713f227671ffdc0cac31cc4de547ebb8dfdb93adc8224373ef2b304706d89b83dc87df40b93cadcf30af689f93970b949116862f8f294336219569e60
7
+ data.tar.gz: a856b12aed96ddba957eadc62d0afcea47f563e6ec2fe0da47b68e7b65ae712f8e31ceeeb42644740dad05815273d55fe850c09e0fdcc179a21969bb9d77395f
@@ -30,7 +30,7 @@ jobs:
30
30
  steps:
31
31
  - checkout
32
32
  - run: bundle install
33
- - run: bundle exec rake metrics:mutant
33
+ - run: bundle exec mutant --since origin/master --zombie -- 'Unparser*'
34
34
  workflows:
35
35
  version: 2
36
36
  test:
@@ -1,3 +1,7 @@
1
+ # v0.4.3 2019-02-24
2
+
3
+ * Bump parser dependency to ~> 2.6.0
4
+
1
5
  # v0.4.2 2018-12-04
2
6
 
3
7
  * Drop hard ruby version requirement. Still officially I'll only support 2.5.
data/Gemfile CHANGED
@@ -4,4 +4,8 @@ source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
- gem 'mutant', git: 'https://github.com/mbj/mutant'
7
+ gem(
8
+ 'mutant',
9
+ branch: 'upgrade/dependencies',
10
+ git: 'https://github.com/mbj/mutant.git'
11
+ )
@@ -1,11 +1,12 @@
1
1
  GIT
2
- remote: https://github.com/mbj/mutant
3
- revision: fd6bfe89c6be85433d116b62d1b2407af3ff7804
2
+ remote: https://github.com/mbj/mutant.git
3
+ revision: d1d1993427ec01cc9b57a3a87ce23a7c41456a39
4
+ branch: upgrade/dependencies
4
5
  specs:
5
- mutant (0.8.20)
6
+ mutant (0.8.25)
6
7
  abstract_type (~> 0.0.7)
7
8
  adamantium (~> 0.2.0)
8
- anima (~> 0.3.0)
9
+ anima (~> 0.3.1)
9
10
  ast (~> 2.2)
10
11
  concord (~> 0.1.5)
11
12
  diff-lcs (~> 1.3)
@@ -13,13 +14,12 @@ GIT
13
14
  ice_nine (~> 0.11.1)
14
15
  memoizable (~> 0.4.2)
15
16
  morpher (~> 0.2.6)
16
- parser (~> 2.5.1)
17
+ parser (~> 2.6.0)
17
18
  procto (~> 0.0.2)
18
- regexp_parser (~> 1.2)
19
- unparser (~> 0.4.0)
20
- mutant-rspec (0.8.20)
21
- mutant (~> 0.8.20)
22
- rspec-core (>= 3.4.0, < 4.0.0)
19
+ unparser (~> 0.4.2)
20
+ mutant-rspec (0.8.25)
21
+ mutant (~> 0.8.25)
22
+ rspec-core (>= 3.8.0, < 4.0.0)
23
23
 
24
24
  PATH
25
25
  remote: .
@@ -30,7 +30,7 @@ PATH
30
30
  concord (~> 0.1.5)
31
31
  diff-lcs (~> 1.3)
32
32
  equalizer (~> 0.0.9)
33
- parser (>= 2.3.1.2, < 2.6)
33
+ parser (~> 2.6.0)
34
34
  procto (~> 0.0.2)
35
35
 
36
36
  GEM
@@ -40,7 +40,7 @@ GEM
40
40
  adamantium (0.2.0)
41
41
  ice_nine (~> 0.11.0)
42
42
  memoizable (~> 0.4.0)
43
- anima (0.3.0)
43
+ anima (0.3.1)
44
44
  abstract_type (~> 0.0.7)
45
45
  adamantium (~> 0.2)
46
46
  equalizer (~> 0.0.11)
@@ -58,22 +58,22 @@ GEM
58
58
  equalizer (~> 0.0.9)
59
59
  descendants_tracker (0.0.4)
60
60
  thread_safe (~> 0.3, >= 0.3.1)
61
- devtools (0.1.22)
61
+ devtools (0.1.23)
62
62
  abstract_type (~> 0.0.7)
63
63
  adamantium (~> 0.2.0)
64
64
  anima (~> 0.3.0)
65
65
  concord (~> 0.1.5)
66
66
  flay (~> 2.12.0)
67
67
  flog (~> 4.6.2)
68
- mutant (~> 0.8.19)
69
- mutant-rspec (~> 0.8.19)
68
+ mutant (~> 0.8.24)
69
+ mutant-rspec (~> 0.8.24)
70
70
  procto (~> 0.0.3)
71
71
  rake (~> 12.3.0)
72
- reek (~> 5.2.0)
72
+ reek (~> 5.3.0)
73
73
  rspec (~> 3.8.0)
74
74
  rspec-core (~> 3.8.0)
75
75
  rspec-its (~> 1.2.0)
76
- rubocop (~> 0.60.0)
76
+ rubocop (~> 0.61.1)
77
77
  simplecov (~> 0.16.1)
78
78
  yard (~> 0.9.16)
79
79
  yardstick (~> 0.9.9)
@@ -91,8 +91,8 @@ GEM
91
91
  ruby_parser (~> 3.1, > 3.1.0)
92
92
  sexp_processor (~> 4.8)
93
93
  ice_nine (0.11.2)
94
- jaro_winkler (1.5.1)
95
- json (2.1.0)
94
+ jaro_winkler (1.5.2)
95
+ json (2.2.0)
96
96
  kwalify (0.7.2)
97
97
  memoizable (0.4.2)
98
98
  thread_safe (~> 0.3, >= 0.3.1)
@@ -105,20 +105,21 @@ GEM
105
105
  equalizer (~> 0.0.9)
106
106
  ice_nine (~> 0.11.0)
107
107
  procto (~> 0.0.2)
108
- parallel (1.12.1)
109
- parser (2.5.3.0)
108
+ parallel (1.13.0)
109
+ parser (2.6.0.0)
110
110
  ast (~> 2.4.0)
111
111
  path_expander (1.0.3)
112
112
  powerpack (0.1.2)
113
113
  procto (0.0.3)
114
+ psych (3.1.0)
114
115
  rainbow (3.0.0)
115
- rake (12.3.1)
116
- reek (5.2.0)
116
+ rake (12.3.2)
117
+ reek (5.3.1)
117
118
  codeclimate-engine-rb (~> 0.4.0)
118
119
  kwalify (~> 0.7.0)
119
- parser (>= 2.5.0.0, < 2.6, != 2.5.1.1)
120
+ parser (>= 2.5.0.0, < 2.7, != 2.5.1.1)
121
+ psych (~> 3.1.0)
120
122
  rainbow (>= 2.0, < 4.0)
121
- regexp_parser (1.3.0)
122
123
  rspec (3.8.0)
123
124
  rspec-core (~> 3.8.0)
124
125
  rspec-expectations (~> 3.8.0)
@@ -135,7 +136,7 @@ GEM
135
136
  diff-lcs (>= 1.2.0, < 2.0)
136
137
  rspec-support (~> 3.8.0)
137
138
  rspec-support (3.8.0)
138
- rubocop (0.60.0)
139
+ rubocop (0.61.1)
139
140
  jaro_winkler (~> 1.5.1)
140
141
  parallel (~> 1.10)
141
142
  parser (>= 2.5, != 2.5.1.1)
@@ -144,7 +145,7 @@ GEM
144
145
  ruby-progressbar (~> 1.7)
145
146
  unicode-display_width (~> 1.4.0)
146
147
  ruby-progressbar (1.10.0)
147
- ruby_parser (3.11.0)
148
+ ruby_parser (3.12.0)
148
149
  sexp_processor (~> 4.9)
149
150
  sexp_processor (4.11.0)
150
151
  simplecov (0.16.1)
@@ -153,13 +154,13 @@ GEM
153
154
  simplecov-html (~> 0.10.0)
154
155
  simplecov-html (0.10.2)
155
156
  thread_safe (0.3.6)
156
- unicode-display_width (1.4.0)
157
+ unicode-display_width (1.4.1)
157
158
  virtus (1.0.5)
158
159
  axiom-types (~> 0.1)
159
160
  coercible (~> 1.0)
160
161
  descendants_tracker (~> 0.0, >= 0.0.3)
161
162
  equalizer (~> 0.0, >= 0.0.9)
162
- yard (0.9.16)
163
+ yard (0.9.18)
163
164
  yardstick (0.9.9)
164
165
  yard (~> 0.8, >= 0.8.7.2)
165
166
 
@@ -167,11 +168,11 @@ PLATFORMS
167
168
  ruby
168
169
 
169
170
  DEPENDENCIES
170
- anima (~> 0.3.0)
171
- devtools (~> 0.1.21)
171
+ anima (~> 0.3.1)
172
+ devtools (~> 0.1.23)
172
173
  morpher (~> 0.2.6)
173
174
  mutant!
174
175
  unparser!
175
176
 
176
177
  BUNDLED WITH
177
- 1.17.1
178
+ 1.17.3
data/README.md CHANGED
@@ -30,7 +30,7 @@ Usage
30
30
  require 'parser/current'
31
31
  require 'unparser'
32
32
 
33
- ast = Unpaser.parse('your(ruby(code))')
33
+ ast = Unparser.parse('your(ruby(code))')
34
34
 
35
35
  Unparser.unparse(ast) # => 'your(ruby(code))'
36
36
  ```
@@ -41,7 +41,7 @@ To preserve the comments from the source:
41
41
  require 'parser/current'
42
42
  require 'unparser'
43
43
 
44
- ast, comments = Unpaser.parse_with_comments('your(ruby(code)) # with comments')
44
+ ast, comments = Unparser.parse_with_comments('your(ruby(code)) # with comments')
45
45
 
46
46
  Unparser.unparse(ast, comments) # => 'your(ruby(code)) # with comments'
47
47
  ```
@@ -1,3 +1,6 @@
1
1
  ---
2
- name: unparser
3
- namespace: Unparser
2
+ includes:
3
+ - lib
4
+ integration: rspec
5
+ requires:
6
+ - unparser
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'unparser'
3
- gem.version = '0.4.2'
3
+ gem.version = '0.4.3'
4
4
 
5
5
  gem.authors = ['Markus Schirp']
6
6
  gem.email = 'mbj@schirp-dso.com'
@@ -21,10 +21,10 @@ 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', '>= 2.3.1.2', '< 2.6')
24
+ gem.add_dependency('parser', '~> 2.6.0')
25
25
  gem.add_dependency('procto', '~> 0.0.2')
26
26
 
27
- gem.add_development_dependency('anima', '~> 0.3.0')
28
- gem.add_development_dependency('devtools', '~> 0.1.21')
27
+ gem.add_development_dependency('anima', '~> 0.3.1')
28
+ gem.add_development_dependency('devtools', '~> 0.1.23')
29
29
  gem.add_development_dependency('morpher', '~> 0.2.6')
30
30
  end
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.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-04 00:00:00.000000000 Z
11
+ date: 2019-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: abstract_type
@@ -84,22 +84,16 @@ dependencies:
84
84
  name: parser
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: 2.3.1.2
90
- - - "<"
87
+ - - "~>"
91
88
  - !ruby/object:Gem::Version
92
- version: '2.6'
89
+ version: 2.6.0
93
90
  type: :runtime
94
91
  prerelease: false
95
92
  version_requirements: !ruby/object:Gem::Requirement
96
93
  requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- version: 2.3.1.2
100
- - - "<"
94
+ - - "~>"
101
95
  - !ruby/object:Gem::Version
102
- version: '2.6'
96
+ version: 2.6.0
103
97
  - !ruby/object:Gem::Dependency
104
98
  name: procto
105
99
  requirement: !ruby/object:Gem::Requirement
@@ -120,28 +114,28 @@ dependencies:
120
114
  requirements:
121
115
  - - "~>"
122
116
  - !ruby/object:Gem::Version
123
- version: 0.3.0
117
+ version: 0.3.1
124
118
  type: :development
125
119
  prerelease: false
126
120
  version_requirements: !ruby/object:Gem::Requirement
127
121
  requirements:
128
122
  - - "~>"
129
123
  - !ruby/object:Gem::Version
130
- version: 0.3.0
124
+ version: 0.3.1
131
125
  - !ruby/object:Gem::Dependency
132
126
  name: devtools
133
127
  requirement: !ruby/object:Gem::Requirement
134
128
  requirements:
135
129
  - - "~>"
136
130
  - !ruby/object:Gem::Version
137
- version: 0.1.21
131
+ version: 0.1.23
138
132
  type: :development
139
133
  prerelease: false
140
134
  version_requirements: !ruby/object:Gem::Requirement
141
135
  requirements:
142
136
  - - "~>"
143
137
  - !ruby/object:Gem::Version
144
- version: 0.1.21
138
+ version: 0.1.23
145
139
  - !ruby/object:Gem::Dependency
146
140
  name: morpher
147
141
  requirement: !ruby/object:Gem::Requirement
@@ -285,8 +279,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
285
279
  - !ruby/object:Gem::Version
286
280
  version: '0'
287
281
  requirements: []
288
- rubyforge_project:
289
- rubygems_version: 2.7.6
282
+ rubygems_version: 3.0.1
290
283
  signing_key:
291
284
  specification_version: 4
292
285
  summary: Generate equivalent source for parser gem AST nodes