synvert 1.10.3 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +2 -2
- data/CHANGELOG.md +12 -0
- data/Dockerfile +1 -1
- data/Gemfile +3 -0
- data/Gemfile.lock +56 -39
- data/lib/synvert/command.rb +2 -0
- data/lib/synvert/version.rb +1 -1
- data/lib/synvert.rb +0 -1
- data/spec/synvert/command_spec.rb +2 -0
- data/synvert-ruby.gemspec +1 -1
- metadata +5 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8df8ed9951a3794882d830a9447b8232f1f234645cb123edc3a38461d787ea83
|
|
4
|
+
data.tar.gz: 165acf1f484b5017e261bd271bbac228bdfdf3e33579526e7f2ed30ca916f017
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d7e3562a25ee569d36f7bdced626c17ca0e5f189adf621991b10dd31079c3bb26b13c32c1285effc8976f6956fd2bb66caa4ac72f854d842b95ef7898d8e47b
|
|
7
|
+
data.tar.gz: c28a7dab29aad7c1971c8a735fd5b319bec457eb4646f579ddb31fa4e3db67594b7ade7f20fa2ec5720922a057f55c4517d87342b2f7069f0369de070423ea6f
|
data/.github/workflows/main.yml
CHANGED
|
@@ -11,7 +11,7 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
strategy:
|
|
13
13
|
matrix:
|
|
14
|
-
ruby-version: ['2
|
|
14
|
+
ruby-version: ['3.2', '3.3', '3.4', '4.0']
|
|
15
15
|
|
|
16
16
|
steps:
|
|
17
17
|
- uses: actions/checkout@v3
|
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
- uses: actions/checkout@v3
|
|
32
32
|
- uses: actions/setup-node@v3
|
|
33
33
|
with:
|
|
34
|
-
node-version:
|
|
34
|
+
node-version: 22
|
|
35
35
|
- name: Install required npm dependencies
|
|
36
36
|
run: npm install -g markdown-to-html
|
|
37
37
|
- name: Create docs
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 1.11.0 (2025-12-30)
|
|
4
|
+
|
|
5
|
+
* Support ruby 4.0
|
|
6
|
+
* Update synvert-core to 2.3.0
|
|
7
|
+
* Drop ruby 2.7, 3.0, 3.1 support
|
|
8
|
+
|
|
9
|
+
## 1.10.4 (2024-06-15)
|
|
10
|
+
|
|
11
|
+
* Update `synvert-core` to 2.0.2
|
|
12
|
+
* No need to require bundler
|
|
13
|
+
* Add `configure(parser: Synvert::PRISM_PARSER)` to generated snippet
|
|
14
|
+
|
|
3
15
|
## 1.10.3 (2024-04-15)
|
|
4
16
|
|
|
5
17
|
* Update `synvert-core` to 1.35.1
|
data/Dockerfile
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,22 +1,31 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
synvert (1.
|
|
5
|
-
synvert-core (>=
|
|
4
|
+
synvert (1.11.0)
|
|
5
|
+
synvert-core (>= 2.0.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
activesupport (
|
|
10
|
+
activesupport (7.1.3.4)
|
|
11
|
+
base64
|
|
12
|
+
bigdecimal
|
|
11
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
14
|
+
connection_pool (>= 2.2.5)
|
|
15
|
+
drb
|
|
12
16
|
i18n (>= 1.6, < 2)
|
|
13
17
|
minitest (>= 5.1)
|
|
18
|
+
mutex_m
|
|
14
19
|
tzinfo (~> 2.0)
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
ast (2.4.3)
|
|
21
|
+
base64 (0.3.0)
|
|
22
|
+
benchmark (0.5.0)
|
|
23
|
+
bigdecimal (4.0.1)
|
|
17
24
|
coderay (1.1.3)
|
|
18
|
-
concurrent-ruby (1.
|
|
19
|
-
|
|
25
|
+
concurrent-ruby (1.3.6)
|
|
26
|
+
connection_pool (3.0.2)
|
|
27
|
+
diff-lcs (1.5.1)
|
|
28
|
+
drb (2.2.3)
|
|
20
29
|
ffi (1.16.3)
|
|
21
30
|
formatador (1.1.0)
|
|
22
31
|
guard (2.18.1)
|
|
@@ -33,81 +42,89 @@ GEM
|
|
|
33
42
|
guard (~> 2.1)
|
|
34
43
|
guard-compat (~> 1.1)
|
|
35
44
|
rspec (>= 2.99.0, < 4.0)
|
|
36
|
-
i18n (1.14.
|
|
45
|
+
i18n (1.14.8)
|
|
37
46
|
concurrent-ruby (~> 1.0)
|
|
38
47
|
listen (3.8.0)
|
|
39
48
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
40
49
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
50
|
+
logger (1.7.0)
|
|
41
51
|
lumberjack (1.2.9)
|
|
42
52
|
method_source (1.0.0)
|
|
43
|
-
minitest (
|
|
53
|
+
minitest (6.0.1)
|
|
54
|
+
prism (~> 1.5)
|
|
55
|
+
mutex_m (0.3.0)
|
|
44
56
|
nenv (0.3.0)
|
|
45
|
-
node_mutation (1.
|
|
46
|
-
node_query (1.
|
|
57
|
+
node_mutation (1.25.0)
|
|
58
|
+
node_query (1.17.0)
|
|
59
|
+
node_visitor (1.1.0)
|
|
47
60
|
notiffany (0.1.3)
|
|
48
61
|
nenv (~> 0.1)
|
|
49
62
|
shellany (~> 0.0)
|
|
50
|
-
|
|
51
|
-
|
|
63
|
+
ostruct (0.6.3)
|
|
64
|
+
parallel (1.27.0)
|
|
65
|
+
parser (3.3.10.0)
|
|
52
66
|
ast (~> 2.4.1)
|
|
53
67
|
racc
|
|
54
|
-
parser_node_ext (1.
|
|
68
|
+
parser_node_ext (1.4.2)
|
|
55
69
|
parser
|
|
56
70
|
prettier_print (1.2.1)
|
|
57
|
-
prism (
|
|
58
|
-
prism_ext (0.
|
|
71
|
+
prism (1.7.0)
|
|
72
|
+
prism_ext (0.4.2)
|
|
59
73
|
prism
|
|
60
74
|
pry (0.14.2)
|
|
61
75
|
coderay (~> 1.1)
|
|
62
76
|
method_source (~> 1.0)
|
|
63
|
-
racc (1.
|
|
77
|
+
racc (1.8.1)
|
|
64
78
|
rake (13.0.6)
|
|
65
79
|
rb-fsevent (0.11.2)
|
|
66
80
|
rb-inotify (0.10.1)
|
|
67
81
|
ffi (~> 1.0)
|
|
68
|
-
rspec (3.
|
|
69
|
-
rspec-core (~> 3.
|
|
70
|
-
rspec-expectations (~> 3.
|
|
71
|
-
rspec-mocks (~> 3.
|
|
72
|
-
rspec-core (3.
|
|
73
|
-
rspec-support (~> 3.
|
|
74
|
-
rspec-expectations (3.
|
|
82
|
+
rspec (3.13.0)
|
|
83
|
+
rspec-core (~> 3.13.0)
|
|
84
|
+
rspec-expectations (~> 3.13.0)
|
|
85
|
+
rspec-mocks (~> 3.13.0)
|
|
86
|
+
rspec-core (3.13.0)
|
|
87
|
+
rspec-support (~> 3.13.0)
|
|
88
|
+
rspec-expectations (3.13.1)
|
|
75
89
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
76
|
-
rspec-support (~> 3.
|
|
77
|
-
rspec-mocks (3.
|
|
90
|
+
rspec-support (~> 3.13.0)
|
|
91
|
+
rspec-mocks (3.13.1)
|
|
78
92
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
79
|
-
rspec-support (~> 3.
|
|
80
|
-
rspec-support (3.
|
|
93
|
+
rspec-support (~> 3.13.0)
|
|
94
|
+
rspec-support (3.13.1)
|
|
81
95
|
shellany (0.0.1)
|
|
82
|
-
syntax_tree (6.
|
|
96
|
+
syntax_tree (6.3.0)
|
|
83
97
|
prettier_print (>= 1.2.0)
|
|
84
|
-
syntax_tree_ext (0.
|
|
98
|
+
syntax_tree_ext (0.9.2)
|
|
85
99
|
syntax_tree
|
|
86
|
-
synvert-core (
|
|
87
|
-
activesupport
|
|
88
|
-
node_mutation (>= 1.
|
|
89
|
-
node_query (>= 1.
|
|
100
|
+
synvert-core (2.3.0)
|
|
101
|
+
activesupport
|
|
102
|
+
node_mutation (>= 1.25.0)
|
|
103
|
+
node_query (>= 1.17.0)
|
|
104
|
+
node_visitor (>= 1.1.0)
|
|
90
105
|
parallel
|
|
91
106
|
parser
|
|
92
|
-
parser_node_ext (>= 1.
|
|
107
|
+
parser_node_ext (>= 1.4.2)
|
|
93
108
|
prism
|
|
94
|
-
prism_ext (>= 0.
|
|
109
|
+
prism_ext (>= 0.4.2)
|
|
95
110
|
syntax_tree
|
|
96
|
-
syntax_tree_ext (>= 0.
|
|
111
|
+
syntax_tree_ext (>= 0.9.2)
|
|
97
112
|
thor (1.3.0)
|
|
98
113
|
tzinfo (2.0.6)
|
|
99
114
|
concurrent-ruby (~> 1.0)
|
|
100
|
-
zeitwerk (2.6.13)
|
|
101
115
|
|
|
102
116
|
PLATFORMS
|
|
103
117
|
ruby
|
|
104
118
|
|
|
105
119
|
DEPENDENCIES
|
|
120
|
+
benchmark
|
|
106
121
|
guard
|
|
107
122
|
guard-rspec
|
|
123
|
+
logger
|
|
124
|
+
ostruct
|
|
108
125
|
rake
|
|
109
126
|
rspec
|
|
110
127
|
synvert!
|
|
111
128
|
|
|
112
129
|
BUNDLED WITH
|
|
113
|
-
2.
|
|
130
|
+
2.6.9
|
data/lib/synvert/command.rb
CHANGED
data/lib/synvert/version.rb
CHANGED
data/lib/synvert.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', '>=
|
|
23
|
+
spec.add_runtime_dependency 'synvert-core', '>= 2.0.2'
|
|
24
24
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: synvert
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Huang
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: synvert-core
|
|
@@ -16,14 +15,14 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - ">="
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
18
|
+
version: 2.0.2
|
|
20
19
|
type: :runtime
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
23
|
- - ">="
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
25
|
+
version: 2.0.2
|
|
27
26
|
description: synvert is used to convert ruby code to better syntax.
|
|
28
27
|
email:
|
|
29
28
|
- flyerhzm@gmail.com
|
|
@@ -71,8 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
71
70
|
- !ruby/object:Gem::Version
|
|
72
71
|
version: '0'
|
|
73
72
|
requirements: []
|
|
74
|
-
rubygems_version:
|
|
75
|
-
signing_key:
|
|
73
|
+
rubygems_version: 4.0.3
|
|
76
74
|
specification_version: 4
|
|
77
75
|
summary: synvert = syntax + convert.
|
|
78
76
|
test_files:
|