synvert 1.10.3 → 1.10.4

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: 9160546ad7801c288fea5d006529fdb53c48be701c09c63fe337510ac6f47b77
4
- data.tar.gz: 216dd1bdb779bd61bf90de0027b6a9c9ecbe47ed71db8a0cdc9d5b9a9f511ed3
3
+ metadata.gz: 1429a08a0e9b549cd8511af673b0e75f8c75bf0746a65ef73f6eeb784a260734
4
+ data.tar.gz: 24474506843dfdbeb68813aa3bd65cca0d3ea571176804d12ca2f6615be872c0
5
5
  SHA512:
6
- metadata.gz: 27a59d827b19446c6e721c3be43f96cb97d1c3813f2caf7f0f18fc2547287a20d39b128278cbee36846cb90e0a950b5dfa5e8e9d3c2ed35e14b43a0bc201b1e8
7
- data.tar.gz: 7b481a8b973ed0bad0a172090e32e9e09e8ce1febb3f3f31b9bb113d7d0026a85dbb6e94a5f7e37aae08479afd131f9bc7f05442f368944f143af9960e7ea0c5
6
+ metadata.gz: f4787d211e15aeadc71cb2e55ccc255480d3ba83856765686b59fa5c627fc8ffe03aa169d613f49827cba26258f3c1df10060edf9d983db840011e73639fccae
7
+ data.tar.gz: 6b97aa13761933d45124a8c7a498d3f4ec9006086a6b9647b48b2afe833b06f2d7f133e0a7c819e1ef8ff834b995da594d760da8f030c6929604d4ba510d37cb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.10.4 (2024-06-15)
4
+
5
+ * Update `synvert-core` to 2.0.2
6
+ * No need to require bundler
7
+ * Add `configure(parser: Synvert::PRISM_PARSER)` to generated snippet
8
+
3
9
  ## 1.10.3 (2024-04-15)
4
10
 
5
11
  * Update `synvert-core` to 1.35.1
data/Gemfile.lock CHANGED
@@ -1,22 +1,30 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert (1.10.3)
5
- synvert-core (>= 1.35.1)
4
+ synvert (1.10.4)
5
+ synvert-core (>= 2.0.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (6.1.7.7)
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
- zeitwerk (~> 2.3)
16
20
  ast (2.4.2)
21
+ base64 (0.2.0)
22
+ bigdecimal (3.1.8)
17
23
  coderay (1.1.3)
18
- concurrent-ruby (1.2.3)
19
- diff-lcs (1.4.4)
24
+ concurrent-ruby (1.3.3)
25
+ connection_pool (2.4.1)
26
+ diff-lcs (1.5.1)
27
+ drb (2.2.1)
20
28
  ffi (1.16.3)
21
29
  formatador (1.1.0)
22
30
  guard (2.18.1)
@@ -33,71 +41,73 @@ GEM
33
41
  guard (~> 2.1)
34
42
  guard-compat (~> 1.1)
35
43
  rspec (>= 2.99.0, < 4.0)
36
- i18n (1.14.4)
44
+ i18n (1.14.5)
37
45
  concurrent-ruby (~> 1.0)
38
46
  listen (3.8.0)
39
47
  rb-fsevent (~> 0.10, >= 0.10.3)
40
48
  rb-inotify (~> 0.9, >= 0.9.10)
41
49
  lumberjack (1.2.9)
42
50
  method_source (1.0.0)
43
- minitest (5.22.3)
51
+ minitest (5.23.1)
52
+ mutex_m (0.2.0)
44
53
  nenv (0.3.0)
45
- node_mutation (1.24.3)
46
- node_query (1.15.2)
54
+ node_mutation (1.24.4)
55
+ node_query (1.15.3)
56
+ node_visitor (1.0.1)
47
57
  notiffany (0.1.3)
48
58
  nenv (~> 0.1)
49
59
  shellany (~> 0.0)
50
- parallel (1.24.0)
51
- parser (3.3.0.5)
60
+ parallel (1.25.1)
61
+ parser (3.3.3.0)
52
62
  ast (~> 2.4.1)
53
63
  racc
54
- parser_node_ext (1.3.0)
64
+ parser_node_ext (1.3.2)
55
65
  parser
56
66
  prettier_print (1.2.1)
57
- prism (0.25.0)
58
- prism_ext (0.3.1)
67
+ prism (0.30.0)
68
+ prism_ext (0.3.2)
59
69
  prism
60
70
  pry (0.14.2)
61
71
  coderay (~> 1.1)
62
72
  method_source (~> 1.0)
63
- racc (1.7.3)
73
+ racc (1.8.0)
64
74
  rake (13.0.6)
65
75
  rb-fsevent (0.11.2)
66
76
  rb-inotify (0.10.1)
67
77
  ffi (~> 1.0)
68
- rspec (3.10.0)
69
- rspec-core (~> 3.10.0)
70
- rspec-expectations (~> 3.10.0)
71
- rspec-mocks (~> 3.10.0)
72
- rspec-core (3.10.1)
73
- rspec-support (~> 3.10.0)
74
- rspec-expectations (3.10.1)
78
+ rspec (3.13.0)
79
+ rspec-core (~> 3.13.0)
80
+ rspec-expectations (~> 3.13.0)
81
+ rspec-mocks (~> 3.13.0)
82
+ rspec-core (3.13.0)
83
+ rspec-support (~> 3.13.0)
84
+ rspec-expectations (3.13.1)
75
85
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.10.0)
77
- rspec-mocks (3.10.2)
86
+ rspec-support (~> 3.13.0)
87
+ rspec-mocks (3.13.1)
78
88
  diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.10.0)
80
- rspec-support (3.10.2)
89
+ rspec-support (~> 3.13.0)
90
+ rspec-support (3.13.1)
81
91
  shellany (0.0.1)
82
92
  syntax_tree (6.2.0)
83
93
  prettier_print (>= 1.2.0)
84
- syntax_tree_ext (0.8.1)
94
+ syntax_tree_ext (0.8.2)
85
95
  syntax_tree
86
- synvert-core (1.35.1)
87
- activesupport (< 7.0.0)
88
- node_mutation (>= 1.24.3)
89
- node_query (>= 1.15.2)
96
+ synvert-core (2.0.2)
97
+ activesupport
98
+ node_mutation (>= 1.24.4)
99
+ node_query (>= 1.15.3)
100
+ node_visitor (>= 1.0.1)
90
101
  parallel
91
102
  parser
92
- parser_node_ext (>= 1.3.0)
103
+ parser_node_ext (>= 1.3.2)
93
104
  prism
94
- prism_ext (>= 0.3.1)
105
+ prism_ext (>= 0.3.2)
95
106
  syntax_tree
96
- syntax_tree_ext (>= 0.8.1)
107
+ syntax_tree_ext (>= 0.8.2)
97
108
  thor (1.3.0)
98
109
  tzinfo (2.0.6)
99
110
  concurrent-ruby (~> 1.0)
100
- zeitwerk (2.6.13)
101
111
 
102
112
  PLATFORMS
103
113
  ruby
@@ -118,6 +118,8 @@ module Synvert
118
118
  # frozen_string_literal: true
119
119
 
120
120
  Synvert::Rewriter.new '#{group}', '#{name}' do
121
+ configure(parser: Synvert::PRISM_PARSER)
122
+
121
123
  description <<~EOS
122
124
  It converts Foo to Bar
123
125
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Synvert
4
- VERSION = '1.10.3'
4
+ VERSION = '1.10.4'
5
5
  end
data/lib/synvert.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'synvert/version'
4
- require 'bundler'
5
4
  require 'synvert/core'
6
5
 
7
6
  module Synvert
@@ -85,6 +85,8 @@ module Synvert
85
85
  # frozen_string_literal: true
86
86
 
87
87
  Synvert::Rewriter.new 'ruby', 'foobar' do
88
+ configure(parser: Synvert::PRISM_PARSER)
89
+
88
90
  description <<~EOS
89
91
  It converts Foo to Bar
90
92
 
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.35.1'
23
+ spec.add_runtime_dependency 'synvert-core', '>= 2.0.2'
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.3
4
+ version: 1.10.4
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-15 00:00:00.000000000 Z
11
+ date: 2024-06-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.35.1
19
+ version: 2.0.2
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.35.1
26
+ version: 2.0.2
27
27
  description: synvert is used to convert ruby code to better syntax.
28
28
  email:
29
29
  - flyerhzm@gmail.com
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.5.3
74
+ rubygems_version: 3.5.9
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: synvert = syntax + convert.