snippet_cli 0.2.4 → 0.3.3
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 +37 -37
- metadata +9 -5
- data/Gemfile.lock +0 -90
data/snippet_cli.gemspec
CHANGED
|
@@ -1,37 +1,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 "tty-prompt"
|
|
15
|
-
spec.add_runtime_dependency "tty-box"
|
|
16
|
-
spec.add_runtime_dependency "tty-platform"
|
|
17
|
-
spec.add_runtime_dependency "tty-markdown"
|
|
18
|
-
spec.add_runtime_dependency "pastel"
|
|
19
|
-
spec.add_runtime_dependency "bundler"
|
|
20
|
-
spec.add_runtime_dependency "snippets_for_espanso"
|
|
21
|
-
spec.add_runtime_dependency "httparty"
|
|
22
|
-
spec.add_runtime_dependency "ascii"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
|
26
|
-
spec.metadata["source_code_uri"] = "https://github.com/ajmarkow/snippet_cli"
|
|
27
|
-
spec.metadata["changelog_uri"] = "https://github.com/ajmarkow/snippet_cli"
|
|
28
|
-
|
|
29
|
-
# Specify which files should be added to the gem when it is released.
|
|
30
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
31
|
-
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
|
32
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
33
|
-
end
|
|
34
|
-
spec.bindir = "exe"
|
|
35
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
36
|
-
spec.require_paths = ["lib"]
|
|
37
|
-
end
|
|
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 "tty-prompt"
|
|
15
|
+
spec.add_runtime_dependency "tty-box"
|
|
16
|
+
spec.add_runtime_dependency "tty-platform"
|
|
17
|
+
spec.add_runtime_dependency "tty-markdown"
|
|
18
|
+
spec.add_runtime_dependency "pastel"
|
|
19
|
+
spec.add_runtime_dependency "bundler"
|
|
20
|
+
spec.add_runtime_dependency "snippets_for_espanso"
|
|
21
|
+
spec.add_runtime_dependency "httparty"
|
|
22
|
+
spec.add_runtime_dependency "ascii"
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
|
26
|
+
spec.metadata["source_code_uri"] = "https://github.com/ajmarkow/snippet_cli"
|
|
27
|
+
spec.metadata["changelog_uri"] = "https://github.com/ajmarkow/snippet_cli"
|
|
28
|
+
|
|
29
|
+
# Specify which files should be added to the gem when it is released.
|
|
30
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
31
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
|
32
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
33
|
+
end
|
|
34
|
+
spec.bindir = "exe"
|
|
35
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
36
|
+
spec.require_paths = ["lib"]
|
|
37
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: snippet_cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- AJ Markow
|
|
8
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
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tty-prompt
|
|
@@ -149,7 +149,6 @@ files:
|
|
|
149
149
|
- ".travis.yml"
|
|
150
150
|
- CODE_OF_CONDUCT.md
|
|
151
151
|
- Gemfile
|
|
152
|
-
- Gemfile.lock
|
|
153
152
|
- LICENSE.txt
|
|
154
153
|
- README.md
|
|
155
154
|
- Rakefile
|
|
@@ -158,11 +157,11 @@ files:
|
|
|
158
157
|
- exe/snippet_cli
|
|
159
158
|
- lib/Setup.rb
|
|
160
159
|
- lib/banner.rb
|
|
161
|
-
- lib/info.md
|
|
162
160
|
- lib/snippet_cli.rb
|
|
163
161
|
- lib/snippet_cli/cli.rb
|
|
164
162
|
- lib/snippet_cli/command.rb
|
|
165
163
|
- lib/snippet_cli/commands/.gitkeep
|
|
164
|
+
- lib/snippet_cli/commands/info.md
|
|
166
165
|
- lib/snippet_cli/commands/info.rb
|
|
167
166
|
- lib/snippet_cli/commands/new.rb
|
|
168
167
|
- lib/snippet_cli/commands/setup.rb
|
|
@@ -187,6 +186,10 @@ files:
|
|
|
187
186
|
- snippet_cli-0.2.1.gem
|
|
188
187
|
- snippet_cli-0.2.2.gem
|
|
189
188
|
- snippet_cli-0.2.3.gem
|
|
189
|
+
- snippet_cli-0.2.4.gem
|
|
190
|
+
- snippet_cli-0.2.6.gem
|
|
191
|
+
- snippet_cli-0.2.7.gem
|
|
192
|
+
- snippet_cli-0.2.8.gem
|
|
190
193
|
- snippet_cli.gemspec
|
|
191
194
|
homepage: https://github.com/ajmarkow/snippet_cli
|
|
192
195
|
licenses:
|
|
@@ -210,7 +213,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
210
213
|
- !ruby/object:Gem::Version
|
|
211
214
|
version: '0'
|
|
212
215
|
requirements: []
|
|
213
|
-
|
|
216
|
+
rubyforge_project:
|
|
217
|
+
rubygems_version: 2.7.6.2
|
|
214
218
|
signing_key:
|
|
215
219
|
specification_version: 4
|
|
216
220
|
summary: Allows you to add snippets to Espanso Config from CLI
|
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
|