ae_easy-qa 0.0.4 → 0.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 363c9d9b41cd90e575c4f64e77c044f71ec0e9785e71a69659150ff215411e1f
4
- data.tar.gz: 5e236351848333d7634534634d77b8f12068a972c20d1f9a592378570a302639
3
+ metadata.gz: febdd0bea00e94dc6dc192aed9f91816c0bf0460dce74f88ec8ff72bf5677846
4
+ data.tar.gz: 5611aae1a6bcf50c4a9282643e44bdbeb5343410dc8b8c4b0001660c5eeaf82f
5
5
  SHA512:
6
- metadata.gz: 3d1e88121ee00124767981264022b66271a5aaa3ccbaf74e0518d201e7c1bae5b1bf279c931cece1217f6550e369dc2fed3b57c5b3247b03f0876b2534805a16
7
- data.tar.gz: 96a35e2965262a2fdbc8ea9b4412b1d3943a2f728774bd6bb6a9367148134e38953028e3ed0b6cfd7798675066b7957369d21a6686191024895c7b63e870a108
6
+ metadata.gz: 888b3ceac73bd866cafb17c05378ee8bd5b6c9a3da448b0002448f747c05ba13e227eb0a7e99a823327e55b5927aa65d650b341009b8f3d259fd2b1a3eaa3700
7
+ data.tar.gz: dfbe11520a99b2f0a8bfe742c4c9c80eeed1d87469121911873f3511c1fc35889bf565bb52a407cb468e6e70568d6760da6ce5d9c7478e1f7402b8a6d20efd04
@@ -24,9 +24,9 @@ module AeEasy
24
24
  when 'String'
25
25
  add_errored_item(data_hash, field_to_validate, 'type') if data_hash[field_to_validate].class != String
26
26
  when 'Integer'
27
- add_errored_item(data_hash, field_to_validate, 'type') unless data_hash[field_to_validate].class == Fixnum || data_hash[field_to_validate].to_s.strip =~ /\A\d+(\,\d+)?(\.\d+)?\z/
27
+ add_errored_item(data_hash, field_to_validate, 'type') unless data_hash[field_to_validate].class == Fixnum || data_hash[field_to_validate].to_s.strip =~ /\A\d+(\,\d+)?\z/
28
28
  when 'Float'
29
- add_errored_item(data_hash, field_to_validate, 'type') unless data_hash[field_to_validate].class == Float || data_hash[field_to_validate].to_s.strip =~ /\A\d+(\,\d+)?(\.\d+)?\z/
29
+ add_errored_item(data_hash, field_to_validate, 'type') unless data_hash[field_to_validate].class == Float || data_hash[field_to_validate].to_s.strip =~ /\A\.?\d+(\,\d+)?(\.\d+)?\z/
30
30
  when 'Date'
31
31
  validate_date_type
32
32
  when 'Url'
@@ -1,5 +1,5 @@
1
1
  module AeEasy
2
2
  module Qa
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ae_easy-qa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Lynam
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-14 00:00:00.000000000 Z
11
+ date: 2019-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: answersengine
@@ -106,7 +106,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 3.0.3
109
+ rubyforge_project:
110
+ rubygems_version: 2.7.8
110
111
  signing_key:
111
112
  specification_version: 4
112
113
  summary: AnswersEngine Easy Quality Assurance gem