makit 0.0.41 → 0.0.42

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: 82dcdeebe8b2df25b62196b53214eac4d8d78dd0e7145e2e87f8c319ac91a4c2
4
- data.tar.gz: 89691658b0f60c9be9c347247f57bebf54e488e43a1431af1a7ba8f7dd3b0575
3
+ metadata.gz: dc46b26aae5b3712b7befd4f96d2f535e850ea1f8952f37ac50714ecc4407870
4
+ data.tar.gz: 10679ea030bf2cf9ce6a78b6bdbb1122cf566bfc4a6b5925b410c5534dd2fd09
5
5
  SHA512:
6
- metadata.gz: 63e01689bade791c8646cc529e10b50847a373755e58b26116ccd1a4d7c41ed3c6989cd01016aa36075155740b4fc6695b86e1b320fd5ac5c910e09383d9b654
7
- data.tar.gz: '079fb81a96385491778d9f935307c1e3c6e1f32281be5cc5bf5619813553e4ddb1b8917b92e2ca2bbce4748abde6155978fe8ea81de6e9c304211485129d9ea5'
6
+ metadata.gz: 4b8ce7e6e66206469bbcf6f795799d14d67400c1e3cee8fc47121ce9df692b16bbe981c5450ef4a053a1eff6166cf82f098bbc1d78b49c84b5511fdba2074f7e
7
+ data.tar.gz: ced613b8481056626e4ab05c28abf029ea241ecde066f3950658154a6e80c234d33f959f3d8a5b08ae203f337f712ca146e26163ec2f01199ebb4fd647c8b76c
data/lib/makit/dotnet.rb CHANGED
@@ -10,7 +10,7 @@ module Makit
10
10
 
11
11
  def self.new_project(template, name, output, args = "")
12
12
  if Dir.exist? output
13
- puts " dotnet project ".colorize(:grey) + "#{name}".colorize(:green)
13
+ puts " "#{name} project exists".colorize(:gey)
14
14
  else
15
15
  "dotnet new #{template} --name #{name} --output #{output} #{args}".run
16
16
  end
@@ -45,7 +45,7 @@ module Makit
45
45
  if (!project_content.include?("\"#{package_name}\""))
46
46
  "dotnet add #{project_path} package #{package_name}".run
47
47
  else
48
- #puts " package ".colorize(:grey) + "#{package_name}".colorize(:yellow) + " is in ".colorize(:grey) + "#{project_path}".colorize(:yellow)
48
+ puts " #{project_path} has package #{package_name}".colorize(:grey)
49
49
  end
50
50
  end
51
51
 
@@ -74,7 +74,8 @@ module Makit
74
74
  end
75
75
  project_content = File.read(project_path)
76
76
  if (project_content.include?(File.basename(reference_path)))
77
- puts " reference ".colorize(:grey) + "#{reference_path}".colorize(:yellow) + " is in ".colorize(:grey) + "#{project_path}".colorize(:yellow)
77
+ puts " #{project_path} references #{reference_path}".colorize(:grey)
78
+ #puts " reference ".colorize(:grey) + "#{reference_path}".colorize(:yellow) + " is in ".colorize(:grey) + "#{project_path}".colorize(:yellow)
78
79
  else
79
80
  "dotnet add #{project_path} reference #{reference_path}".run
80
81
  end
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.41"
4
+ VERSION = "0.0.42"
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.41
4
+ version: 0.0.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow