synvert 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +8 -8
- data/lib/synvert/cli.rb +1 -3
- data/lib/synvert/version.rb +1 -1
- data/synvert-ruby.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a5aafd01e044e25452de4751866ae7784b2d094dc00a60aea6b3893001cfdfe
|
4
|
+
data.tar.gz: feebe5fa35b6d849ac9fae2f9264ed8006739cc97763f5674185d8d2180272af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c374ab4211680408d85ae820eaab5f06ad6a7dd81cb4af5df8cfc9319cd0546526c5718c85346cfdac5a07e789fd48ca8467821a3464e26f0566bcc5ca4ffb5
|
7
|
+
data.tar.gz: b954b52b313a2dd0fbebe99d43cce2719227f77f1c2714543593f9082c5997a88b180524bcaf43128a0345b5003fd04566a4c63e0659999f291cf6fe27918b26
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
synvert (1.2.
|
5
|
-
synvert-core (>= 1.
|
4
|
+
synvert (1.2.5)
|
5
|
+
synvert-core (>= 1.18.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activesupport (6.1.7.
|
10
|
+
activesupport (6.1.7.2)
|
11
11
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
12
12
|
i18n (>= 1.6, < 2)
|
13
13
|
minitest (>= 5.1)
|
@@ -16,7 +16,7 @@ GEM
|
|
16
16
|
addressable (2.8.0)
|
17
17
|
public_suffix (>= 2.0.2, < 5.0)
|
18
18
|
ast (2.4.2)
|
19
|
-
concurrent-ruby (1.
|
19
|
+
concurrent-ruby (1.2.0)
|
20
20
|
coveralls (0.8.23)
|
21
21
|
json (>= 1.8, < 3)
|
22
22
|
simplecov (~> 0.16.1)
|
@@ -39,7 +39,7 @@ GEM
|
|
39
39
|
parallel (1.22.1)
|
40
40
|
parser (3.2.0.0)
|
41
41
|
ast (~> 2.4.1)
|
42
|
-
parser_node_ext (0.
|
42
|
+
parser_node_ext (0.9.0)
|
43
43
|
parser
|
44
44
|
public_suffix (4.0.6)
|
45
45
|
rake (13.0.6)
|
@@ -63,20 +63,20 @@ GEM
|
|
63
63
|
simplecov-html (~> 0.10.0)
|
64
64
|
simplecov-html (0.10.2)
|
65
65
|
sync (0.5.0)
|
66
|
-
synvert-core (1.
|
66
|
+
synvert-core (1.18.0)
|
67
67
|
activesupport (< 7.0.0)
|
68
68
|
erubis
|
69
69
|
node_mutation (>= 1.8.2)
|
70
70
|
node_query (>= 1.12.0)
|
71
71
|
parallel
|
72
72
|
parser
|
73
|
-
parser_node_ext (>= 0.
|
73
|
+
parser_node_ext (>= 0.9.0)
|
74
74
|
term-ansicolor (1.7.1)
|
75
75
|
tins (~> 1.0)
|
76
76
|
thor (1.1.0)
|
77
77
|
tins (1.29.1)
|
78
78
|
sync
|
79
|
-
tzinfo (2.0.
|
79
|
+
tzinfo (2.0.6)
|
80
80
|
concurrent-ruby (~> 1.0)
|
81
81
|
webmock (3.14.0)
|
82
82
|
addressable (>= 2.8.0)
|
data/lib/synvert/cli.rb
CHANGED
@@ -237,14 +237,12 @@ module Synvert
|
|
237
237
|
rewriter.warnings.each do |warning|
|
238
238
|
puts '[Warn] ' + warning.message
|
239
239
|
end
|
240
|
-
puts rewriter.todo if rewriter.todo
|
241
240
|
puts "===== #{rewriter.group}/#{rewriter.name} done ====="
|
242
241
|
elsif json_output?
|
243
242
|
rewriter.process
|
244
243
|
output = {
|
245
244
|
affected_files: rewriter.affected_files.union(rewriter.sub_snippets.sum(Set.new, &:affected_files)).to_a,
|
246
|
-
warnings: rewriter.warnings.union(rewriter.sub_snippets.sum([], &:warnings))
|
247
|
-
todo: rewriter.todo
|
245
|
+
warnings: rewriter.warnings.union(rewriter.sub_snippets.sum([], &:warnings))
|
248
246
|
}
|
249
247
|
puts JSON.generate(output)
|
250
248
|
end
|
data/lib/synvert/version.rb
CHANGED
data/synvert-ruby.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
spec.post_install_message = 'Please run `synvert-ruby --sync` first to sync snippets remotely.'
|
22
22
|
|
23
|
-
spec.add_runtime_dependency 'synvert-core', '>= 1.
|
23
|
+
spec.add_runtime_dependency 'synvert-core', '>= 1.18.0'
|
24
24
|
|
25
25
|
spec.add_development_dependency 'bundler'
|
26
26
|
spec.add_development_dependency 'rake'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: synvert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Huang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01
|
11
|
+
date: 2023-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: synvert-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.18.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.18.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|