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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55d1fd72841d413af8d2a8337eb560bc52c5f30c
4
- data.tar.gz: 8f41f354916861de37858bd4a9e6110100bd2cdb
3
+ metadata.gz: 346d73c09028575300edf7ae7d3f5e3e67eb4a26
4
+ data.tar.gz: 29a988182dbcf85583edbe4ce740d15bc736c0ac
5
5
  SHA512:
6
- metadata.gz: d063beccd963344db1f4197da40b92991209232c39b04fb64dd448fe407f5e0cbf87ee9e8d259006cfaf5b4a78c9775a49cc23c38092a30664d29ef5fe5f78c0
7
- data.tar.gz: 7c87e213b0e260bdcda9bf8c007b75230a13404912ac39f77f40b560b8d8523f299960a4488290707cb0834e578da30ade2e4da08392fa50e1833a374907b507
6
+ metadata.gz: bb22422cb2a04879d74e6387b2ac481678813e7f621a37961b35a452d434194f123fa4c64a748bd22de44a18543c04d11a035891dfdb243228e1e156612163f8
7
+ data.tar.gz: f6013d0b2a5373f3df8c17b5cd3d9783fd003fe1bde2162b3c04ebe3d45acf86815e28be39ac9b722307f6257f4624cb524d35297cb1001c749630914e0b0e0b
data/.gitignore CHANGED
@@ -20,3 +20,7 @@ vendor/bundle
20
20
  # --- IDE Project files ---
21
21
  # AptanaStudio
22
22
  .project
23
+
24
+ # InteliJ
25
+ *.iml
26
+ .idea/
@@ -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
- next unless column_names.include?('deleted_at')
13
- remodel_as_soft_delete
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
@@ -1,3 +1,3 @@
1
1
  module Kakurenbo
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-26 00:00:00.000000000 Z
11
+ date: 2014-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler