eitil 1.1.32 → 1.1.33
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/eitil_core/lib/eitil_core/type_checkers/is_num_or_nan.rb +53 -0
- data/lib/eitil/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: 36321fc1d4a6ef1bc8427a54f987b7c659ca6c2d129a4b4ffa32d65292c6e55b
|
|
4
|
+
data.tar.gz: 1096c2f9c22382044a248d118680d2882df5886b1d8a58a374bd840d01070fd8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33b6da41a3963ef05207d6bfb6937f3ec28cbaa9a842d3cc7b22a4c3bcafe1b0abdaddb0d291fb121bc033b58b35ce455c101eb086a11ce7266c9a6e058f1e9f
|
|
7
|
+
data.tar.gz: 6e7438d46132b2efa040221a02129ba516945a1f2256f7235ad910847ac0c724841f82a41e7dfb2b40753d28bee54c6cc9b44040640131784cd9ac3431f36aec
|
|
@@ -94,3 +94,56 @@ class Array
|
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
end
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class Date
|
|
100
|
+
|
|
101
|
+
def is_nan?
|
|
102
|
+
true
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
def is_num?
|
|
106
|
+
false
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
class DateTime
|
|
113
|
+
|
|
114
|
+
def is_nan?
|
|
115
|
+
true
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
def is_num?
|
|
119
|
+
false
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
class Time
|
|
126
|
+
|
|
127
|
+
def is_nan?
|
|
128
|
+
true
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
def is_num?
|
|
132
|
+
false
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
class ActiveSupport::TimeWithZone
|
|
139
|
+
|
|
140
|
+
def is_nan?
|
|
141
|
+
true
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
def is_num?
|
|
145
|
+
false
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
end
|
|
149
|
+
|
data/lib/eitil/version.rb
CHANGED