kentouzu 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/kentouzu/has_drafts.rb +2 -2
- data/lib/kentouzu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8497b534f88aab37b4b5333fd0963917a13d230
|
4
|
+
data.tar.gz: 66b8dee87e0d73594013b23483d2cb5dbd0ab83e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd3560dfcd564ce3c5ade631cd95846d27caa52b8322bbd721025cde016bf09077146b21d86cd4ac0cf8385fdc3a98b36370d7bab670a143ac434e23a57b9082
|
7
|
+
data.tar.gz: 1c81fa5183278095342dd804f29416d4c6ba88677316a49a0e3695036d999fb7f642f9844fce9e436449a32a3436fe39daa9005fa28f8e8145e70d82cf7b0d6f
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/kentouzu/has_drafts.rb
CHANGED
@@ -232,10 +232,10 @@ module Kentouzu
|
|
232
232
|
:object => self.as_json(include: self.class.reflect_on_all_associations(:has_many).map { |a| a.name }.reject { |a| a == :drafts }).to_yaml
|
233
233
|
}
|
234
234
|
|
235
|
-
draft = Draft.new(merge_metadata(data))
|
235
|
+
@draft = Draft.new(merge_metadata(data))
|
236
236
|
|
237
237
|
run_callbacks :draft_save do
|
238
|
-
draft.save
|
238
|
+
@draft.save
|
239
239
|
end
|
240
240
|
end
|
241
241
|
|
data/lib/kentouzu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kentouzu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Eshbaugh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|