error_messages_for_helper 1.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -15,7 +15,7 @@ Example
15
15
 
16
16
  When @test.errors is not empty then output for error_messages_for will be:
17
17
 
18
- <div class="errorExplanation" id="errorExplanation">
18
+ <div class="error_explanation">
19
19
  <h2>Unable to save data.</h2>
20
20
  <p>Errors list:</p>
21
21
  <ul>
@@ -14,7 +14,7 @@ module ErrorMessagesForHelper
14
14
  result = content_tag :h2, t(:header_message, :scope => 'error_messages_for', :default => 'Unable to save data.').html_safe
15
15
  result << content_tag(:p, t(:error_list, :scope => 'error_messages_for', :default => 'Errors list:').html_safe)
16
16
  result << errors_list
17
- result = content_tag :div, result, :id => 'errorExplanation', :class => 'errorExplanation'
17
+ result = content_tag :div, result, :id => 'error_explanation'
18
18
  end
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: error_messages_for_helper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- version: "1.0"
9
+ - 1
10
+ version: 1.0.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - "Damian Ba\xC4\x87kowski"
@@ -14,8 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-08-29 00:00:00 +02:00
18
- default_executable:
18
+ date: 2011-10-21 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: error_messages_for_helper provides a simple helper to show ActiveRecord validation errors (just like old helper error_messages_for for Rails-2.3.x).
@@ -29,10 +29,9 @@ extra_rdoc_files: []
29
29
  files:
30
30
  - Rakefile
31
31
  - lib/error_messages_for_helper.rb
32
- - test/error_messages_for_helper_test.rb
33
32
  - test/test_helper.rb
33
+ - test/error_messages_for_helper_test.rb
34
34
  - README
35
- has_rdoc: false
36
35
  homepage: https://github.com/paki-paki/error_messages_for_helper
37
36
  licenses: []
38
37
 
@@ -62,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
61
  requirements: []
63
62
 
64
63
  rubyforge_project:
65
- rubygems_version: 1.6.2
64
+ rubygems_version: 1.8.10
66
65
  signing_key:
67
66
  specification_version: 3
68
67
  summary: Active Record error messages helper for Rails 3.0.x