raykit 0.0.327 → 0.0.328
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/msbuild.rb +13 -0
- data/lib/raykit/project.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: 45e4b3cd54805e264b6ffe47290c40884e99e6b770dc52c37b4360f3c7124917
         | 
| 4 | 
            +
              data.tar.gz: b37f22b03a843fc2f2a233dd71c5e3fc129c920122729a0dcc8762deb92e3eba
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 6ab0a983ce938406d339197d5ce223c536bc98b5956128005ee265e238be6efa000a8b6e55d9000095d1e24e83f9f2a1694c78283baa988e719f916bf3e81a8c
         | 
| 7 | 
            +
              data.tar.gz: cbbb157447b77568757295e0aec9c7ef7dd1dc2ae27b38dc706d88e8ead29ae7780abd71ca6b8151b17524fe3d137917e93346474598512a7c39edb76ebe3649
         | 
    
        data/lib/raykit/msbuild.rb
    CHANGED
    
    | @@ -19,5 +19,18 @@ module Raykit | |
| 19 19 | 
             
                  end
         | 
| 20 20 | 
             
                  ""
         | 
| 21 21 | 
             
                end
         | 
| 22 | 
            +
             | 
| 23 | 
            +
                def self.msbuild_2019_path
         | 
| 24 | 
            +
                  ["2019/Enterprise/MSBuild/Current/Bin",
         | 
| 25 | 
            +
                   "2019/Professional/MSBuild/Current/Bin",
         | 
| 26 | 
            +
                   "2019/Community/MSBuild/Current/Bin"].each do |relative_path|
         | 
| 27 | 
            +
                    ["C:/Program Files/Microsoft Visual Studio/",
         | 
| 28 | 
            +
                     "C:/Program Files (x86)/Microsoft Visual Studio/"].each do |prog_path|
         | 
| 29 | 
            +
                      path = "#{prog_path}#{relative_path}"
         | 
| 30 | 
            +
                      return path if Dir.exist?(path)
         | 
| 31 | 
            +
                    end
         | 
| 32 | 
            +
                  end
         | 
| 33 | 
            +
                  ""
         | 
| 34 | 
            +
                end
         | 
| 22 35 | 
             
              end
         | 
| 23 36 | 
             
            end
         | 
    
        data/lib/raykit/project.rb
    CHANGED
    
    | @@ -221,7 +221,7 @@ module Raykit | |
| 221 221 | 
             
                end
         | 
| 222 222 |  | 
| 223 223 | 
             
                def commit(commit_message)
         | 
| 224 | 
            -
                  warn "[DEPRECATION] 'commit_message_filename' is  | 
| 224 | 
            +
                  warn "[DEPRECATION] 'commit_message_filename' is deprecated. Use a run command for better transparency."
         | 
| 225 225 | 
             
                  Dir.chdir(@directory) do
         | 
| 226 226 | 
             
                    if File.exist?(".gitignore")
         | 
| 227 227 | 
             
                      status = `git status`
         |