ffxiv 1.0.2 → 1.0.3
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/lib/ffxiv/lodestone/character.rb +2 -10
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b64f0a8d791504a75c914948f0c381bf2a22ae69
|
4
|
+
data.tar.gz: 270b50536e241570adb5592737fb98b598cf13c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ce881c5f6d70b08d83eac2a0b58358772a41e07627969f4a3e7803dc1198794a5cf8bd3fb793ac23ae893605c44b59e891858d2779301e8bab73d24107fe85a
|
7
|
+
data.tar.gz: c9fc9e3c54906ae8f0b186be2f1fe08e832b3a01c2b0fe324d92b72c51614589313c4e81d73853d97bfbb35acb1ea009a0082127d0bcaf23a27dbaa232263d53
|
@@ -63,6 +63,7 @@ module FFXIV
|
|
63
63
|
ch_name = dom.at("div.player_name_txt h2 a")
|
64
64
|
props[:name] = ch_name.content
|
65
65
|
props[:server] = ch_name.next_element.content.strip[1...-1]
|
66
|
+
props[:data_center] = Utils.data_center(props[:server])
|
66
67
|
props[:thumbnail_uri] = drop_uts(dom.at("div.player_name_thumb img").attr("src"))
|
67
68
|
props[:image_uri] = drop_uts(dom.at("div.bg_chara_264 img").attr("src"))
|
68
69
|
props[:race], props[:subrace], gender = dom.at("div.chara_profile_title").content.strip.split(" / ")
|
@@ -94,8 +95,7 @@ module FFXIV
|
|
94
95
|
case dd.content
|
95
96
|
when "Nameday"
|
96
97
|
props[:nameday] = t
|
97
|
-
|
98
|
-
props[:birthday] = Date.new(2013, months[match[2]], match[1].to_i)
|
98
|
+
props[:birthday] = Utils.ed2gd(props[:nameday])
|
99
99
|
when "Guardian"
|
100
100
|
props[:guardian] = t
|
101
101
|
when "City-state"
|
@@ -158,14 +158,6 @@ module FFXIV
|
|
158
158
|
@free_company
|
159
159
|
end
|
160
160
|
|
161
|
-
def birthday
|
162
|
-
Utils.ed2gd(@nameday)
|
163
|
-
end
|
164
|
-
|
165
|
-
def data_center
|
166
|
-
Utils.data_center(@server)
|
167
|
-
end
|
168
|
-
|
169
161
|
def num_blogs
|
170
162
|
init_blog; @num_blogs
|
171
163
|
end
|