fastlane-plugin-rome 0.3.4 → 0.3.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8359b925a29f887cc062df11e63fbe79498e992a42e262005f3a1b9d19fec100
|
4
|
+
data.tar.gz: 42d1dc1e6499d934606d53fe3d8307b079d7b23e9b12f8e9c59faeab229ba2ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99dc9ea1381d4b8ddcdcccf42c410fc540472c645fac06e5512f599dfecc361b0a048146a57e603ad7aad3999747859c4bf8076d2ab73e0325fd2b2a59be2a19
|
7
|
+
data.tar.gz: 83bcfa0d8bd507b166e31fe3bf3f69f36eea566aad4978da282bc81ed98ef27a182bec5eb65121b2178e0d4f4bfd497c03f2d4df6cd7b768a848261ea45ebd88
|
@@ -38,12 +38,22 @@ module Fastlane
|
|
38
38
|
version = Actions.sh("#{binary_path} --version") # i.e. 0.12.0.31 - Romam uno die non fuisse conditam.
|
39
39
|
version_number = version.split(' - ')[0]
|
40
40
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
41
|
+
return version_is_greater_or_equal(version_number, minimum_version)
|
42
|
+
end
|
43
|
+
|
44
|
+
def self.version_is_greater_or_equal(lhs_version, rhs_version)
|
45
|
+
|
46
|
+
lhs_parts = lhs_version.split('.')
|
47
|
+
rhs_parts = rhs_version.split('.')
|
48
|
+
|
49
|
+
for i in 0..lhs_parts.length do
|
50
|
+
part = lhs_parts[i] || "0"
|
51
|
+
min_part = rhs_parts[i] || "0"
|
52
|
+
|
53
|
+
if part.to_i > min_part.to_i
|
54
|
+
return true
|
55
|
+
elsif part.to_i == min_part.to_i
|
56
|
+
else part.to_i < min_part.to_i
|
47
57
|
return false
|
48
58
|
end
|
49
59
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-rome
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- François Benaiteau
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-12-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pry
|