snippet_cli 0.3.3 → 0.3.4
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 +1 -0
- data/lib/snippet_cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3af1891fae029016fe4e16ea86eb8a9b8d90558a7a8155a2460f05db576d7be9
|
4
|
+
data.tar.gz: 8271587e3e436a4295710175a65c5953096379a20637e02bddca31648a4f814d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21ea01ea0d8fb71ff6299c337c039655edd6aa3c9a91c9e3a375cd83ed85467f1b4ff32e898eee933a2d7d74768c64bf91e14e5c60f53fa8386fb3fc5085bd1c
|
7
|
+
data.tar.gz: '0954726dd0427ef698bc56689315d45a55affe85f3f1d7e87517cf3bf9fd3c1cc06c7a3934db52039798386f5290a592bed92e582393227d625d3ee16b744773'
|
data/lib/Setup.rb
CHANGED
@@ -65,6 +65,7 @@ class Setup
|
|
65
65
|
if File.exist?("#{ENV["HOME"]}\\snippet_cli_config.txt") then
|
66
66
|
|
67
67
|
else
|
68
|
+
File.new("#{ENV["HOME"]}\\snippet_cli_config.txt", "w+")
|
68
69
|
File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "a") { |f| f.write "NAME = #{self.user_name}\n"}
|
69
70
|
File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "a") { |f| f.write "OS = #{self.user_os}\n"}
|
70
71
|
File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "a") { |f| f.write "STORAGE = #{self.user_storage}\n"}
|
data/lib/snippet_cli/version.rb
CHANGED