raykit 0.0.483 → 0.0.485

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -21
  3. data/README.md +20 -20
  4. data/bin/raykit +6 -6
  5. data/lib/raykit/auto_setup.rb +43 -43
  6. data/lib/raykit/command.rb +341 -341
  7. data/lib/raykit/conan/buildinfo.rb +69 -69
  8. data/lib/raykit/conanpackage.rb +49 -49
  9. data/lib/raykit/console.rb +272 -272
  10. data/lib/raykit/default_content.rb +227 -227
  11. data/lib/raykit/dir.rb +49 -49
  12. data/lib/raykit/dotnet.rb +176 -174
  13. data/lib/raykit/environment.rb +109 -109
  14. data/lib/raykit/filesystem.rb +34 -34
  15. data/lib/raykit/git/commit.rb +16 -16
  16. data/lib/raykit/git/directory.rb +216 -216
  17. data/lib/raykit/git/files.rb +46 -46
  18. data/lib/raykit/git/repositories.rb +89 -89
  19. data/lib/raykit/git/repository.rb +244 -244
  20. data/lib/raykit/installer.rb +17 -17
  21. data/lib/raykit/log.rb +80 -80
  22. data/lib/raykit/logevent.rb +49 -49
  23. data/lib/raykit/logging.rb +57 -57
  24. data/lib/raykit/markdown.rb +21 -21
  25. data/lib/raykit/msbuild.rb +54 -54
  26. data/lib/raykit/nugetpackage.rb +54 -54
  27. data/lib/raykit/nunit.rb +13 -13
  28. data/lib/raykit/project.rb +339 -339
  29. data/lib/raykit/rake.rb +39 -39
  30. data/lib/raykit/runner.rb +42 -42
  31. data/lib/raykit/secrets.rb +38 -38
  32. data/lib/raykit/sourceImport.rb +74 -74
  33. data/lib/raykit/sourceImports.rb +43 -43
  34. data/lib/raykit/string.rb +18 -18
  35. data/lib/raykit/tasks.rb +99 -99
  36. data/lib/raykit/text.rb +32 -32
  37. data/lib/raykit/timer.rb +31 -31
  38. data/lib/raykit/version.rb +103 -103
  39. data/lib/raykit/vstest.rb +24 -24
  40. data/lib/raykit/wt.rb +28 -28
  41. data/lib/raykit/zip.rb +73 -73
  42. data/lib/raykit.rb +125 -125
  43. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd6dad5104a656e2daede1754d1b9dd69d43c3e4f42961461d29a16a22ab629a
4
- data.tar.gz: 6d05aa5022d3461dd26326f02365846c7235c39db10da79d8f813aea61d6c3ae
3
+ metadata.gz: fa33898c3f0d9c99caf1f5f760a0fcd6f44f190a75cf4b3a9d1cb202656772ce
4
+ data.tar.gz: cb65f29a8ed1b0205288f34e7cb771f5fa7217450a4f95d0cf6db2e801626456
5
5
  SHA512:
6
- metadata.gz: dfb064b4cc7fc23f0f72a134f7f47d94588374230ec3cd48e53b419ded64cfc2738f35dee42ad07057a7a988ec6a9c85a73a04e60d1bbd369c52aab57c5e8e66
7
- data.tar.gz: 7d0e288e2aa6e47c67c0419cc62a410294c9a74e3f2a11f4d1058166ed07afcd5bfa4e65a0c2d038c121999671f8f48d9becbe1ce6b42bc16a4d5aef0dc109a2
6
+ metadata.gz: aaa9c6d18eb8d6ac51dd86d9b46d533791857073093a02fb447924cd547fe94172d4ac442bc1e5dab12158852c35ffe8838445e28f06fb545acb5d0d9b909b32
7
+ data.tar.gz: d69203133620a781106fb5080861d0d1a305449ca5f5c89593ee40690bda082ca16b0de3f7cb35850617d1f7835410c7456d08db92390eb3444952145753a894
data/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2019 Louis Parslow
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Louis Parslow
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,21 +1,21 @@
1
- # raykit
2
-
3
- ruby gem supporting rake ci/cd tasks
4
-
5
- ## raykit console application
6
-
7
- # TODO
8
- - consider using https://github.com/tj/terminal-table to display name value pairs
9
-
10
- ```secrets.txt
11
- {"test":"abc123XYZ"}
12
- ```
13
-
14
- ```ruby
15
- ENV['RAYKIT_SECRETS_PATH'] = SOME_VALID_FILENAME
16
- if (SECRETS.has_key?("test"))
17
- puts "found SECRETS[\"test\"]"
18
- else
19
- puts "did not find SECRETS[\"test\"]"
20
- end
1
+ # raykit
2
+
3
+ ruby gem supporting rake ci/cd tasks
4
+
5
+ ## raykit console application
6
+
7
+ # TODO
8
+ - consider using https://github.com/tj/terminal-table to display name value pairs
9
+
10
+ ```secrets.txt
11
+ {"test":"abc123XYZ"}
12
+ ```
13
+
14
+ ```ruby
15
+ ENV['RAYKIT_SECRETS_PATH'] = SOME_VALID_FILENAME
16
+ if (SECRETS.has_key?("test"))
17
+ puts "found SECRETS[\"test\"]"
18
+ else
19
+ puts "did not find SECRETS[\"test\"]"
20
+ end
21
21
  ```
data/bin/raykit CHANGED
@@ -1,6 +1,6 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require_relative '../lib/raykit'
5
- console = Raykit::Console.new
6
- console.run
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require_relative '../lib/raykit'
5
+ console = Raykit::Console.new
6
+ console.run
@@ -1,43 +1,43 @@
1
- module Raykit
2
- class AutoSetup
3
- def self.run
4
- # Default subdirectories
5
- DEFAULT_SUBDIRECTORIES.each do |subdirectory|
6
- puts " RAYKIT_AUTO_SETUP: creating #{subdirectory}" unless Dir.exist?(subdirectory)
7
- FileUtils.mkdir_p(subdirectory) unless Dir.exist?(subdirectory)
8
- end
9
- puts " RAYKIT_AUTO_SETUP: creating .gitignore" unless File.exist?(".gitignore")
10
-
11
- # Default .gitignore
12
- File.write(".gitignore", DEFAULT_GITIGNORE_CONTENT) unless File.exist?(".gitignore")
13
-
14
- # C# class libs
15
- if (defined?(RAYKIT_CSHARPCLASSLIBS))
16
- RAYKIT_CSHARPCLASSLIBS.each do |csharpclasslib|
17
- Raykit::DotNet::initialize_csharp_razorclasslib csharpclasslib
18
- end
19
- end
20
-
21
- # Razor class libs
22
- if (defined?(RAYKIT_RAZORCLASSLIBS))
23
- RAYKIT_RAZORCLASSLIBS.each do |razorclasslib|
24
- Raykit::DotNet::initialize_csharp_razorclasslib razorclasslib
25
- end
26
- end
27
-
28
- # Blazor server apps
29
- if (defined?(RAYKIT_BLAZORSERVERAPPS))
30
- RAYKIT_BLAZORSERVERAPPS.each do |app|
31
- Raykit::DotNet::initialize_csharp_blazorserver app
32
- end
33
- end
34
-
35
- # Blazor server example apps
36
- if (defined?(RAYKIT_BLAZORSERVER_EXAMPLE_APPS))
37
- RAYKIT_BLAZORSERVER_EXAMPLE_APPS.each do |app|
38
- Raykit::DotNet::initialize_csharp_blazorserver_example app
39
- end
40
- end
41
- end
42
- end # class AutoSetup
43
- end # module Raykit
1
+ module Raykit
2
+ class AutoSetup
3
+ def self.run
4
+ # Default subdirectories
5
+ DEFAULT_SUBDIRECTORIES.each do |subdirectory|
6
+ puts " RAYKIT_AUTO_SETUP: creating #{subdirectory}" unless Dir.exist?(subdirectory)
7
+ FileUtils.mkdir_p(subdirectory) unless Dir.exist?(subdirectory)
8
+ end
9
+ puts " RAYKIT_AUTO_SETUP: creating .gitignore" unless File.exist?(".gitignore")
10
+
11
+ # Default .gitignore
12
+ File.write(".gitignore", DEFAULT_GITIGNORE_CONTENT) unless File.exist?(".gitignore")
13
+
14
+ # C# class libs
15
+ if (defined?(RAYKIT_CSHARPCLASSLIBS))
16
+ RAYKIT_CSHARPCLASSLIBS.each do |csharpclasslib|
17
+ Raykit::DotNet::initialize_csharp_razorclasslib csharpclasslib
18
+ end
19
+ end
20
+
21
+ # Razor class libs
22
+ if (defined?(RAYKIT_RAZORCLASSLIBS))
23
+ RAYKIT_RAZORCLASSLIBS.each do |razorclasslib|
24
+ Raykit::DotNet::initialize_csharp_razorclasslib razorclasslib
25
+ end
26
+ end
27
+
28
+ # Blazor server apps
29
+ if (defined?(RAYKIT_BLAZORSERVERAPPS))
30
+ RAYKIT_BLAZORSERVERAPPS.each do |app|
31
+ Raykit::DotNet::initialize_csharp_blazorserver app
32
+ end
33
+ end
34
+
35
+ # Blazor server example apps
36
+ if (defined?(RAYKIT_BLAZORSERVER_EXAMPLE_APPS))
37
+ RAYKIT_BLAZORSERVER_EXAMPLE_APPS.each do |app|
38
+ Raykit::DotNet::initialize_csharp_blazorserver_example app
39
+ end
40
+ end
41
+ end
42
+ end # class AutoSetup
43
+ end # module Raykit