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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +6 -18
- data/lib/synvert/cli.rb +1 -1
- data/lib/synvert/version.rb +1 -1
- data/synvert.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a079cd4a1c2c5f630767b66bd735ab384013fb1175229d203e798d3d153ff41
|
4
|
+
data.tar.gz: b8bd4802ac7208ef220e2795d17d67227f1db7d054aa816c081e07463f5c0f5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9577c96364c76ff5e2ff4311a910f766e706c711a0b55e373eee1b97ca4c64ec35ab04b052420e9097c430d94c632d3dbf2b78d8aaee9c7167be09db3008e49
|
7
|
+
data.tar.gz: 2eee7f569b9c8c7886c93d0cc675ddf090865d5c2545f0e575e0fc124399f3a8ec93641823dfee704523a9065bc7318acdec662788e0ed309bb4d9d93973a1a0
|
data/CHANGELOG.md
CHANGED
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|
|
data/lib/synvert/version.rb
CHANGED
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.
|
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
|