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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe5d4a923eea66566c9ef51c31cbcbb68feaf81a
4
- data.tar.gz: 33996729a14acccc0613650eb9ff60b97cfca8c6
3
+ metadata.gz: f65ed96a4fadf6c4145ce2a2c70a2888230b975c
4
+ data.tar.gz: f7428617452f6c68c26fde0d3695dddc68923113
5
5
  SHA512:
6
- metadata.gz: 333ac48991721b15d13bf143c44dd6c828e5fff83c7405a262335e2f690e5a23f7d596cc588dcc97bf5340d28cd097f7774b6f9152e023120af768a30cb4033b
7
- data.tar.gz: 9c8502a373da9bc3bd33b4458c662f0c7e51ee2d2e4052d671f7b723deccf632df27eb7a217bf47f3a05360dc6a370178f76edcbcfdfa147c54d9412ecc003e6
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, "This type of field does not exist, please use one of: #{VALID_FIELD_TYPES.join(", ")}"
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
@@ -1,3 +1,3 @@
1
1
  module AskAwesomely
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ask_awesomely
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Machin