snippet_cli 0.3.5 → 0.3.6
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 +4 -4
- 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: 9e25141ab39fae936abcf0a874788babb6c1221d7ca3b9f7c825b9f8509e5838
|
4
|
+
data.tar.gz: e7349f468d60d572ea3f996f9c8840e36e00912e73d5554a5cbf115689eed275
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df7918fc45a58b683e9a39dbeacb5b7d55ce7ab360d6885d6ae5b942ed8b74b3c09a95dcd525b6819dff7560a3170f9122cd48ad2ce6aef43de30470351ac23f
|
7
|
+
data.tar.gz: 92fe9fef37c4ac6224f97bfaf72a61d10076bc2f64e91a319b9fc67a0798dc00947712f2bc59dfb257d10885ffed3bdf0fbc82fee724947ed7885a73bdcdab1c
|
data/lib/Setup.rb
CHANGED
@@ -67,10 +67,10 @@ class Setup
|
|
67
67
|
else
|
68
68
|
FileUtils.cd("#{ENV["HOME"]}")
|
69
69
|
FileUtils.touch("#{ENV["HOME"]}\\snippet_cli_config.txt")
|
70
|
-
File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "
|
71
|
-
File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "
|
72
|
-
File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "
|
73
|
-
File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "
|
70
|
+
File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "w") { |f| f.write "NAME = #{self.user_name}\n"}
|
71
|
+
File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "w") { |f| f.write "OS = #{self.user_os}\n"}
|
72
|
+
File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "w") { |f| f.write "STORAGE = #{self.user_storage}\n"}
|
73
|
+
File.open("#{ENV["HOME"]}\\snippet_cli_config.txt", "w") { |f| f.write "CONFIG_PRESENT = TRUE\n"}
|
74
74
|
end
|
75
75
|
end
|
76
76
|
end
|
data/lib/snippet_cli/version.rb
CHANGED