raykit 0.0.476 → 0.0.477
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/lib/raykit/git/directory.rb +5 -5
- data/lib/raykit.rb +5 -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: 88c4f9cfb61c1f0424f9f3a8f8909650ad00db858ef81c116a70b2c9b77d4d0a
|
|
4
|
+
data.tar.gz: dd6ed119c54f5116963d1d0b53c822163f449add8732930bb7817de3c0b8033f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b4548764c6ea9262d37019c57e48e3a8eea8435fa5b5e53c3badac869be044ae6a1181be9e962c765e87151ef2173ac0cf0604ab875988638bddcc03231eac2
|
|
7
|
+
data.tar.gz: 6a751a342dd588e1c02fcc8c170d4a9ca1fb636157e18331700f9b71d9ce5acef3ec7eafa4624ab996b9a0b33e6debae12829b10e77daa0a74430b266e1b1fb1
|
data/lib/raykit/git/directory.rb
CHANGED
|
@@ -206,11 +206,11 @@ module Raykit
|
|
|
206
206
|
constants.uniq
|
|
207
207
|
end
|
|
208
208
|
|
|
209
|
-
def setup
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
end
|
|
209
|
+
#def setup
|
|
210
|
+
# DEFAULT_SUBDIRECTORIES.each do |subdirectory|
|
|
211
|
+
# FileUtils.mkdir_p(subdirectory)
|
|
212
|
+
# end
|
|
213
|
+
#end
|
|
214
214
|
end # class Directory
|
|
215
215
|
end # module Git
|
|
216
216
|
end # module Raykit
|
data/lib/raykit.rb
CHANGED
|
@@ -34,7 +34,11 @@ MARKDOWN = Raykit::Markdown.new
|
|
|
34
34
|
Raykit::MsBuild::fix_msbuild_path
|
|
35
35
|
|
|
36
36
|
if RAYKIT_AUTO_SETUP
|
|
37
|
-
|
|
37
|
+
DEFAULT_SUBDIRECTORIES.each do |subdirectory|
|
|
38
|
+
puts " RAYKIT_AUTO_SETUP: creating #{subdirectory}" unless Dir.exist?(subdirectory)
|
|
39
|
+
FileUtils.mkdir_p(subdirectory) unless Dir.exist?(subdirectory)
|
|
40
|
+
end
|
|
41
|
+
puts " RAYKIT_AUTO_SETUP: creating .gitignore" unless File.exist?(".gitignore")
|
|
38
42
|
File.write(".gitignore", DEFAULT_GITIGNORE_CONTENT) unless File.exist?(".gitignore")
|
|
39
43
|
end
|
|
40
44
|
# include Raykit::TopLevel to make run method accessible from the global scope
|