synvert 0.18.3 → 0.18.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: 030b18c7d1eecde7a29eb47590f7104937467693f1ab3475016c0cccbc8ca3b2
4
- data.tar.gz: 73839b855d8bbb9ded39cb99dce1645a109516a5e4c0cb229aa26f3076ce9ab5
3
+ metadata.gz: 7a079cd4a1c2c5f630767b66bd735ab384013fb1175229d203e798d3d153ff41
4
+ data.tar.gz: b8bd4802ac7208ef220e2795d17d67227f1db7d054aa816c081e07463f5c0f5f
5
5
  SHA512:
6
- metadata.gz: 5939468037e810437a1910ceb02b91e65f4d3e0bd7bc1399e9f79fa9b9fd93377ae60ecde9067446c75ed12be264e6007d8980504d522be6b68807f23ff83a31
7
- data.tar.gz: 42a3021aa5229deac6fef388471fd5a8d21b789dde17b7cae6e479198f07adbf7b5db1b290b9c6f8282b24db03f61ac8211df8bd48db5e6b5dd27f535253f13e
6
+ metadata.gz: a9577c96364c76ff5e2ff4311a910f766e706c711a0b55e373eee1b97ca4c64ec35ab04b052420e9097c430d94c632d3dbf2b78d8aaee9c7167be09db3008e49
7
+ data.tar.gz: 2eee7f569b9c8c7886c93d0cc675ddf090865d5c2545f0e575e0fc124399f3a8ec93641823dfee704523a9065bc7318acdec662788e0ed309bb4d9d93973a1a0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.18.4 (2021-08-22)
4
+
5
+ * Deprecate synvert, use synvert-ruby instead
6
+
3
7
  ## 0.18.3 (2021-08-22)
4
8
 
5
9
  * Update synvert-snippets url
data/README.md CHANGED
@@ -27,14 +27,14 @@ $ gem install synvert
27
27
  then run
28
28
 
29
29
  ```
30
- $ synvert --sync
30
+ $ synvert-ruby --sync
31
31
  ```
32
32
 
33
33
  ## Usage
34
34
 
35
35
  ```
36
- $ synvert -h
37
- Usage: synvert [project_path]
36
+ $ synvert-ruby -h
37
+ Usage: synvert-ruby [project_path]
38
38
  -d, --load SNIPPET_PATHS load custom snippets, snippet paths can be local file path or remote http url
39
39
  -l, --list list all available snippets
40
40
  -q, --query QUERY query specified snippets
@@ -48,19 +48,7 @@ Usage: synvert [project_path]
48
48
  e.g.
49
49
 
50
50
  ```
51
- $ synvert -r factory_girl/use_short_syntax,rails/upgrade_3_2_to_4_0 ~/Sites/railsbp/rails-bestpractices.com
52
- ```
53
-
54
- ## Docker
55
-
56
- We have a docker image to run synvert
57
-
58
- ```
59
- $ docker pull xinminlabs/awesomecode-synvert
60
-
61
- $ docker run xinminlabs/awesomecode-synvert synvert --list
62
-
63
- $ docker run -v <your project path>:/app xinminlabs/awesomecode-synvert synvert --run default/check_syntax /app
51
+ $ synvert-ruby -r factory_girl/use_short_syntax,rails/upgrade_3_2_to_4_0 ~/Sites/railsbp/rails-bestpractices.com
64
52
  ```
65
53
 
66
54
  ## Documentation
@@ -75,6 +63,6 @@ $ docker run -v <your project path>:/app xinminlabs/awesomecode-synvert synvert
75
63
  4. Push to the branch (`git push origin my-new-feature`)
76
64
  5. Create new Pull Request
77
65
 
78
- [1]: https://github.com/xinminlabs/synvert-core/
79
- [2]: https://github.com/xinminlabs/synvert-snippets/
66
+ [1]: https://github.com/xinminlabs/synvert-core-ruby/
67
+ [2]: https://github.com/xinminlabs/synvert-snippets-ruby/
80
68
  [3]: https://xinminlabs.github.io/synvert/
data/lib/synvert/cli.rb CHANGED
@@ -66,7 +66,7 @@ module Synvert
66
66
  def run_option_parser(args)
67
67
  optparse =
68
68
  OptionParser.new do |opts|
69
- opts.banner = 'Usage: synvert [project_path]'
69
+ opts.banner = 'Usage: synvert-ruby [project_path]'
70
70
  opts.on '-d',
71
71
  '--load SNIPPET_PATHS',
72
72
  'load custom snippets, snippet paths can be local file path or remote http url' do |snippet_paths|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Synvert
4
- VERSION = '0.18.3'
4
+ VERSION = '0.18.4'
5
5
  end
data/synvert.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
20
  spec.require_paths = ['lib']
21
- spec.post_install_message = 'Please run `synvert --sync` first to sync snippets remotely.'
21
+ spec.post_install_message = 'Please run `synvert-ruby --sync` first to sync snippets remotely.'
22
22
 
23
23
  spec.add_runtime_dependency 'synvert-core', '>= 0.53.0'
24
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synvert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.3
4
+ version: 0.18.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang
@@ -110,7 +110,7 @@ homepage: https://github.com/xinminlabs/synvert
110
110
  licenses:
111
111
  - MIT
112
112
  metadata: {}
113
- post_install_message: Please run `synvert --sync` first to sync snippets remotely.
113
+ post_install_message: Please run `synvert-ruby --sync` first to sync snippets remotely.
114
114
  rdoc_options: []
115
115
  require_paths:
116
116
  - lib