run_cl 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ class RunValidator < ActiveModel::Validator
13
13
  def valid_run? record, attribute
14
14
  if run = record.send(attribute).presence
15
15
  record.send("#{attribute}=", (( run = run.match(/^(\d+)[^\d*](\d+)[^\d*](\d+)[^\d*](\d|k)|(\d+)[^\d*](\d|k)|(\d+k)|(\d+)$/i).to_s ) =~ /\.|\-/ ? run.gsub!(/\.|\-/, '') : run))
16
- RunCl::Run.check_run record.send(attribute).chop, record.send(attribute).last
16
+ Run.check_run record.send(attribute).chop, record.send(attribute).last
17
17
  else
18
18
  false
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module RunCl
2
- VERSION = "1.0.16"
2
+ VERSION = "1.0.17"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 16
9
- version: 1.0.16
8
+ - 17
9
+ version: 1.0.17
10
10
  platform: ruby
11
11
  authors:
12
12
  - mespina