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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cardio/version.rb +2 -8
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e92bf5b88627c26e327cb956125fe9df65de294fe0aae868fb13a605e50f620a
4
- data.tar.gz: bc64d68bd8794b95c52418ff909d82cfe3bc728511ed02ea95d4bbc5b033ea85
3
+ metadata.gz: a96757584caadc22d04248602d0ebbb9185feef79f2e1e674cac585efc867154
4
+ data.tar.gz: de1483f559b35a2b6e3da653b8dc911b2b44245b94d7c7791c0e72d8d88bd4fa
5
5
  SHA512:
6
- metadata.gz: 75585983fea5b86c52bfcb60c1bf322bf43da8484bc3dc86fbfb50f44d717ac2007493fac65b34a6e1ecfc394355ee8b239b5934e86cb41d11142693fcc70fc6
7
- data.tar.gz: 11bb031892444992652da895f60c0bc0a8b33188372e1dc5665519b6133014d460940a397d5dc83136073cb9f198f9c028f5e5bc969d8e1a6ba2dc646f890357
6
+ metadata.gz: 3a085f0940b3af5c235568a29bfebe0fa3295c610e17fd71303ccbc9bee14a124fe4bd36b8a170779518e3653b53a406ed41c71c5eace1cbc62d50a664afa183
7
+ data.tar.gz: 22c86dad3e3c21c5e7a40e18f2ed92ae712daa9f26ad0109d8b96b00412172cea7c735a0422c01b914b14bdcc8df77c34adb89b9744a448c51c1f992c4baaa7e
@@ -10,15 +10,13 @@ module Cardio
10
10
  end
11
11
 
12
12
  def card_release
13
- @card_release ||= [1, minor, point, pre].compact.map(&:to_s).join "."
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 do |bit|
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.105.2.pre1
4
+ version: 1.105.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen