synvert 1.10.2 → 1.10.3
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 +9 -9
- data/lib/synvert/cli.rb +1 -1
- data/lib/synvert/command.rb +1 -2
- 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: 9160546ad7801c288fea5d006529fdb53c48be701c09c63fe337510ac6f47b77
|
4
|
+
data.tar.gz: 216dd1bdb779bd61bf90de0027b6a9c9ecbe47ed71db8a0cdc9d5b9a9f511ed3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27a59d827b19446c6e721c3be43f96cb97d1c3813f2caf7f0f18fc2547287a20d39b128278cbee36846cb90e0a950b5dfa5e8e9d3c2ed35e14b43a0bc201b1e8
|
7
|
+
data.tar.gz: 7b481a8b973ed0bad0a172090e32e9e09e8ce1febb3f3f31b9bb113d7d0026a85dbb6e94a5f7e37aae08479afd131f9bc7f05442f368944f143af9960e7ea0c5
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
synvert (1.10.
|
5
|
-
synvert-core (>= 1.
|
4
|
+
synvert (1.10.3)
|
5
|
+
synvert-core (>= 1.35.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -55,7 +55,7 @@ GEM
|
|
55
55
|
parser
|
56
56
|
prettier_print (1.2.1)
|
57
57
|
prism (0.25.0)
|
58
|
-
prism_ext (0.3.
|
58
|
+
prism_ext (0.3.1)
|
59
59
|
prism
|
60
60
|
pry (0.14.2)
|
61
61
|
coderay (~> 1.1)
|
@@ -83,17 +83,17 @@ GEM
|
|
83
83
|
prettier_print (>= 1.2.0)
|
84
84
|
syntax_tree_ext (0.8.1)
|
85
85
|
syntax_tree
|
86
|
-
synvert-core (1.35.
|
86
|
+
synvert-core (1.35.1)
|
87
87
|
activesupport (< 7.0.0)
|
88
|
-
node_mutation (>= 1.24.
|
89
|
-
node_query (>= 1.15.
|
88
|
+
node_mutation (>= 1.24.3)
|
89
|
+
node_query (>= 1.15.2)
|
90
90
|
parallel
|
91
91
|
parser
|
92
|
-
parser_node_ext (>= 1.
|
92
|
+
parser_node_ext (>= 1.3.0)
|
93
93
|
prism
|
94
|
-
prism_ext (>= 0.
|
94
|
+
prism_ext (>= 0.3.1)
|
95
95
|
syntax_tree
|
96
|
-
syntax_tree_ext (>= 0.
|
96
|
+
syntax_tree_ext (>= 0.8.1)
|
97
97
|
thor (1.3.0)
|
98
98
|
tzinfo (2.0.6)
|
99
99
|
concurrent-ruby (~> 1.0)
|
data/lib/synvert/cli.rb
CHANGED
@@ -163,7 +163,7 @@ module Synvert
|
|
163
163
|
@options[:command] = 'test_bundle_gems'
|
164
164
|
end
|
165
165
|
opts.on '-v', '--version', 'show this version' do
|
166
|
-
puts "#{VERSION} (with synvert-core #{Core::VERSION}"
|
166
|
+
puts "#{VERSION} (with synvert-core #{Core::VERSION})"
|
167
167
|
exit
|
168
168
|
end
|
169
169
|
end
|
data/lib/synvert/command.rb
CHANGED
@@ -81,8 +81,7 @@ module Synvert
|
|
81
81
|
if format == 'json'
|
82
82
|
puts available_rewriters.select { |rewriter|
|
83
83
|
rewriter[:group].include?(query) || rewriter[:name].include?(query)
|
84
|
-
}
|
85
|
-
.to_json
|
84
|
+
}.to_json
|
86
85
|
else
|
87
86
|
Core::Rewriter.availables.each do |group, rewriters|
|
88
87
|
if group.include?(query)
|
data/lib/synvert/version.rb
CHANGED
data/synvert-ruby.gemspec
CHANGED
@@ -20,5 +20,5 @@ 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.35.1'
|
24
24
|
end
|
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.10.
|
4
|
+
version: 1.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Huang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-15 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.35.1
|
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.35.1
|
27
27
|
description: synvert is used to convert ruby code to better syntax.
|
28
28
|
email:
|
29
29
|
- flyerhzm@gmail.com
|