tinycms 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tinycms/author.rb +3 -2
- data/lib/tinycms/authors/mapper.rb +1 -0
- data/lib/tinycms/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: e61d3ee3bded520e4a06028ab051c65d16e7043a211727bec1982cb05a1c1794
|
4
|
+
data.tar.gz: 8252fc573db2650ff985ecb502d6d995a9675fb4fac39781913ad95404301be4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd4f24c3c9f1aaddf462d455199c6b7a17ab1e1e0705c7a1dc163b9502c7f19fa29deb7efaf436a9df386c279e03bf6ceddac6c6fa1d898b841d3d8c84e03d01
|
7
|
+
data.tar.gz: 8ab6e61e11f714d56a5f007525bda1e0520bef3b27e0bb5109f55ed2c14276ce2177f8a037fd3c8aa5e5eba2a02a0ce9dff969597a5ae0c9ccd4945bead8cef3
|
data/lib/tinycms/author.rb
CHANGED
@@ -2,17 +2,18 @@
|
|
2
2
|
|
3
3
|
module Tinycms
|
4
4
|
class Author
|
5
|
-
def initialize(id:, email:, first_name:, last_name:, full_name:, avatar_url:, created_at:, updated_at:)
|
5
|
+
def initialize(id:, email:, first_name:, last_name:, full_name:, title:, avatar_url:, created_at:, updated_at:)
|
6
6
|
@id = id
|
7
7
|
@email = email
|
8
8
|
@first_name = first_name
|
9
9
|
@last_name = last_name
|
10
10
|
@full_name = full_name
|
11
|
+
@title = title
|
11
12
|
@avatar_url = avatar_url
|
12
13
|
@created_at = created_at
|
13
14
|
@updated_at = updated_at
|
14
15
|
end
|
15
16
|
|
16
|
-
attr_reader :id, :email, :first_name, :last_name, :full_name, :avatar_url, :created_at, :updated_at
|
17
|
+
attr_reader :id, :email, :first_name, :last_name, :full_name, :title, :avatar_url, :created_at, :updated_at
|
17
18
|
end
|
18
19
|
end
|
@@ -10,6 +10,7 @@ module Tinycms
|
|
10
10
|
first_name: response_body["first_name"],
|
11
11
|
last_name: response_body["last_name"],
|
12
12
|
full_name: response_body["full_name"],
|
13
|
+
title: response["title"],
|
13
14
|
avatar_url: response_body["avatar_url"],
|
14
15
|
created_at: Time.zone.parse(response_body["created_at"]),
|
15
16
|
updated_at: Time.zone.parse(response_body["updated_at"])
|
data/lib/tinycms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tinycms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Jeon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|