storext 2.0.0 → 2.0.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: ca085424efbe14372b13c5acdc2f6d224e73f511
4
- data.tar.gz: 5f81e8c9d8f45e351dbd54d06ecc8360aa775d56
3
+ metadata.gz: 2f1cd43efc9f984ff5b32e899b59dfbc799bf5a1
4
+ data.tar.gz: fe3c67de7456498ef5c239336b34820e1c6948a2
5
5
  SHA512:
6
- metadata.gz: 23ac6df88a5e6fbe459ceb3bffa71a579560f1f3747b6ff879278e47bf9e6f07a09c16400f0075588fe8761bb02e6301eab75a0ee6134f839ba5f3e61a2fd682
7
- data.tar.gz: 27f76b0e0a7f476ce2efcfd2efaa53c74c97acb838fd7c42f676e1d00f6018027e4d3a1a085770e74fab0c32469e6013a2c4af988f560a60d480bcfc5a86eb72
6
+ metadata.gz: 2eb2911a9307a7dd357413f2fedd9262100fb92d8dc98e50d3a8cf8fd8e62e82c21ff5fd56a4d0d562e68ab517d3a9c686a7082116cea41432425daa7b3ea8ec
7
+ data.tar.gz: 29d1f670878690bd21f15053d9c32a4722a6993270e0e8325abdd04db52b6f6bfb8360b398465335d913c2fbd3de68ddce27e80cc9be76eb7cda05a49fd62a0e
@@ -27,6 +27,7 @@ module Storext
27
27
 
28
28
  def set_storext_defaults
29
29
  self.class.storext_options.each do |column, default|
30
+ next unless self.respond_to?(column)
30
31
  self.send("#{column}=", default) if self.send(column).nil?
31
32
  end
32
33
 
@@ -1,3 +1,3 @@
1
1
  module Storext
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storext
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - G5
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-05-16 00:00:00.000000000 Z
13
+ date: 2016-05-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails