tinycms 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tinycms/authors/mapper.rb +2 -2
- data/lib/tinycms/blogs/mapper.rb +2 -2
- data/lib/tinycms/posts/mapper.rb +2 -2
- data/lib/tinycms/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: 4306439677646271ba2cdf57b36412e8d3bcaa02b97fb9d550134374220f8a40
|
4
|
+
data.tar.gz: ee2fbcb54228d9522a8b961f3a5cf37ae3f6a29a1b1b2f3bca2731d34f07f12d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c911d4af5247ab97273771e81a8a7f91a4d803ea552db8de1da3dc750d19ea51d8b987a464d653fce5eed4639723f01b64327c52480321670b8ba7d19f56101b
|
7
|
+
data.tar.gz: 2440cb86c5837aa38a20e99b8b61b200c432c082998e89eb4c06124b8441271cbb5099e7bdc98d7869430ecfb320d022d2407c674bbdbe77e8fb14536a7e396e
|
@@ -9,8 +9,8 @@ module Tinycms
|
|
9
9
|
email: response_body["email"],
|
10
10
|
first_name: response_body["first_name"],
|
11
11
|
last_name: response_body["last_name"],
|
12
|
-
created_at: response_body["created_at"],
|
13
|
-
updated_at: response_body["updated_at"]
|
12
|
+
created_at: Time.zone.parse(response_body["created_at"]),
|
13
|
+
updated_at: Time.zone.parse(response_body["updated_at")]
|
14
14
|
)
|
15
15
|
end
|
16
16
|
end
|
data/lib/tinycms/blogs/mapper.rb
CHANGED
@@ -12,8 +12,8 @@ module Tinycms
|
|
12
12
|
name: response_body["name"],
|
13
13
|
description: response_body["description"],
|
14
14
|
posts: posts,
|
15
|
-
created_at: response_body["created_at"],
|
16
|
-
updated_at: response_body["updated_at"]
|
15
|
+
created_at: Time.zone.parse(response_body["created_at"]),
|
16
|
+
updated_at: Time.zone.parse(response_body["updated_at"])
|
17
17
|
)
|
18
18
|
end
|
19
19
|
end
|
data/lib/tinycms/posts/mapper.rb
CHANGED
@@ -9,8 +9,8 @@ module Tinycms
|
|
9
9
|
title: response_body["title"],
|
10
10
|
author: ::Tinycms::Authors::Mapper.map(response_body["author"]),
|
11
11
|
content: response_body["content"],
|
12
|
-
created_at: response_body["created_at"],
|
13
|
-
updated_at: response_body["updated_at"]
|
12
|
+
created_at: Time.zone.parse(response_body["created_at"]),
|
13
|
+
updated_at: Time.zone.parse(response_body["updated_at"])
|
14
14
|
)
|
15
15
|
end
|
16
16
|
end
|
data/lib/tinycms/version.rb
CHANGED