synvert 1.4.0 → 1.4.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: ceff5dd8ef092b08e7ae9d1c02f18d631d32673c44decf2c154d3ff9cfee63a5
4
- data.tar.gz: 5d1ee4dc536803776ce4856e9ecd5dd95de2a2a76b7a6e181dafbb4e8be0eb54
3
+ metadata.gz: a14ed41203f26cda5ffb3aa6d341e81a8e3753c371085c9ba2cfc050ca38c6eb
4
+ data.tar.gz: 7007836bdb7304c79c87e21a4a2659f1b95b75e60c4eed89be3f7162014f3f21
5
5
  SHA512:
6
- metadata.gz: 83be6d6862079f7bb917cd0992700061dbc3d0660972687023fae38e53fb3e18e27326574cf91a3c4aacd34e6e282fe010f2284d35c02f0fb5da5b341e6ecca0
7
- data.tar.gz: b3b50e28d11c4cc219057b4bab38bedee708de4c0a169b118fb6bc270da76a1f3d3d78a002896bcb2470c39075823664653d211e242619b3dade82d1e2a49413
6
+ metadata.gz: 114c39e16894ab30e91f1d28e8fb6bf50fa3490b88e0141f809b9e7d8939d505d1fff45e39cb1b985df70b5666e6ace570a34bb2aa7449031751ad796b069dda
7
+ data.tar.gz: f2f7adfc50200ee78b87d3955a53ae1f664d86f50bc74869aca0128aeb0387dbca2e78d1fdbf3923831d5260be0d7509c41af8d348e3634b9f8c8b605a4ca986
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.4.1 (2023-02-10)
4
+
5
+ * Make sure `tab_width` is an Integer
6
+ * Update `synvert-core` to 1.21.1
7
+
3
8
  ## 1.4.0 (2023-02-08)
4
9
 
5
10
  * Add `--tab-width` flag
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert (1.4.0)
5
- synvert-core (>= 1.21.0)
4
+ synvert (1.4.1)
5
+ synvert-core (>= 1.21.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -33,11 +33,11 @@ GEM
33
33
  concurrent-ruby (~> 1.0)
34
34
  json (2.5.1)
35
35
  minitest (5.17.0)
36
- node_mutation (1.9.0)
36
+ node_mutation (1.9.1)
37
37
  erubis
38
38
  node_query (1.12.0)
39
39
  parallel (1.22.1)
40
- parser (3.2.0.0)
40
+ parser (3.2.1.0)
41
41
  ast (~> 2.4.1)
42
42
  parser_node_ext (0.10.0)
43
43
  parser
@@ -63,7 +63,7 @@ GEM
63
63
  simplecov-html (~> 0.10.0)
64
64
  simplecov-html (0.10.2)
65
65
  sync (0.5.0)
66
- synvert-core (1.21.0)
66
+ synvert-core (1.21.1)
67
67
  activesupport (< 7.0.0)
68
68
  erubis
69
69
  node_mutation (>= 1.9.0)
@@ -82,7 +82,7 @@ GEM
82
82
  addressable (>= 2.8.0)
83
83
  crack (>= 0.3.2)
84
84
  hashdiff (>= 0.4.0, < 2.0.0)
85
- zeitwerk (2.6.6)
85
+ zeitwerk (2.6.7)
86
86
 
87
87
  PLATFORMS
88
88
  ruby
data/lib/synvert/cli.rb CHANGED
@@ -128,7 +128,7 @@ module Synvert
128
128
  Core::Configuration.single_quote = false
129
129
  end
130
130
  opts.on '--tab-width TAB_WIDTH', 'prefer tab width, it uses 2 by default' do |tab_width|
131
- Core::Configuration.tab_width = tab_width
131
+ Core::Configuration.tab_width = tab_width.to_i
132
132
  end
133
133
  opts.on '-v', '--version', 'show this version' do
134
134
  puts "#{VERSION} (with synvert-core #{Core::VERSION} and parser #{Parser::VERSION})"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Synvert
4
- VERSION = '1.4.0'
4
+ VERSION = '1.4.1'
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.21.0'
23
+ spec.add_runtime_dependency 'synvert-core', '>= 1.21.1'
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.0
4
+ version: 1.4.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: 2023-02-08 00:00:00.000000000 Z
11
+ date: 2023-02-10 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.21.0
19
+ version: 1.21.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.21.0
26
+ version: 1.21.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement