schema-model 0.6.3 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/schema/parsers/common.rb +2 -2
- data/schema-model.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9793fc154e42915262f3c54f42c5d753ff5b232c7e337ab072ac89f1b3a8c03a
|
4
|
+
data.tar.gz: 4f7c3f9f18c96a2194c1046015e428699d07a7d0c276edbada3dfeed2018b639
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d888604b7606cdee7c428a8312deb91b950bc74dd44c5a3cfa76ca8e4bead6a31722557f243bf3ac463aac621d3fcdb66a739f3020afca1d3beaaedb174d386
|
7
|
+
data.tar.gz: 01a24bfa955b24aa2c4223a6b4abd35eb792fb8fbb74cb346ccc205c18c97c76062ec340f2614735b65839aa677e43acb071d6f53dd7c79660f5781d02257dcd
|
@@ -6,8 +6,8 @@ module Schema
|
|
6
6
|
module Parsers
|
7
7
|
# Schema::Parsers::Common are parser methods for basic types
|
8
8
|
module Common
|
9
|
-
INTEGER_REGEX = /^(?:[1-9]\d*|0)(?:\.0+)?$/.freeze
|
10
|
-
FLOAT_REGEX = /^(?:[1-9]\d*|0)(?:\.\d+)?$/.freeze
|
9
|
+
INTEGER_REGEX = /^[-+]?(?:[1-9]\d*|0)(?:\.0+)?$/.freeze
|
10
|
+
FLOAT_REGEX = /^[-+]?(?:[1-9]\d*|0)(?:\.\d+)?(e-\d+)?$/.freeze
|
11
11
|
BOOLEAN_REGEX = /^(?:1|t|true|on|y|yes)$/i.freeze
|
12
12
|
|
13
13
|
# rubocop:disable Metrics/CyclomaticComplexity
|
data/schema-model.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schema-model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Doug Youch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inheritance-helper
|