card 1.105.2.pre1 → 1.105.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cardio/version.rb +2 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a96757584caadc22d04248602d0ebbb9185feef79f2e1e674cac585efc867154
|
4
|
+
data.tar.gz: de1483f559b35a2b6e3da653b8dc911b2b44245b94d7c7791c0e72d8d88bd4fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a085f0940b3af5c235568a29bfebe0fa3295c610e17fd71303ccbc9bee14a124fe4bd36b8a170779518e3653b53a406ed41c71c5eace1cbc62d50a664afa183
|
7
|
+
data.tar.gz: 22c86dad3e3c21c5e7a40e18f2ed92ae712daa9f26ad0109d8b96b00412172cea7c735a0422c01b914b14bdcc8df77c34adb89b9744a448c51c1f992c4baaa7e
|
data/lib/cardio/version.rb
CHANGED
@@ -10,15 +10,13 @@ module Cardio
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def card_release
|
13
|
-
@card_release ||= [1, minor, point
|
13
|
+
@card_release ||= [1, minor, point].compact.map(&:to_s).join "."
|
14
14
|
end
|
15
15
|
|
16
16
|
private
|
17
17
|
|
18
18
|
def bits
|
19
|
-
release.split(".").map
|
20
|
-
bit.match?(/^\d/) ? bit.to_i : bit
|
21
|
-
end
|
19
|
+
release.split(".").map(&:to_i)
|
22
20
|
end
|
23
21
|
|
24
22
|
def major
|
@@ -32,10 +30,6 @@ module Cardio
|
|
32
30
|
def point
|
33
31
|
bits[2]
|
34
32
|
end
|
35
|
-
|
36
|
-
def pre
|
37
|
-
bits[3]
|
38
|
-
end
|
39
33
|
end
|
40
34
|
end
|
41
35
|
end
|