client-api 0.2.1 → 0.2.2
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 +4 -4
- data/lib/client-api/validator.rb +0 -2
- data/lib/client-api/version.rb +1 -1
- 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: 8fd4db78496284c253a4fd5e2438fc766eb97982a982c31b0c9974867c2365f0
|
4
|
+
data.tar.gz: 8c9734391ec74dfb0c128a3ee87d57bf5410ff8e4fd83ad57f07bf094f340a23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffdd1155fdc2d5119cc3df470ccf4e15e43944961db63d9799b07c0434115e88256cdd8dcc832a96f56f6c7141e80b075b0fdf2c6439ca20bc73db48f542b13c
|
7
|
+
data.tar.gz: be339ea1869403fb13476971b3975595ea4c2d229d259665cd24a60374c2871500754faa27ac60cda210fe2d20e02d9a89ffa831296e34e843b915d1363b1afa
|
data/lib/client-api/validator.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require "json-schema"
|
2
|
-
require "byebug"
|
3
2
|
|
4
3
|
module ClientApi
|
5
4
|
|
@@ -44,7 +43,6 @@ module ClientApi
|
|
44
43
|
end
|
45
44
|
|
46
45
|
when '>', '>=', '<', '<=', 'greater than', 'greater than or equal to', 'less than', 'less than or equal to', 'lesser than', 'lesser than or equal to'
|
47
|
-
|
48
46
|
message = 'is not greater than (or) equal to' if operator == '>=' || operator == 'greater than or equal to'
|
49
47
|
message = 'is not greater than' if operator == '>' || operator == 'greater than'
|
50
48
|
message = 'is not lesser than' if operator == '<=' || operator == 'less than or equal to'
|
data/lib/client-api/version.rb
CHANGED