kakurenbo 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/lib/kakurenbo/mixin_ar_base.rb +6 -2
- data/lib/kakurenbo/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: 346d73c09028575300edf7ae7d3f5e3e67eb4a26
|
4
|
+
data.tar.gz: 29a988182dbcf85583edbe4ce740d15bc736c0ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb22422cb2a04879d74e6387b2ac481678813e7f621a37961b35a452d434194f123fa4c64a748bd22de44a18543c04d11a035891dfdb243228e1e156612163f8
|
7
|
+
data.tar.gz: f6013d0b2a5373f3df8c17b5cd3d9783fd003fe1bde2162b3c04ebe3d45acf86815e28be39ac9b722307f6257f4624cb524d35297cb1001c749630914e0b0e0b
|
data/.gitignore
CHANGED
@@ -9,8 +9,12 @@ module Kakurenbo
|
|
9
9
|
# Initialize Kakurenbo in child class.
|
10
10
|
def inherited(child_class)
|
11
11
|
child_class.instance_eval {
|
12
|
-
|
13
|
-
|
12
|
+
begin
|
13
|
+
next unless column_names.include?('deleted_at')
|
14
|
+
remodel_as_soft_delete
|
15
|
+
rescue
|
16
|
+
# When migrate.
|
17
|
+
end
|
14
18
|
}
|
15
19
|
super
|
16
20
|
end
|
data/lib/kakurenbo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kakurenbo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alfa-jpn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|