docwu 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,7 +48,7 @@ module Docwu
48
48
  end
49
49
 
50
50
  self.posts.sort! { |a, b| b.ranking <=> a.ranking }
51
- self.posts.sort! { |a, b| b.datetime <=> a.datetime }
51
+ self.posts.sort! { |a, b| b.datetime.to_s <=> a.datetime.to_s }
52
52
 
53
53
  # TODO: 是否从index文件中读取data呢?
54
54
  end
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Docwu
3
- VERSION = "0.0.16"
3
+ VERSION = "0.0.17"
4
4
  end
@@ -1,3 +1,3 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'docwu', '0.0.16'
3
+ gem 'docwu', '0.0.17'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docwu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-11 00:00:00.000000000 Z
12
+ date: 2013-11-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: redcarpet
@@ -154,7 +154,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  segments:
156
156
  - 0
157
- hash: 1745026310864858162
157
+ hash: 3548776373683929318
158
158
  required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  none: false
160
160
  requirements:
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  version: '0'
164
164
  segments:
165
165
  - 0
166
- hash: 1745026310864858162
166
+ hash: 3548776373683929318
167
167
  requirements: []
168
168
  rubyforge_project:
169
169
  rubygems_version: 1.8.25