snippet_cli 0.2.4 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +4 -1
- data/Gemfile +17 -16
- data/README.md +43 -44
- data/Rakefile +4 -0
- data/lib/Setup.rb +73 -73
- data/lib/banner.rb +15 -15
- data/lib/snippet_cli/cli.rb +62 -58
- data/lib/{info.md → snippet_cli/commands/info.md} +19 -19
- data/lib/snippet_cli/commands/info.rb +2 -2
- data/lib/snippet_cli/commands/new.rb +113 -113
- data/lib/snippet_cli/commands/setup.rb +108 -108
- data/lib/snippet_cli/version.rb +1 -1
- data/lib/snippet_generator.rb +84 -84
- data/snippet_cli-0.2.4.gem +0 -0
- data/snippet_cli-0.2.6.gem +0 -0
- data/snippet_cli-0.2.7.gem +0 -0
- data/snippet_cli-0.2.8.gem +0 -0
- data/snippet_cli.gemspec +38 -37
- metadata +26 -8
- data/Gemfile.lock +0 -90
data/snippet_cli.gemspec
CHANGED
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
require_relative 'lib/snippet_cli/version'
|
|
2
|
-
|
|
3
|
-
Gem::Specification.new do |spec|
|
|
4
|
-
spec.name = "snippet_cli"
|
|
5
|
-
spec.license = "MIT"
|
|
6
|
-
spec.version = SnippetCli::VERSION
|
|
7
|
-
spec.authors = ["AJ Markow"]
|
|
8
|
-
spec.email = ["alexanderjmarkow@gmail.com"]
|
|
9
|
-
|
|
10
|
-
spec.summary = "Allows you to add snippets to Espanso Config from CLI"
|
|
11
|
-
spec.description = "You can write to your espanso config directly using this gem"
|
|
12
|
-
spec.homepage = "https://github.com/ajmarkow/snippet_cli"
|
|
13
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
|
14
|
-
spec.add_runtime_dependency "
|
|
15
|
-
spec.add_runtime_dependency "tty-
|
|
16
|
-
spec.add_runtime_dependency "tty-
|
|
17
|
-
spec.add_runtime_dependency "tty-
|
|
18
|
-
spec.add_runtime_dependency "
|
|
19
|
-
spec.add_runtime_dependency "
|
|
20
|
-
spec.add_runtime_dependency "
|
|
21
|
-
spec.add_runtime_dependency "
|
|
22
|
-
spec.add_runtime_dependency "
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
spec.metadata["
|
|
27
|
-
spec.metadata["
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
#
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
spec.
|
|
36
|
-
spec.
|
|
37
|
-
|
|
1
|
+
require_relative 'lib/snippet_cli/version'
|
|
2
|
+
|
|
3
|
+
Gem::Specification.new do |spec|
|
|
4
|
+
spec.name = "snippet_cli"
|
|
5
|
+
spec.license = "MIT"
|
|
6
|
+
spec.version = SnippetCli::VERSION
|
|
7
|
+
spec.authors = ["AJ Markow"]
|
|
8
|
+
spec.email = ["alexanderjmarkow@gmail.com"]
|
|
9
|
+
|
|
10
|
+
spec.summary = "Allows you to add snippets to Espanso Config from CLI"
|
|
11
|
+
spec.description = "You can write to your espanso config directly using this gem"
|
|
12
|
+
spec.homepage = "https://github.com/ajmarkow/snippet_cli"
|
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
|
14
|
+
spec.add_runtime_dependency "thor"
|
|
15
|
+
spec.add_runtime_dependency "tty-prompt"
|
|
16
|
+
spec.add_runtime_dependency "tty-box"
|
|
17
|
+
spec.add_runtime_dependency "tty-platform"
|
|
18
|
+
spec.add_runtime_dependency "tty-markdown"
|
|
19
|
+
spec.add_runtime_dependency "pastel"
|
|
20
|
+
spec.add_runtime_dependency "bundler"
|
|
21
|
+
spec.add_runtime_dependency "snippets_for_espanso"
|
|
22
|
+
spec.add_runtime_dependency "httparty"
|
|
23
|
+
spec.add_runtime_dependency "ascii"
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
|
27
|
+
spec.metadata["source_code_uri"] = "https://github.com/ajmarkow/snippet_cli"
|
|
28
|
+
spec.metadata["changelog_uri"] = "https://github.com/ajmarkow/snippet_cli"
|
|
29
|
+
|
|
30
|
+
# Specify which files should be added to the gem when it is released.
|
|
31
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
32
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
|
33
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
34
|
+
end
|
|
35
|
+
spec.bindir = "exe"
|
|
36
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
37
|
+
spec.require_paths = ["lib"]
|
|
38
|
+
end
|
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: snippet_cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- AJ Markow
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-11-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: thor
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
13
27
|
- !ruby/object:Gem::Dependency
|
|
14
28
|
name: tty-prompt
|
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -149,7 +163,6 @@ files:
|
|
|
149
163
|
- ".travis.yml"
|
|
150
164
|
- CODE_OF_CONDUCT.md
|
|
151
165
|
- Gemfile
|
|
152
|
-
- Gemfile.lock
|
|
153
166
|
- LICENSE.txt
|
|
154
167
|
- README.md
|
|
155
168
|
- Rakefile
|
|
@@ -158,11 +171,11 @@ files:
|
|
|
158
171
|
- exe/snippet_cli
|
|
159
172
|
- lib/Setup.rb
|
|
160
173
|
- lib/banner.rb
|
|
161
|
-
- lib/info.md
|
|
162
174
|
- lib/snippet_cli.rb
|
|
163
175
|
- lib/snippet_cli/cli.rb
|
|
164
176
|
- lib/snippet_cli/command.rb
|
|
165
177
|
- lib/snippet_cli/commands/.gitkeep
|
|
178
|
+
- lib/snippet_cli/commands/info.md
|
|
166
179
|
- lib/snippet_cli/commands/info.rb
|
|
167
180
|
- lib/snippet_cli/commands/new.rb
|
|
168
181
|
- lib/snippet_cli/commands/setup.rb
|
|
@@ -187,6 +200,10 @@ files:
|
|
|
187
200
|
- snippet_cli-0.2.1.gem
|
|
188
201
|
- snippet_cli-0.2.2.gem
|
|
189
202
|
- snippet_cli-0.2.3.gem
|
|
203
|
+
- snippet_cli-0.2.4.gem
|
|
204
|
+
- snippet_cli-0.2.6.gem
|
|
205
|
+
- snippet_cli-0.2.7.gem
|
|
206
|
+
- snippet_cli-0.2.8.gem
|
|
190
207
|
- snippet_cli.gemspec
|
|
191
208
|
homepage: https://github.com/ajmarkow/snippet_cli
|
|
192
209
|
licenses:
|
|
@@ -195,7 +212,7 @@ metadata:
|
|
|
195
212
|
homepage_uri: https://github.com/ajmarkow/snippet_cli
|
|
196
213
|
source_code_uri: https://github.com/ajmarkow/snippet_cli
|
|
197
214
|
changelog_uri: https://github.com/ajmarkow/snippet_cli
|
|
198
|
-
post_install_message:
|
|
215
|
+
post_install_message:
|
|
199
216
|
rdoc_options: []
|
|
200
217
|
require_paths:
|
|
201
218
|
- lib
|
|
@@ -210,8 +227,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
210
227
|
- !ruby/object:Gem::Version
|
|
211
228
|
version: '0'
|
|
212
229
|
requirements: []
|
|
213
|
-
|
|
214
|
-
|
|
230
|
+
rubyforge_project:
|
|
231
|
+
rubygems_version: 2.7.6.2
|
|
232
|
+
signing_key:
|
|
215
233
|
specification_version: 4
|
|
216
234
|
summary: Allows you to add snippets to Espanso Config from CLI
|
|
217
235
|
test_files: []
|
data/Gemfile.lock
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
snippet_cli (0.1.0)
|
|
5
|
-
|
|
6
|
-
GEM
|
|
7
|
-
remote: https://rubygems.org/
|
|
8
|
-
specs:
|
|
9
|
-
ascii (1.0.1)
|
|
10
|
-
diff-lcs (1.4.4)
|
|
11
|
-
httparty (0.18.1)
|
|
12
|
-
mime-types (~> 3.0)
|
|
13
|
-
multi_xml (>= 0.5.2)
|
|
14
|
-
kramdown (2.3.0)
|
|
15
|
-
rexml
|
|
16
|
-
mime-types (3.3.1)
|
|
17
|
-
mime-types-data (~> 3.2015)
|
|
18
|
-
mime-types-data (3.2020.1104)
|
|
19
|
-
multi_xml (0.6.0)
|
|
20
|
-
pastel (0.8.0)
|
|
21
|
-
tty-color (~> 0.5)
|
|
22
|
-
rake (12.3.3)
|
|
23
|
-
rexml (3.2.4)
|
|
24
|
-
rouge (3.26.0)
|
|
25
|
-
rspec (3.10.0)
|
|
26
|
-
rspec-core (~> 3.10.0)
|
|
27
|
-
rspec-expectations (~> 3.10.0)
|
|
28
|
-
rspec-mocks (~> 3.10.0)
|
|
29
|
-
rspec-core (3.10.0)
|
|
30
|
-
rspec-support (~> 3.10.0)
|
|
31
|
-
rspec-expectations (3.10.0)
|
|
32
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
33
|
-
rspec-support (~> 3.10.0)
|
|
34
|
-
rspec-mocks (3.10.0)
|
|
35
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
36
|
-
rspec-support (~> 3.10.0)
|
|
37
|
-
rspec-support (3.10.0)
|
|
38
|
-
snippets_for_espanso (0.1.2)
|
|
39
|
-
yaml
|
|
40
|
-
strings (0.2.0)
|
|
41
|
-
strings-ansi (~> 0.2)
|
|
42
|
-
unicode-display_width (~> 1.5)
|
|
43
|
-
unicode_utils (~> 1.4)
|
|
44
|
-
strings-ansi (0.2.0)
|
|
45
|
-
tty-box (0.7.0)
|
|
46
|
-
pastel (~> 0.8)
|
|
47
|
-
strings (~> 0.2.0)
|
|
48
|
-
tty-cursor (~> 0.7)
|
|
49
|
-
tty-color (0.6.0)
|
|
50
|
-
tty-cursor (0.7.1)
|
|
51
|
-
tty-markdown (0.7.0)
|
|
52
|
-
kramdown (>= 1.16.2, < 3.0)
|
|
53
|
-
pastel (~> 0.8)
|
|
54
|
-
rouge (~> 3.14)
|
|
55
|
-
strings (~> 0.2.0)
|
|
56
|
-
tty-color (~> 0.5)
|
|
57
|
-
tty-screen (~> 0.8)
|
|
58
|
-
tty-platform (0.3.0)
|
|
59
|
-
tty-prompt (0.23.0)
|
|
60
|
-
pastel (~> 0.8)
|
|
61
|
-
tty-reader (~> 0.8)
|
|
62
|
-
tty-reader (0.9.0)
|
|
63
|
-
tty-cursor (~> 0.7)
|
|
64
|
-
tty-screen (~> 0.8)
|
|
65
|
-
wisper (~> 2.0)
|
|
66
|
-
tty-screen (0.8.1)
|
|
67
|
-
unicode-display_width (1.7.0)
|
|
68
|
-
unicode_utils (1.4.0)
|
|
69
|
-
wisper (2.0.1)
|
|
70
|
-
yaml (0.1.0)
|
|
71
|
-
|
|
72
|
-
PLATFORMS
|
|
73
|
-
x64-mingw32
|
|
74
|
-
|
|
75
|
-
DEPENDENCIES
|
|
76
|
-
ascii
|
|
77
|
-
bundler
|
|
78
|
-
httparty
|
|
79
|
-
pastel
|
|
80
|
-
rake (~> 12.0)
|
|
81
|
-
rspec (~> 3.0)
|
|
82
|
-
snippet_cli!
|
|
83
|
-
snippets_for_espanso
|
|
84
|
-
tty-box
|
|
85
|
-
tty-markdown
|
|
86
|
-
tty-platform
|
|
87
|
-
tty-prompt
|
|
88
|
-
|
|
89
|
-
BUNDLED WITH
|
|
90
|
-
1.17.3
|