raykit 0.0.468 → 0.0.470

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: ada348dbb3d7e03c616609130036a7ea47f6a6b7098073ca7fcb89c72fbd87ae
4
- data.tar.gz: f31985daf247a7872dd22e8574bd864911bb22f4829816562c838ed4fe6a4a44
3
+ metadata.gz: 58f2f51ae64b4e01957e95d9137b376277da475841970c05cfae502cc387e440
4
+ data.tar.gz: 80117a88f447f0bde522922e54dcb6c8c08fff382ae7ffd1aee08027d3b224ea
5
5
  SHA512:
6
- metadata.gz: 5e7bf3db5b69f11d8c234c2296b39da64b093be9a6173b86c4649b2510f92d7c595e540a052fde9924eecca96a767c1ee35d27cb3e2dddacc14405fad13b885d
7
- data.tar.gz: 40065e697fbe3b415d87e59f9e3122a4e7b7990a79b270e97c2ca3ad52bc8d16e4d9d0f7239920eb4f3774635cc5b4130f3c3bf86ade9abb04585c8e92f698c5
6
+ metadata.gz: fcf031ab001b1e6a91e3f377af916b6af2f58d4d6066c8c9b78c9b0f5e710b5157031dedb00718f80dd23995b7a6dd008b364f97c2aa70cf7c727178da0c7973
7
+ data.tar.gz: e9f14e573acc836ec6e08ae8dfb93ab7b9c8b556589dc83971dc66469cb58a483d050a0cd9049bd85cefc348258b236c071d82e29813f570bae5eff914cf8278
@@ -14,7 +14,7 @@ module Raykit
14
14
  end
15
15
  if (!has_msbuild)
16
16
  if (Dir.exist?(msbuild_path))
17
- puts " added #{msbuild_path} to PATH for msbuild"
17
+ #puts " added #{msbuild_path} to PATH for msbuild"
18
18
  ENV["PATH"] = ENV["PATH"] + ";#{msbuild_path}"
19
19
  end
20
20
  end
@@ -61,7 +61,13 @@ module Raykit
61
61
  end
62
62
  end
63
63
 
64
- @version = Raykit::Version.detect(@name, true) if version.length.zero?
64
+ if version.length.zero?
65
+ if defined?(VERSION)
66
+ @version = VERSION
67
+ else
68
+ @version = Raykit::Version.detect(@name, true)
69
+ end
70
+ end
65
71
 
66
72
  @repository = Raykit::Git::Repository.new(@remote)
67
73
  @values = Hash::new()
@@ -43,7 +43,7 @@ module Raykit
43
43
  end
44
44
  if verbose
45
45
  if version.length.positive?
46
- puts "version detected in #{filename}"
46
+ puts "dete in #{filename}"
47
47
  else
48
48
  puts "no version detected in #{filename}, regex #{regex.source}"
49
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raykit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.468
4
+ version: 0.0.470
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow