musako 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ec8a375b4e6516a076749d69645bbefd4fce8fd
4
- data.tar.gz: 9077d56583da25999560410123c6cb649fd9e85a
3
+ metadata.gz: 2ce4cfce6a9c5333df5b74aa7111d4157090e155
4
+ data.tar.gz: bd538843d2608c9f24098876ec5f6aadb612920b
5
5
  SHA512:
6
- metadata.gz: ad48076369d02726375c0c4ce8e137ad65b03e547d633311b13f93824844e6e2c9105ece12472c6632065759a12e69d004c20e0c323876f53fbc578e45bd70b6
7
- data.tar.gz: 8efe509c0742abfbd8ecb6e0689417e05cac7d8ba956a4bf5e8408ade9b75a723ea62f8bcd763b29b86f0ac1bd7de5760de658cb440aa2f02d1b6afe0397362d
6
+ metadata.gz: b09c4bd4e87fd56bd19a86572cd5e95436e1b828793d166bb4465f3931c61ebfabc325989020e278d3a9836cbd26f5438ec288f73bf5cb5bf657a8f898a2c705
7
+ data.tar.gz: ced159963804cfb9cbae73f6fb5d722300e262697d88be96bf20e8f2c19dc20a85021c779a1a27d3e77981acfbed23115443ba03d652eeeaa909a62eb01e9ba3
@@ -33,7 +33,7 @@ module Musako
33
33
  post = Musako::Renderers::Post.new(file)
34
34
  post.render
35
35
 
36
- posts << post
36
+ posts.unshift(post)
37
37
  end
38
38
 
39
39
  views_dir = Musako.views_path
@@ -1,3 +1,3 @@
1
1
  module Musako
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -13,7 +13,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
13
13
  xml.link "rel" => "alternate", "href" => URI.join(config[:site_url], post.url)
14
14
  xml.id URI.join(config[:site_url], post.url)
15
15
  xml.published post.iso_date
16
- xml.updated File.mtime(post.path)
16
+ xml.updated File.mtime(post.path).strftime("%FT%T%z")
17
17
  xml.author { xml.name config[:author] }
18
18
  xml.content post.html, "type" => "html"
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: musako
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - yo_waka