attr_bucket 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/attr_bucket.rb CHANGED
@@ -37,6 +37,8 @@ module AttrBucket
37
37
  self.bucketed_attributes = []
38
38
  end
39
39
 
40
+ return nil unless table_exists?
41
+
40
42
  opts.map do |bucket_name, attrs|
41
43
  bucket_column = self.columns_hash[bucket_name.to_s]
42
44
  unless bucket_column.type == :text
@@ -1,3 +1,3 @@
1
1
  module AttrBucket
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: attr_bucket
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.0
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ernie Miller
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-03 00:00:00 -05:00
13
+ date: 2011-02-12 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency