raykit 0.0.469 → 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: 281588be0c6c3cdb7a1800b47eff7cd62bb1c74b15b2ec9322e752672d45733f
4
- data.tar.gz: 0716bab9794eadb1c17a5c088a8a1969ca8a11b1a509b448c180883f9baea56c
3
+ metadata.gz: 58f2f51ae64b4e01957e95d9137b376277da475841970c05cfae502cc387e440
4
+ data.tar.gz: 80117a88f447f0bde522922e54dcb6c8c08fff382ae7ffd1aee08027d3b224ea
5
5
  SHA512:
6
- metadata.gz: 4d9d43f6624b6e1580f5bae3538a8176fb829fa52b59f9d3fe36515bcd473d0523dab3a942d6e73c18074db08a1ae84e14648a693919ffaad40c76c47b4a3f31
7
- data.tar.gz: a8303f59bb6ca0adf6ef11aaea7fe5a5fc12920d674704eddd1ba5f7c8839851fe982cab7ce041a4467dfef256cc0f3316b0a575dcf53f5f40ca901fd7fa1a60
6
+ metadata.gz: fcf031ab001b1e6a91e3f377af916b6af2f58d4d6066c8c9b78c9b0f5e710b5157031dedb00718f80dd23995b7a6dd008b364f97c2aa70cf7c727178da0c7973
7
+ data.tar.gz: e9f14e573acc836ec6e08ae8dfb93ab7b9c8b556589dc83971dc66469cb58a483d050a0cd9049bd85cefc348258b236c071d82e29813f570bae5eff914cf8278
@@ -61,10 +61,12 @@ module Raykit
61
61
  end
62
62
  end
63
63
 
64
- if version.length.zero? && defined?(VERSION) && VERSION.is_a?(String) && VERSION.length > 0
65
- @version = VERSION
66
- else
67
- @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
68
70
  end
69
71
 
70
72
  @repository = Raykit::Git::Repository.new(@remote)
@@ -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.469
4
+ version: 0.0.470
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow