formalize 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@ class BasicField
19
19
  # REVIEW: What gets returned when @errors is empty?
20
20
  unless @errors.empty?
21
21
  list_items = @errors.collect { |error| tag_content(:li, error)}.join("\n")
22
- tag_content(:ul, list_items)
22
+ tag_content(:ul, list_items, {:class => 'errors'})
23
23
  end
24
24
  end
25
25
 
@@ -1,3 +1,3 @@
1
1
  module Formalize
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formalize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-22 00:00:00.000000000 Z
12
+ date: 2012-09-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This is a very basic (and untested!) RubyGem to simplify web form creation,
15
15
  validation and processing. It is designed for use with the Sinatra framework.
@@ -19,10 +19,10 @@ executables: []
19
19
  extensions: []
20
20
  extra_rdoc_files: []
21
21
  files:
22
+ - lib/formalize.rb
22
23
  - lib/formalize/field.rb
23
24
  - lib/formalize/version.rb
24
25
  - lib/formalize/helpers.rb
25
- - lib/formalize.rb
26
26
  homepage: https://github.com/alexedwards/formalize
27
27
  licenses: []
28
28
  post_install_message: