makit 0.0.32 → 0.0.34

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7171c87f0672a845fabff8aafe834c249c5afc049b8b19b1617195db5d8f525d
4
- data.tar.gz: 18f8bced0cf82178693dd01b0cc91c38091fcec8f3dea8daf710a2ddff1eefa6
3
+ metadata.gz: 32fb22e98c7013114708e7ef5c16f51182b12fbec39f3fb4a512faad4f9902bf
4
+ data.tar.gz: 446b391b52752bac5a1c2430d577df0469abdef25491561949e11cfb9b65ede9
5
5
  SHA512:
6
- metadata.gz: caa6f2dc113c62bacba9634674b05a2b8161e914db135064acc150445bc27a2cd3715f58ceb1fa238e94096e557c99f29bd3555375e68fbd46391018bc3dc1ac
7
- data.tar.gz: a533113bac07e6ab8b0ce4834a7d2ec702d2a1b4312265103336d35849b6b26b2067139816a88eba5bae113dba4d25633747d31de5d623f0babb509953d44ffe
6
+ metadata.gz: 1e7a42ba80ead67d57506f01c572d44f8074caa8189581cf297494188d79dee3ba069b36fa243d0efa14bca852237bf62fa034bd38f4af65b36f104f5b2ceef1
7
+ data.tar.gz: dadd061294b8a071a4a83297f5296b1f55198f2e617dd9b6655e67057b5f1da7117bf0a780493a02ecc5f2f395f039adba571cd4157af37a369c8724a11ffff1
data/lib/makit/dotnet.rb CHANGED
@@ -17,11 +17,11 @@ module Makit
17
17
  end
18
18
  end
19
19
 
20
- def find_project(project_hint)
20
+ def self.find_project(project_hint)
21
21
  matches = []
22
22
  Dir.glob("**/*.csproj").each do |project_path|
23
- project_name = File.basename(project_path, ".csproj")
24
- if project_name.include?(project_hint)
23
+ #project_name = File.basename(project_path, ".csproj")
24
+ if project_path.include?(project_hint)
25
25
  matches << project_path
26
26
  end
27
27
  end
@@ -35,7 +35,7 @@ module Makit
35
35
 
36
36
  def self.add_package(project_path, package_name)
37
37
  if(!File.exist?(project_path))
38
- actual_project_path = find_project(project_path)
38
+ actual_project_path = Makit::DotNet::find_project(project_path)
39
39
  if(!File.exist?(actual_project_path))
40
40
  raise "Project #{project_path} does not exist".colorize(:red)
41
41
  else
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.32"
4
+ VERSION = "0.0.34"
5
5
 
6
6
  class Version
7
7
  # given an array of version strings, return the highest version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.32
4
+ version: 0.0.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow