snippet_cli 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Setup.rb +5 -5
- data/lib/snippet_cli/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 824191e78e405fdce74b27aa579df3370f9e5548c74b209e06b838194d5ac73f
|
4
|
+
data.tar.gz: 809b52ad87d9fc1c293bab6759a7d1140d132f052d19a60398c9d82f6d1a5035
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e278a7d752385f92386af8b2fb7e7f765f53ea533a5c6a7ddbbee9f3569ff728a59a5bfce82be150a693ff027c25a56a4cc55ae151549fdf8c4fe8e83385d1bb
|
7
|
+
data.tar.gz: d760144e6e3e21eca03cc95a83775969634c33aa4ef1d58b02ef445f5ca5db8ca981512bd8fc1529bbb0930b54b9c39a32e364a8656d8f062170d1f984dc441c
|
data/lib/Setup.rb
CHANGED
@@ -62,13 +62,13 @@ class Setup
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def generate_config()
|
65
|
-
if File.exist?("#{ENV["HOME"]}/snippet_cli_config.txt") then
|
65
|
+
if File.exist?("#{ENV["HOME"]}/Library/Preferences/snippet_cli_config.txt") then
|
66
66
|
|
67
67
|
else
|
68
|
-
File.open("#{ENV["HOME"]}/snippet_cli_config.txt", "a") { |f| f.write "NAME = #{self.user_name}\n"}
|
69
|
-
File.open("#{ENV["HOME"]}/snippet_cli_config.txt", "a") { |f| f.write "OS = #{self.user_os}\n"}
|
70
|
-
File.open("#{ENV["HOME"]}/snippet_cli_config.txt", "a") { |f| f.write "STORAGE = #{self.user_storage}\n"}
|
71
|
-
File.open("#{ENV["HOME"]}/snippet_cli_config.txt", "a") { |f| f.write "CONFIG_PRESENT = TRUE\n"}
|
68
|
+
File.open("#{ENV["HOME"]}/Library/Preferences/snippet_cli_config.txt", "a") { |f| f.write "NAME = #{self.user_name}\n"}
|
69
|
+
File.open("#{ENV["HOME"]}/Library/Preferences/snippet_cli_config.txt", "a") { |f| f.write "OS = #{self.user_os}\n"}
|
70
|
+
File.open("#{ENV["HOME"]}/Library/Preferences/snippet_cli_config.txt", "a") { |f| f.write "STORAGE = #{self.user_storage}\n"}
|
71
|
+
File.open("#{ENV["HOME"]}/Library/Preferences/snippet_cli_config.txt", "a") { |f| f.write "CONFIG_PRESENT = TRUE\n"}
|
72
72
|
end
|
73
73
|
end
|
74
74
|
end
|
data/lib/snippet_cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
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.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AJ Markow
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2021-11-11 00:00:00.000000000 Z
|
@@ -212,7 +212,7 @@ metadata:
|
|
212
212
|
homepage_uri: https://github.com/ajmarkow/snippet_cli
|
213
213
|
source_code_uri: https://github.com/ajmarkow/snippet_cli
|
214
214
|
changelog_uri: https://github.com/ajmarkow/snippet_cli
|
215
|
-
post_install_message:
|
215
|
+
post_install_message:
|
216
216
|
rdoc_options: []
|
217
217
|
require_paths:
|
218
218
|
- lib
|
@@ -227,9 +227,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
227
|
- !ruby/object:Gem::Version
|
228
228
|
version: '0'
|
229
229
|
requirements: []
|
230
|
-
rubyforge_project:
|
230
|
+
rubyforge_project:
|
231
231
|
rubygems_version: 2.7.6.2
|
232
|
-
signing_key:
|
232
|
+
signing_key:
|
233
233
|
specification_version: 4
|
234
234
|
summary: Allows you to add snippets to Espanso Config from CLI
|
235
235
|
test_files: []
|