generic_form_builder 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTQ3MWQ1NjViOTQ2ZGMyZDBhZDJjMmIyYjQyYzFjNGNjZDU2MzEyNQ==
4
+ YjM0NWIyMWUzZDY2ODZhMjEyZWRmMmVhNTAxZTY5M2Q3ZTgyMTc3ZA==
5
5
  data.tar.gz: !binary |-
6
- ZjE4ODYzYTM3NmY2MjJmNTBhZWRiZjlhYjMzMWFjZWZmODAxMWM5OA==
6
+ MDNkMWJkY2JjMjlhNzMyZGQ1OTEyYmQzYmE0NDRmOTgxNTFiNTY0OA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjM4MWE2ZTMxZTgyNTlmMmI4YTU2MjM2NzFmN2JiMzk5ZGJjZjAzYzcxZGFj
10
- OTA4MzNmMGU5OTA2YzViYjNkOGU0YTYzNWRjYTQwMzhjNDI1OWU5M2I1ZTIz
11
- ODhhZWYwMWNmYTVlZThkYTBhMmVjNWM2ZWRlYTcwZjU3ODA4YmI=
9
+ M2FlMmM2YWExMzBmZDY4MTJkZmJmMjczOGRjNmRjZjRlYmMwZmM3NjkzM2Fl
10
+ YzIzNzUyNjc2M2I1Y2MzZmNkMDRiOWUwYzA0NDQxNTQzZTEzMjMzZWY1MDA4
11
+ Y2IxZjE4MjdiYmRlZWMwOWI2MzY1NWQ5OTFjNDIzZmQzZjYxZDY=
12
12
  data.tar.gz: !binary |-
13
- NGI0M2U1YTc5M2NkMjgzYzNkNTQzM2FmNDhhZDFkYWU4NWYzOTRkNThmODg0
14
- MThlOWYwODk1ZDQyN2QxNmY1ZjAzNzE1OGY1N2I4ZTJhYzY3MDQxYmNiMGJh
15
- MWQyMTQwMGUyMmUyMjJlMTUxMDNhYThhNWQwZGFlM2U5NTIyZDE=
13
+ NzgzZDUyMzY0MzI3YTRkZmViYmE2MmU4NjU0ZGJjMmRkMjA5MmM0MWY3Zjhl
14
+ ZmM3NGRmODliNWRlY2JkMTQzYjRmMGY5ZGIyZTM2ZDljNzBhNjBkYWZjYTdj
15
+ YmNkZTFkYmRmMjk3ZjY4NWM0ODBiOTdjYjY2ZWI5ZTEwY2E0ZmU=
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = "generic_form_builder"
4
- s.version = '0.7.0'
4
+ s.version = '0.7.1'
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = ["Elliot Crosby-McCullough", "George Brocklehurst", "Elise Huard", "Tom Stuart"]
7
7
  s.email = ["elliot.cm@gmail.com"]
@@ -68,7 +68,7 @@ protected
68
68
  end
69
69
 
70
70
  def errors_text(field)
71
- return '' if @object.errors[field].empty?
71
+ return '' unless any_errors?(field)
72
72
  @object.errors[field].join(' and ')
73
73
  end
74
74
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: generic_form_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliot Crosby-McCullough
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-02-12 00:00:00.000000000 Z
14
+ date: 2014-02-14 00:00:00.000000000 Z
15
15
  dependencies: []
16
16
  description:
17
17
  email: