ask_awesomely 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ask_awesomely/field/field.rb +1 -1
- data/lib/ask_awesomely/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f65ed96a4fadf6c4145ce2a2c70a2888230b975c
|
4
|
+
data.tar.gz: f7428617452f6c68c26fde0d3695dddc68923113
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c69eefcb41c2e697f87643707d25df72403c7b21e8ff743761e03830390cfb987b5fa064de9c46b49fd5d3b39e9fdfb4d7ad867a9d6962948e84039f4bd5e2d7
|
7
|
+
data.tar.gz: 2acde8149aaf21aa50b94feefe555042955c167bc35f6bb5bd81dce2f26391a60422baca686cdc62bc49c3f03821d1abaccd8d81cc372ddd0e8ac4f201e0e7dd
|
@@ -26,7 +26,7 @@ module AskAwesomely
|
|
26
26
|
field = AskAwesomely::Field.const_get(field_type)
|
27
27
|
field.new(type, &block)
|
28
28
|
rescue NameError
|
29
|
-
raise FieldTypeError, "
|
29
|
+
raise FieldTypeError, "Field #{type} <#{field}> does not exist, please use one of: #{VALID_FIELD_TYPES.join(", ")}"
|
30
30
|
end
|
31
31
|
|
32
32
|
# Allow init with properties common to *all* fields
|