hobofields 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hobo_fields/model_extensions.rb +1 -1
- data/lib/hobo_fields.rb +1 -1
- metadata +5 -5
@@ -208,7 +208,7 @@ module HoboFields
|
|
208
208
|
|
209
209
|
# Return the entry from #columns for the named column
|
210
210
|
def self.column(name)
|
211
|
-
return unless table_exists?
|
211
|
+
return unless (@table_exists ||= table_exists?)
|
212
212
|
name = name.to_s
|
213
213
|
columns.find {|c| c.name == name }
|
214
214
|
end
|
data/lib/hobo_fields.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
8
|
+
- 1
|
9
|
+
version: 1.0.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Tom Locke
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-06-01 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -41,8 +41,8 @@ dependencies:
|
|
41
41
|
segments:
|
42
42
|
- 1
|
43
43
|
- 0
|
44
|
-
-
|
45
|
-
version: 1.0.
|
44
|
+
- 1
|
45
|
+
version: 1.0.1
|
46
46
|
type: :runtime
|
47
47
|
version_requirements: *id002
|
48
48
|
description:
|