synvert 1.4.2 → 1.4.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: 28d92b2de7ea796dad931f1219c866db250d1278055ccb44c395c70ebad7ac8d
4
- data.tar.gz: 90e282eec3f0b6999e1cd95f4b58d80e5569355a9c51ef1c6dab82bb659175cd
3
+ metadata.gz: 9cffb41703a7b7b1c4e796a4f82b38b43bc1c9123ee333d7ee1b94631cdb71f4
4
+ data.tar.gz: ceb033680e64a5c85091346f6061ce2791ae0f1568d02fdfd1c1d9a85daa8906
5
5
  SHA512:
6
- metadata.gz: aa69626768b9bb88b37d7b7e86e2be5fb6a10804ec5e7b2f0cc9cdce115cee64632d24ea41eb1bd4a3e046e05345316b52e8dfc29316cffd200b72edf9484b55
7
- data.tar.gz: 889bc4708047dd6346ab897d3c9d43c939fad0c6430c6778cf7a4f5a35cf63fdd9417f691a9a7c0d19803b73285e05783e01ea560a907c6ff7b93b4df05c9ed5
6
+ metadata.gz: 765b5c8dd1fdf627177996d3efc5898625fab3a5f6d59b5892519b7f53cb4f03050e2788247338e09b91fbb29382cd6681246627581bd2feaf8c556bfd693ff5
7
+ data.tar.gz: 00240dc2fb032f828cf913204ab9bb8c3f3abb64d2edbf5a0870ea07641a69f9d8cf9517d60b864319ae5a1b3686d103a3202a9e258962d8448d936f20e27fb0
@@ -12,10 +12,10 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
  strategy:
14
14
  matrix:
15
- ruby-version: ['2.6', '2.7', '3.0', '3.1']
15
+ ruby-version: ['2.7', '3.0', '3.1', '3.2']
16
16
 
17
17
  steps:
18
- - uses: actions/checkout@v2
18
+ - uses: actions/checkout@v3
19
19
  - name: Set up Ruby
20
20
  uses: ruby/setup-ruby@v1
21
21
  with:
@@ -29,8 +29,8 @@ jobs:
29
29
  needs: test
30
30
  name: Update gh-pages to docs
31
31
  steps:
32
- - uses: actions/checkout@v2
33
- - uses: actions/setup-node@v2
32
+ - uses: actions/checkout@v3
33
+ - uses: actions/setup-node@v3
34
34
  with:
35
35
  node-version: 18
36
36
  - name: Install required npm dependencies
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.4.4 (2023-06-06)
4
+
5
+ * Update `synvert-core` to 1.28.0
6
+
7
+ ## 1.4.3 (2023-04-11)
8
+
9
+ * Uutput backtrace when `ENV['DEBUG']` is true
10
+ * Update `synvert-core` to 1.22.1
11
+
3
12
  ## 1.4.2 (2023-03-29)
4
13
 
5
14
  * Use `to_json` instead of `JSON.generate`
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert (1.4.2)
5
- synvert-core (>= 1.22.0)
4
+ synvert (1.4.4)
5
+ synvert-core (>= 1.28.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -27,20 +27,19 @@ GEM
27
27
  rexml
28
28
  diff-lcs (1.4.4)
29
29
  docile (1.4.0)
30
- erubis (2.7.0)
31
30
  hashdiff (1.0.1)
32
31
  i18n (1.12.0)
33
32
  concurrent-ruby (~> 1.0)
34
33
  json (2.5.1)
35
34
  minitest (5.18.0)
36
- node_mutation (1.12.2)
37
- erubis
38
- node_query (1.12.0)
35
+ node_mutation (1.18.3)
36
+ node_query (1.13.2)
39
37
  parallel (1.22.1)
40
38
  parser (3.2.1.1)
41
39
  ast (~> 2.4.1)
42
- parser_node_ext (1.0.0)
40
+ parser_node_ext (1.1.1)
43
41
  parser
42
+ prettier_print (1.2.1)
44
43
  public_suffix (4.0.6)
45
44
  rake (13.0.6)
46
45
  rexml (3.2.5)
@@ -63,13 +62,19 @@ GEM
63
62
  simplecov-html (~> 0.10.0)
64
63
  simplecov-html (0.10.2)
65
64
  sync (0.5.0)
66
- synvert-core (1.22.0)
65
+ syntax_tree (6.1.1)
66
+ prettier_print (>= 1.2.0)
67
+ syntax_tree_ext (0.3.1)
68
+ syntax_tree
69
+ synvert-core (1.28.0)
67
70
  activesupport (< 7.0.0)
68
- node_mutation (>= 1.12.1)
69
- node_query (>= 1.12.0)
71
+ node_mutation (>= 1.18.2)
72
+ node_query (>= 1.13.2)
70
73
  parallel
71
74
  parser
72
- parser_node_ext (>= 1.0.0)
75
+ parser_node_ext (>= 1.1.1)
76
+ syntax_tree
77
+ syntax_tree_ext (>= 0.3.1)
73
78
  term-ansicolor (1.7.1)
74
79
  tins (~> 1.0)
75
80
  thor (1.1.0)
@@ -95,4 +100,4 @@ DEPENDENCIES
95
100
  webmock
96
101
 
97
102
  BUNDLED WITH
98
- 2.3.7
103
+ 2.4.7
data/lib/synvert/cli.rb CHANGED
@@ -259,6 +259,9 @@ module Synvert
259
259
  puts output.to_json
260
260
  end
261
261
  rescue StandardError => e
262
+ if ENV['DEBUG']
263
+ puts e.backtrace.join("\n")
264
+ end
262
265
  if plain_output?
263
266
  puts "Error: #{e.message}"
264
267
  else
@@ -272,6 +275,9 @@ module Synvert
272
275
  results = rewriter.test
273
276
  puts results.to_json
274
277
  rescue StandardError => e
278
+ if ENV['DEBUG']
279
+ puts e.backtrace.join("\n")
280
+ end
275
281
  puts({ error: e.message }.to_json)
276
282
  raise
277
283
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Synvert
4
- VERSION = '1.4.2'
4
+ VERSION = '1.4.4'
5
5
  end
data/synvert-ruby.gemspec CHANGED
@@ -20,7 +20,7 @@ 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.22.0'
23
+ spec.add_runtime_dependency 'synvert-core', '>= 1.28.0'
24
24
 
25
25
  spec.add_development_dependency 'bundler'
26
26
  spec.add_development_dependency 'rake'
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.4.2
4
+ version: 1.4.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: 2023-03-29 00:00:00.000000000 Z
11
+ date: 2023-06-06 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.22.0
19
+ version: 1.28.0
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.22.0
26
+ version: 1.28.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  - !ruby/object:Gem::Version
129
129
  version: '0'
130
130
  requirements: []
131
- rubygems_version: 3.4.7
131
+ rubygems_version: 3.4.13
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: synvert = syntax + convert.