synvert 1.10.0 → 1.10.1

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: c5bc451c7e131ce0ea0ce597a7a592e31fadd538bb4ae860f721319eac48c8c8
4
- data.tar.gz: 60f3428852aff347925f4f73d6d72e4f2ce7fff20a1df32329c48f4b73124369
3
+ metadata.gz: 9ee8d8b944d5909af7a7d88ca0d6d7f6212434e52e6c8f6217751b98f3b837e1
4
+ data.tar.gz: aa488febeec6009dba80630e35f2ec4b70d6f10830b2b9d28f437f462e2fb019
5
5
  SHA512:
6
- metadata.gz: 37eb6b2c48a04ed7036697d3c04312da7764f87d27bf6bcd2f6891701627c87af65695918464123e8dbacee9db2361fc5ce8c6c0b8a4fcb81d90b39c5b4420a1
7
- data.tar.gz: '09ee8a0157777bf69675c9306f9d90e9f9c98f11afb8c80bfbaf593b72e1561c5e83b6fc5f19d4f8be76c107dfaeee9da002b0c658b19783452b76b86f95c457'
6
+ metadata.gz: 1e0e4ab9835e7a7146f0faedc9b7ce191c54937a09c70ddb67836624b3459667f03a597d75ef062a3a708f1c351a65e8b490741838c8d12c3d5c398212ae5011
7
+ data.tar.gz: 5c6a6c54b5efd8e7eab8e01d97c3c026ea390f32d81a2eddcf69ee395dc15cddfab31dc05c8280269fe42c08cde9fbd2f9b035f69fdc2475d149f47e58fe5701
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.10.1 (2024-03-06)
4
+
5
+ * Fix undefined `plain_output?`
6
+ * Update `synvert-core` to 1.34.0
7
+
3
8
  ## 1.10.0 (2024-02-24)
4
9
 
5
10
  * Add `--check-bundle-gems` flag to check code in all bundle gems
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert (1.10.0)
4
+ synvert (1.10.1)
5
5
  synvert-core (>= 1.33.2)
6
6
 
7
7
  GEM
@@ -33,8 +33,9 @@ GEM
33
33
  guard (~> 2.1)
34
34
  guard-compat (~> 1.1)
35
35
  rspec (>= 2.99.0, < 4.0)
36
- i18n (1.14.1)
36
+ i18n (1.14.3)
37
37
  concurrent-ruby (~> 1.0)
38
+ racc (~> 1.7)
38
39
  listen (3.8.0)
39
40
  rb-fsevent (~> 0.10, >= 0.10.3)
40
41
  rb-inotify (~> 0.9, >= 0.9.10)
@@ -42,7 +43,7 @@ GEM
42
43
  method_source (1.0.0)
43
44
  minitest (5.22.2)
44
45
  nenv (0.3.0)
45
- node_mutation (1.23.3)
46
+ node_mutation (1.24.1)
46
47
  node_query (1.15.1)
47
48
  notiffany (0.1.3)
48
49
  nenv (~> 0.1)
@@ -83,7 +84,7 @@ GEM
83
84
  prettier_print (>= 1.2.0)
84
85
  syntax_tree_ext (0.7.2)
85
86
  syntax_tree
86
- synvert-core (1.33.2)
87
+ synvert-core (1.34.0)
87
88
  activesupport (< 7.0.0)
88
89
  node_mutation (>= 1.23.2)
89
90
  node_query (>= 1.15.1)
@@ -179,10 +179,10 @@ module Synvert
179
179
  if ENV['DEBUG']
180
180
  puts e.backtrace.join("\n")
181
181
  end
182
- if plain_output?
183
- puts "Error: #{e.message}"
184
- else
182
+ if format == 'json'
185
183
  puts({ error: e.message }.to_json)
184
+ else
185
+ puts "Error: #{e.message}"
186
186
  end
187
187
  raise
188
188
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Synvert
4
- VERSION = '1.10.0'
4
+ VERSION = '1.10.1'
5
5
  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.0
4
+ version: 1.10.1
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-02-24 00:00:00.000000000 Z
11
+ date: 2024-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: synvert-core