panko_serializer 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c23ba8ef7190648e7834b7e62ac9a247dff9811cf3beeb707d84180057183cf
|
4
|
+
data.tar.gz: 07aeacaf51eb75a786062c25d2693c8a6e0aa79f124e07b7fa0a61cb33dc4ece
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6532cd66f7066bf4caf1ef839cccf5beae1f883b075521b81e8f991e335156188385dec21e48029927b6e8636bdcffc76b40893fbc10485eb1b74672531fdffc
|
7
|
+
data.tar.gz: cc616b33a30f1b8df44a87276f588f5697978edcdef2349797b9b05a10781eeaf1410af143666df2f87a4d670a7be2e913e99a2c3e0339b44d082428089ae366
|
@@ -98,7 +98,23 @@ VALUE iso_ar_iso_datetime_string(const char* value) {
|
|
98
98
|
|
99
99
|
*cur++ = '.';
|
100
100
|
if (value[19] == '.' && isdigit(value[20])) {
|
101
|
-
|
101
|
+
if(isdigit(value[20])) {
|
102
|
+
*cur++ = value[20];
|
103
|
+
} else {
|
104
|
+
*cur++ = '0';
|
105
|
+
}
|
106
|
+
|
107
|
+
if(isdigit(value[21])) {
|
108
|
+
*cur++ = value[21];
|
109
|
+
} else {
|
110
|
+
*cur++ = '0';
|
111
|
+
}
|
112
|
+
|
113
|
+
if(isdigit(value[22])) {
|
114
|
+
*cur++ = value[22];
|
115
|
+
} else {
|
116
|
+
*cur++ = '0';
|
117
|
+
}
|
102
118
|
} else {
|
103
119
|
*cur++ = '0';
|
104
120
|
*cur++ = '0';
|
data/lib/panko/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panko_serializer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yosi Attias
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|