fixture_fox 0.2.10 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fixture_fox/analyzer.rb +1 -1
- data/lib/fixture_fox/version.rb +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: 90d7a14ad82dde55c17e4ceb7edc3693503f99cf6fcefbace3920e96309db0a6
|
4
|
+
data.tar.gz: c4edec8b817529d7e36a2e4e6c099f6cce6aaae3db0fb63d9c550d3f518bee5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22ddf3e3fcce09c7d1db1b8be13b09535762883a8bb7306861de0a5957c61fae194c9533c86f205054449e6151306fa885dbab698f2fbdb3a6accaa34a7f81a8
|
7
|
+
data.tar.gz: 9bde6b3f5107c5d8e6078068ef287169065c4cd31cd77375d81802758b7c016e9f9d22bc9b66e104964ecb9619d47645699ffd8c6f9dcff5de4edb47d8958db1
|
data/lib/fixture_fox/analyzer.rb
CHANGED
@@ -174,7 +174,7 @@ module FixtureFox
|
|
174
174
|
end
|
175
175
|
|
176
176
|
values.each { |value|
|
177
|
-
if value.is_a?(klass) || !f.type.array? &&
|
177
|
+
if value.nil? || value.is_a?(klass) || !f.type.array? &&
|
178
178
|
(klass == Time || klass == Date) &&
|
179
179
|
value.is_a?(String) &&
|
180
180
|
value =~ /^\d\d\d\d-\d\d-\d\d(?: \d\d:\d\d(?::\d\d)?)?$/
|
data/lib/fixture_fox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fixture_fox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claus Rasmussen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|