kentouzu 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/kentouzu/has_drafts.rb +1 -1
- data/lib/kentouzu/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/kentouzu/has_drafts.rb
CHANGED
@@ -39,7 +39,7 @@ module Kentouzu
|
|
39
39
|
|
40
40
|
if ActiveRecord::VERSION::STRING.to_f >= 4.0 # `has_many` syntax for specifying order uses a lambda in Rails 4
|
41
41
|
has_many self.drafts_association_name,
|
42
|
-
lambda { order("#{Kentouzu.timestamp_field} ASC, #{self.
|
42
|
+
lambda { order("#{Kentouzu.timestamp_field} ASC, #{self.primary_key} ASC") },
|
43
43
|
:class_name => draft_class_name,
|
44
44
|
:as => :item,
|
45
45
|
:dependent => :destroy
|
data/lib/kentouzu/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kentouzu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
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: 2014-10-
|
12
|
+
date: 2014-10-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -259,7 +259,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
259
259
|
version: '0'
|
260
260
|
segments:
|
261
261
|
- 0
|
262
|
-
hash: -
|
262
|
+
hash: -3408346045829337551
|
263
263
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
264
264
|
none: false
|
265
265
|
requirements:
|
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
268
268
|
version: '0'
|
269
269
|
segments:
|
270
270
|
- 0
|
271
|
-
hash: -
|
271
|
+
hash: -3408346045829337551
|
272
272
|
requirements: []
|
273
273
|
rubyforge_project: kentouzu
|
274
274
|
rubygems_version: 1.8.25
|