raykit 0.0.475 → 0.0.477
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit/default_content.rb +218 -19
- 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
|
@@ -2,26 +2,225 @@ module Raykit
|
|
2
2
|
class DefaultContent
|
3
3
|
def self.gitignore
|
4
4
|
<<-GITIGNORE
|
5
|
+
# General
|
6
|
+
[Aa]rtifacts/
|
7
|
+
|
5
8
|
# Ruby
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
9
|
+
*.gem
|
10
|
+
*.rbc
|
11
|
+
/.config
|
12
|
+
/coverage/
|
13
|
+
/InstalledFiles
|
14
|
+
/pkg/
|
15
|
+
/spec/reports/
|
16
|
+
/spec/examples.txt
|
17
|
+
/test/tmp/
|
18
|
+
/test/version_tmp/
|
19
|
+
/tmp/
|
20
|
+
/.yardoc/
|
21
|
+
/_yardoc/
|
22
|
+
/doc/
|
23
|
+
/rdoc/
|
24
|
+
/.bundle/
|
25
|
+
/vendor/bundle
|
26
|
+
/lib/bundler/man/
|
27
|
+
.rvmrc
|
28
|
+
|
29
|
+
# Rust
|
30
|
+
/target/
|
31
|
+
Cargo.lock
|
32
|
+
**/*.rs.bk
|
33
|
+
/target
|
34
|
+
/Cargo.lock
|
35
|
+
|
36
|
+
# DotNet
|
37
|
+
*.rsuser
|
38
|
+
*.suo
|
39
|
+
*.user
|
40
|
+
*.userosscache
|
41
|
+
*.sln.docstates
|
42
|
+
*.txt
|
43
|
+
*.userprefs
|
44
|
+
BenchmarkDotNet.Artifacts/
|
45
|
+
[Dd]ebug/
|
46
|
+
[Dd]ebugPublic/
|
47
|
+
[Rr]elease/
|
48
|
+
[Rr]eleases/
|
49
|
+
x64/
|
50
|
+
x86/
|
51
|
+
[Aa][Rr][Mm]/
|
52
|
+
[Aa][Rr][Mm]64/
|
53
|
+
bld/
|
54
|
+
[Bb]in/
|
55
|
+
[Oo]bj/
|
56
|
+
[Ll]og/
|
57
|
+
[Aa]rtifacts/
|
58
|
+
.vs/
|
59
|
+
Generated\ Files/
|
60
|
+
[Tt]est[Rr]esult*/
|
61
|
+
[Bb]uild[Ll]og.*
|
62
|
+
*.VisualState.xml
|
63
|
+
TestResult.xml
|
64
|
+
[Dd]ebugPS/
|
65
|
+
[Rr]eleasePS/
|
66
|
+
dlldata.c
|
67
|
+
BenchmarkDotNet.Artifacts/
|
68
|
+
|
69
|
+
project.lock.json
|
70
|
+
project.fragment.lock.json
|
71
|
+
artifacts/
|
72
|
+
StyleCopReport.xml
|
73
|
+
*_i.c
|
74
|
+
*_p.c
|
75
|
+
*_h.h
|
76
|
+
*.ilk
|
77
|
+
*.meta
|
78
|
+
*.obj
|
79
|
+
*.iobj
|
80
|
+
*.pch
|
81
|
+
*.pdb
|
82
|
+
*.ipdb
|
83
|
+
*.pgc
|
84
|
+
*.pgd
|
85
|
+
*.rsp
|
86
|
+
*.sbr
|
87
|
+
*.tlb
|
88
|
+
*.tli
|
89
|
+
*.tlh
|
90
|
+
*.tmp
|
91
|
+
*.tmp_proj
|
92
|
+
*_wpftmp.csproj
|
93
|
+
*.log
|
94
|
+
*.vspscc
|
95
|
+
*.vssscc
|
96
|
+
.builds
|
97
|
+
*.pidb
|
98
|
+
*.svclog
|
99
|
+
*.scc
|
100
|
+
_Chutzpah*
|
101
|
+
ipch/
|
102
|
+
*.aps
|
103
|
+
*.ncb
|
104
|
+
*.opendb
|
105
|
+
*.opensdf
|
106
|
+
*.sdf
|
107
|
+
*.cachefile
|
108
|
+
*.VC.db
|
109
|
+
*.VC.VC.opendb
|
110
|
+
*.psess
|
111
|
+
*.vsp
|
112
|
+
*.vspx
|
113
|
+
*.sap
|
114
|
+
*.e2e
|
115
|
+
$tf/
|
116
|
+
*.gpState
|
117
|
+
_ReSharper*/
|
118
|
+
*.[Rr]e[Ss]harper
|
119
|
+
*.DotSettings.user
|
120
|
+
.JustCode
|
121
|
+
_TeamCity*
|
122
|
+
*.dotCover
|
123
|
+
.axoCover/*
|
124
|
+
!.axoCover/settings.json
|
125
|
+
*.coverage
|
126
|
+
*.coveragexml
|
127
|
+
_NCrunch_*
|
128
|
+
.*crunch*.local.xml
|
129
|
+
nCrunchTemp_*
|
130
|
+
*.mm.*
|
131
|
+
AutoTest.Net/
|
132
|
+
.sass-cache/
|
133
|
+
[Ee]xpress/
|
134
|
+
DocProject/buildhelp/
|
135
|
+
DocProject/Help/*.HxT
|
136
|
+
DocProject/Help/*.HxC
|
137
|
+
DocProject/Help/*.hhc
|
138
|
+
DocProject/Help/*.hhk
|
139
|
+
DocProject/Help/*.hhp
|
140
|
+
DocProject/Help/Html2
|
141
|
+
DocProject/Help/html
|
142
|
+
publish/
|
143
|
+
*.[Pp]ublish.xml
|
144
|
+
*.azurePubxml
|
145
|
+
*.pubxml
|
146
|
+
*.publishproj
|
147
|
+
PublishScripts/
|
148
|
+
*.nupkg
|
149
|
+
**/[Pp]ackages/*
|
150
|
+
!**/[Pp]ackages/build/
|
151
|
+
*.nuget.props
|
152
|
+
*.nuget.targets
|
153
|
+
csx/
|
154
|
+
*.build.csdef
|
155
|
+
ecf/
|
156
|
+
rcf/
|
157
|
+
AppPackages/
|
158
|
+
BundleArtifacts/
|
159
|
+
Package.StoreAssociation.xml
|
160
|
+
_pkginfo.txt
|
161
|
+
*.appx
|
162
|
+
*.[Cc]ache
|
163
|
+
# but keep track of directories ending in .cache
|
164
|
+
!*.[Cc]ache/
|
165
|
+
ClientBin/
|
166
|
+
~$*
|
167
|
+
*~
|
168
|
+
*.dbmdl
|
169
|
+
*.dbproj.schemaview
|
170
|
+
*.jfm
|
171
|
+
*.pfx
|
172
|
+
*.publishsettings
|
173
|
+
orleans.codegen.cs
|
174
|
+
**/wwwroot/lib/
|
175
|
+
Generated_Code/
|
176
|
+
_UpgradeReport_Files/
|
177
|
+
Backup*/
|
178
|
+
UpgradeLog*.XML
|
179
|
+
UpgradeLog*.htm
|
180
|
+
ServiceFabricBackup/
|
181
|
+
*.rptproj.bak
|
182
|
+
*.mdf
|
183
|
+
*.ldf
|
184
|
+
*.ndf
|
185
|
+
*.rdl.data
|
186
|
+
*.bim.layout
|
187
|
+
*.bim_*.settings
|
188
|
+
*.rptproj.rsuser
|
189
|
+
FakesAssemblies/
|
190
|
+
*.GhostDoc.xml
|
191
|
+
.ntvs_analysis.dat
|
192
|
+
node_modules/
|
193
|
+
*.plg
|
194
|
+
*.opt
|
195
|
+
*.vbw
|
196
|
+
**/*.HTMLClient/GeneratedArtifacts
|
197
|
+
**/*.DesktopClient/GeneratedArtifacts
|
198
|
+
**/*.DesktopClient/ModelManifest.xml
|
199
|
+
**/*.Server/GeneratedArtifacts
|
200
|
+
**/*.Server/ModelManifest.xml
|
201
|
+
_Pvt_Extensions
|
202
|
+
.paket/paket.exe
|
203
|
+
paket-files/
|
204
|
+
.fake/
|
205
|
+
.idea/
|
206
|
+
*.sln.iml
|
207
|
+
.cr/personal
|
208
|
+
__pycache__/
|
209
|
+
*.pyc
|
210
|
+
tools/**
|
211
|
+
!tools/packages.config
|
212
|
+
*.tss
|
213
|
+
*.jmconfig
|
214
|
+
*.btp.cs
|
215
|
+
*.btm.cs
|
216
|
+
*.odx.cs
|
217
|
+
*.xsd.cs
|
218
|
+
OpenCover/
|
219
|
+
ASALocalRun/
|
220
|
+
*.binlog
|
221
|
+
*.nvuser
|
222
|
+
.mfractor/
|
223
|
+
.localhistory/
|
25
224
|
GITIGNORE
|
26
225
|
end # def self.gitignore
|
27
226
|
end # class DefaultContent
|
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
|