synvert 1.5.1 → 1.6.0

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: 658bd45691952365892c0b0df25e5a914904c01f0e75b53e287e1fb69bacc2a6
4
- data.tar.gz: 246760f16f223ff49163ffc097b84e697739fc336e73f87f4f8849c5cada7af9
3
+ metadata.gz: 844839d591effeed2d6cbeef69febfaff95c309433169d5b723d1b2ebb09c8d8
4
+ data.tar.gz: 754ce33af6aeae4bde2d5d3915e1d55a7b1cd239d3ea4bd3882985d64ffb52e6
5
5
  SHA512:
6
- metadata.gz: 56372dbba8e0f1e434622947af4f51f119d63ab19102097401409d9a5c2dcc2b006b0e20adc2c286f5c585375d43727df69f652eaa461e385997e80e975c92b0
7
- data.tar.gz: ace20c62d7188d091ce86aa407bd15f648e181c872d74de89764d2fb5202e2ecd8233f74dc572ad68ab1b89c36251050537ab4364c98cb44bef2a94a18771393
6
+ metadata.gz: f5ba4fdb309bd1841ca750bdb094aad23243253296db56586bcf096efe2e3738b463ce73261492a2703c4d952cd02f8c8adc93d349f7a25ff8171768a9aeb259
7
+ data.tar.gz: 6f278c1d8bc6c403fad992ee44e8f12af4f062c65b45a530e8f1598acead6960dd365293c9ecb7d8d1f12b01db58e1685cc60dbd0c61fdbd96e088edf5f618be
@@ -12,7 +12,7 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
  strategy:
14
14
  matrix:
15
- ruby-version: ['2.7', '3.0', '3.1', '3.2']
15
+ ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3']
16
16
 
17
17
  steps:
18
18
  - uses: actions/checkout@v3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.6.0 (2024-01-09)
4
+
5
+ * Add `--loose` flag
6
+ * Update `synvert-core` to 1.30.2
7
+
3
8
  ## 1.5.1 (2023-11-02)
4
9
 
5
10
  * Fix typos
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert (1.5.1)
5
- synvert-core (>= 1.29.3)
4
+ synvert (1.6.0)
5
+ synvert-core (>= 1.30.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (6.1.7.3)
10
+ activesupport (6.1.7.6)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
12
  i18n (>= 1.6, < 2)
13
13
  minitest (>= 5.1)
@@ -33,29 +33,31 @@ GEM
33
33
  guard (~> 2.1)
34
34
  guard-compat (~> 1.1)
35
35
  rspec (>= 2.99.0, < 4.0)
36
- i18n (1.12.0)
36
+ i18n (1.14.1)
37
37
  concurrent-ruby (~> 1.0)
38
38
  listen (3.8.0)
39
39
  rb-fsevent (~> 0.10, >= 0.10.3)
40
40
  rb-inotify (~> 0.9, >= 0.9.10)
41
41
  lumberjack (1.2.9)
42
42
  method_source (1.0.0)
43
- minitest (5.18.0)
43
+ minitest (5.20.0)
44
44
  nenv (0.3.0)
45
- node_mutation (1.21.4)
46
- node_query (1.13.12)
45
+ node_mutation (1.22.2)
46
+ node_query (1.14.1)
47
47
  notiffany (0.1.3)
48
48
  nenv (~> 0.1)
49
49
  shellany (~> 0.0)
50
- parallel (1.22.1)
51
- parser (3.2.1.1)
50
+ parallel (1.24.0)
51
+ parser (3.3.0.2)
52
52
  ast (~> 2.4.1)
53
+ racc
53
54
  parser_node_ext (1.2.1)
54
55
  parser
55
56
  prettier_print (1.2.1)
56
57
  pry (0.14.2)
57
58
  coderay (~> 1.1)
58
59
  method_source (~> 1.0)
60
+ racc (1.7.3)
59
61
  rake (13.0.6)
60
62
  rb-fsevent (0.11.2)
61
63
  rb-inotify (0.10.1)
@@ -74,13 +76,13 @@ GEM
74
76
  rspec-support (~> 3.10.0)
75
77
  rspec-support (3.10.2)
76
78
  shellany (0.0.1)
77
- syntax_tree (6.1.1)
79
+ syntax_tree (6.2.0)
78
80
  prettier_print (>= 1.2.0)
79
81
  syntax_tree_ext (0.6.4)
80
82
  syntax_tree
81
- synvert-core (1.29.3)
83
+ synvert-core (1.30.2)
82
84
  activesupport (< 7.0.0)
83
- node_mutation (>= 1.21.4)
85
+ node_mutation (>= 1.21.6)
84
86
  node_query (>= 1.13.12)
85
87
  parallel
86
88
  parser
@@ -90,7 +92,7 @@ GEM
90
92
  thor (1.3.0)
91
93
  tzinfo (2.0.6)
92
94
  concurrent-ruby (~> 1.0)
93
- zeitwerk (2.6.7)
95
+ zeitwerk (2.6.12)
94
96
 
95
97
  PLATFORMS
96
98
  ruby
@@ -103,4 +105,4 @@ DEPENDENCIES
103
105
  synvert!
104
106
 
105
107
  BUNDLED WITH
106
- 2.4.7
108
+ 2.3.7
data/lib/synvert/cli.rb CHANGED
@@ -143,6 +143,9 @@ module Synvert
143
143
  opts.on '--tab-width TAB_WIDTH', 'prefer tab width, it uses 2 by default' do |tab_width|
144
144
  Core::Configuration.tab_width = tab_width.to_i
145
145
  end
146
+ opts.on '--loose', 'loose mode, it ignores ruby version and gem version check, it uses strict mode by default' do |_loose|
147
+ Core::Configuration.strict = false
148
+ end
146
149
  opts.on '-v', '--version', 'show this version' do
147
150
  puts "#{VERSION} (with synvert-core #{Core::VERSION} and parser #{Parser::VERSION})"
148
151
  exit
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Synvert
4
- VERSION = '1.5.1'
4
+ VERSION = '1.6.0'
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.29.3'
23
+ spec.add_runtime_dependency 'synvert-core', '>= 1.30.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.5.1
4
+ version: 1.6.0
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-11-02 00:00:00.000000000 Z
11
+ date: 2024-01-09 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.29.3
19
+ version: 1.30.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.29.3
26
+ version: 1.30.2
27
27
  description: synvert is used to convert ruby code to better syntax.
28
28
  email:
29
29
  - flyerhzm@gmail.com
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.4.20
72
+ rubygems_version: 3.5.3
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: synvert = syntax + convert.