makit 0.0.87 → 0.0.89

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2fe61fe65dd089ee07026dfe136f690b829aae9331e6fbc301cce10957070d61
4
- data.tar.gz: a66b470fe61d06eb477276324172b5cf6c3b4f872ce395ad88f9a3f6b01eec89
3
+ metadata.gz: 5b5853dc899d487a2a607460403df87b67b911a304ecbe15fc66b664825f847b
4
+ data.tar.gz: 67881e9f872d58ab24e112eacd3217fc43bbb64ee6f784301d2d07bbdadbdfe0
5
5
  SHA512:
6
- metadata.gz: 1a795add559deda8c20131b881cfa412d7456e456207caddc26eade41197d616302bf7a2eeb3f48d9154fbedf707ff4ab7a5042a4ac4df989fe367a4b2942505
7
- data.tar.gz: 1bd3dba59a83fd398876f61690281805370d053fbe295fc9e1dc17efee1d066ae0c26848d2a28ca1e4c46de69eb66bed62a8af9289a387352c13aed4d85cd1a9
6
+ metadata.gz: 66af0717456bb44764b885cca61b0e59791bccf4916719b90fd90fa1ea2e3665207172ec9c9152dd2e74367195281b8555d63d792b494856c1ccae664eb6d64f
7
+ data.tar.gz: 487ea0eb75b7883a19c86765e335845478e8f459b14ac586ad96e8c20ee1f8364071da5010f45ec047523d5cf98440c0358fd1404ed3b1a7e82ea85e0c513f3f
@@ -25,6 +25,7 @@ module Makit
25
25
  ONEDRIVE = File.join(Dir.home, "OneDrive")
26
26
  ONEDRIVE_NUGET_SOURCE = File.join(ONEDRIVE, "code", "artifacts", "nuget")
27
27
  ONEDRIVE_CONSOLE_SOURCE = File.join(ONEDRIVE, "code", "artifacts", "console")
28
+ ONEDRIVE_INSTALLER_SOURCE = File.join(ONEDRIVE, "code", "artifacts", "installer")
28
29
  CURRENT = Dir.pwd
29
30
  LOCAL_APPLICATION_DATA = File.join(HOME, "AppData", "Local")
30
31
  #Rake.application.init
@@ -50,6 +50,22 @@ class String
50
50
  end
51
51
  end
52
52
 
53
+ def show(args = nil)
54
+ if args.nil?
55
+ command = self
56
+ Makit::RUNNER.show(command)
57
+ else
58
+ command = self
59
+ request = Makit::RUNNER.parse_args(command)
60
+ if args.is_a?(Hash)
61
+ args.each do |key, value|
62
+ request.send("#{key}=", value)
63
+ end
64
+ end
65
+ Makit::RUNNER.show(request)
66
+ end
67
+ end
68
+
53
69
  def cache_try()
54
70
  command = self
55
71
  Makit::RUNNER.cache_try(Makit::RUNNER::parse_command_request(command))
data/lib/makit/tasks.rb CHANGED
@@ -109,6 +109,12 @@ task :update do
109
109
  end
110
110
  end
111
111
 
112
+ desc "Upgrade the nuget packages to the latest available version"
113
+ task :update_nuget_packages do
114
+ "dotnet tool install --global dotnet-outdated-tool".try
115
+ "dotnet outdated --upgrade:Auto .".try
116
+ end
117
+
112
118
  # Register the at_exit hook for cleanup
113
119
  at_exit do
114
120
  #puts "at_exit in tasks.rb...."
data/lib/makit/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Makit
4
- VERSION = "0.0.87"
4
+ VERSION = "0.0.89"
5
5
 
6
6
  class Version
7
7
  # given an array of version strings, return the highest version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.87
4
+ version: 0.0.89
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-05-06 00:00:00.000000000 Z
11
+ date: 2025-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp