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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4368b21f1815b972669f66b090b5d7d206ae7162c26b1b060fd2c825681b422
4
- data.tar.gz: a9d5f31e26192d01ebe8fa360534b7bc39c90a6b18f187593ddc0fd9b35fab4d
3
+ metadata.gz: 9160546ad7801c288fea5d006529fdb53c48be701c09c63fe337510ac6f47b77
4
+ data.tar.gz: 216dd1bdb779bd61bf90de0027b6a9c9ecbe47ed71db8a0cdc9d5b9a9f511ed3
5
5
  SHA512:
6
- metadata.gz: 2d09024c9ef0f1894733c7fe7419e951dd411767c8e99e4d0aa2b8bd8a07a2d4ed8605a955d35174f187624752fa01998bf72b62dece006f8def5f0a066e102c
7
- data.tar.gz: aa6735ba14cf74fa1a4b27d2b5123a89423aa528c87ea5421a2423a50c2e70c3243e4681d4d3241e8e575b42d26124cb7cb8bfedcc3bc9d232cb7b089e61d501
6
+ metadata.gz: 27a59d827b19446c6e721c3be43f96cb97d1c3813f2caf7f0f18fc2547287a20d39b128278cbee36846cb90e0a950b5dfa5e8e9d3c2ed35e14b43a0bc201b1e8
7
+ data.tar.gz: 7b481a8b973ed0bad0a172090e32e9e09e8ce1febb3f3f31b9bb113d7d0026a85dbb6e94a5f7e37aae08479afd131f9bc7f05442f368944f143af9960e7ea0c5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.10.3 (2024-04-15)
4
+
5
+ * Update `synvert-core` to 1.35.1
6
+ * Fix `--version` output
7
+
3
8
  ## 1.10.2 (2024-04-07)
4
9
 
5
10
  * Update `synvert-core` to 1.35.0
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert (1.10.2)
5
- synvert-core (>= 1.33.2)
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.0)
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.0)
86
+ synvert-core (1.35.1)
87
87
  activesupport (< 7.0.0)
88
- node_mutation (>= 1.24.1)
89
- node_query (>= 1.15.1)
88
+ node_mutation (>= 1.24.3)
89
+ node_query (>= 1.15.2)
90
90
  parallel
91
91
  parser
92
- parser_node_ext (>= 1.2.2)
92
+ parser_node_ext (>= 1.3.0)
93
93
  prism
94
- prism_ext (>= 0.2.3)
94
+ prism_ext (>= 0.3.1)
95
95
  syntax_tree
96
- syntax_tree_ext (>= 0.7.2)
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
@@ -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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Synvert
4
- VERSION = '1.10.2'
4
+ VERSION = '1.10.3'
5
5
  end
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.33.2'
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.2
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-07 00:00:00.000000000 Z
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.33.2
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.33.2
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